Cloud OS Login V1 API - Class Google::Cloud::OsLogin::V1::UpdateSshPublicKeyRequest (v0.8.0)

Reference documentation and code samples for the Cloud OS Login V1 API class Google::Cloud::OsLogin::V1::UpdateSshPublicKeyRequest.

A request message for updating an SSH public key.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::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}.

#name=

def name=(value) -> ::String
Parameter
  • value (::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}.
Returns
  • (::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

def ssh_public_key() -> ::Google::Cloud::OsLogin::Common::SshPublicKey
Returns

#ssh_public_key=

def ssh_public_key=(value) -> ::Google::Cloud::OsLogin::Common::SshPublicKey
Parameter
Returns

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
Returns