Reference documentation and code samples for the Cloud OS Login V1beta API class Google::Cloud::OsLogin::V1beta::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
- (::Google::Cloud::OsLogin::Common::SshPublicKey) — Required. The SSH public key and expiration time.
#ssh_public_key=
def ssh_public_key=(value) -> ::Google::Cloud::OsLogin::Common::SshPublicKey
Parameter
- value (::Google::Cloud::OsLogin::Common::SshPublicKey) — Required. The SSH public key and expiration time.
Returns
- (::Google::Cloud::OsLogin::Common::SshPublicKey) — Required. The SSH public key and expiration time.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Mask to control which fields get updated. Updates all if not present.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Mask to control which fields get updated. Updates all if not present.
Returns
- (::Google::Protobuf::FieldMask) — Mask to control which fields get updated. Updates all if not present.