# Class UpdateSshPublicKeyRequest (2.22.0)

2.22.0 (latest) 2.21.0 2.20.0 2.19.0 2.18.0 2.17.2 2.16.0 2.15.1 2.14.6 2.13.0 2.12.0 2.11.0 2.10.0 2.9.1 2.8.0 2.7.4 2.6.2 2.5.1 2.4.0 2.3.2 2.2.1 2.1.0 2.0.0 1.0.2 0.3.2 0.2.0

    UpdateSshPublicKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A request message for updating an SSH public key.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` 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` | `https://docs.cloud.google.com/python/docs/reference/oslogin/latest/google.cloud.oslogin_v1.common.types.SshPublicKey` Required. The SSH public key and expiration time. |
| `update_mask` | `google.protobuf.field_mask_pb2.FieldMask` Mask to control which fields get updated. Updates all if not present. |