public final OperationFuture<MigratingVm, OperationMetadata> updateMigratingVmAsync(
      MigratingVm migratingVm, FieldMask updateMask) {
    UpdateMigratingVmRequest request =
        UpdateMigratingVmRequest.newBuilder()
            .setMigratingVm(migratingVm)
            .setUpdateMask(updateMask)
            .build();
    return updateMigratingVmAsync(request);
  }
Updates the parameters of a single MigratingVm.

<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 (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
  MigratingVm migratingVm = MigratingVm.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  MigratingVm response =
      vmMigrationClient.updateMigratingVmAsync(migratingVm, updateMask).get();
}
}</pre>

@param migratingVm Required. The update request body.
@param updateMask Field mask is used to specify the fields to be overwritten in the MigratingVm
    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-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java