BigQuery Migration v2 API - Class MigrationServiceClientImpl (1.2.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
NameDescription
grpcClientMigrationServiceMigrationServiceClient

The underlying gRPC client.

settingsMigrationServiceSettings

The base MigrationServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override MigrationService.MigrationServiceClient GrpcClient { get; }

The underlying gRPC MigrationService client

Property Value
TypeDescription
MigrationServiceMigrationServiceClient
Overrides

Methods

CreateMigrationWorkflow(CreateMigrationWorkflowRequest, CallSettings)

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

Creates a migration workflow.

Parameters
NameDescription
requestCreateMigrationWorkflowRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
MigrationWorkflow

The RPC response.

Overrides

CreateMigrationWorkflowAsync(CreateMigrationWorkflowRequest, CallSettings)

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

Creates a migration workflow.

Parameters
NameDescription
requestCreateMigrationWorkflowRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides