Reference documentation and code samples for the Google Cloud OsLogin V1 Client class UpdateSshPublicKeyRequest.
A request message for updating an SSH public key.
Generated from protobuf message google.cloud.oslogin.v1.UpdateSshPublicKeyRequest
Namespace
Google \ Cloud \ OsLogin \ V1Methods
__construct
Constructor.
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}
.
↳ ssh_public_key
↳ update_mask
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}
.
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}
.
var
string
$this
getSshPublicKey
Required. The SSH public key and expiration time.
hasSshPublicKey
clearSshPublicKey
setSshPublicKey
Required. The SSH public key and expiration time.
$this
getUpdateMask
Mask to control which fields get updated. Updates all if not present.
hasUpdateMask
clearUpdateMask
setUpdateMask
Mask to control which fields get updated. Updates all if not present.
$this
static::build
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 OsLoginServiceClient::sshPublicKeyName()
for help formatting this field.
sshPublicKey
static::buildFromNameSshPublicKeyUpdateMask
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 OsLoginServiceClient::sshPublicKeyName()
for help formatting this field.
sshPublicKey
updateMask

