Google Cloud Ftp V1 Client - Class ServerCredential (0.1.1)

Reference documentation and code samples for the Google Cloud Ftp V1 Client class ServerCredential.

Represents credentials of an FTP Server.

Generated from protobuf message google.cloud.ftp.v1.ServerCredential

Namespace

Google \ Cloud \ Ftp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fingerprint string

Output only. The fingerprint is a hash of the public key, and is displayed when clients access the server for the first time to verify the server's identity.

↳ asymmetric_algorithm string

Output only. Asymmetric algorithm used by the public key. Possible values (can be expanded in future): - ssh-ed25519

getFingerprint

Output only. The fingerprint is a hash of the public key, and is displayed when clients access the server for the first time to verify the server's identity.

Returns
Type Description
string

setFingerprint

Output only. The fingerprint is a hash of the public key, and is displayed when clients access the server for the first time to verify the server's identity.

Parameter
Name Description
var string
Returns
Type Description
$this

getAsymmetricAlgorithm

Output only. Asymmetric algorithm used by the public key.

Possible values (can be expanded in future):

  • ssh-ed25519
Returns
Type Description
string

setAsymmetricAlgorithm

Output only. Asymmetric algorithm used by the public key.

Possible values (can be expanded in future):

  • ssh-ed25519
Parameter
Name Description
var string
Returns
Type Description
$this