public final OperationFuture<NetworkPeering, OperationMetadata> updateNetworkPeeringAsync(
      NetworkPeering networkPeering, FieldMask updateMask) {
    UpdateNetworkPeeringRequest request =
        UpdateNetworkPeeringRequest.newBuilder()
            .setNetworkPeering(networkPeering)
            .setUpdateMask(updateMask)
            .build();
    return updateNetworkPeeringAsync(request);
  }
Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields
specified in `updateMask` are applied. NetworkPeering is a global resource and location can
only be global.

<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 (VmwareEngineClient vmwareEngineClient = VmwareEngineClient.create()) {
  NetworkPeering networkPeering = NetworkPeering.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  NetworkPeering response =
      vmwareEngineClient.updateNetworkPeeringAsync(networkPeering, updateMask).get();
}
}</pre>

@param networkPeering Required. Network peering description.
@param updateMask Required. Field mask is used to specify the fields to be overwritten in the
    `NetworkPeering` resource by the update. 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. If the user does not provide a mask then all fields will be overwritten.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-vmwareengine/google-cloud-vmwareengine/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineClient.java