Class: Google::Cloud::Oslogin::V1::UpdateSshPublicKeyRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/os_login/v1/doc/google/cloud/oslogin/v1/oslogin.rb

Overview

A request message for updating an SSH public key.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Returns 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}.



99
# File 'lib/google/cloud/os_login/v1/doc/google/cloud/oslogin/v1/oslogin.rb', line 99

class UpdateSshPublicKeyRequest; end

#ssh_public_keyGoogle::Cloud::Oslogin::Common::SshPublicKey

Returns Required. The SSH public key and expiration time.

Returns:



99
# File 'lib/google/cloud/os_login/v1/doc/google/cloud/oslogin/v1/oslogin.rb', line 99

class UpdateSshPublicKeyRequest; end

#update_maskGoogle::Protobuf::FieldMask

Returns Mask to control which fields get updated. Updates all if not present.

Returns:



99
# File 'lib/google/cloud/os_login/v1/doc/google/cloud/oslogin/v1/oslogin.rb', line 99

class UpdateSshPublicKeyRequest; end