Cloud FTP v1 API - Class User (1.0.0-beta01)

public sealed class User : IMessage<User>, IEquatable<User>, IDeepCloneable<User>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud FTP v1 API class User.

Message describing User object

Inheritance

object > User

Namespace

Google.Cloud.Ftp.V1

Assembly

Google.Cloud.Ftp.V1.dll

Constructors

User()

public User()

User(User)

public User(User other)
Parameter
Name Description
other User

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. [Output only] Create time stamp

Property Value
Type Description
Timestamp

CustomerServiceAccount

public string CustomerServiceAccount { get; set; }

Required. Service account in customer project attached to this SFTP User.

Property Value
Type Description
string

Labels

public MapField<string, string> Labels { get; }

Optional. Labels as key value pairs

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

Identifier. User-friendly name via which User will be identified. projects/{project}/locations/{location}/servers/{server}/users/{user}

Property Value
Type Description
string

State

public User.Types.State State { get; set; }

Output only. Tracks user creation.

Property Value
Type Description
UserTypesState

StorageDirectoryMappings

public RepeatedField<StorageDirectoryMapping> StorageDirectoryMappings { get; }

Required. Mapping of Cloud Storage buckets to directories where the user will land in the SFTP server.

Property Value
Type Description
RepeatedFieldStorageDirectoryMapping

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. [Output only] Update time stamp

Property Value
Type Description
Timestamp

UserCredentials

public RepeatedField<UserCredential> UserCredentials { get; }

Required. User credential for the user. The maximum number of user credentials is 10.

Property Value
Type Description
RepeatedFieldUserCredential

UserName

public UserName UserName { get; set; }

UserName-typed view over the Name resource name property.

Property Value
Type Description
UserName

Username

public string Username { get; set; }

Output only. [Output only] The username of the user.

Property Value
Type Description
string