BigQuery Migration v2 API - Class MigrationServiceClientImpl (1.3.0)

public sealed class MigrationServiceClientImpl : MigrationServiceClient

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

MigrationService client wrapper implementation, for convenient use.

Inheritance

object > MigrationServiceClient > MigrationServiceClientImpl

Namespace

Google.Cloud.BigQuery.Migration.V2

Assembly

Google.Cloud.BigQuery.Migration.V2.dll

Remarks

Service to handle EDW migrations.

Constructors

MigrationServiceClientImpl(MigrationServiceClient, MigrationServiceSettings, ILogger)

public MigrationServiceClientImpl(MigrationService.MigrationServiceClient grpcClient, MigrationServiceSettings settings, ILogger logger)

Constructs a client wrapper for the MigrationService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient MigrationServiceMigrationServiceClient

The underlying gRPC client.

settings MigrationServiceSettings

The base MigrationServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override MigrationService.MigrationServiceClient GrpcClient { get; }

The underlying gRPC MigrationService client

Property Value
Type Description
MigrationServiceMigrationServiceClient
Overrides

Methods

CreateMigrationWorkflow(CreateMigrationWorkflowRequest, CallSettings)

public override MigrationWorkflow CreateMigrationWorkflow(CreateMigrationWorkflowRequest request, CallSettings callSettings = null)

Creates a migration workflow.

Parameters
Name Description
request CreateMigrationWorkflowRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
MigrationWorkflow

The RPC response.

Overrides

CreateMigrationWorkflowAsync(CreateMigrationWorkflowRequest, CallSettings)

public override Task<MigrationWorkflow> CreateMigrationWorkflowAsync(CreateMigrationWorkflowRequest request, CallSettings callSettings = null)

Creates a migration workflow.

Parameters
Name Description
request CreateMigrationWorkflowRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskMigrationWorkflow

A Task containing the RPC response.

Overrides

DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest, CallSettings)

public override void DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, CallSettings callSettings = null)

Deletes a migration workflow by name.

Parameters
Name Description
request DeleteMigrationWorkflowRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteMigrationWorkflowAsync(DeleteMigrationWorkflowRequest, CallSettings)

public override Task DeleteMigrationWorkflowAsync(DeleteMigrationWorkflowRequest request, CallSettings callSettings = null)

Deletes a migration workflow by name.

Parameters
Name Description
request DeleteMigrationWorkflowRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetMigrationSubtask(GetMigrationSubtaskRequest, CallSettings)

public override MigrationSubtask GetMigrationSubtask(GetMigrationSubtaskRequest request, CallSettings callSettings = null)

Gets a previously created migration subtask.

Parameters
Name Description
request GetMigrationSubtaskRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
MigrationSubtask

The RPC response.

Overrides

GetMigrationSubtaskAsync(GetMigrationSubtaskRequest, CallSettings)

public override Task<MigrationSubtask> GetMigrationSubtaskAsync(GetMigrationSubtaskRequest request, CallSettings callSettings = null)

Gets a previously created migration subtask.

Parameters
Name Description
request GetMigrationSubtaskRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskMigrationSubtask

A Task containing the RPC response.

Overrides

GetMigrationWorkflow(GetMigrationWorkflowRequest, CallSettings)

public override MigrationWorkflow GetMigrationWorkflow(GetMigrationWorkflowRequest request, CallSettings callSettings = null)

Gets a previously created migration workflow.

Parameters
Name Description
request GetMigrationWorkflowRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
MigrationWorkflow

The RPC response.

Overrides

GetMigrationWorkflowAsync(GetMigrationWorkflowRequest, CallSettings)

public override Task<MigrationWorkflow> GetMigrationWorkflowAsync(GetMigrationWorkflowRequest request, CallSettings callSettings = null)

Gets a previously created migration workflow.

Parameters
Name Description
request GetMigrationWorkflowRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskMigrationWorkflow

A Task containing the RPC response.

Overrides

ListMigrationSubtasks(ListMigrationSubtasksRequest, CallSettings)

public override PagedEnumerable<ListMigrationSubtasksResponse, MigrationSubtask> ListMigrationSubtasks(ListMigrationSubtasksRequest request, CallSettings callSettings = null)

Lists previously created migration subtasks.

Parameters
Name Description
request ListMigrationSubtasksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListMigrationSubtasksResponseMigrationSubtask

A pageable sequence of MigrationSubtask resources.

Overrides

ListMigrationSubtasksAsync(ListMigrationSubtasksRequest, CallSettings)

public override PagedAsyncEnumerable<ListMigrationSubtasksResponse, MigrationSubtask> ListMigrationSubtasksAsync(ListMigrationSubtasksRequest request, CallSettings callSettings = null)

Lists previously created migration subtasks.

Parameters
Name Description
request ListMigrationSubtasksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListMigrationSubtasksResponseMigrationSubtask

A pageable asynchronous sequence of MigrationSubtask resources.

Overrides

ListMigrationWorkflows(ListMigrationWorkflowsRequest, CallSettings)

public override PagedEnumerable<ListMigrationWorkflowsResponse, MigrationWorkflow> ListMigrationWorkflows(ListMigrationWorkflowsRequest request, CallSettings callSettings = null)

Lists previously created migration workflow.

Parameters
Name Description
request ListMigrationWorkflowsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListMigrationWorkflowsResponseMigrationWorkflow

A pageable sequence of MigrationWorkflow resources.

Overrides

ListMigrationWorkflowsAsync(ListMigrationWorkflowsRequest, CallSettings)

public override PagedAsyncEnumerable<ListMigrationWorkflowsResponse, MigrationWorkflow> ListMigrationWorkflowsAsync(ListMigrationWorkflowsRequest request, CallSettings callSettings = null)

Lists previously created migration workflow.

Parameters
Name Description
request ListMigrationWorkflowsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListMigrationWorkflowsResponseMigrationWorkflow

A pageable asynchronous sequence of MigrationWorkflow resources.

Overrides

StartMigrationWorkflow(StartMigrationWorkflowRequest, CallSettings)

public override void StartMigrationWorkflow(StartMigrationWorkflowRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

StartMigrationWorkflowAsync(StartMigrationWorkflowRequest, CallSettings)

public override Task StartMigrationWorkflowAsync(StartMigrationWorkflowRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides