Cloud FTP V1 API - Class Google::Cloud::Ftp::V1::User (v0.1.1)

Reference documentation and code samples for the Cloud FTP V1 API class Google::Cloud::Ftp::V1::User.

Message describing User object

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#customer_service_account

def customer_service_account() -> ::String
Returns
  • (::String) — Required. Service account in customer project attached to this SFTP User.

#customer_service_account=

def customer_service_account=(value) -> ::String
Parameter
  • value (::String) — Required. Service account in customer project attached to this SFTP User.
Returns
  • (::String) — Required. Service account in customer project attached to this SFTP User.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs

#name

def name() -> ::String
Returns
  • (::String) — Identifier. User-friendly name via which User will be identified. projects/{project}/locations/{location}/servers/{server}/users/{user}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. User-friendly name via which User will be identified. projects/{project}/locations/{location}/servers/{server}/users/{user}
Returns
  • (::String) — Identifier. User-friendly name via which User will be identified. projects/{project}/locations/{location}/servers/{server}/users/{user}

#state

def state() -> ::Google::Cloud::Ftp::V1::User::State
Returns

#storage_directory_mappings

def storage_directory_mappings() -> ::Array<::Google::Cloud::Ftp::V1::StorageDirectoryMapping>
Returns

#storage_directory_mappings=

def storage_directory_mappings=(value) -> ::Array<::Google::Cloud::Ftp::V1::StorageDirectoryMapping>
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#user_credentials

def user_credentials() -> ::Array<::Google::Cloud::Ftp::V1::UserCredential>
Returns

#user_credentials=

def user_credentials=(value) -> ::Array<::Google::Cloud::Ftp::V1::UserCredential>
Parameter
Returns

#username

def username() -> ::String
Returns
  • (::String) — Output only. [Output only] The username of the user.