User(mapping=None, *, ignore_unknown_fields=False, **kwargs)Message describing User object
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. User-friendly name via which User will be identified. projects/{project}/locations/{location}/servers/{server}/users/{user} |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Create time stamp |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Update time stamp |
labels |
MutableMapping[str, str]
Optional. Labels as key value pairs |
username |
str
Output only. [Output only] The username of the user. |
customer_service_account |
str
Required. Service account in customer project attached to this SFTP User. |
state |
google.cloud.ftp_v1.types.User.State
Output only. Tracks user creation. |
user_credentials |
MutableSequence[google.cloud.ftp_v1.types.UserCredential]
Required. User credential for the user. The maximum number of user credentials is 10. |
storage_directory_mappings |
MutableSequence[google.cloud.ftp_v1.types.StorageDirectoryMapping]
Required. Mapping of Cloud Storage buckets to directories where the user will land in the SFTP server. |
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
State
State(value)Tracks user creation.