public final OperationFuture<Pool, OperationMetadata> updatePoolAsync(
      Pool pool, FieldMask updateMask) {
    UpdatePoolRequest request =
        UpdatePoolRequest.newBuilder().setPool(pool).setUpdateMask(updateMask).build();
    return updatePoolAsync(request);
  }
Updates the specified pool.

<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 (LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.create()) {
  Pool pool = Pool.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  Pool response = livestreamServiceClient.updatePoolAsync(pool, updateMask).get();
}
}</pre>

@param pool Required. The pool resource to be updated.
@param updateMask Field mask is used to specify the fields to be overwritten in the Pool
    resource by the update. You can only update the following fields:
    <ul>
      <li>`networkConfig`
    </ul>
    <p>The fields specified in the update_mask are relative to the resource, not the full
    request. A field will be overwritten if it is in the mask.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java