code: public final SshPublicKey updateSshPublicKey(
        String name, SshPublicKey sshPublicKey, FieldMask updateMask) {
  
      UpdateSshPublicKeyRequest request =
          UpdateSshPublicKeyRequest.newBuilder()
              .setName(name)
              .setSshPublicKey(sshPublicKey)
              .setUpdateMask(updateMask)
              .build();
      return updateSshPublicKey(request);
    }
docs: Updates an SSH public key and returns the profile information. This method supports patch
  semantics.
  
  <p>Sample code:
  
  <pre><code>
  try (OsLoginServiceClient osLoginServiceClient = OsLoginServiceClient.create()) {
  FingerprintName name = FingerprintName.of("[USER]", "[FINGERPRINT]");
  SshPublicKey sshPublicKey = SshPublicKey.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  SshPublicKey response = osLoginServiceClient.updateSshPublicKey(name.toString(), sshPublicKey, updateMask);
  }
  </code></pre>
  
  @param name 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}`.
  @param sshPublicKey The SSH public key and expiration time.
  @param updateMask Mask to control which fields get updated. Updates all if not present.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails