public sealed class MigrationServiceClientImpl : MigrationServiceClientReference documentation and code samples for the BigQuery Migration v2 API class MigrationServiceClientImpl.
MigrationService client wrapper implementation, for convenient use.
Namespace
GoogleGoogle.CloudGoogle.Cloud.BigQueryGoogle.Cloud.BigQuery.MigrationV2Assembly
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 |
MigrationServiceMigrationServiceClientThe underlying gRPC client. |
settings |
MigrationServiceSettingsThe base MigrationServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override MigrationService.MigrationServiceClient GrpcClient { get; }The underlying gRPC MigrationService client
| Property Value | |
|---|---|
| Type | Description |
MigrationServiceMigrationServiceClient |
|
Methods
CreateMigrationWorkflow(CreateMigrationWorkflowRequest, CallSettings)
public override MigrationWorkflow CreateMigrationWorkflow(CreateMigrationWorkflowRequest request, CallSettings callSettings = null)Creates a migration workflow.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMigrationWorkflowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MigrationWorkflow |
The RPC response. |
CreateMigrationWorkflowAsync(CreateMigrationWorkflowRequest, CallSettings)
public override Task<MigrationWorkflow> CreateMigrationWorkflowAsync(CreateMigrationWorkflowRequest request, CallSettings callSettings = null)Creates a migration workflow.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMigrationWorkflowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMigrationWorkflow |
A Task containing the RPC response. |
DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest, CallSettings)
public override void DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, CallSettings callSettings = null)Deletes a migration workflow by name.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMigrationWorkflowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteMigrationWorkflowAsync(DeleteMigrationWorkflowRequest, CallSettings)
public override Task DeleteMigrationWorkflowAsync(DeleteMigrationWorkflowRequest request, CallSettings callSettings = null)Deletes a migration workflow by name.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMigrationWorkflowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetMigrationSubtask(GetMigrationSubtaskRequest, CallSettings)
public override MigrationSubtask GetMigrationSubtask(GetMigrationSubtaskRequest request, CallSettings callSettings = null)Gets a previously created migration subtask.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMigrationSubtaskRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MigrationSubtask |
The RPC response. |
GetMigrationSubtaskAsync(GetMigrationSubtaskRequest, CallSettings)
public override Task<MigrationSubtask> GetMigrationSubtaskAsync(GetMigrationSubtaskRequest request, CallSettings callSettings = null)Gets a previously created migration subtask.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMigrationSubtaskRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMigrationSubtask |
A Task containing the RPC response. |
GetMigrationWorkflow(GetMigrationWorkflowRequest, CallSettings)
public override MigrationWorkflow GetMigrationWorkflow(GetMigrationWorkflowRequest request, CallSettings callSettings = null)Gets a previously created migration workflow.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMigrationWorkflowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MigrationWorkflow |
The RPC response. |
GetMigrationWorkflowAsync(GetMigrationWorkflowRequest, CallSettings)
public override Task<MigrationWorkflow> GetMigrationWorkflowAsync(GetMigrationWorkflowRequest request, CallSettings callSettings = null)Gets a previously created migration workflow.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMigrationWorkflowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMigrationWorkflow |
A Task containing the RPC response. |
ListMigrationSubtasks(ListMigrationSubtasksRequest, CallSettings)
public override PagedEnumerable<ListMigrationSubtasksResponse, MigrationSubtask> ListMigrationSubtasks(ListMigrationSubtasksRequest request, CallSettings callSettings = null)Lists previously created migration subtasks.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMigrationSubtasksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMigrationSubtasksResponseMigrationSubtask |
A pageable sequence of MigrationSubtask resources. |
ListMigrationSubtasksAsync(ListMigrationSubtasksRequest, CallSettings)
public override PagedAsyncEnumerable<ListMigrationSubtasksResponse, MigrationSubtask> ListMigrationSubtasksAsync(ListMigrationSubtasksRequest request, CallSettings callSettings = null)Lists previously created migration subtasks.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMigrationSubtasksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMigrationSubtasksResponseMigrationSubtask |
A pageable asynchronous sequence of MigrationSubtask resources. |
ListMigrationWorkflows(ListMigrationWorkflowsRequest, CallSettings)
public override PagedEnumerable<ListMigrationWorkflowsResponse, MigrationWorkflow> ListMigrationWorkflows(ListMigrationWorkflowsRequest request, CallSettings callSettings = null)Lists previously created migration workflow.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMigrationWorkflowsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMigrationWorkflowsResponseMigrationWorkflow |
A pageable sequence of MigrationWorkflow resources. |
ListMigrationWorkflowsAsync(ListMigrationWorkflowsRequest, CallSettings)
public override PagedAsyncEnumerable<ListMigrationWorkflowsResponse, MigrationWorkflow> ListMigrationWorkflowsAsync(ListMigrationWorkflowsRequest request, CallSettings callSettings = null)Lists previously created migration workflow.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMigrationWorkflowsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMigrationWorkflowsResponseMigrationWorkflow |
A pageable asynchronous sequence of MigrationWorkflow resources. |
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 |
StartMigrationWorkflowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
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 |
StartMigrationWorkflowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |