public class MigrationService.MigrationServiceClient : ClientBase<MigrationService.MigrationServiceClient>
Reference documentation and code samples for the BigQuery Migration v2 API class MigrationService.MigrationServiceClient.
Client for MigrationService
Inheritance
object > ClientBase > ClientBaseMigrationServiceMigrationServiceClient > MigrationService.MigrationServiceClientNamespace
Google.Cloud.BigQuery.Migration.V2Assembly
Google.Cloud.BigQuery.Migration.V2.dll
Constructors
MigrationServiceClient()
protected MigrationServiceClient()
Protected parameterless constructor to allow creation of test doubles.
MigrationServiceClient(CallInvoker)
public MigrationServiceClient(CallInvoker callInvoker)
Creates a new client for MigrationService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
MigrationServiceClient(ChannelBase)
public MigrationServiceClient(ChannelBase channel)
Creates a new client for MigrationService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
MigrationServiceClient(ClientBaseConfiguration)
protected MigrationServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateMigrationWorkflow(CreateMigrationWorkflowRequest, CallOptions)
public virtual MigrationWorkflow CreateMigrationWorkflow(CreateMigrationWorkflowRequest request, CallOptions options)
Creates a migration workflow.
Parameters | |
---|---|
Name | Description |
request | CreateMigrationWorkflowRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow | The response received from the server. |
CreateMigrationWorkflow(CreateMigrationWorkflowRequest, Metadata, DateTime?, CancellationToken)
public virtual MigrationWorkflow CreateMigrationWorkflow(CreateMigrationWorkflowRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a migration workflow.
Parameters | |
---|---|
Name | Description |
request | CreateMigrationWorkflowRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow | The response received from the server. |
CreateMigrationWorkflowAsync(CreateMigrationWorkflowRequest, CallOptions)
public virtual AsyncUnaryCall<MigrationWorkflow> CreateMigrationWorkflowAsync(CreateMigrationWorkflowRequest request, CallOptions options)
Creates a migration workflow.
Parameters | |
---|---|
Name | Description |
request | CreateMigrationWorkflowRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallMigrationWorkflow | The call object. |
CreateMigrationWorkflowAsync(CreateMigrationWorkflowRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<MigrationWorkflow> CreateMigrationWorkflowAsync(CreateMigrationWorkflowRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a migration workflow.
Parameters | |
---|---|
Name | Description |
request | CreateMigrationWorkflowRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallMigrationWorkflow | The call object. |
DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest, CallOptions)
public virtual Empty DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, CallOptions options)
Deletes a migration workflow by name.
Parameters | |
---|---|
Name | Description |
request | DeleteMigrationWorkflowRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a migration workflow by name.
Parameters | |
---|---|
Name | Description |
request | DeleteMigrationWorkflowRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteMigrationWorkflowAsync(DeleteMigrationWorkflowRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteMigrationWorkflowAsync(DeleteMigrationWorkflowRequest request, CallOptions options)
Deletes a migration workflow by name.
Parameters | |
---|---|
Name | Description |
request | DeleteMigrationWorkflowRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | The call object. |
DeleteMigrationWorkflowAsync(DeleteMigrationWorkflowRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteMigrationWorkflowAsync(DeleteMigrationWorkflowRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a migration workflow by name.
Parameters | |
---|---|
Name | Description |
request | DeleteMigrationWorkflowRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | The call object. |
GetMigrationSubtask(GetMigrationSubtaskRequest, CallOptions)
public virtual MigrationSubtask GetMigrationSubtask(GetMigrationSubtaskRequest request, CallOptions options)
Gets a previously created migration subtask.
Parameters | |
---|---|
Name | Description |
request | GetMigrationSubtaskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
MigrationSubtask | The response received from the server. |
GetMigrationSubtask(GetMigrationSubtaskRequest, Metadata, DateTime?, CancellationToken)
public virtual MigrationSubtask GetMigrationSubtask(GetMigrationSubtaskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a previously created migration subtask.
Parameters | |
---|---|
Name | Description |
request | GetMigrationSubtaskRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
MigrationSubtask | The response received from the server. |
GetMigrationSubtaskAsync(GetMigrationSubtaskRequest, CallOptions)
public virtual AsyncUnaryCall<MigrationSubtask> GetMigrationSubtaskAsync(GetMigrationSubtaskRequest request, CallOptions options)
Gets a previously created migration subtask.
Parameters | |
---|---|
Name | Description |
request | GetMigrationSubtaskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallMigrationSubtask | The call object. |
GetMigrationSubtaskAsync(GetMigrationSubtaskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<MigrationSubtask> GetMigrationSubtaskAsync(GetMigrationSubtaskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a previously created migration subtask.
Parameters | |
---|---|
Name | Description |
request | GetMigrationSubtaskRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallMigrationSubtask | The call object. |
GetMigrationWorkflow(GetMigrationWorkflowRequest, CallOptions)
public virtual MigrationWorkflow GetMigrationWorkflow(GetMigrationWorkflowRequest request, CallOptions options)
Gets a previously created migration workflow.
Parameters | |
---|---|
Name | Description |
request | GetMigrationWorkflowRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow | The response received from the server. |
GetMigrationWorkflow(GetMigrationWorkflowRequest, Metadata, DateTime?, CancellationToken)
public virtual MigrationWorkflow GetMigrationWorkflow(GetMigrationWorkflowRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a previously created migration workflow.
Parameters | |
---|---|
Name | Description |
request | GetMigrationWorkflowRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
MigrationWorkflow | The response received from the server. |
GetMigrationWorkflowAsync(GetMigrationWorkflowRequest, CallOptions)
public virtual AsyncUnaryCall<MigrationWorkflow> GetMigrationWorkflowAsync(GetMigrationWorkflowRequest request, CallOptions options)
Gets a previously created migration workflow.
Parameters | |
---|---|
Name | Description |
request | GetMigrationWorkflowRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallMigrationWorkflow | The call object. |
GetMigrationWorkflowAsync(GetMigrationWorkflowRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<MigrationWorkflow> GetMigrationWorkflowAsync(GetMigrationWorkflowRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a previously created migration workflow.
Parameters | |
---|---|
Name | Description |
request | GetMigrationWorkflowRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallMigrationWorkflow | The call object. |
ListMigrationSubtasks(ListMigrationSubtasksRequest, CallOptions)
public virtual ListMigrationSubtasksResponse ListMigrationSubtasks(ListMigrationSubtasksRequest request, CallOptions options)
Lists previously created migration subtasks.
Parameters | |
---|---|
Name | Description |
request | ListMigrationSubtasksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListMigrationSubtasksResponse | The response received from the server. |
ListMigrationSubtasks(ListMigrationSubtasksRequest, Metadata, DateTime?, CancellationToken)
public virtual ListMigrationSubtasksResponse ListMigrationSubtasks(ListMigrationSubtasksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists previously created migration subtasks.
Parameters | |
---|---|
Name | Description |
request | ListMigrationSubtasksRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListMigrationSubtasksResponse | The response received from the server. |
ListMigrationSubtasksAsync(ListMigrationSubtasksRequest, CallOptions)
public virtual AsyncUnaryCall<ListMigrationSubtasksResponse> ListMigrationSubtasksAsync(ListMigrationSubtasksRequest request, CallOptions options)
Lists previously created migration subtasks.
Parameters | |
---|---|
Name | Description |
request | ListMigrationSubtasksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListMigrationSubtasksResponse | The call object. |
ListMigrationSubtasksAsync(ListMigrationSubtasksRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListMigrationSubtasksResponse> ListMigrationSubtasksAsync(ListMigrationSubtasksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists previously created migration subtasks.
Parameters | |
---|---|
Name | Description |
request | ListMigrationSubtasksRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListMigrationSubtasksResponse | The call object. |
ListMigrationWorkflows(ListMigrationWorkflowsRequest, CallOptions)
public virtual ListMigrationWorkflowsResponse ListMigrationWorkflows(ListMigrationWorkflowsRequest request, CallOptions options)
Lists previously created migration workflow.
Parameters | |
---|---|
Name | Description |
request | ListMigrationWorkflowsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListMigrationWorkflowsResponse | The response received from the server. |
ListMigrationWorkflows(ListMigrationWorkflowsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListMigrationWorkflowsResponse ListMigrationWorkflows(ListMigrationWorkflowsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists previously created migration workflow.
Parameters | |
---|---|
Name | Description |
request | ListMigrationWorkflowsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListMigrationWorkflowsResponse | The response received from the server. |
ListMigrationWorkflowsAsync(ListMigrationWorkflowsRequest, CallOptions)
public virtual AsyncUnaryCall<ListMigrationWorkflowsResponse> ListMigrationWorkflowsAsync(ListMigrationWorkflowsRequest request, CallOptions options)
Lists previously created migration workflow.
Parameters | |
---|---|
Name | Description |
request | ListMigrationWorkflowsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListMigrationWorkflowsResponse | The call object. |
ListMigrationWorkflowsAsync(ListMigrationWorkflowsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListMigrationWorkflowsResponse> ListMigrationWorkflowsAsync(ListMigrationWorkflowsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists previously created migration workflow.
Parameters | |
---|---|
Name | Description |
request | ListMigrationWorkflowsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListMigrationWorkflowsResponse | The call object. |
NewInstance(ClientBaseConfiguration)
protected override MigrationService.MigrationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
MigrationServiceMigrationServiceClient |
StartMigrationWorkflow(StartMigrationWorkflowRequest, CallOptions)
public virtual Empty StartMigrationWorkflow(StartMigrationWorkflowRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
StartMigrationWorkflow(StartMigrationWorkflowRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty StartMigrationWorkflow(StartMigrationWorkflowRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
StartMigrationWorkflowAsync(StartMigrationWorkflowRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> StartMigrationWorkflowAsync(StartMigrationWorkflowRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | The call object. |
StartMigrationWorkflowAsync(StartMigrationWorkflowRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> StartMigrationWorkflowAsync(StartMigrationWorkflowRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty | The call object. |