Google Cloud OsLogin V1 Client - Class DeleteSshPublicKeyRequest (1.6.0)

Reference documentation and code samples for the Google Cloud OsLogin V1 Client class DeleteSshPublicKeyRequest.

A request message for deleting an SSH public key.

Generated from protobuf message google.cloud.oslogin.v1.DeleteSshPublicKeyRequest

Namespace

Google \ Cloud \ OsLogin \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}.

getName

Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}.

Returns
TypeDescription
string

setName

Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}. Please see Google\Cloud\OsLogin\V1\OsLoginServiceClient::sshPublicKeyName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\OsLogin\V1\DeleteSshPublicKeyRequest