Class: Google::Cloud::OsLogin::V1::UpdateSshPublicKeyRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/oslogin/v1/oslogin.rb

Overview

A request message for updating an SSH public key.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

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



153
154
155
156
# File 'proto_docs/google/cloud/oslogin/v1/oslogin.rb', line 153

class UpdateSshPublicKeyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ssh_public_key::Google::Cloud::OsLogin::Common::SshPublicKey

Returns Required. The SSH public key and expiration time.

Returns:



153
154
155
156
# File 'proto_docs/google/cloud/oslogin/v1/oslogin.rb', line 153

class UpdateSshPublicKeyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#update_mask::Google::Protobuf::FieldMask

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

Returns:



153
154
155
156
# File 'proto_docs/google/cloud/oslogin/v1/oslogin.rb', line 153

class UpdateSshPublicKeyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end