BigQuery Migration v2 API - Class MigrationService.MigrationServiceBase (1.5.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 > MigrationService.MigrationServiceBase

Namespace

Google.Cloud.BigQuery.Migration.V2

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