1.8.0 (latest) 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    [BindServiceMethod(typeof(MigrationService), "BindService")]
    public abstract class MigrationService.MigrationServiceBase

Reference documentation and code samples for the BigQuery Migration v2 API class MigrationService.MigrationServiceBase.

Base class for server-side implementations of MigrationService

## Inheritance

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

## 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)

## Namespace

[Google.Cloud.BigQuery.Migration.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.md.txt)

## Assembly

Google.Cloud.BigQuery.Migration.V2.dll

## Methods

### CreateMigrationWorkflow(CreateMigrationWorkflowRequest, ServerCallContext)

    public virtual Task<MigrationWorkflow> CreateMigrationWorkflow(CreateMigrationWorkflowRequest request, ServerCallContext context)

Creates a migration workflow.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateMigrationWorkflowRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskMigrationWorkflow` | The response to send back to the client (wrapped by a task). |

### DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest, ServerCallContext)

    public virtual Task<Empty> DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, ServerCallContext context)

Deletes a migration workflow by name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteMigrationWorkflowRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskEmpty` | The response to send back to the client (wrapped by a task). |

### GetMigrationSubtask(GetMigrationSubtaskRequest, ServerCallContext)

    public virtual Task<MigrationSubtask> GetMigrationSubtask(GetMigrationSubtaskRequest request, ServerCallContext context)

Gets a previously created migration subtask.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetMigrationSubtaskRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskMigrationSubtask` | The response to send back to the client (wrapped by a task). |

### GetMigrationWorkflow(GetMigrationWorkflowRequest, ServerCallContext)

    public virtual Task<MigrationWorkflow> GetMigrationWorkflow(GetMigrationWorkflowRequest request, ServerCallContext context)

Gets a previously created migration workflow.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetMigrationWorkflowRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskMigrationWorkflow` | The response to send back to the client (wrapped by a task). |

### ListMigrationSubtasks(ListMigrationSubtasksRequest, ServerCallContext)

    public virtual Task<ListMigrationSubtasksResponse> ListMigrationSubtasks(ListMigrationSubtasksRequest request, ServerCallContext context)

Lists previously created migration subtasks.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListMigrationSubtasksRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskListMigrationSubtasksResponse` | The response to send back to the client (wrapped by a task). |

### ListMigrationWorkflows(ListMigrationWorkflowsRequest, ServerCallContext)

    public virtual Task<ListMigrationWorkflowsResponse> ListMigrationWorkflows(ListMigrationWorkflowsRequest request, ServerCallContext context)

Lists previously created migration workflow.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListMigrationWorkflowsRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskListMigrationWorkflowsResponse` | The response to send back to the client (wrapped by a task). |

### StartMigrationWorkflow(StartMigrationWorkflowRequest, ServerCallContext)

    public virtual Task<Empty> StartMigrationWorkflow(StartMigrationWorkflowRequest request, ServerCallContext context)

Starts a previously created migration workflow. I.e., the state transitions
from DRAFT to RUNNING. This is a no-op if the state is already RUNNING.
An error will be signaled if the state is anything other than DRAFT or
RUNNING.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `StartMigrationWorkflowRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskEmpty` | The response to send back to the client (wrapped by a task). |