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.
Namespace
Google.Cloud.BigQuery.Migration.V2Assembly
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 |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |