Reference documentation and code samples for the Cloud FTP V1 API class Google::Cloud::Ftp::V1::UserCredential.
Message describing UserCredential object
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#credential_name
def credential_name() -> ::String
Returns
- (::String) — Required. Name of the user credential.
#credential_name=
def credential_name=(value) -> ::String
Parameter
- value (::String) — Required. Name of the user credential.
Returns
- (::String) — Required. Name of the user credential.
#credential_type
def credential_type() -> ::Google::Cloud::Ftp::V1::UserCredential::Type
Returns
- (::Google::Cloud::Ftp::V1::UserCredential::Type) — Required. Type of credential.
#credential_type=
def credential_type=(value) -> ::Google::Cloud::Ftp::V1::UserCredential::Type
Parameter
- value (::Google::Cloud::Ftp::V1::UserCredential::Type) — Required. Type of credential.
Returns
- (::Google::Cloud::Ftp::V1::UserCredential::Type) — Required. Type of credential.
#ssh_public_key_body
def ssh_public_key_body() -> ::String
Returns
- (::String) — Optional. SSH public key body in OpenSSH format. Example: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ..."
#ssh_public_key_body=
def ssh_public_key_body=(value) -> ::String
Parameter
- value (::String) — Optional. SSH public key body in OpenSSH format. Example: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ..."
Returns
- (::String) — Optional. SSH public key body in OpenSSH format. Example: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ..."