# VM Migration v1 API - Class VmMigrationClient (2.9.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.9.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.8.0/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.7.0/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.6.0/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.VmMigrationClient)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.VmMigrationClient)

    public abstract class VmMigrationClient

Reference documentation and code samples for the VM Migration v1 API class VmMigrationClient.

VmMigration client wrapper, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> VmMigrationClient

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Derived Types

[VmMigrationClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClientImpl)

## Namespace

[Google.Cloud.VMMigration.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1)

## Assembly

Google.Cloud.VMMigration.V1.dll

## Remarks

VM Migration Service

## Properties

### AddGroupMigrationOperationsClient

    public virtual OperationsClient AddGroupMigrationOperationsClient { get; }

The long-running operations client for `AddGroupMigration`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CancelCloneJobOperationsClient

    public virtual OperationsClient CancelCloneJobOperationsClient { get; }

The long-running operations client for `CancelCloneJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CancelCutoverJobOperationsClient

    public virtual OperationsClient CancelCutoverJobOperationsClient { get; }

The long-running operations client for `CancelCutoverJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CancelDiskMigrationJobOperationsClient

    public virtual OperationsClient CancelDiskMigrationJobOperationsClient { get; }

The long-running operations client for `CancelDiskMigrationJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CancelImageImportJobOperationsClient

    public virtual OperationsClient CancelImageImportJobOperationsClient { get; }

The long-running operations client for `CancelImageImportJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateCloneJobOperationsClient

    public virtual OperationsClient CreateCloneJobOperationsClient { get; }

The long-running operations client for `CreateCloneJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateCutoverJobOperationsClient

    public virtual OperationsClient CreateCutoverJobOperationsClient { get; }

The long-running operations client for `CreateCutoverJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateDatacenterConnectorOperationsClient

    public virtual OperationsClient CreateDatacenterConnectorOperationsClient { get; }

The long-running operations client for `CreateDatacenterConnector`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateDiskMigrationJobOperationsClient

    public virtual OperationsClient CreateDiskMigrationJobOperationsClient { get; }

The long-running operations client for `CreateDiskMigrationJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateGroupOperationsClient

    public virtual OperationsClient CreateGroupOperationsClient { get; }

The long-running operations client for `CreateGroup`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateImageImportOperationsClient

    public virtual OperationsClient CreateImageImportOperationsClient { get; }

The long-running operations client for `CreateImageImport`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateMigratingVmOperationsClient

    public virtual OperationsClient CreateMigratingVmOperationsClient { get; }

The long-running operations client for `CreateMigratingVm`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateSourceOperationsClient

    public virtual OperationsClient CreateSourceOperationsClient { get; }

The long-running operations client for `CreateSource`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateTargetProjectOperationsClient

    public virtual OperationsClient CreateTargetProjectOperationsClient { get; }

The long-running operations client for `CreateTargetProject`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateUtilizationReportOperationsClient

    public virtual OperationsClient CreateUtilizationReportOperationsClient { get; }

The long-running operations client for `CreateUtilizationReport`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the VmMigration service, which is a host of "vmmigration.googleapis.com" and a port
of 443.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default VmMigration scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1https://learn.microsoft.com/dotnet/api/system.string` |   |

**Remarks** The default VmMigration scopes are:

- <https://www.googleapis.com/auth/cloud-platform>

<br />

### DeleteDatacenterConnectorOperationsClient

    public virtual OperationsClient DeleteDatacenterConnectorOperationsClient { get; }

The long-running operations client for `DeleteDatacenterConnector`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteDiskMigrationJobOperationsClient

    public virtual OperationsClient DeleteDiskMigrationJobOperationsClient { get; }

The long-running operations client for `DeleteDiskMigrationJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteGroupOperationsClient

    public virtual OperationsClient DeleteGroupOperationsClient { get; }

The long-running operations client for `DeleteGroup`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteImageImportOperationsClient

    public virtual OperationsClient DeleteImageImportOperationsClient { get; }

The long-running operations client for `DeleteImageImport`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteMigratingVmOperationsClient

    public virtual OperationsClient DeleteMigratingVmOperationsClient { get; }

The long-running operations client for `DeleteMigratingVm`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteSourceOperationsClient

    public virtual OperationsClient DeleteSourceOperationsClient { get; }

The long-running operations client for `DeleteSource`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteTargetProjectOperationsClient

    public virtual OperationsClient DeleteTargetProjectOperationsClient { get; }

The long-running operations client for `DeleteTargetProject`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteUtilizationReportOperationsClient

    public virtual OperationsClient DeleteUtilizationReportOperationsClient { get; }

The long-running operations client for `DeleteUtilizationReport`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### ExtendMigrationOperationsClient

    public virtual OperationsClient ExtendMigrationOperationsClient { get; }

The long-running operations client for `ExtendMigration`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### FinalizeMigrationOperationsClient

    public virtual OperationsClient FinalizeMigrationOperationsClient { get; }

The long-running operations client for `FinalizeMigration`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### GrpcClient

    public virtual VmMigration.VmMigrationClient GrpcClient { get; }

The underlying gRPC VmMigration client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigration.VmMigrationClient` |   |

### LocationsClient

    public virtual LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

### PauseMigrationOperationsClient

    public virtual OperationsClient PauseMigrationOperationsClient { get; }

The long-running operations client for `PauseMigration`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### RemoveGroupMigrationOperationsClient

    public virtual OperationsClient RemoveGroupMigrationOperationsClient { get; }

The long-running operations client for `RemoveGroupMigration`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### ResumeMigrationOperationsClient

    public virtual OperationsClient ResumeMigrationOperationsClient { get; }

The long-running operations client for `ResumeMigration`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### RunDiskMigrationJobOperationsClient

    public virtual OperationsClient RunDiskMigrationJobOperationsClient { get; }

The long-running operations client for `RunDiskMigrationJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceMetadata.html` |   |

### StartMigrationOperationsClient

    public virtual OperationsClient StartMigrationOperationsClient { get; }

The long-running operations client for `StartMigration`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateDiskMigrationJobOperationsClient

    public virtual OperationsClient UpdateDiskMigrationJobOperationsClient { get; }

The long-running operations client for `UpdateDiskMigrationJob`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateGroupOperationsClient

    public virtual OperationsClient UpdateGroupOperationsClient { get; }

The long-running operations client for `UpdateGroup`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateMigratingVmOperationsClient

    public virtual OperationsClient UpdateMigratingVmOperationsClient { get; }

The long-running operations client for `UpdateMigratingVm`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateSourceOperationsClient

    public virtual OperationsClient UpdateSourceOperationsClient { get; }

The long-running operations client for `UpdateSource`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateTargetProjectOperationsClient

    public virtual OperationsClient UpdateTargetProjectOperationsClient { get; }

The long-running operations client for `UpdateTargetProject`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpgradeApplianceOperationsClient

    public virtual OperationsClient UpgradeApplianceOperationsClient { get; }

The long-running operations client for `UpgradeAppliance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

## Methods

### AddGroupMigration(AddGroupMigrationRequest, CallSettings)

    public virtual Operation<AddGroupMigrationResponse, OperationMetadata> AddGroupMigration(AddGroupMigrationRequest request, CallSettings callSettings = null)

Adds a MigratingVm to a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    AddGroupMigrationRequest request = new AddGroupMigrationRequest
    {
        GroupAsGroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<AddGroupMigrationResponse, OperationMetadata> response = vmMigrationClient.AddGroupMigration(request);

    // Poll until the returned long-running operation is complete
    Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AddGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceAddGroupMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### AddGroupMigration(GroupName, CallSettings)

    public virtual Operation<AddGroupMigrationResponse, OperationMetadata> AddGroupMigration(GroupName group, CallSettings callSettings = null)

Adds a MigratingVm to a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The full path name of the Group to add to. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GroupName group = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Operation<AddGroupMigrationResponse, OperationMetadata> response = vmMigrationClient.AddGroupMigration(group);

    // Poll until the returned long-running operation is complete
    Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AddGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceAddGroupMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### AddGroupMigration(string, CallSettings)

    public virtual Operation<AddGroupMigrationResponse, OperationMetadata> AddGroupMigration(string group, CallSettings callSettings = null)

Adds a MigratingVm to a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The full path name of the Group to add to. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string group = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Operation<AddGroupMigrationResponse, OperationMetadata> response = vmMigrationClient.AddGroupMigration(group);

    // Poll until the returned long-running operation is complete
    Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AddGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceAddGroupMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### AddGroupMigrationAsync(AddGroupMigrationRequest, CallSettings)

    public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(AddGroupMigrationRequest request, CallSettings callSettings = null)

Adds a MigratingVm to a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    AddGroupMigrationRequest request = new AddGroupMigrationRequest
    {
        GroupAsGroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AddGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### AddGroupMigrationAsync(AddGroupMigrationRequest, CancellationToken)

    public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(AddGroupMigrationRequest request, CancellationToken cancellationToken)

Adds a MigratingVm to a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    AddGroupMigrationRequest request = new AddGroupMigrationRequest
    {
        GroupAsGroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AddGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### AddGroupMigrationAsync(GroupName, CallSettings)

    public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(GroupName group, CallSettings callSettings = null)

Adds a MigratingVm to a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The full path name of the Group to add to. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GroupName group = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(group);

    // Poll until the returned long-running operation is complete
    Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AddGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### AddGroupMigrationAsync(GroupName, CancellationToken)

    public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(GroupName group, CancellationToken cancellationToken)

Adds a MigratingVm to a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The full path name of the Group to add to. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GroupName group = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(group);

    // Poll until the returned long-running operation is complete
    Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AddGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### AddGroupMigrationAsync(string, CallSettings)

    public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(string group, CallSettings callSettings = null)

Adds a MigratingVm to a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The full path name of the Group to add to. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string group = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(group);

    // Poll until the returned long-running operation is complete
    Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AddGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### AddGroupMigrationAsync(string, CancellationToken)

    public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(string group, CancellationToken cancellationToken)

Adds a MigratingVm to a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The full path name of the Group to add to. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string group = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(group);

    // Poll until the returned long-running operation is complete
    Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AddGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCloneJob(CancelCloneJobRequest, CallSettings)

    public virtual Operation<CancelCloneJobResponse, OperationMetadata> CancelCloneJob(CancelCloneJobRequest request, CallSettings callSettings = null)

Initiates the cancellation of a running clone job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CancelCloneJobRequest request = new CancelCloneJobRequest
    {
        CloneJobName = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]"),
    };
    // Make the request
    Operation<CancelCloneJobResponse, OperationMetadata> response = vmMigrationClient.CancelCloneJob(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelCloneJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCloneJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCloneJob(CloneJobName, CallSettings)

    public virtual Operation<CancelCloneJobResponse, OperationMetadata> CancelCloneJob(CloneJobName name, CallSettings callSettings = null)

Initiates the cancellation of a running clone job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobName` Required. The clone job id |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CloneJobName name = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
    // Make the request
    Operation<CancelCloneJobResponse, OperationMetadata> response = vmMigrationClient.CancelCloneJob(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelCloneJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCloneJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCloneJob(string, CallSettings)

    public virtual Operation<CancelCloneJobResponse, OperationMetadata> CancelCloneJob(string name, CallSettings callSettings = null)

Initiates the cancellation of a running clone job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The clone job id |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cloneJobs/[CLONE_JOB]";
    // Make the request
    Operation<CancelCloneJobResponse, OperationMetadata> response = vmMigrationClient.CancelCloneJob(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelCloneJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCloneJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCloneJobAsync(CancelCloneJobRequest, CallSettings)

    public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(CancelCloneJobRequest request, CallSettings callSettings = null)

Initiates the cancellation of a running clone job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CancelCloneJobRequest request = new CancelCloneJobRequest
    {
        CloneJobName = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]"),
    };
    // Make the request
    Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCloneJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCloneJobAsync(CancelCloneJobRequest, CancellationToken)

    public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(CancelCloneJobRequest request, CancellationToken cancellationToken)

Initiates the cancellation of a running clone job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CancelCloneJobRequest request = new CancelCloneJobRequest
    {
        CloneJobName = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]"),
    };
    // Make the request
    Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCloneJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCloneJobAsync(CloneJobName, CallSettings)

    public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(CloneJobName name, CallSettings callSettings = null)

Initiates the cancellation of a running clone job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobName` Required. The clone job id |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CloneJobName name = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
    // Make the request
    Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCloneJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCloneJobAsync(CloneJobName, CancellationToken)

    public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(CloneJobName name, CancellationToken cancellationToken)

Initiates the cancellation of a running clone job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobName` Required. The clone job id |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CloneJobName name = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
    // Make the request
    Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCloneJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCloneJobAsync(string, CallSettings)

    public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(string name, CallSettings callSettings = null)

Initiates the cancellation of a running clone job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The clone job id |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cloneJobs/[CLONE_JOB]";
    // Make the request
    Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCloneJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCloneJobAsync(string, CancellationToken)

    public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(string name, CancellationToken cancellationToken)

Initiates the cancellation of a running clone job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The clone job id |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cloneJobs/[CLONE_JOB]";
    // Make the request
    Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCloneJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCutoverJob(CancelCutoverJobRequest, CallSettings)

    public virtual Operation<CancelCutoverJobResponse, OperationMetadata> CancelCutoverJob(CancelCutoverJobRequest request, CallSettings callSettings = null)

Initiates the cancellation of a running cutover job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CancelCutoverJobRequest request = new CancelCutoverJobRequest
    {
        CutoverJobName = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]"),
    };
    // Make the request
    Operation<CancelCutoverJobResponse, OperationMetadata> response = vmMigrationClient.CancelCutoverJob(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelCutoverJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCutoverJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCutoverJob(CutoverJobName, CallSettings)

    public virtual Operation<CancelCutoverJobResponse, OperationMetadata> CancelCutoverJob(CutoverJobName name, CallSettings callSettings = null)

Initiates the cancellation of a running cutover job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobName` Required. The cutover job id |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CutoverJobName name = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]");
    // Make the request
    Operation<CancelCutoverJobResponse, OperationMetadata> response = vmMigrationClient.CancelCutoverJob(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelCutoverJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCutoverJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCutoverJob(string, CallSettings)

    public virtual Operation<CancelCutoverJobResponse, OperationMetadata> CancelCutoverJob(string name, CallSettings callSettings = null)

Initiates the cancellation of a running cutover job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The cutover job id |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cutoverJobs/[CUTOVER_JOB]";
    // Make the request
    Operation<CancelCutoverJobResponse, OperationMetadata> response = vmMigrationClient.CancelCutoverJob(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelCutoverJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCutoverJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCutoverJobAsync(CancelCutoverJobRequest, CallSettings)

    public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> CancelCutoverJobAsync(CancelCutoverJobRequest request, CallSettings callSettings = null)

Initiates the cancellation of a running cutover job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CancelCutoverJobRequest request = new CancelCutoverJobRequest
    {
        CutoverJobName = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]"),
    };
    // Make the request
    Operation<CancelCutoverJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCutoverJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCutoverJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCutoverJobAsync(CancelCutoverJobRequest, CancellationToken)

    public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> CancelCutoverJobAsync(CancelCutoverJobRequest request, CancellationToken cancellationToken)

Initiates the cancellation of a running cutover job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CancelCutoverJobRequest request = new CancelCutoverJobRequest
    {
        CutoverJobName = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]"),
    };
    // Make the request
    Operation<CancelCutoverJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCutoverJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCutoverJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCutoverJobAsync(CutoverJobName, CallSettings)

    public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> CancelCutoverJobAsync(CutoverJobName name, CallSettings callSettings = null)

Initiates the cancellation of a running cutover job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobName` Required. The cutover job id |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CutoverJobName name = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]");
    // Make the request
    Operation<CancelCutoverJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCutoverJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCutoverJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCutoverJobAsync(CutoverJobName, CancellationToken)

    public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> CancelCutoverJobAsync(CutoverJobName name, CancellationToken cancellationToken)

Initiates the cancellation of a running cutover job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobName` Required. The cutover job id |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CutoverJobName name = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]");
    // Make the request
    Operation<CancelCutoverJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCutoverJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCutoverJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCutoverJobAsync(string, CallSettings)

    public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> CancelCutoverJobAsync(string name, CallSettings callSettings = null)

Initiates the cancellation of a running cutover job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The cutover job id |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cutoverJobs/[CUTOVER_JOB]";
    // Make the request
    Operation<CancelCutoverJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCutoverJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCutoverJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelCutoverJobAsync(string, CancellationToken)

    public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> CancelCutoverJobAsync(string name, CancellationToken cancellationToken)

Initiates the cancellation of a running cutover job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The cutover job id |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cutoverJobs/[CUTOVER_JOB]";
    // Make the request
    Operation<CancelCutoverJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCutoverJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelCutoverJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelDiskMigrationJob(CancelDiskMigrationJobRequest, CallSettings)

    public virtual Operation<CancelDiskMigrationJobResponse, OperationMetadata> CancelDiskMigrationJob(CancelDiskMigrationJobRequest request, CallSettings callSettings = null)

Cancels the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CancelDiskMigrationJobRequest request = new CancelDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    Operation<CancelDiskMigrationJobResponse, OperationMetadata> response = vmMigrationClient.CancelDiskMigrationJob(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelDiskMigrationJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelDiskMigrationJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelDiskMigrationJobAsync(CancelDiskMigrationJobRequest, CallSettings)

    public virtual Task<Operation<CancelDiskMigrationJobResponse, OperationMetadata>> CancelDiskMigrationJobAsync(CancelDiskMigrationJobRequest request, CallSettings callSettings = null)

Cancels the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CancelDiskMigrationJobRequest request = new CancelDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    Operation<CancelDiskMigrationJobResponse, OperationMetadata> response = await vmMigrationClient.CancelDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelDiskMigrationJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelDiskMigrationJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelDiskMigrationJobAsync(CancelDiskMigrationJobRequest, CancellationToken)

    public virtual Task<Operation<CancelDiskMigrationJobResponse, OperationMetadata>> CancelDiskMigrationJobAsync(CancelDiskMigrationJobRequest request, CancellationToken cancellationToken)

Cancels the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CancelDiskMigrationJobRequest request = new CancelDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    Operation<CancelDiskMigrationJobResponse, OperationMetadata> response = await vmMigrationClient.CancelDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelDiskMigrationJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelDiskMigrationJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelImageImportJob(CancelImageImportJobRequest, CallSettings)

    public virtual Operation<CancelImageImportJobResponse, OperationMetadata> CancelImageImportJob(CancelImageImportJobRequest request, CallSettings callSettings = null)

Initiates the cancellation of a running ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CancelImageImportJobRequest request = new CancelImageImportJobRequest
    {
        ImageImportJobName = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]"),
    };
    // Make the request
    Operation<CancelImageImportJobResponse, OperationMetadata> response = vmMigrationClient.CancelImageImportJob(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelImageImportJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelImageImportJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelImageImportJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelImageImportJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelImageImportJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelImageImportJob(ImageImportJobName, CallSettings)

    public virtual Operation<CancelImageImportJobResponse, OperationMetadata> CancelImageImportJob(ImageImportJobName name, CallSettings callSettings = null)

Initiates the cancellation of a running ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJobName` Required. The image import job id. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ImageImportJobName name = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]");
    // Make the request
    Operation<CancelImageImportJobResponse, OperationMetadata> response = vmMigrationClient.CancelImageImportJob(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelImageImportJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelImageImportJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelImageImportJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelImageImportJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelImageImportJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelImageImportJob(string, CallSettings)

    public virtual Operation<CancelImageImportJobResponse, OperationMetadata> CancelImageImportJob(string name, CallSettings callSettings = null)

Initiates the cancellation of a running ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The image import job id. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]/imageImportJobs/[RESULT]";
    // Make the request
    Operation<CancelImageImportJobResponse, OperationMetadata> response = vmMigrationClient.CancelImageImportJob(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelImageImportJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CancelImageImportJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelImageImportJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelImageImportJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelImageImportJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelImageImportJobAsync(CancelImageImportJobRequest, CallSettings)

    public virtual Task<Operation<CancelImageImportJobResponse, OperationMetadata>> CancelImageImportJobAsync(CancelImageImportJobRequest request, CallSettings callSettings = null)

Initiates the cancellation of a running ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CancelImageImportJobRequest request = new CancelImageImportJobRequest
    {
        ImageImportJobName = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]"),
    };
    // Make the request
    Operation<CancelImageImportJobResponse, OperationMetadata> response = await vmMigrationClient.CancelImageImportJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelImageImportJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelImageImportJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelImageImportJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelImageImportJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelImageImportJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelImageImportJobAsync(CancelImageImportJobRequest, CancellationToken)

    public virtual Task<Operation<CancelImageImportJobResponse, OperationMetadata>> CancelImageImportJobAsync(CancelImageImportJobRequest request, CancellationToken cancellationToken)

Initiates the cancellation of a running ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CancelImageImportJobRequest request = new CancelImageImportJobRequest
    {
        ImageImportJobName = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]"),
    };
    // Make the request
    Operation<CancelImageImportJobResponse, OperationMetadata> response = await vmMigrationClient.CancelImageImportJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CancelImageImportJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelImageImportJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelImageImportJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelImageImportJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelImageImportJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelImageImportJobAsync(ImageImportJobName, CallSettings)

    public virtual Task<Operation<CancelImageImportJobResponse, OperationMetadata>> CancelImageImportJobAsync(ImageImportJobName name, CallSettings callSettings = null)

Initiates the cancellation of a running ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJobName` Required. The image import job id. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ImageImportJobName name = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]");
    // Make the request
    Operation<CancelImageImportJobResponse, OperationMetadata> response = await vmMigrationClient.CancelImageImportJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelImageImportJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelImageImportJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelImageImportJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelImageImportJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelImageImportJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelImageImportJobAsync(ImageImportJobName, CancellationToken)

    public virtual Task<Operation<CancelImageImportJobResponse, OperationMetadata>> CancelImageImportJobAsync(ImageImportJobName name, CancellationToken cancellationToken)

Initiates the cancellation of a running ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJobName` Required. The image import job id. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ImageImportJobName name = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]");
    // Make the request
    Operation<CancelImageImportJobResponse, OperationMetadata> response = await vmMigrationClient.CancelImageImportJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelImageImportJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelImageImportJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelImageImportJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelImageImportJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelImageImportJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelImageImportJobAsync(string, CallSettings)

    public virtual Task<Operation<CancelImageImportJobResponse, OperationMetadata>> CancelImageImportJobAsync(string name, CallSettings callSettings = null)

Initiates the cancellation of a running ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The image import job id. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]/imageImportJobs/[RESULT]";
    // Make the request
    Operation<CancelImageImportJobResponse, OperationMetadata> response = await vmMigrationClient.CancelImageImportJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelImageImportJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelImageImportJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelImageImportJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelImageImportJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelImageImportJobResponse retrievedResult = retrievedResponse.Result;
    }

### CancelImageImportJobAsync(string, CancellationToken)

    public virtual Task<Operation<CancelImageImportJobResponse, OperationMetadata>> CancelImageImportJobAsync(string name, CancellationToken cancellationToken)

Initiates the cancellation of a running ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The image import job id. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]/imageImportJobs/[RESULT]";
    // Make the request
    Operation<CancelImageImportJobResponse, OperationMetadata> response = await vmMigrationClient.CancelImageImportJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<CancelImageImportJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CancelImageImportJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CancelImageImportJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelImageImportJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CancelImageImportJobResponse retrievedResult = retrievedResponse.Result;
    }

### Create()

    public static VmMigrationClient Create()

Synchronously creates a [VmMigrationClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [VmMigrationClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClientBuilder).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient` | The created [VmMigrationClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient). |

### CreateAsync(CancellationToken)

    public static Task<VmMigrationClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a [VmMigrationClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [VmMigrationClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClientBuilder).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient` | The task representing the created [VmMigrationClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient). |

### CreateCloneJob(CreateCloneJobRequest, CallSettings)

    public virtual Operation<CloneJob, OperationMetadata> CreateCloneJob(CreateCloneJobRequest request, CallSettings callSettings = null)

Initiates a Clone of a specific migrating VM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateCloneJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateCloneJobRequest request = new CreateCloneJobRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        CloneJobId = "",
        CloneJob = new CloneJob(),
        RequestId = "",
    };
    // Make the request
    Operation<CloneJob, OperationMetadata> response = vmMigrationClient.CreateCloneJob(request);

    // Poll until the returned long-running operation is complete
    Operation<CloneJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CloneJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CloneJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateCloneJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CloneJob retrievedResult = retrievedResponse.Result;
    }

### CreateCloneJob(MigratingVmName, CloneJob, string, CallSettings)

    public virtual Operation<CloneJob, OperationMetadata> CreateCloneJob(MigratingVmName parent, CloneJob cloneJob, string cloneJobId, CallSettings callSettings = null)

Initiates a Clone of a specific migrating VM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The Clone's parent. |
| `cloneJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` Required. The clone request body. |
| `cloneJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The clone job identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    CloneJob cloneJob = new CloneJob();
    string cloneJobId = "";
    // Make the request
    Operation<CloneJob, OperationMetadata> response = vmMigrationClient.CreateCloneJob(parent, cloneJob, cloneJobId);

    // Poll until the returned long-running operation is complete
    Operation<CloneJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CloneJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CloneJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateCloneJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CloneJob retrievedResult = retrievedResponse.Result;
    }

### CreateCloneJob(string, CloneJob, string, CallSettings)

    public virtual Operation<CloneJob, OperationMetadata> CreateCloneJob(string parent, CloneJob cloneJob, string cloneJobId, CallSettings callSettings = null)

Initiates a Clone of a specific migrating VM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Clone's parent. |
| `cloneJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` Required. The clone request body. |
| `cloneJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The clone job identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    CloneJob cloneJob = new CloneJob();
    string cloneJobId = "";
    // Make the request
    Operation<CloneJob, OperationMetadata> response = vmMigrationClient.CreateCloneJob(parent, cloneJob, cloneJobId);

    // Poll until the returned long-running operation is complete
    Operation<CloneJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CloneJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CloneJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateCloneJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CloneJob retrievedResult = retrievedResponse.Result;
    }

### CreateCloneJobAsync(CreateCloneJobRequest, CallSettings)

    public virtual Task<Operation<CloneJob, OperationMetadata>> CreateCloneJobAsync(CreateCloneJobRequest request, CallSettings callSettings = null)

Initiates a Clone of a specific migrating VM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateCloneJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateCloneJobRequest request = new CreateCloneJobRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        CloneJobId = "",
        CloneJob = new CloneJob(),
        RequestId = "",
    };
    // Make the request
    Operation<CloneJob, OperationMetadata> response = await vmMigrationClient.CreateCloneJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CloneJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CloneJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CloneJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CloneJob retrievedResult = retrievedResponse.Result;
    }

### CreateCloneJobAsync(CreateCloneJobRequest, CancellationToken)

    public virtual Task<Operation<CloneJob, OperationMetadata>> CreateCloneJobAsync(CreateCloneJobRequest request, CancellationToken cancellationToken)

Initiates a Clone of a specific migrating VM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateCloneJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateCloneJobRequest request = new CreateCloneJobRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        CloneJobId = "",
        CloneJob = new CloneJob(),
        RequestId = "",
    };
    // Make the request
    Operation<CloneJob, OperationMetadata> response = await vmMigrationClient.CreateCloneJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CloneJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CloneJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CloneJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CloneJob retrievedResult = retrievedResponse.Result;
    }

### CreateCloneJobAsync(MigratingVmName, CloneJob, string, CallSettings)

    public virtual Task<Operation<CloneJob, OperationMetadata>> CreateCloneJobAsync(MigratingVmName parent, CloneJob cloneJob, string cloneJobId, CallSettings callSettings = null)

Initiates a Clone of a specific migrating VM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The Clone's parent. |
| `cloneJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` Required. The clone request body. |
| `cloneJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The clone job identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    CloneJob cloneJob = new CloneJob();
    string cloneJobId = "";
    // Make the request
    Operation<CloneJob, OperationMetadata> response = await vmMigrationClient.CreateCloneJobAsync(parent, cloneJob, cloneJobId);

    // Poll until the returned long-running operation is complete
    Operation<CloneJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CloneJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CloneJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CloneJob retrievedResult = retrievedResponse.Result;
    }

### CreateCloneJobAsync(MigratingVmName, CloneJob, string, CancellationToken)

    public virtual Task<Operation<CloneJob, OperationMetadata>> CreateCloneJobAsync(MigratingVmName parent, CloneJob cloneJob, string cloneJobId, CancellationToken cancellationToken)

Initiates a Clone of a specific migrating VM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The Clone's parent. |
| `cloneJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` Required. The clone request body. |
| `cloneJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The clone job identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    CloneJob cloneJob = new CloneJob();
    string cloneJobId = "";
    // Make the request
    Operation<CloneJob, OperationMetadata> response = await vmMigrationClient.CreateCloneJobAsync(parent, cloneJob, cloneJobId);

    // Poll until the returned long-running operation is complete
    Operation<CloneJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CloneJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CloneJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CloneJob retrievedResult = retrievedResponse.Result;
    }

### CreateCloneJobAsync(string, CloneJob, string, CallSettings)

    public virtual Task<Operation<CloneJob, OperationMetadata>> CreateCloneJobAsync(string parent, CloneJob cloneJob, string cloneJobId, CallSettings callSettings = null)

Initiates a Clone of a specific migrating VM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Clone's parent. |
| `cloneJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` Required. The clone request body. |
| `cloneJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The clone job identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    CloneJob cloneJob = new CloneJob();
    string cloneJobId = "";
    // Make the request
    Operation<CloneJob, OperationMetadata> response = await vmMigrationClient.CreateCloneJobAsync(parent, cloneJob, cloneJobId);

    // Poll until the returned long-running operation is complete
    Operation<CloneJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CloneJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CloneJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CloneJob retrievedResult = retrievedResponse.Result;
    }

### CreateCloneJobAsync(string, CloneJob, string, CancellationToken)

    public virtual Task<Operation<CloneJob, OperationMetadata>> CreateCloneJobAsync(string parent, CloneJob cloneJob, string cloneJobId, CancellationToken cancellationToken)

Initiates a Clone of a specific migrating VM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Clone's parent. |
| `cloneJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` Required. The clone request body. |
| `cloneJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The clone job identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    CloneJob cloneJob = new CloneJob();
    string cloneJobId = "";
    // Make the request
    Operation<CloneJob, OperationMetadata> response = await vmMigrationClient.CreateCloneJobAsync(parent, cloneJob, cloneJobId);

    // Poll until the returned long-running operation is complete
    Operation<CloneJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CloneJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CloneJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCloneJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CloneJob retrievedResult = retrievedResponse.Result;
    }

### CreateCutoverJob(CreateCutoverJobRequest, CallSettings)

    public virtual Operation<CutoverJob, OperationMetadata> CreateCutoverJob(CreateCutoverJobRequest request, CallSettings callSettings = null)

Initiates a Cutover of a specific migrating VM.
The returned LRO is completed when the cutover job resource is created
and the job is initiated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateCutoverJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateCutoverJobRequest request = new CreateCutoverJobRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        CutoverJobId = "",
        CutoverJob = new CutoverJob(),
        RequestId = "",
    };
    // Make the request
    Operation<CutoverJob, OperationMetadata> response = vmMigrationClient.CreateCutoverJob(request);

    // Poll until the returned long-running operation is complete
    Operation<CutoverJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CutoverJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CutoverJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateCutoverJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CutoverJob retrievedResult = retrievedResponse.Result;
    }

### CreateCutoverJob(MigratingVmName, CutoverJob, string, CallSettings)

    public virtual Operation<CutoverJob, OperationMetadata> CreateCutoverJob(MigratingVmName parent, CutoverJob cutoverJob, string cutoverJobId, CallSettings callSettings = null)

Initiates a Cutover of a specific migrating VM.
The returned LRO is completed when the cutover job resource is created
and the job is initiated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The Cutover's parent. |
| `cutoverJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` Required. The cutover request body. |
| `cutoverJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The cutover job identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    CutoverJob cutoverJob = new CutoverJob();
    string cutoverJobId = "";
    // Make the request
    Operation<CutoverJob, OperationMetadata> response = vmMigrationClient.CreateCutoverJob(parent, cutoverJob, cutoverJobId);

    // Poll until the returned long-running operation is complete
    Operation<CutoverJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CutoverJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CutoverJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateCutoverJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CutoverJob retrievedResult = retrievedResponse.Result;
    }

### CreateCutoverJob(string, CutoverJob, string, CallSettings)

    public virtual Operation<CutoverJob, OperationMetadata> CreateCutoverJob(string parent, CutoverJob cutoverJob, string cutoverJobId, CallSettings callSettings = null)

Initiates a Cutover of a specific migrating VM.
The returned LRO is completed when the cutover job resource is created
and the job is initiated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Cutover's parent. |
| `cutoverJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` Required. The cutover request body. |
| `cutoverJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The cutover job identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    CutoverJob cutoverJob = new CutoverJob();
    string cutoverJobId = "";
    // Make the request
    Operation<CutoverJob, OperationMetadata> response = vmMigrationClient.CreateCutoverJob(parent, cutoverJob, cutoverJobId);

    // Poll until the returned long-running operation is complete
    Operation<CutoverJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    CutoverJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CutoverJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateCutoverJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CutoverJob retrievedResult = retrievedResponse.Result;
    }

### CreateCutoverJobAsync(CreateCutoverJobRequest, CallSettings)

    public virtual Task<Operation<CutoverJob, OperationMetadata>> CreateCutoverJobAsync(CreateCutoverJobRequest request, CallSettings callSettings = null)

Initiates a Cutover of a specific migrating VM.
The returned LRO is completed when the cutover job resource is created
and the job is initiated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateCutoverJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateCutoverJobRequest request = new CreateCutoverJobRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        CutoverJobId = "",
        CutoverJob = new CutoverJob(),
        RequestId = "",
    };
    // Make the request
    Operation<CutoverJob, OperationMetadata> response = await vmMigrationClient.CreateCutoverJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CutoverJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CutoverJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CutoverJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CutoverJob retrievedResult = retrievedResponse.Result;
    }

### CreateCutoverJobAsync(CreateCutoverJobRequest, CancellationToken)

    public virtual Task<Operation<CutoverJob, OperationMetadata>> CreateCutoverJobAsync(CreateCutoverJobRequest request, CancellationToken cancellationToken)

Initiates a Cutover of a specific migrating VM.
The returned LRO is completed when the cutover job resource is created
and the job is initiated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateCutoverJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateCutoverJobRequest request = new CreateCutoverJobRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        CutoverJobId = "",
        CutoverJob = new CutoverJob(),
        RequestId = "",
    };
    // Make the request
    Operation<CutoverJob, OperationMetadata> response = await vmMigrationClient.CreateCutoverJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<CutoverJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CutoverJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CutoverJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CutoverJob retrievedResult = retrievedResponse.Result;
    }

### CreateCutoverJobAsync(MigratingVmName, CutoverJob, string, CallSettings)

    public virtual Task<Operation<CutoverJob, OperationMetadata>> CreateCutoverJobAsync(MigratingVmName parent, CutoverJob cutoverJob, string cutoverJobId, CallSettings callSettings = null)

Initiates a Cutover of a specific migrating VM.
The returned LRO is completed when the cutover job resource is created
and the job is initiated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The Cutover's parent. |
| `cutoverJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` Required. The cutover request body. |
| `cutoverJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The cutover job identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    CutoverJob cutoverJob = new CutoverJob();
    string cutoverJobId = "";
    // Make the request
    Operation<CutoverJob, OperationMetadata> response = await vmMigrationClient.CreateCutoverJobAsync(parent, cutoverJob, cutoverJobId);

    // Poll until the returned long-running operation is complete
    Operation<CutoverJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CutoverJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CutoverJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CutoverJob retrievedResult = retrievedResponse.Result;
    }

### CreateCutoverJobAsync(MigratingVmName, CutoverJob, string, CancellationToken)

    public virtual Task<Operation<CutoverJob, OperationMetadata>> CreateCutoverJobAsync(MigratingVmName parent, CutoverJob cutoverJob, string cutoverJobId, CancellationToken cancellationToken)

Initiates a Cutover of a specific migrating VM.
The returned LRO is completed when the cutover job resource is created
and the job is initiated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The Cutover's parent. |
| `cutoverJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` Required. The cutover request body. |
| `cutoverJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The cutover job identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    CutoverJob cutoverJob = new CutoverJob();
    string cutoverJobId = "";
    // Make the request
    Operation<CutoverJob, OperationMetadata> response = await vmMigrationClient.CreateCutoverJobAsync(parent, cutoverJob, cutoverJobId);

    // Poll until the returned long-running operation is complete
    Operation<CutoverJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CutoverJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CutoverJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CutoverJob retrievedResult = retrievedResponse.Result;
    }

### CreateCutoverJobAsync(string, CutoverJob, string, CallSettings)

    public virtual Task<Operation<CutoverJob, OperationMetadata>> CreateCutoverJobAsync(string parent, CutoverJob cutoverJob, string cutoverJobId, CallSettings callSettings = null)

Initiates a Cutover of a specific migrating VM.
The returned LRO is completed when the cutover job resource is created
and the job is initiated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Cutover's parent. |
| `cutoverJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` Required. The cutover request body. |
| `cutoverJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The cutover job identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    CutoverJob cutoverJob = new CutoverJob();
    string cutoverJobId = "";
    // Make the request
    Operation<CutoverJob, OperationMetadata> response = await vmMigrationClient.CreateCutoverJobAsync(parent, cutoverJob, cutoverJobId);

    // Poll until the returned long-running operation is complete
    Operation<CutoverJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CutoverJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CutoverJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CutoverJob retrievedResult = retrievedResponse.Result;
    }

### CreateCutoverJobAsync(string, CutoverJob, string, CancellationToken)

    public virtual Task<Operation<CutoverJob, OperationMetadata>> CreateCutoverJobAsync(string parent, CutoverJob cutoverJob, string cutoverJobId, CancellationToken cancellationToken)

Initiates a Cutover of a specific migrating VM.
The returned LRO is completed when the cutover job resource is created
and the job is initiated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Cutover's parent. |
| `cutoverJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` Required. The cutover request body. |
| `cutoverJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The cutover job identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    CutoverJob cutoverJob = new CutoverJob();
    string cutoverJobId = "";
    // Make the request
    Operation<CutoverJob, OperationMetadata> response = await vmMigrationClient.CreateCutoverJobAsync(parent, cutoverJob, cutoverJobId);

    // Poll until the returned long-running operation is complete
    Operation<CutoverJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    CutoverJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<CutoverJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateCutoverJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        CutoverJob retrievedResult = retrievedResponse.Result;
    }

### CreateDatacenterConnector(CreateDatacenterConnectorRequest, CallSettings)

    public virtual Operation<DatacenterConnector, OperationMetadata> CreateDatacenterConnector(CreateDatacenterConnectorRequest request, CallSettings callSettings = null)

Creates a new DatacenterConnector in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateDatacenterConnectorRequest request = new CreateDatacenterConnectorRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        DatacenterConnectorId = "",
        DatacenterConnector = new DatacenterConnector(),
        RequestId = "",
    };
    // Make the request
    Operation<DatacenterConnector, OperationMetadata> response = vmMigrationClient.CreateDatacenterConnector(request);

    // Poll until the returned long-running operation is complete
    Operation<DatacenterConnector, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DatacenterConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DatacenterConnector, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateDatacenterConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DatacenterConnector retrievedResult = retrievedResponse.Result;
    }

### CreateDatacenterConnector(SourceName, DatacenterConnector, string, CallSettings)

    public virtual Operation<DatacenterConnector, OperationMetadata> CreateDatacenterConnector(SourceName parent, DatacenterConnector datacenterConnector, string datacenterConnectorId, CallSettings callSettings = null)

Creates a new DatacenterConnector in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source` |
| `datacenterConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` Required. The create request body. |
| `datacenterConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The datacenterConnector identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    DatacenterConnector datacenterConnector = new DatacenterConnector();
    string datacenterConnectorId = "";
    // Make the request
    Operation<DatacenterConnector, OperationMetadata> response = vmMigrationClient.CreateDatacenterConnector(parent, datacenterConnector, datacenterConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<DatacenterConnector, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DatacenterConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DatacenterConnector, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateDatacenterConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DatacenterConnector retrievedResult = retrievedResponse.Result;
    }

### CreateDatacenterConnector(string, DatacenterConnector, string, CallSettings)

    public virtual Operation<DatacenterConnector, OperationMetadata> CreateDatacenterConnector(string parent, DatacenterConnector datacenterConnector, string datacenterConnectorId, CallSettings callSettings = null)

Creates a new DatacenterConnector in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source` |
| `datacenterConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` Required. The create request body. |
| `datacenterConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The datacenterConnector identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    DatacenterConnector datacenterConnector = new DatacenterConnector();
    string datacenterConnectorId = "";
    // Make the request
    Operation<DatacenterConnector, OperationMetadata> response = vmMigrationClient.CreateDatacenterConnector(parent, datacenterConnector, datacenterConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<DatacenterConnector, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DatacenterConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DatacenterConnector, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateDatacenterConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DatacenterConnector retrievedResult = retrievedResponse.Result;
    }

### CreateDatacenterConnectorAsync(CreateDatacenterConnectorRequest, CallSettings)

    public virtual Task<Operation<DatacenterConnector, OperationMetadata>> CreateDatacenterConnectorAsync(CreateDatacenterConnectorRequest request, CallSettings callSettings = null)

Creates a new DatacenterConnector in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateDatacenterConnectorRequest request = new CreateDatacenterConnectorRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        DatacenterConnectorId = "",
        DatacenterConnector = new DatacenterConnector(),
        RequestId = "",
    };
    // Make the request
    Operation<DatacenterConnector, OperationMetadata> response = await vmMigrationClient.CreateDatacenterConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DatacenterConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DatacenterConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DatacenterConnector, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DatacenterConnector retrievedResult = retrievedResponse.Result;
    }

### CreateDatacenterConnectorAsync(CreateDatacenterConnectorRequest, CancellationToken)

    public virtual Task<Operation<DatacenterConnector, OperationMetadata>> CreateDatacenterConnectorAsync(CreateDatacenterConnectorRequest request, CancellationToken cancellationToken)

Creates a new DatacenterConnector in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateDatacenterConnectorRequest request = new CreateDatacenterConnectorRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        DatacenterConnectorId = "",
        DatacenterConnector = new DatacenterConnector(),
        RequestId = "",
    };
    // Make the request
    Operation<DatacenterConnector, OperationMetadata> response = await vmMigrationClient.CreateDatacenterConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DatacenterConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DatacenterConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DatacenterConnector, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DatacenterConnector retrievedResult = retrievedResponse.Result;
    }

### CreateDatacenterConnectorAsync(SourceName, DatacenterConnector, string, CallSettings)

    public virtual Task<Operation<DatacenterConnector, OperationMetadata>> CreateDatacenterConnectorAsync(SourceName parent, DatacenterConnector datacenterConnector, string datacenterConnectorId, CallSettings callSettings = null)

Creates a new DatacenterConnector in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source` |
| `datacenterConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` Required. The create request body. |
| `datacenterConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The datacenterConnector identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    DatacenterConnector datacenterConnector = new DatacenterConnector();
    string datacenterConnectorId = "";
    // Make the request
    Operation<DatacenterConnector, OperationMetadata> response = await vmMigrationClient.CreateDatacenterConnectorAsync(parent, datacenterConnector, datacenterConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<DatacenterConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DatacenterConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DatacenterConnector, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DatacenterConnector retrievedResult = retrievedResponse.Result;
    }

### CreateDatacenterConnectorAsync(SourceName, DatacenterConnector, string, CancellationToken)

    public virtual Task<Operation<DatacenterConnector, OperationMetadata>> CreateDatacenterConnectorAsync(SourceName parent, DatacenterConnector datacenterConnector, string datacenterConnectorId, CancellationToken cancellationToken)

Creates a new DatacenterConnector in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source` |
| `datacenterConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` Required. The create request body. |
| `datacenterConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The datacenterConnector identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    DatacenterConnector datacenterConnector = new DatacenterConnector();
    string datacenterConnectorId = "";
    // Make the request
    Operation<DatacenterConnector, OperationMetadata> response = await vmMigrationClient.CreateDatacenterConnectorAsync(parent, datacenterConnector, datacenterConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<DatacenterConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DatacenterConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DatacenterConnector, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DatacenterConnector retrievedResult = retrievedResponse.Result;
    }

### CreateDatacenterConnectorAsync(string, DatacenterConnector, string, CallSettings)

    public virtual Task<Operation<DatacenterConnector, OperationMetadata>> CreateDatacenterConnectorAsync(string parent, DatacenterConnector datacenterConnector, string datacenterConnectorId, CallSettings callSettings = null)

Creates a new DatacenterConnector in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source` |
| `datacenterConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` Required. The create request body. |
| `datacenterConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The datacenterConnector identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    DatacenterConnector datacenterConnector = new DatacenterConnector();
    string datacenterConnectorId = "";
    // Make the request
    Operation<DatacenterConnector, OperationMetadata> response = await vmMigrationClient.CreateDatacenterConnectorAsync(parent, datacenterConnector, datacenterConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<DatacenterConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DatacenterConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DatacenterConnector, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DatacenterConnector retrievedResult = retrievedResponse.Result;
    }

### CreateDatacenterConnectorAsync(string, DatacenterConnector, string, CancellationToken)

    public virtual Task<Operation<DatacenterConnector, OperationMetadata>> CreateDatacenterConnectorAsync(string parent, DatacenterConnector datacenterConnector, string datacenterConnectorId, CancellationToken cancellationToken)

Creates a new DatacenterConnector in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source` |
| `datacenterConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` Required. The create request body. |
| `datacenterConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The datacenterConnector identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    DatacenterConnector datacenterConnector = new DatacenterConnector();
    string datacenterConnectorId = "";
    // Make the request
    Operation<DatacenterConnector, OperationMetadata> response = await vmMigrationClient.CreateDatacenterConnectorAsync(parent, datacenterConnector, datacenterConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<DatacenterConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DatacenterConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DatacenterConnector, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DatacenterConnector retrievedResult = retrievedResponse.Result;
    }

### CreateDiskMigrationJob(CreateDiskMigrationJobRequest, CallSettings)

    public virtual Operation<DiskMigrationJob, OperationMetadata> CreateDiskMigrationJob(CreateDiskMigrationJobRequest request, CallSettings callSettings = null)

Creates a new disk migration job in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateDiskMigrationJobRequest request = new CreateDiskMigrationJobRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        DiskMigrationJobId = "",
        DiskMigrationJob = new DiskMigrationJob(),
        RequestId = "",
    };
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = vmMigrationClient.CreateDiskMigrationJob(request);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### CreateDiskMigrationJob(SourceName, DiskMigrationJob, string, CallSettings)

    public virtual Operation<DiskMigrationJob, OperationMetadata> CreateDiskMigrationJob(SourceName parent, DiskMigrationJob diskMigrationJob, string diskMigrationJobId, CallSettings callSettings = null)

Creates a new disk migration job in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The DiskMigrationJob's parent. |
| `diskMigrationJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` Required. The create request body. |
| `diskMigrationJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DiskMigrationJob identifier. The maximum length of this value is 63 characters. Valid characters are lower case Latin letters, digits and hyphen. It must start with a Latin letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    DiskMigrationJob diskMigrationJob = new DiskMigrationJob();
    string diskMigrationJobId = "";
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = vmMigrationClient.CreateDiskMigrationJob(parent, diskMigrationJob, diskMigrationJobId);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### CreateDiskMigrationJob(string, DiskMigrationJob, string, CallSettings)

    public virtual Operation<DiskMigrationJob, OperationMetadata> CreateDiskMigrationJob(string parent, DiskMigrationJob diskMigrationJob, string diskMigrationJobId, CallSettings callSettings = null)

Creates a new disk migration job in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DiskMigrationJob's parent. |
| `diskMigrationJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` Required. The create request body. |
| `diskMigrationJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DiskMigrationJob identifier. The maximum length of this value is 63 characters. Valid characters are lower case Latin letters, digits and hyphen. It must start with a Latin letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    DiskMigrationJob diskMigrationJob = new DiskMigrationJob();
    string diskMigrationJobId = "";
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = vmMigrationClient.CreateDiskMigrationJob(parent, diskMigrationJob, diskMigrationJobId);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### CreateDiskMigrationJobAsync(CreateDiskMigrationJobRequest, CallSettings)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> CreateDiskMigrationJobAsync(CreateDiskMigrationJobRequest request, CallSettings callSettings = null)

Creates a new disk migration job in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateDiskMigrationJobRequest request = new CreateDiskMigrationJobRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        DiskMigrationJobId = "",
        DiskMigrationJob = new DiskMigrationJob(),
        RequestId = "",
    };
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.CreateDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### CreateDiskMigrationJobAsync(CreateDiskMigrationJobRequest, CancellationToken)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> CreateDiskMigrationJobAsync(CreateDiskMigrationJobRequest request, CancellationToken cancellationToken)

Creates a new disk migration job in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateDiskMigrationJobRequest request = new CreateDiskMigrationJobRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        DiskMigrationJobId = "",
        DiskMigrationJob = new DiskMigrationJob(),
        RequestId = "",
    };
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.CreateDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### CreateDiskMigrationJobAsync(SourceName, DiskMigrationJob, string, CallSettings)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> CreateDiskMigrationJobAsync(SourceName parent, DiskMigrationJob diskMigrationJob, string diskMigrationJobId, CallSettings callSettings = null)

Creates a new disk migration job in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The DiskMigrationJob's parent. |
| `diskMigrationJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` Required. The create request body. |
| `diskMigrationJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DiskMigrationJob identifier. The maximum length of this value is 63 characters. Valid characters are lower case Latin letters, digits and hyphen. It must start with a Latin letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    DiskMigrationJob diskMigrationJob = new DiskMigrationJob();
    string diskMigrationJobId = "";
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.CreateDiskMigrationJobAsync(parent, diskMigrationJob, diskMigrationJobId);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### CreateDiskMigrationJobAsync(SourceName, DiskMigrationJob, string, CancellationToken)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> CreateDiskMigrationJobAsync(SourceName parent, DiskMigrationJob diskMigrationJob, string diskMigrationJobId, CancellationToken cancellationToken)

Creates a new disk migration job in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The DiskMigrationJob's parent. |
| `diskMigrationJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` Required. The create request body. |
| `diskMigrationJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DiskMigrationJob identifier. The maximum length of this value is 63 characters. Valid characters are lower case Latin letters, digits and hyphen. It must start with a Latin letter and must not end with a hyphen. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    DiskMigrationJob diskMigrationJob = new DiskMigrationJob();
    string diskMigrationJobId = "";
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.CreateDiskMigrationJobAsync(parent, diskMigrationJob, diskMigrationJobId);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### CreateDiskMigrationJobAsync(string, DiskMigrationJob, string, CallSettings)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> CreateDiskMigrationJobAsync(string parent, DiskMigrationJob diskMigrationJob, string diskMigrationJobId, CallSettings callSettings = null)

Creates a new disk migration job in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DiskMigrationJob's parent. |
| `diskMigrationJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` Required. The create request body. |
| `diskMigrationJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DiskMigrationJob identifier. The maximum length of this value is 63 characters. Valid characters are lower case Latin letters, digits and hyphen. It must start with a Latin letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    DiskMigrationJob diskMigrationJob = new DiskMigrationJob();
    string diskMigrationJobId = "";
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.CreateDiskMigrationJobAsync(parent, diskMigrationJob, diskMigrationJobId);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### CreateDiskMigrationJobAsync(string, DiskMigrationJob, string, CancellationToken)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> CreateDiskMigrationJobAsync(string parent, DiskMigrationJob diskMigrationJob, string diskMigrationJobId, CancellationToken cancellationToken)

Creates a new disk migration job in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DiskMigrationJob's parent. |
| `diskMigrationJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` Required. The create request body. |
| `diskMigrationJobId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DiskMigrationJob identifier. The maximum length of this value is 63 characters. Valid characters are lower case Latin letters, digits and hyphen. It must start with a Latin letter and must not end with a hyphen. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    DiskMigrationJob diskMigrationJob = new DiskMigrationJob();
    string diskMigrationJobId = "";
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.CreateDiskMigrationJobAsync(parent, diskMigrationJob, diskMigrationJobId);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### CreateGroup(LocationName, Group, string, CallSettings)

    public virtual Operation<Group, OperationMetadata> CreateGroup(LocationName parent, Group group, string groupId, CallSettings callSettings = null)

Creates a new Group in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The Group's parent. |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` Required. The create request body. |
| `groupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The group identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Group group = new Group();
    string groupId = "";
    // Make the request
    Operation<Group, OperationMetadata> response = vmMigrationClient.CreateGroup(parent, group, groupId);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### CreateGroup(CreateGroupRequest, CallSettings)

    public virtual Operation<Group, OperationMetadata> CreateGroup(CreateGroupRequest request, CallSettings callSettings = null)

Creates a new Group in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateGroupRequest request = new CreateGroupRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        GroupId = "",
        Group = new Group(),
        RequestId = "",
    };
    // Make the request
    Operation<Group, OperationMetadata> response = vmMigrationClient.CreateGroup(request);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### CreateGroup(string, Group, string, CallSettings)

    public virtual Operation<Group, OperationMetadata> CreateGroup(string parent, Group group, string groupId, CallSettings callSettings = null)

Creates a new Group in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Group's parent. |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` Required. The create request body. |
| `groupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The group identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Group group = new Group();
    string groupId = "";
    // Make the request
    Operation<Group, OperationMetadata> response = vmMigrationClient.CreateGroup(parent, group, groupId);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### CreateGroupAsync(LocationName, Group, string, CallSettings)

    public virtual Task<Operation<Group, OperationMetadata>> CreateGroupAsync(LocationName parent, Group group, string groupId, CallSettings callSettings = null)

Creates a new Group in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The Group's parent. |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` Required. The create request body. |
| `groupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The group identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Group group = new Group();
    string groupId = "";
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.CreateGroupAsync(parent, group, groupId);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### CreateGroupAsync(LocationName, Group, string, CancellationToken)

    public virtual Task<Operation<Group, OperationMetadata>> CreateGroupAsync(LocationName parent, Group group, string groupId, CancellationToken cancellationToken)

Creates a new Group in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The Group's parent. |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` Required. The create request body. |
| `groupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The group identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Group group = new Group();
    string groupId = "";
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.CreateGroupAsync(parent, group, groupId);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### CreateGroupAsync(CreateGroupRequest, CallSettings)

    public virtual Task<Operation<Group, OperationMetadata>> CreateGroupAsync(CreateGroupRequest request, CallSettings callSettings = null)

Creates a new Group in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateGroupRequest request = new CreateGroupRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        GroupId = "",
        Group = new Group(),
        RequestId = "",
    };
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.CreateGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### CreateGroupAsync(CreateGroupRequest, CancellationToken)

    public virtual Task<Operation<Group, OperationMetadata>> CreateGroupAsync(CreateGroupRequest request, CancellationToken cancellationToken)

Creates a new Group in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateGroupRequest request = new CreateGroupRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        GroupId = "",
        Group = new Group(),
        RequestId = "",
    };
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.CreateGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### CreateGroupAsync(string, Group, string, CallSettings)

    public virtual Task<Operation<Group, OperationMetadata>> CreateGroupAsync(string parent, Group group, string groupId, CallSettings callSettings = null)

Creates a new Group in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Group's parent. |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` Required. The create request body. |
| `groupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The group identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Group group = new Group();
    string groupId = "";
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.CreateGroupAsync(parent, group, groupId);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### CreateGroupAsync(string, Group, string, CancellationToken)

    public virtual Task<Operation<Group, OperationMetadata>> CreateGroupAsync(string parent, Group group, string groupId, CancellationToken cancellationToken)

Creates a new Group in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Group's parent. |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` Required. The create request body. |
| `groupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The group identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Group group = new Group();
    string groupId = "";
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.CreateGroupAsync(parent, group, groupId);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### CreateImageImport(LocationName, ImageImport, string, CallSettings)

    public virtual Operation<ImageImport, OperationMetadata> CreateImageImport(LocationName parent, ImageImport imageImport, string imageImportId, CallSettings callSettings = null)

Creates a new ImageImport in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The ImageImport's parent. |
| `imageImport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` Required. The create request body. |
| `imageImportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The image import identifier. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    ImageImport imageImport = new ImageImport();
    string imageImportId = "";
    // Make the request
    Operation<ImageImport, OperationMetadata> response = vmMigrationClient.CreateImageImport(parent, imageImport, imageImportId);

    // Poll until the returned long-running operation is complete
    Operation<ImageImport, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ImageImport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ImageImport, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateImageImport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ImageImport retrievedResult = retrievedResponse.Result;
    }

### CreateImageImport(CreateImageImportRequest, CallSettings)

    public virtual Operation<ImageImport, OperationMetadata> CreateImageImport(CreateImageImportRequest request, CallSettings callSettings = null)

Creates a new ImageImport in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateImageImportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateImageImportRequest request = new CreateImageImportRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        ImageImportId = "",
        ImageImport = new ImageImport(),
        RequestId = "",
    };
    // Make the request
    Operation<ImageImport, OperationMetadata> response = vmMigrationClient.CreateImageImport(request);

    // Poll until the returned long-running operation is complete
    Operation<ImageImport, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ImageImport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ImageImport, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateImageImport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ImageImport retrievedResult = retrievedResponse.Result;
    }

### CreateImageImport(string, ImageImport, string, CallSettings)

    public virtual Operation<ImageImport, OperationMetadata> CreateImageImport(string parent, ImageImport imageImport, string imageImportId, CallSettings callSettings = null)

Creates a new ImageImport in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImport's parent. |
| `imageImport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` Required. The create request body. |
| `imageImportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The image import identifier. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    ImageImport imageImport = new ImageImport();
    string imageImportId = "";
    // Make the request
    Operation<ImageImport, OperationMetadata> response = vmMigrationClient.CreateImageImport(parent, imageImport, imageImportId);

    // Poll until the returned long-running operation is complete
    Operation<ImageImport, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ImageImport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ImageImport, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateImageImport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ImageImport retrievedResult = retrievedResponse.Result;
    }

### CreateImageImportAsync(LocationName, ImageImport, string, CallSettings)

    public virtual Task<Operation<ImageImport, OperationMetadata>> CreateImageImportAsync(LocationName parent, ImageImport imageImport, string imageImportId, CallSettings callSettings = null)

Creates a new ImageImport in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The ImageImport's parent. |
| `imageImport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` Required. The create request body. |
| `imageImportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The image import identifier. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    ImageImport imageImport = new ImageImport();
    string imageImportId = "";
    // Make the request
    Operation<ImageImport, OperationMetadata> response = await vmMigrationClient.CreateImageImportAsync(parent, imageImport, imageImportId);

    // Poll until the returned long-running operation is complete
    Operation<ImageImport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ImageImport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ImageImport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ImageImport retrievedResult = retrievedResponse.Result;
    }

### CreateImageImportAsync(LocationName, ImageImport, string, CancellationToken)

    public virtual Task<Operation<ImageImport, OperationMetadata>> CreateImageImportAsync(LocationName parent, ImageImport imageImport, string imageImportId, CancellationToken cancellationToken)

Creates a new ImageImport in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The ImageImport's parent. |
| `imageImport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` Required. The create request body. |
| `imageImportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The image import identifier. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    ImageImport imageImport = new ImageImport();
    string imageImportId = "";
    // Make the request
    Operation<ImageImport, OperationMetadata> response = await vmMigrationClient.CreateImageImportAsync(parent, imageImport, imageImportId);

    // Poll until the returned long-running operation is complete
    Operation<ImageImport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ImageImport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ImageImport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ImageImport retrievedResult = retrievedResponse.Result;
    }

### CreateImageImportAsync(CreateImageImportRequest, CallSettings)

    public virtual Task<Operation<ImageImport, OperationMetadata>> CreateImageImportAsync(CreateImageImportRequest request, CallSettings callSettings = null)

Creates a new ImageImport in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateImageImportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateImageImportRequest request = new CreateImageImportRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        ImageImportId = "",
        ImageImport = new ImageImport(),
        RequestId = "",
    };
    // Make the request
    Operation<ImageImport, OperationMetadata> response = await vmMigrationClient.CreateImageImportAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ImageImport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ImageImport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ImageImport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ImageImport retrievedResult = retrievedResponse.Result;
    }

### CreateImageImportAsync(CreateImageImportRequest, CancellationToken)

    public virtual Task<Operation<ImageImport, OperationMetadata>> CreateImageImportAsync(CreateImageImportRequest request, CancellationToken cancellationToken)

Creates a new ImageImport in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateImageImportRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateImageImportRequest request = new CreateImageImportRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        ImageImportId = "",
        ImageImport = new ImageImport(),
        RequestId = "",
    };
    // Make the request
    Operation<ImageImport, OperationMetadata> response = await vmMigrationClient.CreateImageImportAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ImageImport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ImageImport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ImageImport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ImageImport retrievedResult = retrievedResponse.Result;
    }

### CreateImageImportAsync(string, ImageImport, string, CallSettings)

    public virtual Task<Operation<ImageImport, OperationMetadata>> CreateImageImportAsync(string parent, ImageImport imageImport, string imageImportId, CallSettings callSettings = null)

Creates a new ImageImport in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImport's parent. |
| `imageImport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` Required. The create request body. |
| `imageImportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The image import identifier. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    ImageImport imageImport = new ImageImport();
    string imageImportId = "";
    // Make the request
    Operation<ImageImport, OperationMetadata> response = await vmMigrationClient.CreateImageImportAsync(parent, imageImport, imageImportId);

    // Poll until the returned long-running operation is complete
    Operation<ImageImport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ImageImport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ImageImport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ImageImport retrievedResult = retrievedResponse.Result;
    }

### CreateImageImportAsync(string, ImageImport, string, CancellationToken)

    public virtual Task<Operation<ImageImport, OperationMetadata>> CreateImageImportAsync(string parent, ImageImport imageImport, string imageImportId, CancellationToken cancellationToken)

Creates a new ImageImport in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImport's parent. |
| `imageImport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` Required. The create request body. |
| `imageImportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The image import identifier. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    ImageImport imageImport = new ImageImport();
    string imageImportId = "";
    // Make the request
    Operation<ImageImport, OperationMetadata> response = await vmMigrationClient.CreateImageImportAsync(parent, imageImport, imageImportId);

    // Poll until the returned long-running operation is complete
    Operation<ImageImport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ImageImport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ImageImport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ImageImport retrievedResult = retrievedResponse.Result;
    }

### CreateMigratingVm(CreateMigratingVmRequest, CallSettings)

    public virtual Operation<MigratingVm, OperationMetadata> CreateMigratingVm(CreateMigratingVmRequest request, CallSettings callSettings = null)

Creates a new MigratingVm in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateMigratingVmRequest request = new CreateMigratingVmRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        MigratingVmId = "",
        MigratingVm = new MigratingVm(),
        RequestId = "",
    };
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = vmMigrationClient.CreateMigratingVm(request);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateMigratingVm(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### CreateMigratingVm(SourceName, MigratingVm, string, CallSettings)

    public virtual Operation<MigratingVm, OperationMetadata> CreateMigratingVm(SourceName parent, MigratingVm migratingVm, string migratingVmId, CallSettings callSettings = null)

Creates a new MigratingVm in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The MigratingVm's parent. |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` Required. The create request body. |
| `migratingVmId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The migratingVm identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    MigratingVm migratingVm = new MigratingVm();
    string migratingVmId = "";
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = vmMigrationClient.CreateMigratingVm(parent, migratingVm, migratingVmId);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateMigratingVm(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### CreateMigratingVm(string, MigratingVm, string, CallSettings)

    public virtual Operation<MigratingVm, OperationMetadata> CreateMigratingVm(string parent, MigratingVm migratingVm, string migratingVmId, CallSettings callSettings = null)

Creates a new MigratingVm in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The MigratingVm's parent. |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` Required. The create request body. |
| `migratingVmId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The migratingVm identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    MigratingVm migratingVm = new MigratingVm();
    string migratingVmId = "";
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = vmMigrationClient.CreateMigratingVm(parent, migratingVm, migratingVmId);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateMigratingVm(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### CreateMigratingVmAsync(CreateMigratingVmRequest, CallSettings)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> CreateMigratingVmAsync(CreateMigratingVmRequest request, CallSettings callSettings = null)

Creates a new MigratingVm in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateMigratingVmRequest request = new CreateMigratingVmRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        MigratingVmId = "",
        MigratingVm = new MigratingVm(),
        RequestId = "",
    };
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.CreateMigratingVmAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### CreateMigratingVmAsync(CreateMigratingVmRequest, CancellationToken)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> CreateMigratingVmAsync(CreateMigratingVmRequest request, CancellationToken cancellationToken)

Creates a new MigratingVm in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateMigratingVmRequest request = new CreateMigratingVmRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        MigratingVmId = "",
        MigratingVm = new MigratingVm(),
        RequestId = "",
    };
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.CreateMigratingVmAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### CreateMigratingVmAsync(SourceName, MigratingVm, string, CallSettings)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> CreateMigratingVmAsync(SourceName parent, MigratingVm migratingVm, string migratingVmId, CallSettings callSettings = null)

Creates a new MigratingVm in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The MigratingVm's parent. |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` Required. The create request body. |
| `migratingVmId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The migratingVm identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    MigratingVm migratingVm = new MigratingVm();
    string migratingVmId = "";
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.CreateMigratingVmAsync(parent, migratingVm, migratingVmId);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### CreateMigratingVmAsync(SourceName, MigratingVm, string, CancellationToken)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> CreateMigratingVmAsync(SourceName parent, MigratingVm migratingVm, string migratingVmId, CancellationToken cancellationToken)

Creates a new MigratingVm in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The MigratingVm's parent. |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` Required. The create request body. |
| `migratingVmId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The migratingVm identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    MigratingVm migratingVm = new MigratingVm();
    string migratingVmId = "";
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.CreateMigratingVmAsync(parent, migratingVm, migratingVmId);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### CreateMigratingVmAsync(string, MigratingVm, string, CallSettings)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> CreateMigratingVmAsync(string parent, MigratingVm migratingVm, string migratingVmId, CallSettings callSettings = null)

Creates a new MigratingVm in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The MigratingVm's parent. |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` Required. The create request body. |
| `migratingVmId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The migratingVm identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    MigratingVm migratingVm = new MigratingVm();
    string migratingVmId = "";
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.CreateMigratingVmAsync(parent, migratingVm, migratingVmId);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### CreateMigratingVmAsync(string, MigratingVm, string, CancellationToken)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> CreateMigratingVmAsync(string parent, MigratingVm migratingVm, string migratingVmId, CancellationToken cancellationToken)

Creates a new MigratingVm in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The MigratingVm's parent. |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` Required. The create request body. |
| `migratingVmId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The migratingVm identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    MigratingVm migratingVm = new MigratingVm();
    string migratingVmId = "";
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.CreateMigratingVmAsync(parent, migratingVm, migratingVmId);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### CreateSource(LocationName, Source, string, CallSettings)

    public virtual Operation<Source, OperationMetadata> CreateSource(LocationName parent, Source source, string sourceId, CallSettings callSettings = null)

Creates a new Source in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The Source's parent. |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` Required. The create request body. |
| `sourceId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The source identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Source source = new Source();
    string sourceId = "";
    // Make the request
    Operation<Source, OperationMetadata> response = vmMigrationClient.CreateSource(parent, source, sourceId);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateSource(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### CreateSource(CreateSourceRequest, CallSettings)

    public virtual Operation<Source, OperationMetadata> CreateSource(CreateSourceRequest request, CallSettings callSettings = null)

Creates a new Source in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateSourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateSourceRequest request = new CreateSourceRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        SourceId = "",
        Source = new Source(),
        RequestId = "",
    };
    // Make the request
    Operation<Source, OperationMetadata> response = vmMigrationClient.CreateSource(request);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateSource(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### CreateSource(string, Source, string, CallSettings)

    public virtual Operation<Source, OperationMetadata> CreateSource(string parent, Source source, string sourceId, CallSettings callSettings = null)

Creates a new Source in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Source's parent. |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` Required. The create request body. |
| `sourceId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The source identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Source source = new Source();
    string sourceId = "";
    // Make the request
    Operation<Source, OperationMetadata> response = vmMigrationClient.CreateSource(parent, source, sourceId);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateSource(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### CreateSourceAsync(LocationName, Source, string, CallSettings)

    public virtual Task<Operation<Source, OperationMetadata>> CreateSourceAsync(LocationName parent, Source source, string sourceId, CallSettings callSettings = null)

Creates a new Source in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The Source's parent. |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` Required. The create request body. |
| `sourceId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The source identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Source source = new Source();
    string sourceId = "";
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.CreateSourceAsync(parent, source, sourceId);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### CreateSourceAsync(LocationName, Source, string, CancellationToken)

    public virtual Task<Operation<Source, OperationMetadata>> CreateSourceAsync(LocationName parent, Source source, string sourceId, CancellationToken cancellationToken)

Creates a new Source in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The Source's parent. |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` Required. The create request body. |
| `sourceId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The source identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Source source = new Source();
    string sourceId = "";
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.CreateSourceAsync(parent, source, sourceId);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### CreateSourceAsync(CreateSourceRequest, CallSettings)

    public virtual Task<Operation<Source, OperationMetadata>> CreateSourceAsync(CreateSourceRequest request, CallSettings callSettings = null)

Creates a new Source in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateSourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateSourceRequest request = new CreateSourceRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        SourceId = "",
        Source = new Source(),
        RequestId = "",
    };
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.CreateSourceAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### CreateSourceAsync(CreateSourceRequest, CancellationToken)

    public virtual Task<Operation<Source, OperationMetadata>> CreateSourceAsync(CreateSourceRequest request, CancellationToken cancellationToken)

Creates a new Source in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateSourceRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateSourceRequest request = new CreateSourceRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        SourceId = "",
        Source = new Source(),
        RequestId = "",
    };
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.CreateSourceAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### CreateSourceAsync(string, Source, string, CallSettings)

    public virtual Task<Operation<Source, OperationMetadata>> CreateSourceAsync(string parent, Source source, string sourceId, CallSettings callSettings = null)

Creates a new Source in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Source's parent. |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` Required. The create request body. |
| `sourceId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The source identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Source source = new Source();
    string sourceId = "";
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.CreateSourceAsync(parent, source, sourceId);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### CreateSourceAsync(string, Source, string, CancellationToken)

    public virtual Task<Operation<Source, OperationMetadata>> CreateSourceAsync(string parent, Source source, string sourceId, CancellationToken cancellationToken)

Creates a new Source in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Source's parent. |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` Required. The create request body. |
| `sourceId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The source identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Source source = new Source();
    string sourceId = "";
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.CreateSourceAsync(parent, source, sourceId);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### CreateTargetProject(LocationName, TargetProject, string, CallSettings)

    public virtual Operation<TargetProject, OperationMetadata> CreateTargetProject(LocationName parent, TargetProject targetProject, string targetProjectId, CallSettings callSettings = null)

Creates a new TargetProject in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The TargetProject's parent. |
| `targetProject` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` Required. The create request body. |
| `targetProjectId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The target_project identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    TargetProject targetProject = new TargetProject();
    string targetProjectId = "";
    // Make the request
    Operation<TargetProject, OperationMetadata> response = vmMigrationClient.CreateTargetProject(parent, targetProject, targetProjectId);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateTargetProject(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### CreateTargetProject(CreateTargetProjectRequest, CallSettings)

    public virtual Operation<TargetProject, OperationMetadata> CreateTargetProject(CreateTargetProjectRequest request, CallSettings callSettings = null)

Creates a new TargetProject in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateTargetProjectRequest request = new CreateTargetProjectRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        TargetProjectId = "",
        TargetProject = new TargetProject(),
        RequestId = "",
    };
    // Make the request
    Operation<TargetProject, OperationMetadata> response = vmMigrationClient.CreateTargetProject(request);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateTargetProject(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### CreateTargetProject(string, TargetProject, string, CallSettings)

    public virtual Operation<TargetProject, OperationMetadata> CreateTargetProject(string parent, TargetProject targetProject, string targetProjectId, CallSettings callSettings = null)

Creates a new TargetProject in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The TargetProject's parent. |
| `targetProject` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` Required. The create request body. |
| `targetProjectId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The target_project identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    TargetProject targetProject = new TargetProject();
    string targetProjectId = "";
    // Make the request
    Operation<TargetProject, OperationMetadata> response = vmMigrationClient.CreateTargetProject(parent, targetProject, targetProjectId);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateTargetProject(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### CreateTargetProjectAsync(LocationName, TargetProject, string, CallSettings)

    public virtual Task<Operation<TargetProject, OperationMetadata>> CreateTargetProjectAsync(LocationName parent, TargetProject targetProject, string targetProjectId, CallSettings callSettings = null)

Creates a new TargetProject in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The TargetProject's parent. |
| `targetProject` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` Required. The create request body. |
| `targetProjectId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The target_project identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    TargetProject targetProject = new TargetProject();
    string targetProjectId = "";
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.CreateTargetProjectAsync(parent, targetProject, targetProjectId);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### CreateTargetProjectAsync(LocationName, TargetProject, string, CancellationToken)

    public virtual Task<Operation<TargetProject, OperationMetadata>> CreateTargetProjectAsync(LocationName parent, TargetProject targetProject, string targetProjectId, CancellationToken cancellationToken)

Creates a new TargetProject in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The TargetProject's parent. |
| `targetProject` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` Required. The create request body. |
| `targetProjectId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The target_project identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    TargetProject targetProject = new TargetProject();
    string targetProjectId = "";
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.CreateTargetProjectAsync(parent, targetProject, targetProjectId);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### CreateTargetProjectAsync(CreateTargetProjectRequest, CallSettings)

    public virtual Task<Operation<TargetProject, OperationMetadata>> CreateTargetProjectAsync(CreateTargetProjectRequest request, CallSettings callSettings = null)

Creates a new TargetProject in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateTargetProjectRequest request = new CreateTargetProjectRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        TargetProjectId = "",
        TargetProject = new TargetProject(),
        RequestId = "",
    };
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.CreateTargetProjectAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### CreateTargetProjectAsync(CreateTargetProjectRequest, CancellationToken)

    public virtual Task<Operation<TargetProject, OperationMetadata>> CreateTargetProjectAsync(CreateTargetProjectRequest request, CancellationToken cancellationToken)

Creates a new TargetProject in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateTargetProjectRequest request = new CreateTargetProjectRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        TargetProjectId = "",
        TargetProject = new TargetProject(),
        RequestId = "",
    };
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.CreateTargetProjectAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### CreateTargetProjectAsync(string, TargetProject, string, CallSettings)

    public virtual Task<Operation<TargetProject, OperationMetadata>> CreateTargetProjectAsync(string parent, TargetProject targetProject, string targetProjectId, CallSettings callSettings = null)

Creates a new TargetProject in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The TargetProject's parent. |
| `targetProject` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` Required. The create request body. |
| `targetProjectId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The target_project identifier. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    TargetProject targetProject = new TargetProject();
    string targetProjectId = "";
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.CreateTargetProjectAsync(parent, targetProject, targetProjectId);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### CreateTargetProjectAsync(string, TargetProject, string, CancellationToken)

    public virtual Task<Operation<TargetProject, OperationMetadata>> CreateTargetProjectAsync(string parent, TargetProject targetProject, string targetProjectId, CancellationToken cancellationToken)

Creates a new TargetProject in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The TargetProject's parent. |
| `targetProject` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` Required. The create request body. |
| `targetProjectId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The target_project identifier. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    TargetProject targetProject = new TargetProject();
    string targetProjectId = "";
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.CreateTargetProjectAsync(parent, targetProject, targetProjectId);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### CreateUtilizationReport(CreateUtilizationReportRequest, CallSettings)

    public virtual Operation<UtilizationReport, OperationMetadata> CreateUtilizationReport(CreateUtilizationReportRequest request, CallSettings callSettings = null)

Creates a new UtilizationReport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateUtilizationReportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CreateUtilizationReportRequest request = new CreateUtilizationReportRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        UtilizationReport = new UtilizationReport(),
        UtilizationReportId = "",
        RequestId = "",
    };
    // Make the request
    Operation<UtilizationReport, OperationMetadata> response = vmMigrationClient.CreateUtilizationReport(request);

    // Poll until the returned long-running operation is complete
    Operation<UtilizationReport, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    UtilizationReport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UtilizationReport, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateUtilizationReport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UtilizationReport retrievedResult = retrievedResponse.Result;
    }

### CreateUtilizationReport(SourceName, UtilizationReport, string, CallSettings)

    public virtual Operation<UtilizationReport, OperationMetadata> CreateUtilizationReport(SourceName parent, UtilizationReport utilizationReport, string utilizationReportId, CallSettings callSettings = null)

Creates a new UtilizationReport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Utilization Report's parent. |
| `utilizationReport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` Required. The report to create. |
| `utilizationReportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    UtilizationReport utilizationReport = new UtilizationReport();
    string utilizationReportId = "";
    // Make the request
    Operation<UtilizationReport, OperationMetadata> response = vmMigrationClient.CreateUtilizationReport(parent, utilizationReport, utilizationReportId);

    // Poll until the returned long-running operation is complete
    Operation<UtilizationReport, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    UtilizationReport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UtilizationReport, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateUtilizationReport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UtilizationReport retrievedResult = retrievedResponse.Result;
    }

### CreateUtilizationReport(string, UtilizationReport, string, CallSettings)

    public virtual Operation<UtilizationReport, OperationMetadata> CreateUtilizationReport(string parent, UtilizationReport utilizationReport, string utilizationReportId, CallSettings callSettings = null)

Creates a new UtilizationReport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Report's parent. |
| `utilizationReport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` Required. The report to create. |
| `utilizationReportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    UtilizationReport utilizationReport = new UtilizationReport();
    string utilizationReportId = "";
    // Make the request
    Operation<UtilizationReport, OperationMetadata> response = vmMigrationClient.CreateUtilizationReport(parent, utilizationReport, utilizationReportId);

    // Poll until the returned long-running operation is complete
    Operation<UtilizationReport, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    UtilizationReport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UtilizationReport, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCreateUtilizationReport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UtilizationReport retrievedResult = retrievedResponse.Result;
    }

### CreateUtilizationReportAsync(CreateUtilizationReportRequest, CallSettings)

    public virtual Task<Operation<UtilizationReport, OperationMetadata>> CreateUtilizationReportAsync(CreateUtilizationReportRequest request, CallSettings callSettings = null)

Creates a new UtilizationReport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateUtilizationReportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateUtilizationReportRequest request = new CreateUtilizationReportRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        UtilizationReport = new UtilizationReport(),
        UtilizationReportId = "",
        RequestId = "",
    };
    // Make the request
    Operation<UtilizationReport, OperationMetadata> response = await vmMigrationClient.CreateUtilizationReportAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<UtilizationReport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    UtilizationReport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UtilizationReport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UtilizationReport retrievedResult = retrievedResponse.Result;
    }

### CreateUtilizationReportAsync(CreateUtilizationReportRequest, CancellationToken)

    public virtual Task<Operation<UtilizationReport, OperationMetadata>> CreateUtilizationReportAsync(CreateUtilizationReportRequest request, CancellationToken cancellationToken)

Creates a new UtilizationReport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateUtilizationReportRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CreateUtilizationReportRequest request = new CreateUtilizationReportRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        UtilizationReport = new UtilizationReport(),
        UtilizationReportId = "",
        RequestId = "",
    };
    // Make the request
    Operation<UtilizationReport, OperationMetadata> response = await vmMigrationClient.CreateUtilizationReportAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<UtilizationReport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    UtilizationReport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UtilizationReport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UtilizationReport retrievedResult = retrievedResponse.Result;
    }

### CreateUtilizationReportAsync(SourceName, UtilizationReport, string, CallSettings)

    public virtual Task<Operation<UtilizationReport, OperationMetadata>> CreateUtilizationReportAsync(SourceName parent, UtilizationReport utilizationReport, string utilizationReportId, CallSettings callSettings = null)

Creates a new UtilizationReport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Utilization Report's parent. |
| `utilizationReport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` Required. The report to create. |
| `utilizationReportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    UtilizationReport utilizationReport = new UtilizationReport();
    string utilizationReportId = "";
    // Make the request
    Operation<UtilizationReport, OperationMetadata> response = await vmMigrationClient.CreateUtilizationReportAsync(parent, utilizationReport, utilizationReportId);

    // Poll until the returned long-running operation is complete
    Operation<UtilizationReport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    UtilizationReport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UtilizationReport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UtilizationReport retrievedResult = retrievedResponse.Result;
    }

### CreateUtilizationReportAsync(SourceName, UtilizationReport, string, CancellationToken)

    public virtual Task<Operation<UtilizationReport, OperationMetadata>> CreateUtilizationReportAsync(SourceName parent, UtilizationReport utilizationReport, string utilizationReportId, CancellationToken cancellationToken)

Creates a new UtilizationReport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Utilization Report's parent. |
| `utilizationReport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` Required. The report to create. |
| `utilizationReportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    UtilizationReport utilizationReport = new UtilizationReport();
    string utilizationReportId = "";
    // Make the request
    Operation<UtilizationReport, OperationMetadata> response = await vmMigrationClient.CreateUtilizationReportAsync(parent, utilizationReport, utilizationReportId);

    // Poll until the returned long-running operation is complete
    Operation<UtilizationReport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    UtilizationReport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UtilizationReport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UtilizationReport retrievedResult = retrievedResponse.Result;
    }

### CreateUtilizationReportAsync(string, UtilizationReport, string, CallSettings)

    public virtual Task<Operation<UtilizationReport, OperationMetadata>> CreateUtilizationReportAsync(string parent, UtilizationReport utilizationReport, string utilizationReportId, CallSettings callSettings = null)

Creates a new UtilizationReport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Report's parent. |
| `utilizationReport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` Required. The report to create. |
| `utilizationReportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    UtilizationReport utilizationReport = new UtilizationReport();
    string utilizationReportId = "";
    // Make the request
    Operation<UtilizationReport, OperationMetadata> response = await vmMigrationClient.CreateUtilizationReportAsync(parent, utilizationReport, utilizationReportId);

    // Poll until the returned long-running operation is complete
    Operation<UtilizationReport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    UtilizationReport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UtilizationReport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UtilizationReport retrievedResult = retrievedResponse.Result;
    }

### CreateUtilizationReportAsync(string, UtilizationReport, string, CancellationToken)

    public virtual Task<Operation<UtilizationReport, OperationMetadata>> CreateUtilizationReportAsync(string parent, UtilizationReport utilizationReport, string utilizationReportId, CancellationToken cancellationToken)

Creates a new UtilizationReport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Report's parent. |
| `utilizationReport` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` Required. The report to create. |
| `utilizationReportId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters are /\[a-z\]\[0-9\]-/. It must start with an english letter and must not end with a hyphen. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    UtilizationReport utilizationReport = new UtilizationReport();
    string utilizationReportId = "";
    // Make the request
    Operation<UtilizationReport, OperationMetadata> response = await vmMigrationClient.CreateUtilizationReportAsync(parent, utilizationReport, utilizationReportId);

    // Poll until the returned long-running operation is complete
    Operation<UtilizationReport, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    UtilizationReport result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UtilizationReport, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCreateUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UtilizationReport retrievedResult = retrievedResponse.Result;
    }

### DeleteDatacenterConnector(DatacenterConnectorName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDatacenterConnector(DatacenterConnectorName name, CallSettings callSettings = null)

Deletes a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorName` Required. The DatacenterConnector name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DatacenterConnectorName name = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]");
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteDatacenterConnector(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteDatacenterConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDatacenterConnector(DeleteDatacenterConnectorRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDatacenterConnector(DeleteDatacenterConnectorRequest request, CallSettings callSettings = null)

Deletes a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteDatacenterConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DeleteDatacenterConnectorRequest request = new DeleteDatacenterConnectorRequest
    {
        DatacenterConnectorName = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteDatacenterConnector(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteDatacenterConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDatacenterConnector(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDatacenterConnector(string name, CallSettings callSettings = null)

Deletes a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DatacenterConnector name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/datacenterConnectors/[DATACENTER_CONNECTOR]";
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteDatacenterConnector(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteDatacenterConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDatacenterConnectorAsync(DatacenterConnectorName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDatacenterConnectorAsync(DatacenterConnectorName name, CallSettings callSettings = null)

Deletes a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorName` Required. The DatacenterConnector name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DatacenterConnectorName name = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDatacenterConnectorAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDatacenterConnectorAsync(DatacenterConnectorName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDatacenterConnectorAsync(DatacenterConnectorName name, CancellationToken cancellationToken)

Deletes a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorName` Required. The DatacenterConnector name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DatacenterConnectorName name = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDatacenterConnectorAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDatacenterConnectorAsync(DeleteDatacenterConnectorRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDatacenterConnectorAsync(DeleteDatacenterConnectorRequest request, CallSettings callSettings = null)

Deletes a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteDatacenterConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDatacenterConnectorRequest request = new DeleteDatacenterConnectorRequest
    {
        DatacenterConnectorName = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDatacenterConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDatacenterConnectorAsync(DeleteDatacenterConnectorRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDatacenterConnectorAsync(DeleteDatacenterConnectorRequest request, CancellationToken cancellationToken)

Deletes a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteDatacenterConnectorRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDatacenterConnectorRequest request = new DeleteDatacenterConnectorRequest
    {
        DatacenterConnectorName = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDatacenterConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDatacenterConnectorAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDatacenterConnectorAsync(string name, CallSettings callSettings = null)

Deletes a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DatacenterConnector name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/datacenterConnectors/[DATACENTER_CONNECTOR]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDatacenterConnectorAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDatacenterConnectorAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDatacenterConnectorAsync(string name, CancellationToken cancellationToken)

Deletes a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The DatacenterConnector name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/datacenterConnectors/[DATACENTER_CONNECTOR]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDatacenterConnectorAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDatacenterConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDiskMigrationJob(DeleteDiskMigrationJobRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDiskMigrationJob(DeleteDiskMigrationJobRequest request, CallSettings callSettings = null)

Deletes a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DeleteDiskMigrationJobRequest request = new DeleteDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteDiskMigrationJob(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDiskMigrationJob(DiskMigrationJobName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDiskMigrationJob(DiskMigrationJobName name, CallSettings callSettings = null)

Deletes a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DiskMigrationJobName name = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]");
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteDiskMigrationJob(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDiskMigrationJob(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDiskMigrationJob(string name, CallSettings callSettings = null)

Deletes a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/diskMigrationJobs/[DISK_MIGRATION_JOB]";
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteDiskMigrationJob(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDiskMigrationJobAsync(DeleteDiskMigrationJobRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDiskMigrationJobAsync(DeleteDiskMigrationJobRequest request, CallSettings callSettings = null)

Deletes a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDiskMigrationJobRequest request = new DeleteDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDiskMigrationJobAsync(DeleteDiskMigrationJobRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDiskMigrationJobAsync(DeleteDiskMigrationJobRequest request, CancellationToken cancellationToken)

Deletes a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDiskMigrationJobRequest request = new DeleteDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDiskMigrationJobAsync(DiskMigrationJobName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDiskMigrationJobAsync(DiskMigrationJobName name, CallSettings callSettings = null)

Deletes a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DiskMigrationJobName name = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDiskMigrationJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDiskMigrationJobAsync(DiskMigrationJobName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDiskMigrationJobAsync(DiskMigrationJobName name, CancellationToken cancellationToken)

Deletes a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName` Required. The name of the DiskMigrationJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DiskMigrationJobName name = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDiskMigrationJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDiskMigrationJobAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDiskMigrationJobAsync(string name, CallSettings callSettings = null)

Deletes a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/diskMigrationJobs/[DISK_MIGRATION_JOB]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDiskMigrationJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDiskMigrationJobAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDiskMigrationJobAsync(string name, CancellationToken cancellationToken)

Deletes a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DiskMigrationJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/diskMigrationJobs/[DISK_MIGRATION_JOB]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteDiskMigrationJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGroup(DeleteGroupRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteGroup(DeleteGroupRequest request, CallSettings callSettings = null)

Deletes a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DeleteGroupRequest request = new DeleteGroupRequest
    {
        GroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteGroup(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGroup(GroupName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteGroup(GroupName name, CallSettings callSettings = null)

Deletes a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The Group name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GroupName name = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteGroup(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGroup(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteGroup(string name, CallSettings callSettings = null)

Deletes a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Group name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteGroup(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGroupAsync(DeleteGroupRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGroupAsync(DeleteGroupRequest request, CallSettings callSettings = null)

Deletes a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteGroupRequest request = new DeleteGroupRequest
    {
        GroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGroupAsync(DeleteGroupRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGroupAsync(DeleteGroupRequest request, CancellationToken cancellationToken)

Deletes a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteGroupRequest request = new DeleteGroupRequest
    {
        GroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGroupAsync(GroupName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGroupAsync(GroupName name, CallSettings callSettings = null)

Deletes a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The Group name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GroupName name = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGroupAsync(GroupName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGroupAsync(GroupName name, CancellationToken cancellationToken)

Deletes a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The Group name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GroupName name = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGroupAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGroupAsync(string name, CallSettings callSettings = null)

Deletes a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Group name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGroupAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGroupAsync(string name, CancellationToken cancellationToken)

Deletes a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Group name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteImageImport(DeleteImageImportRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteImageImport(DeleteImageImportRequest request, CallSettings callSettings = null)

Deletes a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteImageImportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DeleteImageImportRequest request = new DeleteImageImportRequest
    {
        ImageImportName = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteImageImport(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteImageImport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteImageImport(ImageImportName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteImageImport(ImageImportName name, CallSettings callSettings = null)

Deletes a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportName` Required. The ImageImport name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ImageImportName name = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]");
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteImageImport(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteImageImport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteImageImport(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteImageImport(string name, CallSettings callSettings = null)

Deletes a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImport name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]";
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteImageImport(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteImageImport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteImageImportAsync(DeleteImageImportRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteImageImportAsync(DeleteImageImportRequest request, CallSettings callSettings = null)

Deletes a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteImageImportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteImageImportRequest request = new DeleteImageImportRequest
    {
        ImageImportName = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteImageImportAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteImageImportAsync(DeleteImageImportRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteImageImportAsync(DeleteImageImportRequest request, CancellationToken cancellationToken)

Deletes a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteImageImportRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteImageImportRequest request = new DeleteImageImportRequest
    {
        ImageImportName = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteImageImportAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteImageImportAsync(ImageImportName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteImageImportAsync(ImageImportName name, CallSettings callSettings = null)

Deletes a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportName` Required. The ImageImport name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ImageImportName name = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteImageImportAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteImageImportAsync(ImageImportName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteImageImportAsync(ImageImportName name, CancellationToken cancellationToken)

Deletes a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportName` Required. The ImageImport name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ImageImportName name = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteImageImportAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteImageImportAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteImageImportAsync(string name, CallSettings callSettings = null)

Deletes a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImport name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteImageImportAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteImageImportAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteImageImportAsync(string name, CancellationToken cancellationToken)

Deletes a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImport name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteImageImportAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteImageImportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteMigratingVm(DeleteMigratingVmRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteMigratingVm(DeleteMigratingVmRequest request, CallSettings callSettings = null)

Deletes a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DeleteMigratingVmRequest request = new DeleteMigratingVmRequest
    {
        MigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteMigratingVm(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteMigratingVm(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteMigratingVm(MigratingVmName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteMigratingVm(MigratingVmName name, CallSettings callSettings = null)

Deletes a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVmName name = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteMigratingVm(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteMigratingVm(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteMigratingVm(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteMigratingVm(string name, CallSettings callSettings = null)

Deletes a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteMigratingVm(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteMigratingVm(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteMigratingVmAsync(DeleteMigratingVmRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteMigratingVmAsync(DeleteMigratingVmRequest request, CallSettings callSettings = null)

Deletes a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteMigratingVmRequest request = new DeleteMigratingVmRequest
    {
        MigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteMigratingVmAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteMigratingVmAsync(DeleteMigratingVmRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteMigratingVmAsync(DeleteMigratingVmRequest request, CancellationToken cancellationToken)

Deletes a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteMigratingVmRequest request = new DeleteMigratingVmRequest
    {
        MigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteMigratingVmAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteMigratingVmAsync(MigratingVmName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteMigratingVmAsync(MigratingVmName name, CallSettings callSettings = null)

Deletes a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName name = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteMigratingVmAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteMigratingVmAsync(MigratingVmName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteMigratingVmAsync(MigratingVmName name, CancellationToken cancellationToken)

Deletes a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName name = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteMigratingVmAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteMigratingVmAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteMigratingVmAsync(string name, CallSettings callSettings = null)

Deletes a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteMigratingVmAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteMigratingVmAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteMigratingVmAsync(string name, CancellationToken cancellationToken)

Deletes a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteMigratingVmAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSource(DeleteSourceRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteSource(DeleteSourceRequest request, CallSettings callSettings = null)

Deletes a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteSourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DeleteSourceRequest request = new DeleteSourceRequest
    {
        SourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteSource(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteSource(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSource(SourceName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteSource(SourceName name, CallSettings callSettings = null)

Deletes a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Source name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName name = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteSource(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteSource(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSource(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteSource(string name, CallSettings callSettings = null)

Deletes a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Source name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteSource(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteSource(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSourceAsync(DeleteSourceRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSourceAsync(DeleteSourceRequest request, CallSettings callSettings = null)

Deletes a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteSourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteSourceRequest request = new DeleteSourceRequest
    {
        SourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteSourceAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSourceAsync(DeleteSourceRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSourceAsync(DeleteSourceRequest request, CancellationToken cancellationToken)

Deletes a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteSourceRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteSourceRequest request = new DeleteSourceRequest
    {
        SourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteSourceAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSourceAsync(SourceName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSourceAsync(SourceName name, CallSettings callSettings = null)

Deletes a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Source name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName name = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteSourceAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSourceAsync(SourceName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSourceAsync(SourceName name, CancellationToken cancellationToken)

Deletes a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Source name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName name = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteSourceAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSourceAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSourceAsync(string name, CallSettings callSettings = null)

Deletes a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Source name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteSourceAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSourceAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSourceAsync(string name, CancellationToken cancellationToken)

Deletes a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Source name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteSourceAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteTargetProject(DeleteTargetProjectRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteTargetProject(DeleteTargetProjectRequest request, CallSettings callSettings = null)

Deletes a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DeleteTargetProjectRequest request = new DeleteTargetProjectRequest
    {
        TargetProjectName = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteTargetProject(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteTargetProject(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteTargetProject(TargetProjectName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteTargetProject(TargetProjectName name, CallSettings callSettings = null)

Deletes a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjectName` Required. The TargetProject name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    TargetProjectName name = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]");
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteTargetProject(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteTargetProject(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteTargetProject(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteTargetProject(string name, CallSettings callSettings = null)

Deletes a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The TargetProject name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/targetProjects/[TARGET_PROJECT]";
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteTargetProject(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteTargetProject(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteTargetProjectAsync(DeleteTargetProjectRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetProjectAsync(DeleteTargetProjectRequest request, CallSettings callSettings = null)

Deletes a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteTargetProjectRequest request = new DeleteTargetProjectRequest
    {
        TargetProjectName = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteTargetProjectAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteTargetProjectAsync(DeleteTargetProjectRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetProjectAsync(DeleteTargetProjectRequest request, CancellationToken cancellationToken)

Deletes a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteTargetProjectRequest request = new DeleteTargetProjectRequest
    {
        TargetProjectName = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteTargetProjectAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteTargetProjectAsync(TargetProjectName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetProjectAsync(TargetProjectName name, CallSettings callSettings = null)

Deletes a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjectName` Required. The TargetProject name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    TargetProjectName name = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteTargetProjectAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteTargetProjectAsync(TargetProjectName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetProjectAsync(TargetProjectName name, CancellationToken cancellationToken)

Deletes a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjectName` Required. The TargetProject name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    TargetProjectName name = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteTargetProjectAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteTargetProjectAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetProjectAsync(string name, CallSettings callSettings = null)

Deletes a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The TargetProject name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/targetProjects/[TARGET_PROJECT]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteTargetProjectAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteTargetProjectAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteTargetProjectAsync(string name, CancellationToken cancellationToken)

Deletes a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The TargetProject name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/targetProjects/[TARGET_PROJECT]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteTargetProjectAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUtilizationReport(DeleteUtilizationReportRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteUtilizationReport(DeleteUtilizationReportRequest request, CallSettings callSettings = null)

Deletes a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteUtilizationReportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DeleteUtilizationReportRequest request = new DeleteUtilizationReportRequest
    {
        UtilizationReportName = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteUtilizationReport(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteUtilizationReport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUtilizationReport(UtilizationReportName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteUtilizationReport(UtilizationReportName name, CallSettings callSettings = null)

Deletes a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReportName` Required. The Utilization Report name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    UtilizationReportName name = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]");
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteUtilizationReport(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteUtilizationReport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUtilizationReport(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteUtilizationReport(string name, CallSettings callSettings = null)

Deletes a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Report name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/utilizationReports/[UTILIZATION_REPORT]";
    // Make the request
    Operation<Empty, OperationMetadata> response = vmMigrationClient.DeleteUtilizationReport(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceDeleteUtilizationReport(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUtilizationReportAsync(DeleteUtilizationReportRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUtilizationReportAsync(DeleteUtilizationReportRequest request, CallSettings callSettings = null)

Deletes a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteUtilizationReportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteUtilizationReportRequest request = new DeleteUtilizationReportRequest
    {
        UtilizationReportName = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteUtilizationReportAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUtilizationReportAsync(DeleteUtilizationReportRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUtilizationReportAsync(DeleteUtilizationReportRequest request, CancellationToken cancellationToken)

Deletes a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DeleteUtilizationReportRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DeleteUtilizationReportRequest request = new DeleteUtilizationReportRequest
    {
        UtilizationReportName = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteUtilizationReportAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUtilizationReportAsync(UtilizationReportName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUtilizationReportAsync(UtilizationReportName name, CallSettings callSettings = null)

Deletes a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReportName` Required. The Utilization Report name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UtilizationReportName name = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteUtilizationReportAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUtilizationReportAsync(UtilizationReportName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUtilizationReportAsync(UtilizationReportName name, CancellationToken cancellationToken)

Deletes a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReportName` Required. The Utilization Report name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UtilizationReportName name = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteUtilizationReportAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUtilizationReportAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUtilizationReportAsync(string name, CallSettings callSettings = null)

Deletes a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Report name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/utilizationReports/[UTILIZATION_REPORT]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteUtilizationReportAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUtilizationReportAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUtilizationReportAsync(string name, CancellationToken cancellationToken)

Deletes a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Report name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/utilizationReports/[UTILIZATION_REPORT]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await vmMigrationClient.DeleteUtilizationReportAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceDeleteUtilizationReportAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### ExtendMigration(ExtendMigrationRequest, CallSettings)

    public virtual Operation<ExtendMigrationResponse, OperationMetadata> ExtendMigration(ExtendMigrationRequest request, CallSettings callSettings = null)

Extend the migrating VM time to live.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ExtendMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ExtendMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ExtendMigrationRequest request = new ExtendMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<ExtendMigrationResponse, OperationMetadata> response = vmMigrationClient.ExtendMigration(request);

    // Poll until the returned long-running operation is complete
    Operation<ExtendMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ExtendMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ExtendMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceExtendMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ExtendMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### ExtendMigrationAsync(ExtendMigrationRequest, CallSettings)

    public virtual Task<Operation<ExtendMigrationResponse, OperationMetadata>> ExtendMigrationAsync(ExtendMigrationRequest request, CallSettings callSettings = null)

Extend the migrating VM time to live.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ExtendMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ExtendMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ExtendMigrationRequest request = new ExtendMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<ExtendMigrationResponse, OperationMetadata> response = await vmMigrationClient.ExtendMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ExtendMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ExtendMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ExtendMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceExtendMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ExtendMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### ExtendMigrationAsync(ExtendMigrationRequest, CancellationToken)

    public virtual Task<Operation<ExtendMigrationResponse, OperationMetadata>> ExtendMigrationAsync(ExtendMigrationRequest request, CancellationToken cancellationToken)

Extend the migrating VM time to live.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ExtendMigrationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ExtendMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ExtendMigrationRequest request = new ExtendMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<ExtendMigrationResponse, OperationMetadata> response = await vmMigrationClient.ExtendMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ExtendMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ExtendMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ExtendMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceExtendMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ExtendMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### FetchInventory(FetchInventoryRequest, CallSettings)

    public virtual FetchInventoryResponse FetchInventory(FetchInventoryRequest request, CallSettings callSettings = null)

List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryResponse` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    FetchInventoryRequest request = new FetchInventoryRequest
    {
        SourceAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        ForceRefresh = false,
    };
    // Make the request
    FetchInventoryResponse response = vmMigrationClient.FetchInventory(request);

### FetchInventory(SourceName, CallSettings)

    public virtual FetchInventoryResponse FetchInventory(SourceName source, CallSettings callSettings = null)

List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The name of the Source. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryResponse` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName source = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    FetchInventoryResponse response = vmMigrationClient.FetchInventory(source);

### FetchInventory(string, CallSettings)

    public virtual FetchInventoryResponse FetchInventory(string source, CallSettings callSettings = null)

List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Source. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryResponse` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string source = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    FetchInventoryResponse response = vmMigrationClient.FetchInventory(source);

### FetchInventoryAsync(FetchInventoryRequest, CallSettings)

    public virtual Task<FetchInventoryResponse> FetchInventoryAsync(FetchInventoryRequest request, CallSettings callSettings = null)

List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    FetchInventoryRequest request = new FetchInventoryRequest
    {
        SourceAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        ForceRefresh = false,
    };
    // Make the request
    FetchInventoryResponse response = await vmMigrationClient.FetchInventoryAsync(request);

### FetchInventoryAsync(FetchInventoryRequest, CancellationToken)

    public virtual Task<FetchInventoryResponse> FetchInventoryAsync(FetchInventoryRequest request, CancellationToken cancellationToken)

List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    FetchInventoryRequest request = new FetchInventoryRequest
    {
        SourceAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        ForceRefresh = false,
    };
    // Make the request
    FetchInventoryResponse response = await vmMigrationClient.FetchInventoryAsync(request);

### FetchInventoryAsync(SourceName, CallSettings)

    public virtual Task<FetchInventoryResponse> FetchInventoryAsync(SourceName source, CallSettings callSettings = null)

List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The name of the Source. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName source = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    FetchInventoryResponse response = await vmMigrationClient.FetchInventoryAsync(source);

### FetchInventoryAsync(SourceName, CancellationToken)

    public virtual Task<FetchInventoryResponse> FetchInventoryAsync(SourceName source, CancellationToken cancellationToken)

List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The name of the Source. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName source = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    FetchInventoryResponse response = await vmMigrationClient.FetchInventoryAsync(source);

### FetchInventoryAsync(string, CallSettings)

    public virtual Task<FetchInventoryResponse> FetchInventoryAsync(string source, CallSettings callSettings = null)

List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Source. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string source = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    FetchInventoryResponse response = await vmMigrationClient.FetchInventoryAsync(source);

### FetchInventoryAsync(string, CancellationToken)

    public virtual Task<FetchInventoryResponse> FetchInventoryAsync(string source, CancellationToken cancellationToken)

List remote source's inventory of VMs.
The remote source is the onprem vCenter (remote in the sense it's not in
Compute Engine). The inventory describes the list of existing VMs in that
source. Note that this operation lists the VMs on the remote source, as
opposed to listing the MigratingVms resources in the vmmigration service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Source. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchInventoryResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string source = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    FetchInventoryResponse response = await vmMigrationClient.FetchInventoryAsync(source);

### FetchStorageInventory(FetchStorageInventoryRequest, CallSettings)

    public virtual PagedEnumerable<FetchStorageInventoryResponse, SourceStorageResource> FetchStorageInventory(FetchStorageInventoryRequest request, CallSettings callSettings = null)

List remote source's inventory of storage resources.
The remote source is another cloud vendor (e.g. AWS, Azure).
The inventory describes the list of existing storage resources in that
source. Note that this operation lists the resources on the remote source,
as opposed to listing the MigratingVms resources in the vmmigration
service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource` | A pageable sequence of [SourceStorageResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    FetchStorageInventoryRequest request = new FetchStorageInventoryRequest
    {
        SourceAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        Type = FetchStorageInventoryRequest.Types.StorageType.Unspecified,
        ForceRefresh = false,
    };
    // Make the request
    PagedEnumerable<FetchStorageInventoryResponse, SourceStorageResource> response = vmMigrationClient.FetchStorageInventory(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (SourceStorageResource item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (FetchStorageInventoryResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SourceStorageResource item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SourceStorageResource> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SourceStorageResource item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchStorageInventory(SourceName, StorageType, string, int?, CallSettings)

    public virtual PagedEnumerable<FetchStorageInventoryResponse, SourceStorageResource> FetchStorageInventory(SourceName source, FetchStorageInventoryRequest.Types.StorageType type, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List remote source's inventory of storage resources.
The remote source is another cloud vendor (e.g. AWS, Azure).
The inventory describes the list of existing storage resources in that
source. Note that this operation lists the resources on the remote source,
as opposed to listing the MigratingVms resources in the vmmigration
service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The name of the Source. |
| `type` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest.Types.StorageType` Required. The type of the storage inventory to fetch. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource` | A pageable sequence of [SourceStorageResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName source = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    FetchStorageInventoryRequest.Types.StorageType type = FetchStorageInventoryRequest.Types.StorageType.Unspecified;
    // Make the request
    PagedEnumerable<FetchStorageInventoryResponse, SourceStorageResource> response = vmMigrationClient.FetchStorageInventory(source, type);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (SourceStorageResource item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (FetchStorageInventoryResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SourceStorageResource item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SourceStorageResource> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SourceStorageResource item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchStorageInventory(string, StorageType, string, int?, CallSettings)

    public virtual PagedEnumerable<FetchStorageInventoryResponse, SourceStorageResource> FetchStorageInventory(string source, FetchStorageInventoryRequest.Types.StorageType type, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List remote source's inventory of storage resources.
The remote source is another cloud vendor (e.g. AWS, Azure).
The inventory describes the list of existing storage resources in that
source. Note that this operation lists the resources on the remote source,
as opposed to listing the MigratingVms resources in the vmmigration
service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Source. |
| `type` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest.Types.StorageType` Required. The type of the storage inventory to fetch. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource` | A pageable sequence of [SourceStorageResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string source = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    FetchStorageInventoryRequest.Types.StorageType type = FetchStorageInventoryRequest.Types.StorageType.Unspecified;
    // Make the request
    PagedEnumerable<FetchStorageInventoryResponse, SourceStorageResource> response = vmMigrationClient.FetchStorageInventory(source, type);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (SourceStorageResource item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (FetchStorageInventoryResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SourceStorageResource item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SourceStorageResource> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SourceStorageResource item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchStorageInventoryAsync(FetchStorageInventoryRequest, CallSettings)

    public virtual PagedAsyncEnumerable<FetchStorageInventoryResponse, SourceStorageResource> FetchStorageInventoryAsync(FetchStorageInventoryRequest request, CallSettings callSettings = null)

List remote source's inventory of storage resources.
The remote source is another cloud vendor (e.g. AWS, Azure).
The inventory describes the list of existing storage resources in that
source. Note that this operation lists the resources on the remote source,
as opposed to listing the MigratingVms resources in the vmmigration
service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource` | A pageable asynchronous sequence of [SourceStorageResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    FetchStorageInventoryRequest request = new FetchStorageInventoryRequest
    {
        SourceAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        Type = FetchStorageInventoryRequest.Types.StorageType.Unspecified,
        ForceRefresh = false,
    };
    // Make the request
    PagedAsyncEnumerable<FetchStorageInventoryResponse, SourceStorageResource> response = vmMigrationClient.FetchStorageInventoryAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((SourceStorageResource item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((FetchStorageInventoryResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SourceStorageResource item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SourceStorageResource> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SourceStorageResource item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchStorageInventoryAsync(SourceName, StorageType, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<FetchStorageInventoryResponse, SourceStorageResource> FetchStorageInventoryAsync(SourceName source, FetchStorageInventoryRequest.Types.StorageType type, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List remote source's inventory of storage resources.
The remote source is another cloud vendor (e.g. AWS, Azure).
The inventory describes the list of existing storage resources in that
source. Note that this operation lists the resources on the remote source,
as opposed to listing the MigratingVms resources in the vmmigration
service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The name of the Source. |
| `type` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest.Types.StorageType` Required. The type of the storage inventory to fetch. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource` | A pageable asynchronous sequence of [SourceStorageResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName source = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    FetchStorageInventoryRequest.Types.StorageType type = FetchStorageInventoryRequest.Types.StorageType.Unspecified;
    // Make the request
    PagedAsyncEnumerable<FetchStorageInventoryResponse, SourceStorageResource> response = vmMigrationClient.FetchStorageInventoryAsync(source, type);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((SourceStorageResource item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((FetchStorageInventoryResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SourceStorageResource item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SourceStorageResource> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SourceStorageResource item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchStorageInventoryAsync(string, StorageType, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<FetchStorageInventoryResponse, SourceStorageResource> FetchStorageInventoryAsync(string source, FetchStorageInventoryRequest.Types.StorageType type, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List remote source's inventory of storage resources.
The remote source is another cloud vendor (e.g. AWS, Azure).
The inventory describes the list of existing storage resources in that
source. Note that this operation lists the resources on the remote source,
as opposed to listing the MigratingVms resources in the vmmigration
service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Source. |
| `type` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryRequest.Types.StorageType` Required. The type of the storage inventory to fetch. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FetchStorageInventoryResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource` | A pageable asynchronous sequence of [SourceStorageResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceStorageResource) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string source = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    FetchStorageInventoryRequest.Types.StorageType type = FetchStorageInventoryRequest.Types.StorageType.Unspecified;
    // Make the request
    PagedAsyncEnumerable<FetchStorageInventoryResponse, SourceStorageResource> response = vmMigrationClient.FetchStorageInventoryAsync(source, type);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((SourceStorageResource item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((FetchStorageInventoryResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SourceStorageResource item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SourceStorageResource> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SourceStorageResource item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FinalizeMigration(FinalizeMigrationRequest, CallSettings)

    public virtual Operation<FinalizeMigrationResponse, OperationMetadata> FinalizeMigration(FinalizeMigrationRequest request, CallSettings callSettings = null)

Marks a migration as completed, deleting migration resources that are no
longer being used. Only applicable after cutover is done.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    FinalizeMigrationRequest request = new FinalizeMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<FinalizeMigrationResponse, OperationMetadata> response = vmMigrationClient.FinalizeMigration(request);

    // Poll until the returned long-running operation is complete
    Operation<FinalizeMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    FinalizeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<FinalizeMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceFinalizeMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        FinalizeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### FinalizeMigration(MigratingVmName, CallSettings)

    public virtual Operation<FinalizeMigrationResponse, OperationMetadata> FinalizeMigration(MigratingVmName migratingVm, CallSettings callSettings = null)

Marks a migration as completed, deleting migration resources that are no
longer being used. Only applicable after cutover is done.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVmName migratingVm = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    Operation<FinalizeMigrationResponse, OperationMetadata> response = vmMigrationClient.FinalizeMigration(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<FinalizeMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    FinalizeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<FinalizeMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceFinalizeMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        FinalizeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### FinalizeMigration(string, CallSettings)

    public virtual Operation<FinalizeMigrationResponse, OperationMetadata> FinalizeMigration(string migratingVm, CallSettings callSettings = null)

Marks a migration as completed, deleting migration resources that are no
longer being used. Only applicable after cutover is done.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string migratingVm = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    Operation<FinalizeMigrationResponse, OperationMetadata> response = vmMigrationClient.FinalizeMigration(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<FinalizeMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    FinalizeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<FinalizeMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceFinalizeMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        FinalizeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### FinalizeMigrationAsync(FinalizeMigrationRequest, CallSettings)

    public virtual Task<Operation<FinalizeMigrationResponse, OperationMetadata>> FinalizeMigrationAsync(FinalizeMigrationRequest request, CallSettings callSettings = null)

Marks a migration as completed, deleting migration resources that are no
longer being used. Only applicable after cutover is done.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    FinalizeMigrationRequest request = new FinalizeMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<FinalizeMigrationResponse, OperationMetadata> response = await vmMigrationClient.FinalizeMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<FinalizeMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    FinalizeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<FinalizeMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceFinalizeMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        FinalizeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### FinalizeMigrationAsync(FinalizeMigrationRequest, CancellationToken)

    public virtual Task<Operation<FinalizeMigrationResponse, OperationMetadata>> FinalizeMigrationAsync(FinalizeMigrationRequest request, CancellationToken cancellationToken)

Marks a migration as completed, deleting migration resources that are no
longer being used. Only applicable after cutover is done.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    FinalizeMigrationRequest request = new FinalizeMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<FinalizeMigrationResponse, OperationMetadata> response = await vmMigrationClient.FinalizeMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<FinalizeMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    FinalizeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<FinalizeMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceFinalizeMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        FinalizeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### FinalizeMigrationAsync(MigratingVmName, CallSettings)

    public virtual Task<Operation<FinalizeMigrationResponse, OperationMetadata>> FinalizeMigrationAsync(MigratingVmName migratingVm, CallSettings callSettings = null)

Marks a migration as completed, deleting migration resources that are no
longer being used. Only applicable after cutover is done.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName migratingVm = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    Operation<FinalizeMigrationResponse, OperationMetadata> response = await vmMigrationClient.FinalizeMigrationAsync(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<FinalizeMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    FinalizeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<FinalizeMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceFinalizeMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        FinalizeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### FinalizeMigrationAsync(MigratingVmName, CancellationToken)

    public virtual Task<Operation<FinalizeMigrationResponse, OperationMetadata>> FinalizeMigrationAsync(MigratingVmName migratingVm, CancellationToken cancellationToken)

Marks a migration as completed, deleting migration resources that are no
longer being used. Only applicable after cutover is done.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName migratingVm = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    Operation<FinalizeMigrationResponse, OperationMetadata> response = await vmMigrationClient.FinalizeMigrationAsync(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<FinalizeMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    FinalizeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<FinalizeMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceFinalizeMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        FinalizeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### FinalizeMigrationAsync(string, CallSettings)

    public virtual Task<Operation<FinalizeMigrationResponse, OperationMetadata>> FinalizeMigrationAsync(string migratingVm, CallSettings callSettings = null)

Marks a migration as completed, deleting migration resources that are no
longer being used. Only applicable after cutover is done.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string migratingVm = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    Operation<FinalizeMigrationResponse, OperationMetadata> response = await vmMigrationClient.FinalizeMigrationAsync(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<FinalizeMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    FinalizeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<FinalizeMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceFinalizeMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        FinalizeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### FinalizeMigrationAsync(string, CancellationToken)

    public virtual Task<Operation<FinalizeMigrationResponse, OperationMetadata>> FinalizeMigrationAsync(string migratingVm, CancellationToken cancellationToken)

Marks a migration as completed, deleting migration resources that are no
longer being used. Only applicable after cutover is done.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string migratingVm = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    Operation<FinalizeMigrationResponse, OperationMetadata> response = await vmMigrationClient.FinalizeMigrationAsync(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<FinalizeMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    FinalizeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<FinalizeMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceFinalizeMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        FinalizeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### GetCloneJob(CloneJobName, CallSettings)

    public virtual CloneJob GetCloneJob(CloneJobName name, CallSettings callSettings = null)

Gets details of a single CloneJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobName` Required. The name of the CloneJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CloneJobName name = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
    // Make the request
    CloneJob response = vmMigrationClient.GetCloneJob(name);

### GetCloneJob(GetCloneJobRequest, CallSettings)

    public virtual CloneJob GetCloneJob(GetCloneJobRequest request, CallSettings callSettings = null)

Gets details of a single CloneJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetCloneJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetCloneJobRequest request = new GetCloneJobRequest
    {
        CloneJobName = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]"),
    };
    // Make the request
    CloneJob response = vmMigrationClient.GetCloneJob(request);

### GetCloneJob(string, CallSettings)

    public virtual CloneJob GetCloneJob(string name, CallSettings callSettings = null)

Gets details of a single CloneJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the CloneJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cloneJobs/[CLONE_JOB]";
    // Make the request
    CloneJob response = vmMigrationClient.GetCloneJob(name);

### GetCloneJobAsync(CloneJobName, CallSettings)

    public virtual Task<CloneJob> GetCloneJobAsync(CloneJobName name, CallSettings callSettings = null)

Gets details of a single CloneJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobName` Required. The name of the CloneJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CloneJobName name = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
    // Make the request
    CloneJob response = await vmMigrationClient.GetCloneJobAsync(name);

### GetCloneJobAsync(CloneJobName, CancellationToken)

    public virtual Task<CloneJob> GetCloneJobAsync(CloneJobName name, CancellationToken cancellationToken)

Gets details of a single CloneJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobName` Required. The name of the CloneJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CloneJobName name = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
    // Make the request
    CloneJob response = await vmMigrationClient.GetCloneJobAsync(name);

### GetCloneJobAsync(GetCloneJobRequest, CallSettings)

    public virtual Task<CloneJob> GetCloneJobAsync(GetCloneJobRequest request, CallSettings callSettings = null)

Gets details of a single CloneJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetCloneJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetCloneJobRequest request = new GetCloneJobRequest
    {
        CloneJobName = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]"),
    };
    // Make the request
    CloneJob response = await vmMigrationClient.GetCloneJobAsync(request);

### GetCloneJobAsync(GetCloneJobRequest, CancellationToken)

    public virtual Task<CloneJob> GetCloneJobAsync(GetCloneJobRequest request, CancellationToken cancellationToken)

Gets details of a single CloneJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetCloneJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetCloneJobRequest request = new GetCloneJobRequest
    {
        CloneJobName = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]"),
    };
    // Make the request
    CloneJob response = await vmMigrationClient.GetCloneJobAsync(request);

### GetCloneJobAsync(string, CallSettings)

    public virtual Task<CloneJob> GetCloneJobAsync(string name, CallSettings callSettings = null)

Gets details of a single CloneJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the CloneJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cloneJobs/[CLONE_JOB]";
    // Make the request
    CloneJob response = await vmMigrationClient.GetCloneJobAsync(name);

### GetCloneJobAsync(string, CancellationToken)

    public virtual Task<CloneJob> GetCloneJobAsync(string name, CancellationToken cancellationToken)

Gets details of a single CloneJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the CloneJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cloneJobs/[CLONE_JOB]";
    // Make the request
    CloneJob response = await vmMigrationClient.GetCloneJobAsync(name);

### GetCutoverJob(CutoverJobName, CallSettings)

    public virtual CutoverJob GetCutoverJob(CutoverJobName name, CallSettings callSettings = null)

Gets details of a single CutoverJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobName` Required. The name of the CutoverJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    CutoverJobName name = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]");
    // Make the request
    CutoverJob response = vmMigrationClient.GetCutoverJob(name);

### GetCutoverJob(GetCutoverJobRequest, CallSettings)

    public virtual CutoverJob GetCutoverJob(GetCutoverJobRequest request, CallSettings callSettings = null)

Gets details of a single CutoverJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetCutoverJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetCutoverJobRequest request = new GetCutoverJobRequest
    {
        CutoverJobName = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]"),
    };
    // Make the request
    CutoverJob response = vmMigrationClient.GetCutoverJob(request);

### GetCutoverJob(string, CallSettings)

    public virtual CutoverJob GetCutoverJob(string name, CallSettings callSettings = null)

Gets details of a single CutoverJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the CutoverJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cutoverJobs/[CUTOVER_JOB]";
    // Make the request
    CutoverJob response = vmMigrationClient.GetCutoverJob(name);

### GetCutoverJobAsync(CutoverJobName, CallSettings)

    public virtual Task<CutoverJob> GetCutoverJobAsync(CutoverJobName name, CallSettings callSettings = null)

Gets details of a single CutoverJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobName` Required. The name of the CutoverJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CutoverJobName name = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]");
    // Make the request
    CutoverJob response = await vmMigrationClient.GetCutoverJobAsync(name);

### GetCutoverJobAsync(CutoverJobName, CancellationToken)

    public virtual Task<CutoverJob> GetCutoverJobAsync(CutoverJobName name, CancellationToken cancellationToken)

Gets details of a single CutoverJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobName` Required. The name of the CutoverJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    CutoverJobName name = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]");
    // Make the request
    CutoverJob response = await vmMigrationClient.GetCutoverJobAsync(name);

### GetCutoverJobAsync(GetCutoverJobRequest, CallSettings)

    public virtual Task<CutoverJob> GetCutoverJobAsync(GetCutoverJobRequest request, CallSettings callSettings = null)

Gets details of a single CutoverJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetCutoverJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetCutoverJobRequest request = new GetCutoverJobRequest
    {
        CutoverJobName = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]"),
    };
    // Make the request
    CutoverJob response = await vmMigrationClient.GetCutoverJobAsync(request);

### GetCutoverJobAsync(GetCutoverJobRequest, CancellationToken)

    public virtual Task<CutoverJob> GetCutoverJobAsync(GetCutoverJobRequest request, CancellationToken cancellationToken)

Gets details of a single CutoverJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetCutoverJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetCutoverJobRequest request = new GetCutoverJobRequest
    {
        CutoverJobName = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]"),
    };
    // Make the request
    CutoverJob response = await vmMigrationClient.GetCutoverJobAsync(request);

### GetCutoverJobAsync(string, CallSettings)

    public virtual Task<CutoverJob> GetCutoverJobAsync(string name, CallSettings callSettings = null)

Gets details of a single CutoverJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the CutoverJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cutoverJobs/[CUTOVER_JOB]";
    // Make the request
    CutoverJob response = await vmMigrationClient.GetCutoverJobAsync(name);

### GetCutoverJobAsync(string, CancellationToken)

    public virtual Task<CutoverJob> GetCutoverJobAsync(string name, CancellationToken cancellationToken)

Gets details of a single CutoverJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the CutoverJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cutoverJobs/[CUTOVER_JOB]";
    // Make the request
    CutoverJob response = await vmMigrationClient.GetCutoverJobAsync(name);

### GetDatacenterConnector(DatacenterConnectorName, CallSettings)

    public virtual DatacenterConnector GetDatacenterConnector(DatacenterConnectorName name, CallSettings callSettings = null)

Gets details of a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorName` Required. The name of the DatacenterConnector. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DatacenterConnectorName name = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]");
    // Make the request
    DatacenterConnector response = vmMigrationClient.GetDatacenterConnector(name);

### GetDatacenterConnector(GetDatacenterConnectorRequest, CallSettings)

    public virtual DatacenterConnector GetDatacenterConnector(GetDatacenterConnectorRequest request, CallSettings callSettings = null)

Gets details of a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetDatacenterConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetDatacenterConnectorRequest request = new GetDatacenterConnectorRequest
    {
        DatacenterConnectorName = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]"),
    };
    // Make the request
    DatacenterConnector response = vmMigrationClient.GetDatacenterConnector(request);

### GetDatacenterConnector(string, CallSettings)

    public virtual DatacenterConnector GetDatacenterConnector(string name, CallSettings callSettings = null)

Gets details of a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DatacenterConnector. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/datacenterConnectors/[DATACENTER_CONNECTOR]";
    // Make the request
    DatacenterConnector response = vmMigrationClient.GetDatacenterConnector(name);

### GetDatacenterConnectorAsync(DatacenterConnectorName, CallSettings)

    public virtual Task<DatacenterConnector> GetDatacenterConnectorAsync(DatacenterConnectorName name, CallSettings callSettings = null)

Gets details of a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorName` Required. The name of the DatacenterConnector. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DatacenterConnectorName name = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]");
    // Make the request
    DatacenterConnector response = await vmMigrationClient.GetDatacenterConnectorAsync(name);

### GetDatacenterConnectorAsync(DatacenterConnectorName, CancellationToken)

    public virtual Task<DatacenterConnector> GetDatacenterConnectorAsync(DatacenterConnectorName name, CancellationToken cancellationToken)

Gets details of a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorName` Required. The name of the DatacenterConnector. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DatacenterConnectorName name = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]");
    // Make the request
    DatacenterConnector response = await vmMigrationClient.GetDatacenterConnectorAsync(name);

### GetDatacenterConnectorAsync(GetDatacenterConnectorRequest, CallSettings)

    public virtual Task<DatacenterConnector> GetDatacenterConnectorAsync(GetDatacenterConnectorRequest request, CallSettings callSettings = null)

Gets details of a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetDatacenterConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetDatacenterConnectorRequest request = new GetDatacenterConnectorRequest
    {
        DatacenterConnectorName = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]"),
    };
    // Make the request
    DatacenterConnector response = await vmMigrationClient.GetDatacenterConnectorAsync(request);

### GetDatacenterConnectorAsync(GetDatacenterConnectorRequest, CancellationToken)

    public virtual Task<DatacenterConnector> GetDatacenterConnectorAsync(GetDatacenterConnectorRequest request, CancellationToken cancellationToken)

Gets details of a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetDatacenterConnectorRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetDatacenterConnectorRequest request = new GetDatacenterConnectorRequest
    {
        DatacenterConnectorName = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]"),
    };
    // Make the request
    DatacenterConnector response = await vmMigrationClient.GetDatacenterConnectorAsync(request);

### GetDatacenterConnectorAsync(string, CallSettings)

    public virtual Task<DatacenterConnector> GetDatacenterConnectorAsync(string name, CallSettings callSettings = null)

Gets details of a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DatacenterConnector. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/datacenterConnectors/[DATACENTER_CONNECTOR]";
    // Make the request
    DatacenterConnector response = await vmMigrationClient.GetDatacenterConnectorAsync(name);

### GetDatacenterConnectorAsync(string, CancellationToken)

    public virtual Task<DatacenterConnector> GetDatacenterConnectorAsync(string name, CancellationToken cancellationToken)

Gets details of a single DatacenterConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DatacenterConnector. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/datacenterConnectors/[DATACENTER_CONNECTOR]";
    // Make the request
    DatacenterConnector response = await vmMigrationClient.GetDatacenterConnectorAsync(name);

### GetDiskMigrationJob(DiskMigrationJobName, CallSettings)

    public virtual DiskMigrationJob GetDiskMigrationJob(DiskMigrationJobName name, CallSettings callSettings = null)

Gets details of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DiskMigrationJobName name = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]");
    // Make the request
    DiskMigrationJob response = vmMigrationClient.GetDiskMigrationJob(name);

### GetDiskMigrationJob(GetDiskMigrationJobRequest, CallSettings)

    public virtual DiskMigrationJob GetDiskMigrationJob(GetDiskMigrationJobRequest request, CallSettings callSettings = null)

Gets details of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetDiskMigrationJobRequest request = new GetDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    DiskMigrationJob response = vmMigrationClient.GetDiskMigrationJob(request);

### GetDiskMigrationJob(string, CallSettings)

    public virtual DiskMigrationJob GetDiskMigrationJob(string name, CallSettings callSettings = null)

Gets details of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/diskMigrationJobs/[DISK_MIGRATION_JOB]";
    // Make the request
    DiskMigrationJob response = vmMigrationClient.GetDiskMigrationJob(name);

### GetDiskMigrationJobAsync(DiskMigrationJobName, CallSettings)

    public virtual Task<DiskMigrationJob> GetDiskMigrationJobAsync(DiskMigrationJobName name, CallSettings callSettings = null)

Gets details of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DiskMigrationJobName name = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]");
    // Make the request
    DiskMigrationJob response = await vmMigrationClient.GetDiskMigrationJobAsync(name);

### GetDiskMigrationJobAsync(DiskMigrationJobName, CancellationToken)

    public virtual Task<DiskMigrationJob> GetDiskMigrationJobAsync(DiskMigrationJobName name, CancellationToken cancellationToken)

Gets details of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName` Required. The name of the DiskMigrationJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DiskMigrationJobName name = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]");
    // Make the request
    DiskMigrationJob response = await vmMigrationClient.GetDiskMigrationJobAsync(name);

### GetDiskMigrationJobAsync(GetDiskMigrationJobRequest, CallSettings)

    public virtual Task<DiskMigrationJob> GetDiskMigrationJobAsync(GetDiskMigrationJobRequest request, CallSettings callSettings = null)

Gets details of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetDiskMigrationJobRequest request = new GetDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    DiskMigrationJob response = await vmMigrationClient.GetDiskMigrationJobAsync(request);

### GetDiskMigrationJobAsync(GetDiskMigrationJobRequest, CancellationToken)

    public virtual Task<DiskMigrationJob> GetDiskMigrationJobAsync(GetDiskMigrationJobRequest request, CancellationToken cancellationToken)

Gets details of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetDiskMigrationJobRequest request = new GetDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    DiskMigrationJob response = await vmMigrationClient.GetDiskMigrationJobAsync(request);

### GetDiskMigrationJobAsync(string, CallSettings)

    public virtual Task<DiskMigrationJob> GetDiskMigrationJobAsync(string name, CallSettings callSettings = null)

Gets details of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/diskMigrationJobs/[DISK_MIGRATION_JOB]";
    // Make the request
    DiskMigrationJob response = await vmMigrationClient.GetDiskMigrationJobAsync(name);

### GetDiskMigrationJobAsync(string, CancellationToken)

    public virtual Task<DiskMigrationJob> GetDiskMigrationJobAsync(string name, CancellationToken cancellationToken)

Gets details of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DiskMigrationJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/diskMigrationJobs/[DISK_MIGRATION_JOB]";
    // Make the request
    DiskMigrationJob response = await vmMigrationClient.GetDiskMigrationJobAsync(name);

### GetGroup(GetGroupRequest, CallSettings)

    public virtual Group GetGroup(GetGroupRequest request, CallSettings callSettings = null)

Gets details of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetGroupRequest request = new GetGroupRequest
    {
        GroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
    };
    // Make the request
    Group response = vmMigrationClient.GetGroup(request);

### GetGroup(GroupName, CallSettings)

    public virtual Group GetGroup(GroupName name, CallSettings callSettings = null)

Gets details of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The group name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GroupName name = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Group response = vmMigrationClient.GetGroup(name);

### GetGroup(string, CallSettings)

    public virtual Group GetGroup(string name, CallSettings callSettings = null)

Gets details of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The group name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Group response = vmMigrationClient.GetGroup(name);

### GetGroupAsync(GetGroupRequest, CallSettings)

    public virtual Task<Group> GetGroupAsync(GetGroupRequest request, CallSettings callSettings = null)

Gets details of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetGroupRequest request = new GetGroupRequest
    {
        GroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
    };
    // Make the request
    Group response = await vmMigrationClient.GetGroupAsync(request);

### GetGroupAsync(GetGroupRequest, CancellationToken)

    public virtual Task<Group> GetGroupAsync(GetGroupRequest request, CancellationToken cancellationToken)

Gets details of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetGroupRequest request = new GetGroupRequest
    {
        GroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
    };
    // Make the request
    Group response = await vmMigrationClient.GetGroupAsync(request);

### GetGroupAsync(GroupName, CallSettings)

    public virtual Task<Group> GetGroupAsync(GroupName name, CallSettings callSettings = null)

Gets details of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The group name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GroupName name = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Group response = await vmMigrationClient.GetGroupAsync(name);

### GetGroupAsync(GroupName, CancellationToken)

    public virtual Task<Group> GetGroupAsync(GroupName name, CancellationToken cancellationToken)

Gets details of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The group name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GroupName name = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Group response = await vmMigrationClient.GetGroupAsync(name);

### GetGroupAsync(string, CallSettings)

    public virtual Task<Group> GetGroupAsync(string name, CallSettings callSettings = null)

Gets details of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The group name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Group response = await vmMigrationClient.GetGroupAsync(name);

### GetGroupAsync(string, CancellationToken)

    public virtual Task<Group> GetGroupAsync(string name, CancellationToken cancellationToken)

Gets details of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The group name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Group response = await vmMigrationClient.GetGroupAsync(name);

### GetImageImport(GetImageImportRequest, CallSettings)

    public virtual ImageImport GetImageImport(GetImageImportRequest request, CallSettings callSettings = null)

Gets details of a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetImageImportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetImageImportRequest request = new GetImageImportRequest
    {
        ImageImportName = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]"),
    };
    // Make the request
    ImageImport response = vmMigrationClient.GetImageImport(request);

### GetImageImport(ImageImportName, CallSettings)

    public virtual ImageImport GetImageImport(ImageImportName name, CallSettings callSettings = null)

Gets details of a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportName` Required. The ImageImport name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ImageImportName name = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]");
    // Make the request
    ImageImport response = vmMigrationClient.GetImageImport(name);

### GetImageImport(string, CallSettings)

    public virtual ImageImport GetImageImport(string name, CallSettings callSettings = null)

Gets details of a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImport name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]";
    // Make the request
    ImageImport response = vmMigrationClient.GetImageImport(name);

### GetImageImportAsync(GetImageImportRequest, CallSettings)

    public virtual Task<ImageImport> GetImageImportAsync(GetImageImportRequest request, CallSettings callSettings = null)

Gets details of a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetImageImportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetImageImportRequest request = new GetImageImportRequest
    {
        ImageImportName = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]"),
    };
    // Make the request
    ImageImport response = await vmMigrationClient.GetImageImportAsync(request);

### GetImageImportAsync(GetImageImportRequest, CancellationToken)

    public virtual Task<ImageImport> GetImageImportAsync(GetImageImportRequest request, CancellationToken cancellationToken)

Gets details of a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetImageImportRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetImageImportRequest request = new GetImageImportRequest
    {
        ImageImportName = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]"),
    };
    // Make the request
    ImageImport response = await vmMigrationClient.GetImageImportAsync(request);

### GetImageImportAsync(ImageImportName, CallSettings)

    public virtual Task<ImageImport> GetImageImportAsync(ImageImportName name, CallSettings callSettings = null)

Gets details of a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportName` Required. The ImageImport name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ImageImportName name = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]");
    // Make the request
    ImageImport response = await vmMigrationClient.GetImageImportAsync(name);

### GetImageImportAsync(ImageImportName, CancellationToken)

    public virtual Task<ImageImport> GetImageImportAsync(ImageImportName name, CancellationToken cancellationToken)

Gets details of a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportName` Required. The ImageImport name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ImageImportName name = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]");
    // Make the request
    ImageImport response = await vmMigrationClient.GetImageImportAsync(name);

### GetImageImportAsync(string, CallSettings)

    public virtual Task<ImageImport> GetImageImportAsync(string name, CallSettings callSettings = null)

Gets details of a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImport name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]";
    // Make the request
    ImageImport response = await vmMigrationClient.GetImageImportAsync(name);

### GetImageImportAsync(string, CancellationToken)

    public virtual Task<ImageImport> GetImageImportAsync(string name, CancellationToken cancellationToken)

Gets details of a single ImageImport.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImport name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]";
    // Make the request
    ImageImport response = await vmMigrationClient.GetImageImportAsync(name);

### GetImageImportJob(GetImageImportJobRequest, CallSettings)

    public virtual ImageImportJob GetImageImportJob(GetImageImportJobRequest request, CallSettings callSettings = null)

Gets details of a single ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetImageImportJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetImageImportJobRequest request = new GetImageImportJobRequest
    {
        ImageImportJobName = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]"),
    };
    // Make the request
    ImageImportJob response = vmMigrationClient.GetImageImportJob(request);

### GetImageImportJob(ImageImportJobName, CallSettings)

    public virtual ImageImportJob GetImageImportJob(ImageImportJobName name, CallSettings callSettings = null)

Gets details of a single ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJobName` Required. The ImageImportJob name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ImageImportJobName name = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]");
    // Make the request
    ImageImportJob response = vmMigrationClient.GetImageImportJob(name);

### GetImageImportJob(string, CallSettings)

    public virtual ImageImportJob GetImageImportJob(string name, CallSettings callSettings = null)

Gets details of a single ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImportJob name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]/imageImportJobs/[RESULT]";
    // Make the request
    ImageImportJob response = vmMigrationClient.GetImageImportJob(name);

### GetImageImportJobAsync(GetImageImportJobRequest, CallSettings)

    public virtual Task<ImageImportJob> GetImageImportJobAsync(GetImageImportJobRequest request, CallSettings callSettings = null)

Gets details of a single ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetImageImportJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetImageImportJobRequest request = new GetImageImportJobRequest
    {
        ImageImportJobName = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]"),
    };
    // Make the request
    ImageImportJob response = await vmMigrationClient.GetImageImportJobAsync(request);

### GetImageImportJobAsync(GetImageImportJobRequest, CancellationToken)

    public virtual Task<ImageImportJob> GetImageImportJobAsync(GetImageImportJobRequest request, CancellationToken cancellationToken)

Gets details of a single ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetImageImportJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetImageImportJobRequest request = new GetImageImportJobRequest
    {
        ImageImportJobName = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]"),
    };
    // Make the request
    ImageImportJob response = await vmMigrationClient.GetImageImportJobAsync(request);

### GetImageImportJobAsync(ImageImportJobName, CallSettings)

    public virtual Task<ImageImportJob> GetImageImportJobAsync(ImageImportJobName name, CallSettings callSettings = null)

Gets details of a single ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJobName` Required. The ImageImportJob name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ImageImportJobName name = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]");
    // Make the request
    ImageImportJob response = await vmMigrationClient.GetImageImportJobAsync(name);

### GetImageImportJobAsync(ImageImportJobName, CancellationToken)

    public virtual Task<ImageImportJob> GetImageImportJobAsync(ImageImportJobName name, CancellationToken cancellationToken)

Gets details of a single ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJobName` Required. The ImageImportJob name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ImageImportJobName name = ImageImportJobName.FromProjectLocationJobResult("[PROJECT]", "[LOCATION]", "[JOB]", "[RESULT]");
    // Make the request
    ImageImportJob response = await vmMigrationClient.GetImageImportJobAsync(name);

### GetImageImportJobAsync(string, CallSettings)

    public virtual Task<ImageImportJob> GetImageImportJobAsync(string name, CallSettings callSettings = null)

Gets details of a single ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImportJob name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]/imageImportJobs/[RESULT]";
    // Make the request
    ImageImportJob response = await vmMigrationClient.GetImageImportJobAsync(name);

### GetImageImportJobAsync(string, CancellationToken)

    public virtual Task<ImageImportJob> GetImageImportJobAsync(string name, CancellationToken cancellationToken)

Gets details of a single ImageImportJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ImageImportJob name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]/imageImportJobs/[RESULT]";
    // Make the request
    ImageImportJob response = await vmMigrationClient.GetImageImportJobAsync(name);

### GetMigratingVm(GetMigratingVmRequest, CallSettings)

    public virtual MigratingVm GetMigratingVm(GetMigratingVmRequest request, CallSettings callSettings = null)

Gets details of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetMigratingVmRequest request = new GetMigratingVmRequest
    {
        MigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        View = MigratingVmView.Unspecified,
    };
    // Make the request
    MigratingVm response = vmMigrationClient.GetMigratingVm(request);

### GetMigratingVm(MigratingVmName, CallSettings)

    public virtual MigratingVm GetMigratingVm(MigratingVmName name, CallSettings callSettings = null)

Gets details of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVmName name = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    MigratingVm response = vmMigrationClient.GetMigratingVm(name);

### GetMigratingVm(string, CallSettings)

    public virtual MigratingVm GetMigratingVm(string name, CallSettings callSettings = null)

Gets details of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    MigratingVm response = vmMigrationClient.GetMigratingVm(name);

### GetMigratingVmAsync(GetMigratingVmRequest, CallSettings)

    public virtual Task<MigratingVm> GetMigratingVmAsync(GetMigratingVmRequest request, CallSettings callSettings = null)

Gets details of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetMigratingVmRequest request = new GetMigratingVmRequest
    {
        MigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        View = MigratingVmView.Unspecified,
    };
    // Make the request
    MigratingVm response = await vmMigrationClient.GetMigratingVmAsync(request);

### GetMigratingVmAsync(GetMigratingVmRequest, CancellationToken)

    public virtual Task<MigratingVm> GetMigratingVmAsync(GetMigratingVmRequest request, CancellationToken cancellationToken)

Gets details of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetMigratingVmRequest request = new GetMigratingVmRequest
    {
        MigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        View = MigratingVmView.Unspecified,
    };
    // Make the request
    MigratingVm response = await vmMigrationClient.GetMigratingVmAsync(request);

### GetMigratingVmAsync(MigratingVmName, CallSettings)

    public virtual Task<MigratingVm> GetMigratingVmAsync(MigratingVmName name, CallSettings callSettings = null)

Gets details of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName name = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    MigratingVm response = await vmMigrationClient.GetMigratingVmAsync(name);

### GetMigratingVmAsync(MigratingVmName, CancellationToken)

    public virtual Task<MigratingVm> GetMigratingVmAsync(MigratingVmName name, CancellationToken cancellationToken)

Gets details of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName name = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    MigratingVm response = await vmMigrationClient.GetMigratingVmAsync(name);

### GetMigratingVmAsync(string, CallSettings)

    public virtual Task<MigratingVm> GetMigratingVmAsync(string name, CallSettings callSettings = null)

Gets details of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    MigratingVm response = await vmMigrationClient.GetMigratingVmAsync(name);

### GetMigratingVmAsync(string, CancellationToken)

    public virtual Task<MigratingVm> GetMigratingVmAsync(string name, CancellationToken cancellationToken)

Gets details of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    MigratingVm response = await vmMigrationClient.GetMigratingVmAsync(name);

### GetReplicationCycle(GetReplicationCycleRequest, CallSettings)

    public virtual ReplicationCycle GetReplicationCycle(GetReplicationCycleRequest request, CallSettings callSettings = null)

Gets details of a single ReplicationCycle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetReplicationCycleRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetReplicationCycleRequest request = new GetReplicationCycleRequest
    {
        ReplicationCycleName = ReplicationCycleName.FromProjectLocationSourceMigratingVmReplicationCycle("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[REPLICATION_CYCLE]"),
    };
    // Make the request
    ReplicationCycle response = vmMigrationClient.GetReplicationCycle(request);

### GetReplicationCycle(ReplicationCycleName, CallSettings)

    public virtual ReplicationCycle GetReplicationCycle(ReplicationCycleName name, CallSettings callSettings = null)

Gets details of a single ReplicationCycle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycleName` Required. The name of the ReplicationCycle. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ReplicationCycleName name = ReplicationCycleName.FromProjectLocationSourceMigratingVmReplicationCycle("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[REPLICATION_CYCLE]");
    // Make the request
    ReplicationCycle response = vmMigrationClient.GetReplicationCycle(name);

### GetReplicationCycle(string, CallSettings)

    public virtual ReplicationCycle GetReplicationCycle(string name, CallSettings callSettings = null)

Gets details of a single ReplicationCycle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the ReplicationCycle. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/replicationCycles/[REPLICATION_CYCLE]";
    // Make the request
    ReplicationCycle response = vmMigrationClient.GetReplicationCycle(name);

### GetReplicationCycleAsync(GetReplicationCycleRequest, CallSettings)

    public virtual Task<ReplicationCycle> GetReplicationCycleAsync(GetReplicationCycleRequest request, CallSettings callSettings = null)

Gets details of a single ReplicationCycle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetReplicationCycleRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetReplicationCycleRequest request = new GetReplicationCycleRequest
    {
        ReplicationCycleName = ReplicationCycleName.FromProjectLocationSourceMigratingVmReplicationCycle("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[REPLICATION_CYCLE]"),
    };
    // Make the request
    ReplicationCycle response = await vmMigrationClient.GetReplicationCycleAsync(request);

### GetReplicationCycleAsync(GetReplicationCycleRequest, CancellationToken)

    public virtual Task<ReplicationCycle> GetReplicationCycleAsync(GetReplicationCycleRequest request, CancellationToken cancellationToken)

Gets details of a single ReplicationCycle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetReplicationCycleRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetReplicationCycleRequest request = new GetReplicationCycleRequest
    {
        ReplicationCycleName = ReplicationCycleName.FromProjectLocationSourceMigratingVmReplicationCycle("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[REPLICATION_CYCLE]"),
    };
    // Make the request
    ReplicationCycle response = await vmMigrationClient.GetReplicationCycleAsync(request);

### GetReplicationCycleAsync(ReplicationCycleName, CallSettings)

    public virtual Task<ReplicationCycle> GetReplicationCycleAsync(ReplicationCycleName name, CallSettings callSettings = null)

Gets details of a single ReplicationCycle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycleName` Required. The name of the ReplicationCycle. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ReplicationCycleName name = ReplicationCycleName.FromProjectLocationSourceMigratingVmReplicationCycle("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[REPLICATION_CYCLE]");
    // Make the request
    ReplicationCycle response = await vmMigrationClient.GetReplicationCycleAsync(name);

### GetReplicationCycleAsync(ReplicationCycleName, CancellationToken)

    public virtual Task<ReplicationCycle> GetReplicationCycleAsync(ReplicationCycleName name, CancellationToken cancellationToken)

Gets details of a single ReplicationCycle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycleName` Required. The name of the ReplicationCycle. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ReplicationCycleName name = ReplicationCycleName.FromProjectLocationSourceMigratingVmReplicationCycle("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[REPLICATION_CYCLE]");
    // Make the request
    ReplicationCycle response = await vmMigrationClient.GetReplicationCycleAsync(name);

### GetReplicationCycleAsync(string, CallSettings)

    public virtual Task<ReplicationCycle> GetReplicationCycleAsync(string name, CallSettings callSettings = null)

Gets details of a single ReplicationCycle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the ReplicationCycle. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/replicationCycles/[REPLICATION_CYCLE]";
    // Make the request
    ReplicationCycle response = await vmMigrationClient.GetReplicationCycleAsync(name);

### GetReplicationCycleAsync(string, CancellationToken)

    public virtual Task<ReplicationCycle> GetReplicationCycleAsync(string name, CancellationToken cancellationToken)

Gets details of a single ReplicationCycle.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the ReplicationCycle. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/replicationCycles/[REPLICATION_CYCLE]";
    // Make the request
    ReplicationCycle response = await vmMigrationClient.GetReplicationCycleAsync(name);

### GetSource(GetSourceRequest, CallSettings)

    public virtual Source GetSource(GetSourceRequest request, CallSettings callSettings = null)

Gets details of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetSourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetSourceRequest request = new GetSourceRequest
    {
        SourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
    };
    // Make the request
    Source response = vmMigrationClient.GetSource(request);

### GetSource(SourceName, CallSettings)

    public virtual Source GetSource(SourceName name, CallSettings callSettings = null)

Gets details of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Source name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName name = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    Source response = vmMigrationClient.GetSource(name);

### GetSource(string, CallSettings)

    public virtual Source GetSource(string name, CallSettings callSettings = null)

Gets details of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Source name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    Source response = vmMigrationClient.GetSource(name);

### GetSourceAsync(GetSourceRequest, CallSettings)

    public virtual Task<Source> GetSourceAsync(GetSourceRequest request, CallSettings callSettings = null)

Gets details of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetSourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetSourceRequest request = new GetSourceRequest
    {
        SourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
    };
    // Make the request
    Source response = await vmMigrationClient.GetSourceAsync(request);

### GetSourceAsync(GetSourceRequest, CancellationToken)

    public virtual Task<Source> GetSourceAsync(GetSourceRequest request, CancellationToken cancellationToken)

Gets details of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetSourceRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetSourceRequest request = new GetSourceRequest
    {
        SourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
    };
    // Make the request
    Source response = await vmMigrationClient.GetSourceAsync(request);

### GetSourceAsync(SourceName, CallSettings)

    public virtual Task<Source> GetSourceAsync(SourceName name, CallSettings callSettings = null)

Gets details of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Source name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName name = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    Source response = await vmMigrationClient.GetSourceAsync(name);

### GetSourceAsync(SourceName, CancellationToken)

    public virtual Task<Source> GetSourceAsync(SourceName name, CancellationToken cancellationToken)

Gets details of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Source name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName name = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    Source response = await vmMigrationClient.GetSourceAsync(name);

### GetSourceAsync(string, CallSettings)

    public virtual Task<Source> GetSourceAsync(string name, CallSettings callSettings = null)

Gets details of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Source name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    Source response = await vmMigrationClient.GetSourceAsync(name);

### GetSourceAsync(string, CancellationToken)

    public virtual Task<Source> GetSourceAsync(string name, CancellationToken cancellationToken)

Gets details of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Source name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    Source response = await vmMigrationClient.GetSourceAsync(name);

### GetTargetProject(GetTargetProjectRequest, CallSettings)

    public virtual TargetProject GetTargetProject(GetTargetProjectRequest request, CallSettings callSettings = null)

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetTargetProjectRequest request = new GetTargetProjectRequest
    {
        TargetProjectName = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]"),
    };
    // Make the request
    TargetProject response = vmMigrationClient.GetTargetProject(request);

### GetTargetProject(TargetProjectName, CallSettings)

    public virtual TargetProject GetTargetProject(TargetProjectName name, CallSettings callSettings = null)

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjectName` Required. The TargetProject name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    TargetProjectName name = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]");
    // Make the request
    TargetProject response = vmMigrationClient.GetTargetProject(name);

### GetTargetProject(string, CallSettings)

    public virtual TargetProject GetTargetProject(string name, CallSettings callSettings = null)

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The TargetProject name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/targetProjects/[TARGET_PROJECT]";
    // Make the request
    TargetProject response = vmMigrationClient.GetTargetProject(name);

### GetTargetProjectAsync(GetTargetProjectRequest, CallSettings)

    public virtual Task<TargetProject> GetTargetProjectAsync(GetTargetProjectRequest request, CallSettings callSettings = null)

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetTargetProjectRequest request = new GetTargetProjectRequest
    {
        TargetProjectName = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]"),
    };
    // Make the request
    TargetProject response = await vmMigrationClient.GetTargetProjectAsync(request);

### GetTargetProjectAsync(GetTargetProjectRequest, CancellationToken)

    public virtual Task<TargetProject> GetTargetProjectAsync(GetTargetProjectRequest request, CancellationToken cancellationToken)

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetTargetProjectRequest request = new GetTargetProjectRequest
    {
        TargetProjectName = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]"),
    };
    // Make the request
    TargetProject response = await vmMigrationClient.GetTargetProjectAsync(request);

### GetTargetProjectAsync(TargetProjectName, CallSettings)

    public virtual Task<TargetProject> GetTargetProjectAsync(TargetProjectName name, CallSettings callSettings = null)

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjectName` Required. The TargetProject name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    TargetProjectName name = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]");
    // Make the request
    TargetProject response = await vmMigrationClient.GetTargetProjectAsync(name);

### GetTargetProjectAsync(TargetProjectName, CancellationToken)

    public virtual Task<TargetProject> GetTargetProjectAsync(TargetProjectName name, CancellationToken cancellationToken)

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjectName` Required. The TargetProject name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    TargetProjectName name = TargetProjectName.FromProjectLocationTargetProject("[PROJECT]", "[LOCATION]", "[TARGET_PROJECT]");
    // Make the request
    TargetProject response = await vmMigrationClient.GetTargetProjectAsync(name);

### GetTargetProjectAsync(string, CallSettings)

    public virtual Task<TargetProject> GetTargetProjectAsync(string name, CallSettings callSettings = null)

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The TargetProject name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/targetProjects/[TARGET_PROJECT]";
    // Make the request
    TargetProject response = await vmMigrationClient.GetTargetProjectAsync(name);

### GetTargetProjectAsync(string, CancellationToken)

    public virtual Task<TargetProject> GetTargetProjectAsync(string name, CancellationToken cancellationToken)

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The TargetProject name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/targetProjects/[TARGET_PROJECT]";
    // Make the request
    TargetProject response = await vmMigrationClient.GetTargetProjectAsync(name);

### GetUtilizationReport(GetUtilizationReportRequest, CallSettings)

    public virtual UtilizationReport GetUtilizationReport(GetUtilizationReportRequest request, CallSettings callSettings = null)

Gets a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetUtilizationReportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GetUtilizationReportRequest request = new GetUtilizationReportRequest
    {
        UtilizationReportName = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]"),
        View = UtilizationReportView.Unspecified,
    };
    // Make the request
    UtilizationReport response = vmMigrationClient.GetUtilizationReport(request);

### GetUtilizationReport(UtilizationReportName, CallSettings)

    public virtual UtilizationReport GetUtilizationReport(UtilizationReportName name, CallSettings callSettings = null)

Gets a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReportName` Required. The Utilization Report name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    UtilizationReportName name = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]");
    // Make the request
    UtilizationReport response = vmMigrationClient.GetUtilizationReport(name);

### GetUtilizationReport(string, CallSettings)

    public virtual UtilizationReport GetUtilizationReport(string name, CallSettings callSettings = null)

Gets a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Report name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/utilizationReports/[UTILIZATION_REPORT]";
    // Make the request
    UtilizationReport response = vmMigrationClient.GetUtilizationReport(name);

### GetUtilizationReportAsync(GetUtilizationReportRequest, CallSettings)

    public virtual Task<UtilizationReport> GetUtilizationReportAsync(GetUtilizationReportRequest request, CallSettings callSettings = null)

Gets a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetUtilizationReportRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetUtilizationReportRequest request = new GetUtilizationReportRequest
    {
        UtilizationReportName = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]"),
        View = UtilizationReportView.Unspecified,
    };
    // Make the request
    UtilizationReport response = await vmMigrationClient.GetUtilizationReportAsync(request);

### GetUtilizationReportAsync(GetUtilizationReportRequest, CancellationToken)

    public virtual Task<UtilizationReport> GetUtilizationReportAsync(GetUtilizationReportRequest request, CancellationToken cancellationToken)

Gets a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GetUtilizationReportRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GetUtilizationReportRequest request = new GetUtilizationReportRequest
    {
        UtilizationReportName = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]"),
        View = UtilizationReportView.Unspecified,
    };
    // Make the request
    UtilizationReport response = await vmMigrationClient.GetUtilizationReportAsync(request);

### GetUtilizationReportAsync(UtilizationReportName, CallSettings)

    public virtual Task<UtilizationReport> GetUtilizationReportAsync(UtilizationReportName name, CallSettings callSettings = null)

Gets a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReportName` Required. The Utilization Report name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UtilizationReportName name = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]");
    // Make the request
    UtilizationReport response = await vmMigrationClient.GetUtilizationReportAsync(name);

### GetUtilizationReportAsync(UtilizationReportName, CancellationToken)

    public virtual Task<UtilizationReport> GetUtilizationReportAsync(UtilizationReportName name, CancellationToken cancellationToken)

Gets a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReportName` Required. The Utilization Report name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UtilizationReportName name = UtilizationReportName.FromProjectLocationSourceUtilizationReport("[PROJECT]", "[LOCATION]", "[SOURCE]", "[UTILIZATION_REPORT]");
    // Make the request
    UtilizationReport response = await vmMigrationClient.GetUtilizationReportAsync(name);

### GetUtilizationReportAsync(string, CallSettings)

    public virtual Task<UtilizationReport> GetUtilizationReportAsync(string name, CallSettings callSettings = null)

Gets a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Report name. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/utilizationReports/[UTILIZATION_REPORT]";
    // Make the request
    UtilizationReport response = await vmMigrationClient.GetUtilizationReportAsync(name);

### GetUtilizationReportAsync(string, CancellationToken)

    public virtual Task<UtilizationReport> GetUtilizationReportAsync(string name, CancellationToken cancellationToken)

Gets a single Utilization Report.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Report name. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/utilizationReports/[UTILIZATION_REPORT]";
    // Make the request
    UtilizationReport response = await vmMigrationClient.GetUtilizationReportAsync(name);

### ListCloneJobs(ListCloneJobsRequest, CallSettings)

    public virtual PagedEnumerable<ListCloneJobsResponse, CloneJob> ListCloneJobs(ListCloneJobsRequest request, CallSettings callSettings = null)

Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are
listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCloneJobsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCloneJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A pageable sequence of [CloneJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListCloneJobsRequest request = new ListCloneJobsRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListCloneJobsResponse, CloneJob> response = vmMigrationClient.ListCloneJobs(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (CloneJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListCloneJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CloneJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CloneJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CloneJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCloneJobs(MigratingVmName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListCloneJobsResponse, CloneJob> ListCloneJobs(MigratingVmName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are
listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The parent, which owns this collection of source VMs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCloneJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A pageable sequence of [CloneJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    PagedEnumerable<ListCloneJobsResponse, CloneJob> response = vmMigrationClient.ListCloneJobs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (CloneJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListCloneJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CloneJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CloneJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CloneJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCloneJobs(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListCloneJobsResponse, CloneJob> ListCloneJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are
listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of source VMs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCloneJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A pageable sequence of [CloneJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    PagedEnumerable<ListCloneJobsResponse, CloneJob> response = vmMigrationClient.ListCloneJobs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (CloneJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListCloneJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CloneJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CloneJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CloneJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCloneJobsAsync(ListCloneJobsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListCloneJobsResponse, CloneJob> ListCloneJobsAsync(ListCloneJobsRequest request, CallSettings callSettings = null)

Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are
listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCloneJobsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCloneJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A pageable asynchronous sequence of [CloneJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListCloneJobsRequest request = new ListCloneJobsRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListCloneJobsResponse, CloneJob> response = vmMigrationClient.ListCloneJobsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((CloneJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListCloneJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CloneJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CloneJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CloneJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCloneJobsAsync(MigratingVmName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListCloneJobsResponse, CloneJob> ListCloneJobsAsync(MigratingVmName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are
listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The parent, which owns this collection of source VMs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCloneJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A pageable asynchronous sequence of [CloneJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    PagedAsyncEnumerable<ListCloneJobsResponse, CloneJob> response = vmMigrationClient.ListCloneJobsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((CloneJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListCloneJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CloneJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CloneJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CloneJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCloneJobsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListCloneJobsResponse, CloneJob> ListCloneJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are
listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of source VMs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCloneJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob` | A pageable asynchronous sequence of [CloneJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    PagedAsyncEnumerable<ListCloneJobsResponse, CloneJob> response = vmMigrationClient.ListCloneJobsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((CloneJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListCloneJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CloneJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CloneJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CloneJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCutoverJobs(ListCutoverJobsRequest, CallSettings)

    public virtual PagedEnumerable<ListCutoverJobsResponse, CutoverJob> ListCutoverJobs(ListCutoverJobsRequest request, CallSettings callSettings = null)

Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs
are listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCutoverJobsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCutoverJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A pageable sequence of [CutoverJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListCutoverJobsRequest request = new ListCutoverJobsRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListCutoverJobsResponse, CutoverJob> response = vmMigrationClient.ListCutoverJobs(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (CutoverJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListCutoverJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CutoverJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CutoverJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CutoverJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCutoverJobs(MigratingVmName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListCutoverJobsResponse, CutoverJob> ListCutoverJobs(MigratingVmName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs
are listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The parent, which owns this collection of migrating VMs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCutoverJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A pageable sequence of [CutoverJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    PagedEnumerable<ListCutoverJobsResponse, CutoverJob> response = vmMigrationClient.ListCutoverJobs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (CutoverJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListCutoverJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CutoverJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CutoverJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CutoverJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCutoverJobs(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListCutoverJobsResponse, CutoverJob> ListCutoverJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs
are listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of migrating VMs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCutoverJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A pageable sequence of [CutoverJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    PagedEnumerable<ListCutoverJobsResponse, CutoverJob> response = vmMigrationClient.ListCutoverJobs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (CutoverJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListCutoverJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CutoverJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CutoverJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CutoverJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCutoverJobsAsync(ListCutoverJobsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListCutoverJobsResponse, CutoverJob> ListCutoverJobsAsync(ListCutoverJobsRequest request, CallSettings callSettings = null)

Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs
are listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCutoverJobsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCutoverJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A pageable asynchronous sequence of [CutoverJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListCutoverJobsRequest request = new ListCutoverJobsRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListCutoverJobsResponse, CutoverJob> response = vmMigrationClient.ListCutoverJobsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((CutoverJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListCutoverJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CutoverJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CutoverJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CutoverJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCutoverJobsAsync(MigratingVmName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListCutoverJobsResponse, CutoverJob> ListCutoverJobsAsync(MigratingVmName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs
are listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The parent, which owns this collection of migrating VMs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCutoverJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A pageable asynchronous sequence of [CutoverJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    PagedAsyncEnumerable<ListCutoverJobsResponse, CutoverJob> response = vmMigrationClient.ListCutoverJobsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((CutoverJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListCutoverJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CutoverJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CutoverJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CutoverJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListCutoverJobsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListCutoverJobsResponse, CutoverJob> ListCutoverJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs
are listed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of migrating VMs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListCutoverJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob` | A pageable asynchronous sequence of [CutoverJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    PagedAsyncEnumerable<ListCutoverJobsResponse, CutoverJob> response = vmMigrationClient.ListCutoverJobsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((CutoverJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListCutoverJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (CutoverJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<CutoverJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (CutoverJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDatacenterConnectors(ListDatacenterConnectorsRequest, CallSettings)

    public virtual PagedEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> ListDatacenterConnectors(ListDatacenterConnectorsRequest request, CallSettings callSettings = null)

Lists DatacenterConnectors in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDatacenterConnectorsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDatacenterConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A pageable sequence of [DatacenterConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListDatacenterConnectorsRequest request = new ListDatacenterConnectorsRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> response = vmMigrationClient.ListDatacenterConnectors(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DatacenterConnector item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListDatacenterConnectorsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DatacenterConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DatacenterConnector> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DatacenterConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDatacenterConnectors(SourceName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> ListDatacenterConnectors(SourceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DatacenterConnectors in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The parent, which owns this collection of connectors. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDatacenterConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A pageable sequence of [DatacenterConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    PagedEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> response = vmMigrationClient.ListDatacenterConnectors(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DatacenterConnector item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListDatacenterConnectorsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DatacenterConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DatacenterConnector> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DatacenterConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDatacenterConnectors(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> ListDatacenterConnectors(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DatacenterConnectors in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of connectors. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDatacenterConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A pageable sequence of [DatacenterConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    PagedEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> response = vmMigrationClient.ListDatacenterConnectors(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DatacenterConnector item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListDatacenterConnectorsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DatacenterConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DatacenterConnector> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DatacenterConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDatacenterConnectorsAsync(ListDatacenterConnectorsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> ListDatacenterConnectorsAsync(ListDatacenterConnectorsRequest request, CallSettings callSettings = null)

Lists DatacenterConnectors in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDatacenterConnectorsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDatacenterConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A pageable asynchronous sequence of [DatacenterConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListDatacenterConnectorsRequest request = new ListDatacenterConnectorsRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> response = vmMigrationClient.ListDatacenterConnectorsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((DatacenterConnector item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListDatacenterConnectorsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DatacenterConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DatacenterConnector> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DatacenterConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDatacenterConnectorsAsync(SourceName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> ListDatacenterConnectorsAsync(SourceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DatacenterConnectors in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The parent, which owns this collection of connectors. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDatacenterConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A pageable asynchronous sequence of [DatacenterConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    PagedAsyncEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> response = vmMigrationClient.ListDatacenterConnectorsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((DatacenterConnector item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListDatacenterConnectorsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DatacenterConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DatacenterConnector> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DatacenterConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDatacenterConnectorsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> ListDatacenterConnectorsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DatacenterConnectors in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of connectors. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDatacenterConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector` | A pageable asynchronous sequence of [DatacenterConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnector) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    PagedAsyncEnumerable<ListDatacenterConnectorsResponse, DatacenterConnector> response = vmMigrationClient.ListDatacenterConnectorsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((DatacenterConnector item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListDatacenterConnectorsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DatacenterConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DatacenterConnector> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DatacenterConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDiskMigrationJobs(ListDiskMigrationJobsRequest, CallSettings)

    public virtual PagedEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> ListDiskMigrationJobs(ListDiskMigrationJobsRequest request, CallSettings callSettings = null)

Lists DiskMigrationJobs in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDiskMigrationJobsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDiskMigrationJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A pageable sequence of [DiskMigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListDiskMigrationJobsRequest request = new ListDiskMigrationJobsRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> response = vmMigrationClient.ListDiskMigrationJobs(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DiskMigrationJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListDiskMigrationJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DiskMigrationJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DiskMigrationJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DiskMigrationJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDiskMigrationJobs(SourceName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> ListDiskMigrationJobs(SourceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DiskMigrationJobs in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The parent, which owns this collection of DiskMigrationJobs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDiskMigrationJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A pageable sequence of [DiskMigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    PagedEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> response = vmMigrationClient.ListDiskMigrationJobs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DiskMigrationJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListDiskMigrationJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DiskMigrationJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DiskMigrationJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DiskMigrationJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDiskMigrationJobs(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> ListDiskMigrationJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DiskMigrationJobs in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of DiskMigrationJobs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDiskMigrationJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A pageable sequence of [DiskMigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    PagedEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> response = vmMigrationClient.ListDiskMigrationJobs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DiskMigrationJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListDiskMigrationJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DiskMigrationJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DiskMigrationJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DiskMigrationJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDiskMigrationJobsAsync(ListDiskMigrationJobsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> ListDiskMigrationJobsAsync(ListDiskMigrationJobsRequest request, CallSettings callSettings = null)

Lists DiskMigrationJobs in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDiskMigrationJobsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDiskMigrationJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A pageable asynchronous sequence of [DiskMigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListDiskMigrationJobsRequest request = new ListDiskMigrationJobsRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> response = vmMigrationClient.ListDiskMigrationJobsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((DiskMigrationJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListDiskMigrationJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DiskMigrationJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DiskMigrationJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DiskMigrationJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDiskMigrationJobsAsync(SourceName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> ListDiskMigrationJobsAsync(SourceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DiskMigrationJobs in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The parent, which owns this collection of DiskMigrationJobs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDiskMigrationJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A pageable asynchronous sequence of [DiskMigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    PagedAsyncEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> response = vmMigrationClient.ListDiskMigrationJobsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((DiskMigrationJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListDiskMigrationJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DiskMigrationJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DiskMigrationJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DiskMigrationJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDiskMigrationJobsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> ListDiskMigrationJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists DiskMigrationJobs in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of DiskMigrationJobs. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListDiskMigrationJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` | A pageable asynchronous sequence of [DiskMigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    PagedAsyncEnumerable<ListDiskMigrationJobsResponse, DiskMigrationJob> response = vmMigrationClient.ListDiskMigrationJobsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((DiskMigrationJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListDiskMigrationJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DiskMigrationJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DiskMigrationJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DiskMigrationJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGroups(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListGroupsResponse, Group> ListGroups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Groups in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of groups. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A pageable sequence of [Group](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListGroupsResponse, Group> response = vmMigrationClient.ListGroups(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Group item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListGroupsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Group item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Group> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Group item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGroups(ListGroupsRequest, CallSettings)

    public virtual PagedEnumerable<ListGroupsResponse, Group> ListGroups(ListGroupsRequest request, CallSettings callSettings = null)

Lists Groups in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListGroupsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A pageable sequence of [Group](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListGroupsRequest request = new ListGroupsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListGroupsResponse, Group> response = vmMigrationClient.ListGroups(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Group item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListGroupsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Group item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Group> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Group item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGroups(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListGroupsResponse, Group> ListGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Groups in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of groups. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A pageable sequence of [Group](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListGroupsResponse, Group> response = vmMigrationClient.ListGroups(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Group item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListGroupsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Group item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Group> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Group item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGroupsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListGroupsResponse, Group> ListGroupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Groups in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of groups. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A pageable asynchronous sequence of [Group](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListGroupsResponse, Group> response = vmMigrationClient.ListGroupsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Group item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListGroupsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Group item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Group> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Group item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGroupsAsync(ListGroupsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListGroupsResponse, Group> ListGroupsAsync(ListGroupsRequest request, CallSettings callSettings = null)

Lists Groups in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListGroupsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A pageable asynchronous sequence of [Group](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListGroupsRequest request = new ListGroupsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListGroupsResponse, Group> response = vmMigrationClient.ListGroupsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Group item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListGroupsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Group item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Group> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Group item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGroupsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListGroupsResponse, Group> ListGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Groups in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of groups. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` | A pageable asynchronous sequence of [Group](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListGroupsResponse, Group> response = vmMigrationClient.ListGroupsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Group item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListGroupsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Group item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Group> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Group item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImportJobs(ImageImportName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListImageImportJobsResponse, ImageImportJob> ListImageImportJobs(ImageImportName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ImageImportJobs in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportName` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A pageable sequence of [ImageImportJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ImageImportName parent = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]");
    // Make the request
    PagedEnumerable<ListImageImportJobsResponse, ImageImportJob> response = vmMigrationClient.ListImageImportJobs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ImageImportJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListImageImportJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImportJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImportJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImportJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImportJobs(ListImageImportJobsRequest, CallSettings)

    public virtual PagedEnumerable<ListImageImportJobsResponse, ImageImportJob> ListImageImportJobs(ListImageImportJobsRequest request, CallSettings callSettings = null)

Lists ImageImportJobs in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportJobsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A pageable sequence of [ImageImportJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListImageImportJobsRequest request = new ListImageImportJobsRequest
    {
        ParentAsImageImportName = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListImageImportJobsResponse, ImageImportJob> response = vmMigrationClient.ListImageImportJobs(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ImageImportJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListImageImportJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImportJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImportJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImportJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImportJobs(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListImageImportJobsResponse, ImageImportJob> ListImageImportJobs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ImageImportJobs in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A pageable sequence of [ImageImportJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]";
    // Make the request
    PagedEnumerable<ListImageImportJobsResponse, ImageImportJob> response = vmMigrationClient.ListImageImportJobs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ImageImportJob item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListImageImportJobsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImportJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImportJob> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImportJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImportJobsAsync(ImageImportName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListImageImportJobsResponse, ImageImportJob> ListImageImportJobsAsync(ImageImportName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ImageImportJobs in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportName` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A pageable asynchronous sequence of [ImageImportJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ImageImportName parent = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]");
    // Make the request
    PagedAsyncEnumerable<ListImageImportJobsResponse, ImageImportJob> response = vmMigrationClient.ListImageImportJobsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((ImageImportJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListImageImportJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImportJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImportJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImportJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImportJobsAsync(ListImageImportJobsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListImageImportJobsResponse, ImageImportJob> ListImageImportJobsAsync(ListImageImportJobsRequest request, CallSettings callSettings = null)

Lists ImageImportJobs in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportJobsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A pageable asynchronous sequence of [ImageImportJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListImageImportJobsRequest request = new ListImageImportJobsRequest
    {
        ParentAsImageImportName = ImageImportName.FromProjectLocationJob("[PROJECT]", "[LOCATION]", "[JOB]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListImageImportJobsResponse, ImageImportJob> response = vmMigrationClient.ListImageImportJobsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((ImageImportJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListImageImportJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImportJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImportJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImportJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImportJobsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListImageImportJobsResponse, ImageImportJob> ListImageImportJobsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ImageImportJobs in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob` | A pageable asynchronous sequence of [ImageImportJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImportJob) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/imageImports/[JOB]";
    // Make the request
    PagedAsyncEnumerable<ListImageImportJobsResponse, ImageImportJob> response = vmMigrationClient.ListImageImportJobsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((ImageImportJob item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListImageImportJobsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImportJob item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImportJob> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImportJob item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImports(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListImageImportsResponse, ImageImport> ListImageImports(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ImageImports in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A pageable sequence of [ImageImport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListImageImportsResponse, ImageImport> response = vmMigrationClient.ListImageImports(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ImageImport item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListImageImportsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImport> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImports(ListImageImportsRequest, CallSettings)

    public virtual PagedEnumerable<ListImageImportsResponse, ImageImport> ListImageImports(ListImageImportsRequest request, CallSettings callSettings = null)

Lists ImageImports in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A pageable sequence of [ImageImport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListImageImportsRequest request = new ListImageImportsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListImageImportsResponse, ImageImport> response = vmMigrationClient.ListImageImports(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ImageImport item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListImageImportsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImport> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImports(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListImageImportsResponse, ImageImport> ListImageImports(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ImageImports in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A pageable sequence of [ImageImport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListImageImportsResponse, ImageImport> response = vmMigrationClient.ListImageImports(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ImageImport item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListImageImportsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImport> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImportsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListImageImportsResponse, ImageImport> ListImageImportsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ImageImports in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A pageable asynchronous sequence of [ImageImport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListImageImportsResponse, ImageImport> response = vmMigrationClient.ListImageImportsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((ImageImport item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListImageImportsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImport> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImportsAsync(ListImageImportsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListImageImportsResponse, ImageImport> ListImageImportsAsync(ListImageImportsRequest request, CallSettings callSettings = null)

Lists ImageImports in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A pageable asynchronous sequence of [ImageImport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListImageImportsRequest request = new ListImageImportsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListImageImportsResponse, ImageImport> response = vmMigrationClient.ListImageImportsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((ImageImport item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListImageImportsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImport> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListImageImportsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListImageImportsResponse, ImageImport> ListImageImportsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ImageImports in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListImageImportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport` | A pageable asynchronous sequence of [ImageImport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListImageImportsResponse, ImageImport> response = vmMigrationClient.ListImageImportsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((ImageImport item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListImageImportsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ImageImport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ImageImport> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ImageImport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListMigratingVms(ListMigratingVmsRequest, CallSettings)

    public virtual PagedEnumerable<ListMigratingVmsResponse, MigratingVm> ListMigratingVms(ListMigratingVmsRequest request, CallSettings callSettings = null)

Lists MigratingVms in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListMigratingVmsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListMigratingVmsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A pageable sequence of [MigratingVm](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListMigratingVmsRequest request = new ListMigratingVmsRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        Filter = "",
        OrderBy = "",
        View = MigratingVmView.Unspecified,
    };
    // Make the request
    PagedEnumerable<ListMigratingVmsResponse, MigratingVm> response = vmMigrationClient.ListMigratingVms(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (MigratingVm item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListMigratingVmsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (MigratingVm item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<MigratingVm> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (MigratingVm item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListMigratingVms(SourceName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListMigratingVmsResponse, MigratingVm> ListMigratingVms(SourceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists MigratingVms in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The parent, which owns this collection of MigratingVms. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListMigratingVmsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A pageable sequence of [MigratingVm](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    PagedEnumerable<ListMigratingVmsResponse, MigratingVm> response = vmMigrationClient.ListMigratingVms(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (MigratingVm item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListMigratingVmsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (MigratingVm item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<MigratingVm> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (MigratingVm item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListMigratingVms(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListMigratingVmsResponse, MigratingVm> ListMigratingVms(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists MigratingVms in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of MigratingVms. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListMigratingVmsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A pageable sequence of [MigratingVm](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    PagedEnumerable<ListMigratingVmsResponse, MigratingVm> response = vmMigrationClient.ListMigratingVms(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (MigratingVm item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListMigratingVmsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (MigratingVm item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<MigratingVm> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (MigratingVm item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListMigratingVmsAsync(ListMigratingVmsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListMigratingVmsResponse, MigratingVm> ListMigratingVmsAsync(ListMigratingVmsRequest request, CallSettings callSettings = null)

Lists MigratingVms in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListMigratingVmsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListMigratingVmsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A pageable asynchronous sequence of [MigratingVm](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListMigratingVmsRequest request = new ListMigratingVmsRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        Filter = "",
        OrderBy = "",
        View = MigratingVmView.Unspecified,
    };
    // Make the request
    PagedAsyncEnumerable<ListMigratingVmsResponse, MigratingVm> response = vmMigrationClient.ListMigratingVmsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((MigratingVm item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListMigratingVmsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (MigratingVm item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<MigratingVm> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (MigratingVm item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListMigratingVmsAsync(SourceName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListMigratingVmsResponse, MigratingVm> ListMigratingVmsAsync(SourceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists MigratingVms in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The parent, which owns this collection of MigratingVms. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListMigratingVmsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A pageable asynchronous sequence of [MigratingVm](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    PagedAsyncEnumerable<ListMigratingVmsResponse, MigratingVm> response = vmMigrationClient.ListMigratingVmsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((MigratingVm item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListMigratingVmsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (MigratingVm item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<MigratingVm> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (MigratingVm item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListMigratingVmsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListMigratingVmsResponse, MigratingVm> ListMigratingVmsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists MigratingVms in a given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of MigratingVms. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListMigratingVmsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` | A pageable asynchronous sequence of [MigratingVm](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    PagedAsyncEnumerable<ListMigratingVmsResponse, MigratingVm> response = vmMigrationClient.ListMigratingVmsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((MigratingVm item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListMigratingVmsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (MigratingVm item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<MigratingVm> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (MigratingVm item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReplicationCycles(ListReplicationCyclesRequest, CallSettings)

    public virtual PagedEnumerable<ListReplicationCyclesResponse, ReplicationCycle> ListReplicationCycles(ListReplicationCyclesRequest request, CallSettings callSettings = null)

Lists ReplicationCycles in a given MigratingVM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListReplicationCyclesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListReplicationCyclesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A pageable sequence of [ReplicationCycle](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListReplicationCyclesRequest request = new ListReplicationCyclesRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListReplicationCyclesResponse, ReplicationCycle> response = vmMigrationClient.ListReplicationCycles(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ReplicationCycle item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListReplicationCyclesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReplicationCycle item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReplicationCycle> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReplicationCycle item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReplicationCycles(MigratingVmName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListReplicationCyclesResponse, ReplicationCycle> ListReplicationCycles(MigratingVmName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ReplicationCycles in a given MigratingVM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The parent, which owns this collection of ReplicationCycles. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListReplicationCyclesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A pageable sequence of [ReplicationCycle](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    PagedEnumerable<ListReplicationCyclesResponse, ReplicationCycle> response = vmMigrationClient.ListReplicationCycles(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ReplicationCycle item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListReplicationCyclesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReplicationCycle item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReplicationCycle> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReplicationCycle item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReplicationCycles(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListReplicationCyclesResponse, ReplicationCycle> ListReplicationCycles(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ReplicationCycles in a given MigratingVM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of ReplicationCycles. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListReplicationCyclesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A pageable sequence of [ReplicationCycle](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    PagedEnumerable<ListReplicationCyclesResponse, ReplicationCycle> response = vmMigrationClient.ListReplicationCycles(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ReplicationCycle item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListReplicationCyclesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReplicationCycle item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReplicationCycle> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReplicationCycle item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReplicationCyclesAsync(ListReplicationCyclesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListReplicationCyclesResponse, ReplicationCycle> ListReplicationCyclesAsync(ListReplicationCyclesRequest request, CallSettings callSettings = null)

Lists ReplicationCycles in a given MigratingVM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListReplicationCyclesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListReplicationCyclesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A pageable asynchronous sequence of [ReplicationCycle](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListReplicationCyclesRequest request = new ListReplicationCyclesRequest
    {
        ParentAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListReplicationCyclesResponse, ReplicationCycle> response = vmMigrationClient.ListReplicationCyclesAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((ReplicationCycle item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListReplicationCyclesResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReplicationCycle item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReplicationCycle> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReplicationCycle item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReplicationCyclesAsync(MigratingVmName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListReplicationCyclesResponse, ReplicationCycle> ListReplicationCyclesAsync(MigratingVmName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ReplicationCycles in a given MigratingVM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The parent, which owns this collection of ReplicationCycles. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListReplicationCyclesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A pageable asynchronous sequence of [ReplicationCycle](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName parent = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    PagedAsyncEnumerable<ListReplicationCyclesResponse, ReplicationCycle> response = vmMigrationClient.ListReplicationCyclesAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((ReplicationCycle item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListReplicationCyclesResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReplicationCycle item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReplicationCycle> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReplicationCycle item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReplicationCyclesAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListReplicationCyclesResponse, ReplicationCycle> ListReplicationCyclesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ReplicationCycles in a given MigratingVM.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of ReplicationCycles. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListReplicationCyclesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle` | A pageable asynchronous sequence of [ReplicationCycle](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ReplicationCycle) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    PagedAsyncEnumerable<ListReplicationCyclesResponse, ReplicationCycle> response = vmMigrationClient.ListReplicationCyclesAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((ReplicationCycle item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListReplicationCyclesResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReplicationCycle item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReplicationCycle> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReplicationCycle item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSources(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListSourcesResponse, Source> ListSources(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Sources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of sources. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListSourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A pageable sequence of [Source](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListSourcesResponse, Source> response = vmMigrationClient.ListSources(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Source item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListSourcesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Source item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Source> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Source item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSources(ListSourcesRequest, CallSettings)

    public virtual PagedEnumerable<ListSourcesResponse, Source> ListSources(ListSourcesRequest request, CallSettings callSettings = null)

Lists Sources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListSourcesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListSourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A pageable sequence of [Source](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListSourcesRequest request = new ListSourcesRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListSourcesResponse, Source> response = vmMigrationClient.ListSources(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Source item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListSourcesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Source item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Source> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Source item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSources(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListSourcesResponse, Source> ListSources(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Sources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of sources. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListSourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A pageable sequence of [Source](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListSourcesResponse, Source> response = vmMigrationClient.ListSources(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Source item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListSourcesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Source item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Source> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Source item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSourcesAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListSourcesResponse, Source> ListSourcesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Sources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of sources. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListSourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A pageable asynchronous sequence of [Source](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListSourcesResponse, Source> response = vmMigrationClient.ListSourcesAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Source item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListSourcesResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Source item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Source> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Source item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSourcesAsync(ListSourcesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListSourcesResponse, Source> ListSourcesAsync(ListSourcesRequest request, CallSettings callSettings = null)

Lists Sources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListSourcesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListSourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A pageable asynchronous sequence of [Source](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListSourcesRequest request = new ListSourcesRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListSourcesResponse, Source> response = vmMigrationClient.ListSourcesAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Source item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListSourcesResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Source item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Source> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Source item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSourcesAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListSourcesResponse, Source> ListSourcesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Sources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of sources. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListSourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` | A pageable asynchronous sequence of [Source](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListSourcesResponse, Source> response = vmMigrationClient.ListSourcesAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Source item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListSourcesResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Source item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Source> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Source item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListTargetProjects(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListTargetProjectsResponse, TargetProject> ListTargetProjects(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists TargetProjects in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A pageable sequence of [TargetProject](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListTargetProjectsResponse, TargetProject> response = vmMigrationClient.ListTargetProjects(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (TargetProject item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListTargetProjectsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TargetProject item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<TargetProject> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (TargetProject item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListTargetProjects(ListTargetProjectsRequest, CallSettings)

    public virtual PagedEnumerable<ListTargetProjectsResponse, TargetProject> ListTargetProjects(ListTargetProjectsRequest request, CallSettings callSettings = null)

Lists TargetProjects in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A pageable sequence of [TargetProject](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListTargetProjectsRequest request = new ListTargetProjectsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListTargetProjectsResponse, TargetProject> response = vmMigrationClient.ListTargetProjects(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (TargetProject item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListTargetProjectsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TargetProject item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<TargetProject> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (TargetProject item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListTargetProjects(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListTargetProjectsResponse, TargetProject> ListTargetProjects(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists TargetProjects in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A pageable sequence of [TargetProject](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListTargetProjectsResponse, TargetProject> response = vmMigrationClient.ListTargetProjects(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (TargetProject item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListTargetProjectsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TargetProject item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<TargetProject> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (TargetProject item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListTargetProjectsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListTargetProjectsResponse, TargetProject> ListTargetProjectsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists TargetProjects in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A pageable asynchronous sequence of [TargetProject](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListTargetProjectsResponse, TargetProject> response = vmMigrationClient.ListTargetProjectsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((TargetProject item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListTargetProjectsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TargetProject item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<TargetProject> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (TargetProject item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListTargetProjectsAsync(ListTargetProjectsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListTargetProjectsResponse, TargetProject> ListTargetProjectsAsync(ListTargetProjectsRequest request, CallSettings callSettings = null)

Lists TargetProjects in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A pageable asynchronous sequence of [TargetProject](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListTargetProjectsRequest request = new ListTargetProjectsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListTargetProjectsResponse, TargetProject> response = vmMigrationClient.ListTargetProjectsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((TargetProject item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListTargetProjectsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TargetProject item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<TargetProject> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (TargetProject item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListTargetProjectsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListTargetProjectsResponse, TargetProject> ListTargetProjectsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists TargetProjects in a given project.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of targets. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListTargetProjectsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` | A pageable asynchronous sequence of [TargetProject](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListTargetProjectsResponse, TargetProject> response = vmMigrationClient.ListTargetProjectsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((TargetProject item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListTargetProjectsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TargetProject item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<TargetProject> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (TargetProject item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUtilizationReports(ListUtilizationReportsRequest, CallSettings)

    public virtual PagedEnumerable<ListUtilizationReportsResponse, UtilizationReport> ListUtilizationReports(ListUtilizationReportsRequest request, CallSettings callSettings = null)

Lists Utilization Reports of the given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListUtilizationReportsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListUtilizationReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A pageable sequence of [UtilizationReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ListUtilizationReportsRequest request = new ListUtilizationReportsRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        View = UtilizationReportView.Unspecified,
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListUtilizationReportsResponse, UtilizationReport> response = vmMigrationClient.ListUtilizationReports(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (UtilizationReport item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListUtilizationReportsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (UtilizationReport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<UtilizationReport> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (UtilizationReport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUtilizationReports(SourceName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListUtilizationReportsResponse, UtilizationReport> ListUtilizationReports(SourceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Utilization Reports of the given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Utilization Reports parent. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListUtilizationReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A pageable sequence of [UtilizationReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    PagedEnumerable<ListUtilizationReportsResponse, UtilizationReport> response = vmMigrationClient.ListUtilizationReports(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (UtilizationReport item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListUtilizationReportsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (UtilizationReport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<UtilizationReport> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (UtilizationReport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUtilizationReports(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListUtilizationReportsResponse, UtilizationReport> ListUtilizationReports(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Utilization Reports of the given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Reports parent. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListUtilizationReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A pageable sequence of [UtilizationReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    PagedEnumerable<ListUtilizationReportsResponse, UtilizationReport> response = vmMigrationClient.ListUtilizationReports(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (UtilizationReport item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListUtilizationReportsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (UtilizationReport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<UtilizationReport> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (UtilizationReport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUtilizationReportsAsync(ListUtilizationReportsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListUtilizationReportsResponse, UtilizationReport> ListUtilizationReportsAsync(ListUtilizationReportsRequest request, CallSettings callSettings = null)

Lists Utilization Reports of the given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListUtilizationReportsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListUtilizationReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A pageable asynchronous sequence of [UtilizationReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ListUtilizationReportsRequest request = new ListUtilizationReportsRequest
    {
        ParentAsSourceName = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]"),
        View = UtilizationReportView.Unspecified,
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListUtilizationReportsResponse, UtilizationReport> response = vmMigrationClient.ListUtilizationReportsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((UtilizationReport item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListUtilizationReportsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (UtilizationReport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<UtilizationReport> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (UtilizationReport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUtilizationReportsAsync(SourceName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListUtilizationReportsResponse, UtilizationReport> ListUtilizationReportsAsync(SourceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Utilization Reports of the given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName` Required. The Utilization Reports parent. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListUtilizationReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A pageable asynchronous sequence of [UtilizationReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    SourceName parent = SourceName.FromProjectLocationSource("[PROJECT]", "[LOCATION]", "[SOURCE]");
    // Make the request
    PagedAsyncEnumerable<ListUtilizationReportsResponse, UtilizationReport> response = vmMigrationClient.ListUtilizationReportsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((UtilizationReport item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListUtilizationReportsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (UtilizationReport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<UtilizationReport> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (UtilizationReport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUtilizationReportsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListUtilizationReportsResponse, UtilizationReport> ListUtilizationReportsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Utilization Reports of the given Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Utilization Reports parent. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ListUtilizationReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport` | A pageable asynchronous sequence of [UtilizationReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReport) resources. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]";
    // Make the request
    PagedAsyncEnumerable<ListUtilizationReportsResponse, UtilizationReport> response = vmMigrationClient.ListUtilizationReportsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((UtilizationReport item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListUtilizationReportsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (UtilizationReport item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<UtilizationReport> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (UtilizationReport item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### PauseMigration(PauseMigrationRequest, CallSettings)

    public virtual Operation<PauseMigrationResponse, OperationMetadata> PauseMigration(PauseMigrationRequest request, CallSettings callSettings = null)

Pauses a migration for a VM. If cycle tasks are running they will be
cancelled, preserving source task data. Further replication cycles will not
be triggered while the VM is paused.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.PauseMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.PauseMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    PauseMigrationRequest request = new PauseMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<PauseMigrationResponse, OperationMetadata> response = vmMigrationClient.PauseMigration(request);

    // Poll until the returned long-running operation is complete
    Operation<PauseMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    PauseMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<PauseMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOncePauseMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        PauseMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### PauseMigrationAsync(PauseMigrationRequest, CallSettings)

    public virtual Task<Operation<PauseMigrationResponse, OperationMetadata>> PauseMigrationAsync(PauseMigrationRequest request, CallSettings callSettings = null)

Pauses a migration for a VM. If cycle tasks are running they will be
cancelled, preserving source task data. Further replication cycles will not
be triggered while the VM is paused.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.PauseMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.PauseMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    PauseMigrationRequest request = new PauseMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<PauseMigrationResponse, OperationMetadata> response = await vmMigrationClient.PauseMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<PauseMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    PauseMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<PauseMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOncePauseMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        PauseMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### PauseMigrationAsync(PauseMigrationRequest, CancellationToken)

    public virtual Task<Operation<PauseMigrationResponse, OperationMetadata>> PauseMigrationAsync(PauseMigrationRequest request, CancellationToken cancellationToken)

Pauses a migration for a VM. If cycle tasks are running they will be
cancelled, preserving source task data. Further replication cycles will not
be triggered while the VM is paused.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.PauseMigrationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.PauseMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    PauseMigrationRequest request = new PauseMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<PauseMigrationResponse, OperationMetadata> response = await vmMigrationClient.PauseMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<PauseMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    PauseMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<PauseMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOncePauseMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        PauseMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### PollOnceAddGroupMigration(string, CallSettings)

    public virtual Operation<AddGroupMigrationResponse, OperationMetadata> PollOnceAddGroupMigration(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `AddGroupMigration`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceAddGroupMigrationAsync(string, CallSettings)

    public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> PollOnceAddGroupMigrationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`AddGroupMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AddGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCancelCloneJob(string, CallSettings)

    public virtual Operation<CancelCloneJobResponse, OperationMetadata> PollOnceCancelCloneJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CancelCloneJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCancelCloneJobAsync(string, CallSettings)

    public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> PollOnceCancelCloneJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CancelCloneJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCloneJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCancelCutoverJob(string, CallSettings)

    public virtual Operation<CancelCutoverJobResponse, OperationMetadata> PollOnceCancelCutoverJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CancelCutoverJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCancelCutoverJobAsync(string, CallSettings)

    public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> PollOnceCancelCutoverJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CancelCutoverJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelCutoverJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCancelDiskMigrationJob(string, CallSettings)

    public virtual Operation<CancelDiskMigrationJobResponse, OperationMetadata> PollOnceCancelDiskMigrationJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CancelDiskMigrationJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCancelDiskMigrationJobAsync(string, CallSettings)

    public virtual Task<Operation<CancelDiskMigrationJobResponse, OperationMetadata>> PollOnceCancelDiskMigrationJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CancelDiskMigrationJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCancelImageImportJob(string, CallSettings)

    public virtual Operation<CancelImageImportJobResponse, OperationMetadata> PollOnceCancelImageImportJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CancelImageImportJob`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCancelImageImportJobAsync(string, CallSettings)

    public virtual Task<Operation<CancelImageImportJobResponse, OperationMetadata>> PollOnceCancelImageImportJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CancelImageImportJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CancelImageImportJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateCloneJob(string, CallSettings)

    public virtual Operation<CloneJob, OperationMetadata> PollOnceCreateCloneJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateCloneJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateCloneJobAsync(string, CallSettings)

    public virtual Task<Operation<CloneJob, OperationMetadata>> PollOnceCreateCloneJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateCloneJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CloneJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateCutoverJob(string, CallSettings)

    public virtual Operation<CutoverJob, OperationMetadata> PollOnceCreateCutoverJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateCutoverJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateCutoverJobAsync(string, CallSettings)

    public virtual Task<Operation<CutoverJob, OperationMetadata>> PollOnceCreateCutoverJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateCutoverJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CutoverJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateDatacenterConnector(string, CallSettings)

    public virtual Operation<DatacenterConnector, OperationMetadata> PollOnceCreateDatacenterConnector(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateDatacenterConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateDatacenterConnectorAsync(string, CallSettings)

    public virtual Task<Operation<DatacenterConnector, OperationMetadata>> PollOnceCreateDatacenterConnectorAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateDatacenterConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DatacenterConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateDiskMigrationJob(string, CallSettings)

    public virtual Operation<DiskMigrationJob, OperationMetadata> PollOnceCreateDiskMigrationJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateDiskMigrationJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateDiskMigrationJobAsync(string, CallSettings)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> PollOnceCreateDiskMigrationJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateDiskMigrationJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateGroup(string, CallSettings)

    public virtual Operation<Group, OperationMetadata> PollOnceCreateGroup(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateGroup`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateGroupAsync(string, CallSettings)

    public virtual Task<Operation<Group, OperationMetadata>> PollOnceCreateGroupAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateGroup`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateImageImport(string, CallSettings)

    public virtual Operation<ImageImport, OperationMetadata> PollOnceCreateImageImport(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateImageImport`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateImageImportAsync(string, CallSettings)

    public virtual Task<Operation<ImageImport, OperationMetadata>> PollOnceCreateImageImportAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateImageImport`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ImageImporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateMigratingVm(string, CallSettings)

    public virtual Operation<MigratingVm, OperationMetadata> PollOnceCreateMigratingVm(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateMigratingVm`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateMigratingVmAsync(string, CallSettings)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> PollOnceCreateMigratingVmAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateMigratingVm`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateSource(string, CallSettings)

    public virtual Operation<Source, OperationMetadata> PollOnceCreateSource(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateSource`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateSourceAsync(string, CallSettings)

    public virtual Task<Operation<Source, OperationMetadata>> PollOnceCreateSourceAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateSource`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateTargetProject(string, CallSettings)

    public virtual Operation<TargetProject, OperationMetadata> PollOnceCreateTargetProject(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateTargetProject`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateTargetProjectAsync(string, CallSettings)

    public virtual Task<Operation<TargetProject, OperationMetadata>> PollOnceCreateTargetProjectAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateTargetProject`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateUtilizationReport(string, CallSettings)

    public virtual Operation<UtilizationReport, OperationMetadata> PollOnceCreateUtilizationReport(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateUtilizationReport`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateUtilizationReportAsync(string, CallSettings)

    public virtual Task<Operation<UtilizationReport, OperationMetadata>> PollOnceCreateUtilizationReportAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateUtilizationReport`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UtilizationReporthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteDatacenterConnector(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDatacenterConnector(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`DeleteDatacenterConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteDatacenterConnectorAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteDatacenterConnectorAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteDatacenterConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteDiskMigrationJob(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDiskMigrationJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`DeleteDiskMigrationJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteDiskMigrationJobAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteDiskMigrationJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteDiskMigrationJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteGroup(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteGroup(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteGroup`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteGroupAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteGroupAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteGroup`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteImageImport(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteImageImport(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteImageImport`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteImageImportAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteImageImportAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteImageImport`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteMigratingVm(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteMigratingVm(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteMigratingVm`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteMigratingVmAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteMigratingVmAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteMigratingVm`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteSource(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteSource(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteSource`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteSourceAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteSourceAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteSource`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteTargetProject(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteTargetProject(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteTargetProject`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteTargetProjectAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteTargetProjectAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteTargetProject`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteUtilizationReport(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteUtilizationReport(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`DeleteUtilizationReport`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteUtilizationReportAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteUtilizationReportAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteUtilizationReport`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceExtendMigration(string, CallSettings)

    public virtual Operation<ExtendMigrationResponse, OperationMetadata> PollOnceExtendMigration(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `ExtendMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ExtendMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceExtendMigrationAsync(string, CallSettings)

    public virtual Task<Operation<ExtendMigrationResponse, OperationMetadata>> PollOnceExtendMigrationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`ExtendMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ExtendMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceFinalizeMigration(string, CallSettings)

    public virtual Operation<FinalizeMigrationResponse, OperationMetadata> PollOnceFinalizeMigration(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `FinalizeMigration`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceFinalizeMigrationAsync(string, CallSettings)

    public virtual Task<Operation<FinalizeMigrationResponse, OperationMetadata>> PollOnceFinalizeMigrationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`FinalizeMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.FinalizeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOncePauseMigration(string, CallSettings)

    public virtual Operation<PauseMigrationResponse, OperationMetadata> PollOncePauseMigration(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `PauseMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.PauseMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOncePauseMigrationAsync(string, CallSettings)

    public virtual Task<Operation<PauseMigrationResponse, OperationMetadata>> PollOncePauseMigrationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`PauseMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.PauseMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceRemoveGroupMigration(string, CallSettings)

    public virtual Operation<RemoveGroupMigrationResponse, OperationMetadata> PollOnceRemoveGroupMigration(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `RemoveGroupMigration`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceRemoveGroupMigrationAsync(string, CallSettings)

    public virtual Task<Operation<RemoveGroupMigrationResponse, OperationMetadata>> PollOnceRemoveGroupMigrationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`RemoveGroupMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceResumeMigration(string, CallSettings)

    public virtual Operation<ResumeMigrationResponse, OperationMetadata> PollOnceResumeMigration(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `ResumeMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ResumeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceResumeMigrationAsync(string, CallSettings)

    public virtual Task<Operation<ResumeMigrationResponse, OperationMetadata>> PollOnceResumeMigrationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`ResumeMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ResumeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceRunDiskMigrationJob(string, CallSettings)

    public virtual Operation<RunDiskMigrationJobResponse, OperationMetadata> PollOnceRunDiskMigrationJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `RunDiskMigrationJob`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceRunDiskMigrationJobAsync(string, CallSettings)

    public virtual Task<Operation<RunDiskMigrationJobResponse, OperationMetadata>> PollOnceRunDiskMigrationJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`RunDiskMigrationJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceStartMigration(string, CallSettings)

    public virtual Operation<StartMigrationResponse, OperationMetadata> PollOnceStartMigration(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `StartMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceStartMigrationAsync(string, CallSettings)

    public virtual Task<Operation<StartMigrationResponse, OperationMetadata>> PollOnceStartMigrationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`StartMigration`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateDiskMigrationJob(string, CallSettings)

    public virtual Operation<DiskMigrationJob, OperationMetadata> PollOnceUpdateDiskMigrationJob(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`UpdateDiskMigrationJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateDiskMigrationJobAsync(string, CallSettings)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> PollOnceUpdateDiskMigrationJobAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateDiskMigrationJob`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateGroup(string, CallSettings)

    public virtual Operation<Group, OperationMetadata> PollOnceUpdateGroup(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateGroup`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateGroupAsync(string, CallSettings)

    public virtual Task<Operation<Group, OperationMetadata>> PollOnceUpdateGroupAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateGroup`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateMigratingVm(string, CallSettings)

    public virtual Operation<MigratingVm, OperationMetadata> PollOnceUpdateMigratingVm(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateMigratingVm`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateMigratingVmAsync(string, CallSettings)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> PollOnceUpdateMigratingVmAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateMigratingVm`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateSource(string, CallSettings)

    public virtual Operation<Source, OperationMetadata> PollOnceUpdateSource(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateSource`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateSourceAsync(string, CallSettings)

    public virtual Task<Operation<Source, OperationMetadata>> PollOnceUpdateSourceAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateSource`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateTargetProject(string, CallSettings)

    public virtual Operation<TargetProject, OperationMetadata> PollOnceUpdateTargetProject(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateTargetProject`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateTargetProjectAsync(string, CallSettings)

    public virtual Task<Operation<TargetProject, OperationMetadata>> PollOnceUpdateTargetProjectAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateTargetProject`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpgradeAppliance(string, CallSettings)

    public virtual Operation<UpgradeApplianceResponse, OperationMetadata> PollOnceUpgradeAppliance(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpgradeAppliance`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpgradeApplianceResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpgradeApplianceAsync(string, CallSettings)

    public virtual Task<Operation<UpgradeApplianceResponse, OperationMetadata>> PollOnceUpgradeApplianceAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpgradeAppliance`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpgradeApplianceResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A task representing the result of polling the operation. |

### RemoveGroupMigration(GroupName, CallSettings)

    public virtual Operation<RemoveGroupMigrationResponse, OperationMetadata> RemoveGroupMigration(GroupName group, CallSettings callSettings = null)

Removes a MigratingVm from a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The name of the Group. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    GroupName group = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Operation<RemoveGroupMigrationResponse, OperationMetadata> response = vmMigrationClient.RemoveGroupMigration(group);

    // Poll until the returned long-running operation is complete
    Operation<RemoveGroupMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    RemoveGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RemoveGroupMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceRemoveGroupMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RemoveGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### RemoveGroupMigration(RemoveGroupMigrationRequest, CallSettings)

    public virtual Operation<RemoveGroupMigrationResponse, OperationMetadata> RemoveGroupMigration(RemoveGroupMigrationRequest request, CallSettings callSettings = null)

Removes a MigratingVm from a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    RemoveGroupMigrationRequest request = new RemoveGroupMigrationRequest
    {
        GroupAsGroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<RemoveGroupMigrationResponse, OperationMetadata> response = vmMigrationClient.RemoveGroupMigration(request);

    // Poll until the returned long-running operation is complete
    Operation<RemoveGroupMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    RemoveGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RemoveGroupMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceRemoveGroupMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RemoveGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### RemoveGroupMigration(string, CallSettings)

    public virtual Operation<RemoveGroupMigrationResponse, OperationMetadata> RemoveGroupMigration(string group, CallSettings callSettings = null)

Removes a MigratingVm from a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Group. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string group = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Operation<RemoveGroupMigrationResponse, OperationMetadata> response = vmMigrationClient.RemoveGroupMigration(group);

    // Poll until the returned long-running operation is complete
    Operation<RemoveGroupMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    RemoveGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RemoveGroupMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceRemoveGroupMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RemoveGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### RemoveGroupMigrationAsync(GroupName, CallSettings)

    public virtual Task<Operation<RemoveGroupMigrationResponse, OperationMetadata>> RemoveGroupMigrationAsync(GroupName group, CallSettings callSettings = null)

Removes a MigratingVm from a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The name of the Group. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GroupName group = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Operation<RemoveGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.RemoveGroupMigrationAsync(group);

    // Poll until the returned long-running operation is complete
    Operation<RemoveGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RemoveGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RemoveGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRemoveGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RemoveGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### RemoveGroupMigrationAsync(GroupName, CancellationToken)

    public virtual Task<Operation<RemoveGroupMigrationResponse, OperationMetadata>> RemoveGroupMigrationAsync(GroupName group, CancellationToken cancellationToken)

Removes a MigratingVm from a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.GroupName` Required. The name of the Group. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    GroupName group = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
    // Make the request
    Operation<RemoveGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.RemoveGroupMigrationAsync(group);

    // Poll until the returned long-running operation is complete
    Operation<RemoveGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RemoveGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RemoveGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRemoveGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RemoveGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### RemoveGroupMigrationAsync(RemoveGroupMigrationRequest, CallSettings)

    public virtual Task<Operation<RemoveGroupMigrationResponse, OperationMetadata>> RemoveGroupMigrationAsync(RemoveGroupMigrationRequest request, CallSettings callSettings = null)

Removes a MigratingVm from a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    RemoveGroupMigrationRequest request = new RemoveGroupMigrationRequest
    {
        GroupAsGroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<RemoveGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.RemoveGroupMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<RemoveGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RemoveGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RemoveGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRemoveGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RemoveGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### RemoveGroupMigrationAsync(RemoveGroupMigrationRequest, CancellationToken)

    public virtual Task<Operation<RemoveGroupMigrationResponse, OperationMetadata>> RemoveGroupMigrationAsync(RemoveGroupMigrationRequest request, CancellationToken cancellationToken)

Removes a MigratingVm from a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    RemoveGroupMigrationRequest request = new RemoveGroupMigrationRequest
    {
        GroupAsGroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<RemoveGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.RemoveGroupMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<RemoveGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RemoveGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RemoveGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRemoveGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RemoveGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### RemoveGroupMigrationAsync(string, CallSettings)

    public virtual Task<Operation<RemoveGroupMigrationResponse, OperationMetadata>> RemoveGroupMigrationAsync(string group, CallSettings callSettings = null)

Removes a MigratingVm from a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Group. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string group = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Operation<RemoveGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.RemoveGroupMigrationAsync(group);

    // Poll until the returned long-running operation is complete
    Operation<RemoveGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RemoveGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RemoveGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRemoveGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RemoveGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### RemoveGroupMigrationAsync(string, CancellationToken)

    public virtual Task<Operation<RemoveGroupMigrationResponse, OperationMetadata>> RemoveGroupMigrationAsync(string group, CancellationToken cancellationToken)

Removes a MigratingVm from a Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Group. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RemoveGroupMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string group = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
    // Make the request
    Operation<RemoveGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.RemoveGroupMigrationAsync(group);

    // Poll until the returned long-running operation is complete
    Operation<RemoveGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RemoveGroupMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RemoveGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRemoveGroupMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RemoveGroupMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### ResumeMigration(ResumeMigrationRequest, CallSettings)

    public virtual Operation<ResumeMigrationResponse, OperationMetadata> ResumeMigration(ResumeMigrationRequest request, CallSettings callSettings = null)

Resumes a migration for a VM. When called on a paused migration, will start
the process of uploading data and creating snapshots; when called on a
completed cut-over migration, will update the migration to active state and
start the process of uploading data and creating snapshots.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ResumeMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ResumeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    ResumeMigrationRequest request = new ResumeMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<ResumeMigrationResponse, OperationMetadata> response = vmMigrationClient.ResumeMigration(request);

    // Poll until the returned long-running operation is complete
    Operation<ResumeMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ResumeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ResumeMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceResumeMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ResumeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### ResumeMigrationAsync(ResumeMigrationRequest, CallSettings)

    public virtual Task<Operation<ResumeMigrationResponse, OperationMetadata>> ResumeMigrationAsync(ResumeMigrationRequest request, CallSettings callSettings = null)

Resumes a migration for a VM. When called on a paused migration, will start
the process of uploading data and creating snapshots; when called on a
completed cut-over migration, will update the migration to active state and
start the process of uploading data and creating snapshots.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ResumeMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ResumeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ResumeMigrationRequest request = new ResumeMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<ResumeMigrationResponse, OperationMetadata> response = await vmMigrationClient.ResumeMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ResumeMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ResumeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ResumeMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceResumeMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ResumeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### ResumeMigrationAsync(ResumeMigrationRequest, CancellationToken)

    public virtual Task<Operation<ResumeMigrationResponse, OperationMetadata>> ResumeMigrationAsync(ResumeMigrationRequest request, CancellationToken cancellationToken)

Resumes a migration for a VM. When called on a paused migration, will start
the process of uploading data and creating snapshots; when called on a
completed cut-over migration, will update the migration to active state and
start the process of uploading data and creating snapshots.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ResumeMigrationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ResumeMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    ResumeMigrationRequest request = new ResumeMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<ResumeMigrationResponse, OperationMetadata> response = await vmMigrationClient.ResumeMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ResumeMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ResumeMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ResumeMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceResumeMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ResumeMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### RunDiskMigrationJob(DiskMigrationJobName, CallSettings)

    public virtual Operation<RunDiskMigrationJobResponse, OperationMetadata> RunDiskMigrationJob(DiskMigrationJobName name, CallSettings callSettings = null)

Runs the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DiskMigrationJobName name = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]");
    // Make the request
    Operation<RunDiskMigrationJobResponse, OperationMetadata> response = vmMigrationClient.RunDiskMigrationJob(name);

    // Poll until the returned long-running operation is complete
    Operation<RunDiskMigrationJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    RunDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RunDiskMigrationJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceRunDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RunDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### RunDiskMigrationJob(RunDiskMigrationJobRequest, CallSettings)

    public virtual Operation<RunDiskMigrationJobResponse, OperationMetadata> RunDiskMigrationJob(RunDiskMigrationJobRequest request, CallSettings callSettings = null)

Runs the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    RunDiskMigrationJobRequest request = new RunDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    Operation<RunDiskMigrationJobResponse, OperationMetadata> response = vmMigrationClient.RunDiskMigrationJob(request);

    // Poll until the returned long-running operation is complete
    Operation<RunDiskMigrationJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    RunDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RunDiskMigrationJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceRunDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RunDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### RunDiskMigrationJob(string, CallSettings)

    public virtual Operation<RunDiskMigrationJobResponse, OperationMetadata> RunDiskMigrationJob(string name, CallSettings callSettings = null)

Runs the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/diskMigrationJobs/[DISK_MIGRATION_JOB]";
    // Make the request
    Operation<RunDiskMigrationJobResponse, OperationMetadata> response = vmMigrationClient.RunDiskMigrationJob(name);

    // Poll until the returned long-running operation is complete
    Operation<RunDiskMigrationJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    RunDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RunDiskMigrationJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceRunDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RunDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### RunDiskMigrationJobAsync(DiskMigrationJobName, CallSettings)

    public virtual Task<Operation<RunDiskMigrationJobResponse, OperationMetadata>> RunDiskMigrationJobAsync(DiskMigrationJobName name, CallSettings callSettings = null)

Runs the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DiskMigrationJobName name = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]");
    // Make the request
    Operation<RunDiskMigrationJobResponse, OperationMetadata> response = await vmMigrationClient.RunDiskMigrationJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<RunDiskMigrationJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RunDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RunDiskMigrationJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRunDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RunDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### RunDiskMigrationJobAsync(DiskMigrationJobName, CancellationToken)

    public virtual Task<Operation<RunDiskMigrationJobResponse, OperationMetadata>> RunDiskMigrationJobAsync(DiskMigrationJobName name, CancellationToken cancellationToken)

Runs the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobName` Required. The name of the DiskMigrationJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DiskMigrationJobName name = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]");
    // Make the request
    Operation<RunDiskMigrationJobResponse, OperationMetadata> response = await vmMigrationClient.RunDiskMigrationJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<RunDiskMigrationJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RunDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RunDiskMigrationJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRunDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RunDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### RunDiskMigrationJobAsync(RunDiskMigrationJobRequest, CallSettings)

    public virtual Task<Operation<RunDiskMigrationJobResponse, OperationMetadata>> RunDiskMigrationJobAsync(RunDiskMigrationJobRequest request, CallSettings callSettings = null)

Runs the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    RunDiskMigrationJobRequest request = new RunDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    Operation<RunDiskMigrationJobResponse, OperationMetadata> response = await vmMigrationClient.RunDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<RunDiskMigrationJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RunDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RunDiskMigrationJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRunDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RunDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### RunDiskMigrationJobAsync(RunDiskMigrationJobRequest, CancellationToken)

    public virtual Task<Operation<RunDiskMigrationJobResponse, OperationMetadata>> RunDiskMigrationJobAsync(RunDiskMigrationJobRequest request, CancellationToken cancellationToken)

Runs the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    RunDiskMigrationJobRequest request = new RunDiskMigrationJobRequest
    {
        DiskMigrationJobName = DiskMigrationJobName.FromProjectLocationSourceDiskMigrationJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DISK_MIGRATION_JOB]"),
    };
    // Make the request
    Operation<RunDiskMigrationJobResponse, OperationMetadata> response = await vmMigrationClient.RunDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<RunDiskMigrationJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RunDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RunDiskMigrationJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRunDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RunDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### RunDiskMigrationJobAsync(string, CallSettings)

    public virtual Task<Operation<RunDiskMigrationJobResponse, OperationMetadata>> RunDiskMigrationJobAsync(string name, CallSettings callSettings = null)

Runs the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DiskMigrationJob. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/diskMigrationJobs/[DISK_MIGRATION_JOB]";
    // Make the request
    Operation<RunDiskMigrationJobResponse, OperationMetadata> response = await vmMigrationClient.RunDiskMigrationJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<RunDiskMigrationJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RunDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RunDiskMigrationJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRunDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RunDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### RunDiskMigrationJobAsync(string, CancellationToken)

    public virtual Task<Operation<RunDiskMigrationJobResponse, OperationMetadata>> RunDiskMigrationJobAsync(string name, CancellationToken cancellationToken)

Runs the disk migration job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the DiskMigrationJob. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.RunDiskMigrationJobResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/diskMigrationJobs/[DISK_MIGRATION_JOB]";
    // Make the request
    Operation<RunDiskMigrationJobResponse, OperationMetadata> response = await vmMigrationClient.RunDiskMigrationJobAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<RunDiskMigrationJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    RunDiskMigrationJobResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<RunDiskMigrationJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceRunDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        RunDiskMigrationJobResponse retrievedResult = retrievedResponse.Result;
    }

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient#Google_Cloud_VMMigration_V1_VmMigrationClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient#Google_Cloud_VMMigration_V1_VmMigrationClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient#Google_Cloud_VMMigration_V1_VmMigrationClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.VmMigrationClient#Google_Cloud_VMMigration_V1_VmMigrationClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### StartMigration(MigratingVmName, CallSettings)

    public virtual Operation<StartMigrationResponse, OperationMetadata> StartMigration(MigratingVmName migratingVm, CallSettings callSettings = null)

Starts migration for a VM. Starts the process of uploading
data and creating snapshots, in replication cycles scheduled by the policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVmName migratingVm = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    Operation<StartMigrationResponse, OperationMetadata> response = vmMigrationClient.StartMigration(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<StartMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    StartMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<StartMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceStartMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        StartMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### StartMigration(StartMigrationRequest, CallSettings)

    public virtual Operation<StartMigrationResponse, OperationMetadata> StartMigration(StartMigrationRequest request, CallSettings callSettings = null)

Starts migration for a VM. Starts the process of uploading
data and creating snapshots, in replication cycles scheduled by the policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    StartMigrationRequest request = new StartMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<StartMigrationResponse, OperationMetadata> response = vmMigrationClient.StartMigration(request);

    // Poll until the returned long-running operation is complete
    Operation<StartMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    StartMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<StartMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceStartMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        StartMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### StartMigration(string, CallSettings)

    public virtual Operation<StartMigrationResponse, OperationMetadata> StartMigration(string migratingVm, CallSettings callSettings = null)

Starts migration for a VM. Starts the process of uploading
data and creating snapshots, in replication cycles scheduled by the policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    string migratingVm = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    Operation<StartMigrationResponse, OperationMetadata> response = vmMigrationClient.StartMigration(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<StartMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    StartMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<StartMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceStartMigration(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        StartMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### StartMigrationAsync(MigratingVmName, CallSettings)

    public virtual Task<Operation<StartMigrationResponse, OperationMetadata>> StartMigrationAsync(MigratingVmName migratingVm, CallSettings callSettings = null)

Starts migration for a VM. Starts the process of uploading
data and creating snapshots, in replication cycles scheduled by the policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName migratingVm = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    Operation<StartMigrationResponse, OperationMetadata> response = await vmMigrationClient.StartMigrationAsync(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<StartMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    StartMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<StartMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceStartMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        StartMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### StartMigrationAsync(MigratingVmName, CancellationToken)

    public virtual Task<Operation<StartMigrationResponse, OperationMetadata>> StartMigrationAsync(MigratingVmName migratingVm, CancellationToken cancellationToken)

Starts migration for a VM. Starts the process of uploading
data and creating snapshots, in replication cycles scheduled by the policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmName` Required. The name of the MigratingVm. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVmName migratingVm = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]");
    // Make the request
    Operation<StartMigrationResponse, OperationMetadata> response = await vmMigrationClient.StartMigrationAsync(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<StartMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    StartMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<StartMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceStartMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        StartMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### StartMigrationAsync(StartMigrationRequest, CallSettings)

    public virtual Task<Operation<StartMigrationResponse, OperationMetadata>> StartMigrationAsync(StartMigrationRequest request, CallSettings callSettings = null)

Starts migration for a VM. Starts the process of uploading
data and creating snapshots, in replication cycles scheduled by the policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    StartMigrationRequest request = new StartMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<StartMigrationResponse, OperationMetadata> response = await vmMigrationClient.StartMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<StartMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    StartMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<StartMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceStartMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        StartMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### StartMigrationAsync(StartMigrationRequest, CancellationToken)

    public virtual Task<Operation<StartMigrationResponse, OperationMetadata>> StartMigrationAsync(StartMigrationRequest request, CancellationToken cancellationToken)

Starts migration for a VM. Starts the process of uploading
data and creating snapshots, in replication cycles scheduled by the policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    StartMigrationRequest request = new StartMigrationRequest
    {
        MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
    };
    // Make the request
    Operation<StartMigrationResponse, OperationMetadata> response = await vmMigrationClient.StartMigrationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<StartMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    StartMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<StartMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceStartMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        StartMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### StartMigrationAsync(string, CallSettings)

    public virtual Task<Operation<StartMigrationResponse, OperationMetadata>> StartMigrationAsync(string migratingVm, CallSettings callSettings = null)

Starts migration for a VM. Starts the process of uploading
data and creating snapshots, in replication cycles scheduled by the policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string migratingVm = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    Operation<StartMigrationResponse, OperationMetadata> response = await vmMigrationClient.StartMigrationAsync(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<StartMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    StartMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<StartMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceStartMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        StartMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### StartMigrationAsync(string, CancellationToken)

    public virtual Task<Operation<StartMigrationResponse, OperationMetadata>> StartMigrationAsync(string migratingVm, CancellationToken cancellationToken)

Starts migration for a VM. Starts the process of uploading
data and creating snapshots, in replication cycles scheduled by the policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the MigratingVm. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.StartMigrationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    string migratingVm = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]";
    // Make the request
    Operation<StartMigrationResponse, OperationMetadata> response = await vmMigrationClient.StartMigrationAsync(migratingVm);

    // Poll until the returned long-running operation is complete
    Operation<StartMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    StartMigrationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<StartMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceStartMigrationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        StartMigrationResponse retrievedResult = retrievedResponse.Result;
    }

### UpdateDiskMigrationJob(DiskMigrationJob, FieldMask, CallSettings)

    public virtual Operation<DiskMigrationJob, OperationMetadata> UpdateDiskMigrationJob(DiskMigrationJob diskMigrationJob, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `diskMigrationJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. Field mask is used to specify the fields to be overwritten in the DiskMigrationJob 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 a mask equivalent to all fields that are populated (have a non-empty value), will be implied. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    DiskMigrationJob diskMigrationJob = new DiskMigrationJob();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = vmMigrationClient.UpdateDiskMigrationJob(diskMigrationJob, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### UpdateDiskMigrationJob(UpdateDiskMigrationJobRequest, CallSettings)

    public virtual Operation<DiskMigrationJob, OperationMetadata> UpdateDiskMigrationJob(UpdateDiskMigrationJobRequest request, CallSettings callSettings = null)

Updates the parameters of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    UpdateDiskMigrationJobRequest request = new UpdateDiskMigrationJobRequest
    {
        UpdateMask = new FieldMask(),
        DiskMigrationJob = new DiskMigrationJob(),
        RequestId = "",
    };
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = vmMigrationClient.UpdateDiskMigrationJob(request);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateDiskMigrationJob(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### UpdateDiskMigrationJobAsync(DiskMigrationJob, FieldMask, CallSettings)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> UpdateDiskMigrationJobAsync(DiskMigrationJob diskMigrationJob, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `diskMigrationJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. Field mask is used to specify the fields to be overwritten in the DiskMigrationJob 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 a mask equivalent to all fields that are populated (have a non-empty value), will be implied. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DiskMigrationJob diskMigrationJob = new DiskMigrationJob();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.UpdateDiskMigrationJobAsync(diskMigrationJob, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### UpdateDiskMigrationJobAsync(DiskMigrationJob, FieldMask, CancellationToken)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> UpdateDiskMigrationJobAsync(DiskMigrationJob diskMigrationJob, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `diskMigrationJob` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJob` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. Field mask is used to specify the fields to be overwritten in the DiskMigrationJob 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 a mask equivalent to all fields that are populated (have a non-empty value), will be implied. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    DiskMigrationJob diskMigrationJob = new DiskMigrationJob();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.UpdateDiskMigrationJobAsync(diskMigrationJob, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### UpdateDiskMigrationJobAsync(UpdateDiskMigrationJobRequest, CallSettings)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> UpdateDiskMigrationJobAsync(UpdateDiskMigrationJobRequest request, CallSettings callSettings = null)

Updates the parameters of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateDiskMigrationJobRequest request = new UpdateDiskMigrationJobRequest
    {
        UpdateMask = new FieldMask(),
        DiskMigrationJob = new DiskMigrationJob(),
        RequestId = "",
    };
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.UpdateDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### UpdateDiskMigrationJobAsync(UpdateDiskMigrationJobRequest, CancellationToken)

    public virtual Task<Operation<DiskMigrationJob, OperationMetadata>> UpdateDiskMigrationJobAsync(UpdateDiskMigrationJobRequest request, CancellationToken cancellationToken)

Updates the parameters of a single DiskMigrationJob.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateDiskMigrationJobRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.DiskMigrationJobhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateDiskMigrationJobRequest request = new UpdateDiskMigrationJobRequest
    {
        UpdateMask = new FieldMask(),
        DiskMigrationJob = new DiskMigrationJob(),
        RequestId = "",
    };
    // Make the request
    Operation<DiskMigrationJob, OperationMetadata> response = await vmMigrationClient.UpdateDiskMigrationJobAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DiskMigrationJob, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DiskMigrationJob result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DiskMigrationJob, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateDiskMigrationJobAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DiskMigrationJob retrievedResult = retrievedResponse.Result;
    }

### UpdateGroup(Group, FieldMask, CallSettings)

    public virtual Operation<Group, OperationMetadata> UpdateGroup(Group group, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Group 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. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    Group group = new Group();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Group, OperationMetadata> response = vmMigrationClient.UpdateGroup(group, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### UpdateGroup(UpdateGroupRequest, CallSettings)

    public virtual Operation<Group, OperationMetadata> UpdateGroup(UpdateGroupRequest request, CallSettings callSettings = null)

Updates the parameters of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    UpdateGroupRequest request = new UpdateGroupRequest
    {
        UpdateMask = new FieldMask(),
        Group = new Group(),
        RequestId = "",
    };
    // Make the request
    Operation<Group, OperationMetadata> response = vmMigrationClient.UpdateGroup(request);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### UpdateGroupAsync(Group, FieldMask, CallSettings)

    public virtual Task<Operation<Group, OperationMetadata>> UpdateGroupAsync(Group group, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Group 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. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    Group group = new Group();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.UpdateGroupAsync(group, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### UpdateGroupAsync(Group, FieldMask, CancellationToken)

    public virtual Task<Operation<Group, OperationMetadata>> UpdateGroupAsync(Group group, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `group` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Group` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Group 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. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    Group group = new Group();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.UpdateGroupAsync(group, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### UpdateGroupAsync(UpdateGroupRequest, CallSettings)

    public virtual Task<Operation<Group, OperationMetadata>> UpdateGroupAsync(UpdateGroupRequest request, CallSettings callSettings = null)

Updates the parameters of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateGroupRequest request = new UpdateGroupRequest
    {
        UpdateMask = new FieldMask(),
        Group = new Group(),
        RequestId = "",
    };
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.UpdateGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### UpdateGroupAsync(UpdateGroupRequest, CancellationToken)

    public virtual Task<Operation<Group, OperationMetadata>> UpdateGroupAsync(UpdateGroupRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Group.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Grouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateGroupRequest request = new UpdateGroupRequest
    {
        UpdateMask = new FieldMask(),
        Group = new Group(),
        RequestId = "",
    };
    // Make the request
    Operation<Group, OperationMetadata> response = await vmMigrationClient.UpdateGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Group, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Group result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Group, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Group retrievedResult = retrievedResponse.Result;
    }

### UpdateMigratingVm(MigratingVm, FieldMask, CallSettings)

    public virtual Operation<MigratingVm, OperationMetadata> UpdateMigratingVm(MigratingVm migratingVm, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` 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. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    MigratingVm migratingVm = new MigratingVm();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = vmMigrationClient.UpdateMigratingVm(migratingVm, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateMigratingVm(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### UpdateMigratingVm(UpdateMigratingVmRequest, CallSettings)

    public virtual Operation<MigratingVm, OperationMetadata> UpdateMigratingVm(UpdateMigratingVmRequest request, CallSettings callSettings = null)

Updates the parameters of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    UpdateMigratingVmRequest request = new UpdateMigratingVmRequest
    {
        UpdateMask = new FieldMask(),
        MigratingVm = new MigratingVm(),
        RequestId = "",
    };
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = vmMigrationClient.UpdateMigratingVm(request);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateMigratingVm(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### UpdateMigratingVmAsync(MigratingVm, FieldMask, CallSettings)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> UpdateMigratingVmAsync(MigratingVm migratingVm, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` 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. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVm migratingVm = new MigratingVm();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.UpdateMigratingVmAsync(migratingVm, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### UpdateMigratingVmAsync(MigratingVm, FieldMask, CancellationToken)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> UpdateMigratingVmAsync(MigratingVm migratingVm, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `migratingVm` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVm` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` 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. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    MigratingVm migratingVm = new MigratingVm();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.UpdateMigratingVmAsync(migratingVm, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### UpdateMigratingVmAsync(UpdateMigratingVmRequest, CallSettings)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> UpdateMigratingVmAsync(UpdateMigratingVmRequest request, CallSettings callSettings = null)

Updates the parameters of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateMigratingVmRequest request = new UpdateMigratingVmRequest
    {
        UpdateMask = new FieldMask(),
        MigratingVm = new MigratingVm(),
        RequestId = "",
    };
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.UpdateMigratingVmAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### UpdateMigratingVmAsync(UpdateMigratingVmRequest, CancellationToken)

    public virtual Task<Operation<MigratingVm, OperationMetadata>> UpdateMigratingVmAsync(UpdateMigratingVmRequest request, CancellationToken cancellationToken)

Updates the parameters of a single MigratingVm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateMigratingVmRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.MigratingVmhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateMigratingVmRequest request = new UpdateMigratingVmRequest
    {
        UpdateMask = new FieldMask(),
        MigratingVm = new MigratingVm(),
        RequestId = "",
    };
    // Make the request
    Operation<MigratingVm, OperationMetadata> response = await vmMigrationClient.UpdateMigratingVmAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<MigratingVm, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    MigratingVm result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<MigratingVm, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateMigratingVmAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        MigratingVm retrievedResult = retrievedResponse.Result;
    }

### UpdateSource(Source, FieldMask, CallSettings)

    public virtual Operation<Source, OperationMetadata> UpdateSource(Source source, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Source 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. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    Source source = new Source();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Source, OperationMetadata> response = vmMigrationClient.UpdateSource(source, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateSource(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### UpdateSource(UpdateSourceRequest, CallSettings)

    public virtual Operation<Source, OperationMetadata> UpdateSource(UpdateSourceRequest request, CallSettings callSettings = null)

Updates the parameters of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateSourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    UpdateSourceRequest request = new UpdateSourceRequest
    {
        UpdateMask = new FieldMask(),
        Source = new Source(),
        RequestId = "",
    };
    // Make the request
    Operation<Source, OperationMetadata> response = vmMigrationClient.UpdateSource(request);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateSource(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### UpdateSourceAsync(Source, FieldMask, CallSettings)

    public virtual Task<Operation<Source, OperationMetadata>> UpdateSourceAsync(Source source, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Source 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. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    Source source = new Source();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.UpdateSourceAsync(source, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### UpdateSourceAsync(Source, FieldMask, CancellationToken)

    public virtual Task<Operation<Source, OperationMetadata>> UpdateSourceAsync(Source source, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `source` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Source` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Source 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. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    Source source = new Source();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.UpdateSourceAsync(source, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### UpdateSourceAsync(UpdateSourceRequest, CallSettings)

    public virtual Task<Operation<Source, OperationMetadata>> UpdateSourceAsync(UpdateSourceRequest request, CallSettings callSettings = null)

Updates the parameters of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateSourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateSourceRequest request = new UpdateSourceRequest
    {
        UpdateMask = new FieldMask(),
        Source = new Source(),
        RequestId = "",
    };
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.UpdateSourceAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### UpdateSourceAsync(UpdateSourceRequest, CancellationToken)

    public virtual Task<Operation<Source, OperationMetadata>> UpdateSourceAsync(UpdateSourceRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateSourceRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.Sourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateSourceRequest request = new UpdateSourceRequest
    {
        UpdateMask = new FieldMask(),
        Source = new Source(),
        RequestId = "",
    };
    // Make the request
    Operation<Source, OperationMetadata> response = await vmMigrationClient.UpdateSourceAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Source, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Source result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Source, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateSourceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Source retrievedResult = retrievedResponse.Result;
    }

### UpdateTargetProject(TargetProject, FieldMask, CallSettings)

    public virtual Operation<TargetProject, OperationMetadata> UpdateTargetProject(TargetProject targetProject, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `targetProject` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the TargetProject 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. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    TargetProject targetProject = new TargetProject();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<TargetProject, OperationMetadata> response = vmMigrationClient.UpdateTargetProject(targetProject, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateTargetProject(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### UpdateTargetProject(UpdateTargetProjectRequest, CallSettings)

    public virtual Operation<TargetProject, OperationMetadata> UpdateTargetProject(UpdateTargetProjectRequest request, CallSettings callSettings = null)

Updates the parameters of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    UpdateTargetProjectRequest request = new UpdateTargetProjectRequest
    {
        UpdateMask = new FieldMask(),
        TargetProject = new TargetProject(),
        RequestId = "",
    };
    // Make the request
    Operation<TargetProject, OperationMetadata> response = vmMigrationClient.UpdateTargetProject(request);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpdateTargetProject(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### UpdateTargetProjectAsync(TargetProject, FieldMask, CallSettings)

    public virtual Task<Operation<TargetProject, OperationMetadata>> UpdateTargetProjectAsync(TargetProject targetProject, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `targetProject` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the TargetProject 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. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    TargetProject targetProject = new TargetProject();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.UpdateTargetProjectAsync(targetProject, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### UpdateTargetProjectAsync(TargetProject, FieldMask, CancellationToken)

    public virtual Task<Operation<TargetProject, OperationMetadata>> UpdateTargetProjectAsync(TargetProject targetProject, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `targetProject` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProject` Required. The update request body. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the TargetProject 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. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    TargetProject targetProject = new TargetProject();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.UpdateTargetProjectAsync(targetProject, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### UpdateTargetProjectAsync(UpdateTargetProjectRequest, CallSettings)

    public virtual Task<Operation<TargetProject, OperationMetadata>> UpdateTargetProjectAsync(UpdateTargetProjectRequest request, CallSettings callSettings = null)

Updates the parameters of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateTargetProjectRequest request = new UpdateTargetProjectRequest
    {
        UpdateMask = new FieldMask(),
        TargetProject = new TargetProject(),
        RequestId = "",
    };
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.UpdateTargetProjectAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### UpdateTargetProjectAsync(UpdateTargetProjectRequest, CancellationToken)

    public virtual Task<Operation<TargetProject, OperationMetadata>> UpdateTargetProjectAsync(UpdateTargetProjectRequest request, CancellationToken cancellationToken)

Updates the parameters of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value
for location is `global`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpdateTargetProjectRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.TargetProjecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpdateTargetProjectRequest request = new UpdateTargetProjectRequest
    {
        UpdateMask = new FieldMask(),
        TargetProject = new TargetProject(),
        RequestId = "",
    };
    // Make the request
    Operation<TargetProject, OperationMetadata> response = await vmMigrationClient.UpdateTargetProjectAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<TargetProject, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    TargetProject result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<TargetProject, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpdateTargetProjectAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        TargetProject retrievedResult = retrievedResponse.Result;
    }

### UpgradeAppliance(UpgradeApplianceRequest, CallSettings)

    public virtual Operation<UpgradeApplianceResponse, OperationMetadata> UpgradeAppliance(UpgradeApplianceRequest request, CallSettings callSettings = null)

Upgrades the appliance relate to this DatacenterConnector to the in-place
updateable version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpgradeApplianceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpgradeApplianceResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
    // Initialize request argument(s)
    UpgradeApplianceRequest request = new UpgradeApplianceRequest
    {
        DatacenterConnectorAsDatacenterConnectorName = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]"),
        RequestId = "",
    };
    // Make the request
    Operation<UpgradeApplianceResponse, OperationMetadata> response = vmMigrationClient.UpgradeAppliance(request);

    // Poll until the returned long-running operation is complete
    Operation<UpgradeApplianceResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    UpgradeApplianceResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UpgradeApplianceResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceUpgradeAppliance(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UpgradeApplianceResponse retrievedResult = retrievedResponse.Result;
    }

### UpgradeApplianceAsync(UpgradeApplianceRequest, CallSettings)

    public virtual Task<Operation<UpgradeApplianceResponse, OperationMetadata>> UpgradeApplianceAsync(UpgradeApplianceRequest request, CallSettings callSettings = null)

Upgrades the appliance relate to this DatacenterConnector to the in-place
updateable version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpgradeApplianceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpgradeApplianceResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpgradeApplianceRequest request = new UpgradeApplianceRequest
    {
        DatacenterConnectorAsDatacenterConnectorName = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]"),
        RequestId = "",
    };
    // Make the request
    Operation<UpgradeApplianceResponse, OperationMetadata> response = await vmMigrationClient.UpgradeApplianceAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<UpgradeApplianceResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    UpgradeApplianceResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UpgradeApplianceResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpgradeApplianceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UpgradeApplianceResponse retrievedResult = retrievedResponse.Result;
    }

### UpgradeApplianceAsync(UpgradeApplianceRequest, CancellationToken)

    public virtual Task<Operation<UpgradeApplianceResponse, OperationMetadata>> UpgradeApplianceAsync(UpgradeApplianceRequest request, CancellationToken cancellationToken)

Upgrades the appliance relate to this DatacenterConnector to the in-place
updateable version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpgradeApplianceRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.UpgradeApplianceResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
    // Initialize request argument(s)
    UpgradeApplianceRequest request = new UpgradeApplianceRequest
    {
        DatacenterConnectorAsDatacenterConnectorName = DatacenterConnectorName.FromProjectLocationSourceDatacenterConnector("[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]"),
        RequestId = "",
    };
    // Make the request
    Operation<UpgradeApplianceResponse, OperationMetadata> response = await vmMigrationClient.UpgradeApplianceAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<UpgradeApplianceResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    UpgradeApplianceResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<UpgradeApplianceResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceUpgradeApplianceAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        UpgradeApplianceResponse retrievedResult = retrievedResponse.Result;
    }