Represents a MigrationService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.bigquery.migration.v2alpha.MigrationServicePackage
@google-cloud/bigquery-migrationConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new MigrationService service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): MigrationService;Creates new MigrationService service using the specified rpc implementation.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
MigrationService |
RPC service. Useful where requests and/or responses are streamed. |
createMigrationWorkflow(request, callback)
public createMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.ICreateMigrationWorkflowRequest, callback: google.cloud.bigquery.migration.v2alpha.MigrationService.CreateMigrationWorkflowCallback): void;Calls CreateMigrationWorkflow.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMigrationWorkflowRequest
CreateMigrationWorkflowRequest message or plain object |
callback |
CreateMigrationWorkflowCallback
Node-style callback called with the error, if any, and MigrationWorkflow |
| Returns | |
|---|---|
| Type | Description |
void |
|
createMigrationWorkflow(request)
public createMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.ICreateMigrationWorkflowRequest): Promise<google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>;Calls CreateMigrationWorkflow.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateMigrationWorkflowRequest
CreateMigrationWorkflowRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> |
Promise |
deleteMigrationWorkflow(request, callback)
public deleteMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.IDeleteMigrationWorkflowRequest, callback: google.cloud.bigquery.migration.v2alpha.MigrationService.DeleteMigrationWorkflowCallback): void;Calls DeleteMigrationWorkflow.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMigrationWorkflowRequest
DeleteMigrationWorkflowRequest message or plain object |
callback |
DeleteMigrationWorkflowCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMigrationWorkflow(request)
public deleteMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.IDeleteMigrationWorkflowRequest): Promise<google.protobuf.Empty>;Calls DeleteMigrationWorkflow.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteMigrationWorkflowRequest
DeleteMigrationWorkflowRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.protobuf.Empty> |
Promise |
getMigrationSubtask(request, callback)
public getMigrationSubtask(request: google.cloud.bigquery.migration.v2alpha.IGetMigrationSubtaskRequest, callback: google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationSubtaskCallback): void;Calls GetMigrationSubtask.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetMigrationSubtaskRequest
GetMigrationSubtaskRequest message or plain object |
callback |
GetMigrationSubtaskCallback
Node-style callback called with the error, if any, and MigrationSubtask |
| Returns | |
|---|---|
| Type | Description |
void |
|
getMigrationSubtask(request)
public getMigrationSubtask(request: google.cloud.bigquery.migration.v2alpha.IGetMigrationSubtaskRequest): Promise<google.cloud.bigquery.migration.v2alpha.MigrationSubtask>;Calls GetMigrationSubtask.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetMigrationSubtaskRequest
GetMigrationSubtaskRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.bigquery.migration.v2alpha.MigrationSubtask> |
Promise |
getMigrationWorkflow(request, callback)
public getMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.IGetMigrationWorkflowRequest, callback: google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationWorkflowCallback): void;Calls GetMigrationWorkflow.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetMigrationWorkflowRequest
GetMigrationWorkflowRequest message or plain object |
callback |
GetMigrationWorkflowCallback
Node-style callback called with the error, if any, and MigrationWorkflow |
| Returns | |
|---|---|
| Type | Description |
void |
|
getMigrationWorkflow(request)
public getMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.IGetMigrationWorkflowRequest): Promise<google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>;Calls GetMigrationWorkflow.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetMigrationWorkflowRequest
GetMigrationWorkflowRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.bigquery.migration.v2alpha.MigrationWorkflow> |
Promise |
listMigrationSubtasks(request, callback)
public listMigrationSubtasks(request: google.cloud.bigquery.migration.v2alpha.IListMigrationSubtasksRequest, callback: google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationSubtasksCallback): void;Calls ListMigrationSubtasks.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMigrationSubtasksRequest
ListMigrationSubtasksRequest message or plain object |
callback |
ListMigrationSubtasksCallback
Node-style callback called with the error, if any, and ListMigrationSubtasksResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listMigrationSubtasks(request)
public listMigrationSubtasks(request: google.cloud.bigquery.migration.v2alpha.IListMigrationSubtasksRequest): Promise<google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>;Calls ListMigrationSubtasks.
| Parameter | |
|---|---|
| Name | Description |
request |
IListMigrationSubtasksRequest
ListMigrationSubtasksRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse> |
Promise |
listMigrationWorkflows(request, callback)
public listMigrationWorkflows(request: google.cloud.bigquery.migration.v2alpha.IListMigrationWorkflowsRequest, callback: google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationWorkflowsCallback): void;Calls ListMigrationWorkflows.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMigrationWorkflowsRequest
ListMigrationWorkflowsRequest message or plain object |
callback |
ListMigrationWorkflowsCallback
Node-style callback called with the error, if any, and ListMigrationWorkflowsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listMigrationWorkflows(request)
public listMigrationWorkflows(request: google.cloud.bigquery.migration.v2alpha.IListMigrationWorkflowsRequest): Promise<google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>;Calls ListMigrationWorkflows.
| Parameter | |
|---|---|
| Name | Description |
request |
IListMigrationWorkflowsRequest
ListMigrationWorkflowsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse> |
Promise |
startMigrationWorkflow(request, callback)
public startMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.IStartMigrationWorkflowRequest, callback: google.cloud.bigquery.migration.v2alpha.MigrationService.StartMigrationWorkflowCallback): void;Calls StartMigrationWorkflow.
| Parameters | |
|---|---|
| Name | Description |
request |
IStartMigrationWorkflowRequest
StartMigrationWorkflowRequest message or plain object |
callback |
StartMigrationWorkflowCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
startMigrationWorkflow(request)
public startMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.IStartMigrationWorkflowRequest): Promise<google.protobuf.Empty>;Calls StartMigrationWorkflow.
| Parameter | |
|---|---|
| Name | Description |
request |
IStartMigrationWorkflowRequest
StartMigrationWorkflowRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.protobuf.Empty> |
Promise |