public final OperationFuture<CdnKey, OperationMetadata> updateCdnKeyAsync(
      CdnKey cdnKey, FieldMask updateMask) {
    UpdateCdnKeyRequest request =
        UpdateCdnKeyRequest.newBuilder().setCdnKey(cdnKey).setUpdateMask(updateMask).build();
    return updateCdnKeyAsync(request);
  }
Updates the specified CDN key. Only update fields specified in the call method body.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (VideoStitcherServiceClient videoStitcherServiceClient =
    VideoStitcherServiceClient.create()) {
  CdnKey cdnKey = CdnKey.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  CdnKey response = videoStitcherServiceClient.updateCdnKeyAsync(cdnKey, updateMask).get();
}
}</pre>

@param cdnKey Required. The CDN key resource which replaces the resource on the server.
@param updateMask Required. The update mask applies to the resource. For the `FieldMask`
    definition, see
    https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-video-stitcher/google-cloud-video-stitcher/src/main/java/com/google/cloud/video/stitcher/v1/VideoStitcherServiceClient.java