BigQuery Migration v2 API - Class MigrationService.MigrationServiceBase (1.0.0)

[BindServiceMethod(typeof(MigrationService), "BindService")]
public abstract class 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
NameDescription
requestCreateMigrationWorkflowRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<MigrationWorkflow>

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
NameDescription
requestDeleteMigrationWorkflowRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

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
NameDescription
requestGetMigrationSubtaskRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<MigrationSubtask>

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
NameDescription
requestGetMigrationWorkflowRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<MigrationWorkflow>

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
NameDescription
requestListMigrationSubtasksRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListMigrationSubtasksResponse>

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
NameDescription
requestListMigrationWorkflowsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListMigrationWorkflowsResponse>

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
NameDescription
requestStartMigrationWorkflowRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).