code: public final CryptoKey updateCryptoKey(CryptoKey cryptoKey, FieldMask updateMask) {
  
      UpdateCryptoKeyRequest request =
          UpdateCryptoKeyRequest.newBuilder()
              .setCryptoKey(cryptoKey)
              .setUpdateMask(updateMask)
              .build();
      return updateCryptoKey(request);
    }
docs: Update a [CryptoKey][google.cloud.kms.v1.CryptoKey].
  
  <p>Sample code:
  
  <pre><code>
  try (KeyManagementServiceClient keyManagementServiceClient = KeyManagementServiceClient.create()) {
  CryptoKey cryptoKey = CryptoKey.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  CryptoKey response = keyManagementServiceClient.updateCryptoKey(cryptoKey, updateMask);
  }
  </code></pre>
  
  @param cryptoKey [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values.
  @param updateMask Required list of fields to be updated in this request.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails