Class protos.google.cloud.bigquery.migration.v2alpha.MigrationService (1.0.0)

Represents a MigrationService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.bigquery.migration.v2alpha.MigrationService

Package

@google-cloud/bigquery-migration

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new MigrationService service.

Parameters
NameDescription
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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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
NameDescription
request ICreateMigrationWorkflowRequest

CreateMigrationWorkflowRequest message or plain object

callback CreateMigrationWorkflowCallback

Node-style callback called with the error, if any, and MigrationWorkflow

Returns
TypeDescription
void

createMigrationWorkflow(request)

public createMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.ICreateMigrationWorkflowRequest): Promise<google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>;

Calls CreateMigrationWorkflow.

Parameter
NameDescription
request ICreateMigrationWorkflowRequest

CreateMigrationWorkflowRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IDeleteMigrationWorkflowRequest

DeleteMigrationWorkflowRequest message or plain object

callback DeleteMigrationWorkflowCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteMigrationWorkflow(request)

public deleteMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.IDeleteMigrationWorkflowRequest): Promise<google.protobuf.Empty>;

Calls DeleteMigrationWorkflow.

Parameter
NameDescription
request IDeleteMigrationWorkflowRequest

DeleteMigrationWorkflowRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IGetMigrationSubtaskRequest

GetMigrationSubtaskRequest message or plain object

callback GetMigrationSubtaskCallback

Node-style callback called with the error, if any, and MigrationSubtask

Returns
TypeDescription
void

getMigrationSubtask(request)

public getMigrationSubtask(request: google.cloud.bigquery.migration.v2alpha.IGetMigrationSubtaskRequest): Promise<google.cloud.bigquery.migration.v2alpha.MigrationSubtask>;

Calls GetMigrationSubtask.

Parameter
NameDescription
request IGetMigrationSubtaskRequest

GetMigrationSubtaskRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IGetMigrationWorkflowRequest

GetMigrationWorkflowRequest message or plain object

callback GetMigrationWorkflowCallback

Node-style callback called with the error, if any, and MigrationWorkflow

Returns
TypeDescription
void

getMigrationWorkflow(request)

public getMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.IGetMigrationWorkflowRequest): Promise<google.cloud.bigquery.migration.v2alpha.MigrationWorkflow>;

Calls GetMigrationWorkflow.

Parameter
NameDescription
request IGetMigrationWorkflowRequest

GetMigrationWorkflowRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IListMigrationSubtasksRequest

ListMigrationSubtasksRequest message or plain object

callback ListMigrationSubtasksCallback

Node-style callback called with the error, if any, and ListMigrationSubtasksResponse

Returns
TypeDescription
void

listMigrationSubtasks(request)

public listMigrationSubtasks(request: google.cloud.bigquery.migration.v2alpha.IListMigrationSubtasksRequest): Promise<google.cloud.bigquery.migration.v2alpha.ListMigrationSubtasksResponse>;

Calls ListMigrationSubtasks.

Parameter
NameDescription
request IListMigrationSubtasksRequest

ListMigrationSubtasksRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IListMigrationWorkflowsRequest

ListMigrationWorkflowsRequest message or plain object

callback ListMigrationWorkflowsCallback

Node-style callback called with the error, if any, and ListMigrationWorkflowsResponse

Returns
TypeDescription
void

listMigrationWorkflows(request)

public listMigrationWorkflows(request: google.cloud.bigquery.migration.v2alpha.IListMigrationWorkflowsRequest): Promise<google.cloud.bigquery.migration.v2alpha.ListMigrationWorkflowsResponse>;

Calls ListMigrationWorkflows.

Parameter
NameDescription
request IListMigrationWorkflowsRequest

ListMigrationWorkflowsRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IStartMigrationWorkflowRequest

StartMigrationWorkflowRequest message or plain object

callback StartMigrationWorkflowCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

startMigrationWorkflow(request)

public startMigrationWorkflow(request: google.cloud.bigquery.migration.v2alpha.IStartMigrationWorkflowRequest): Promise<google.protobuf.Empty>;

Calls StartMigrationWorkflow.

Parameter
NameDescription
request IStartMigrationWorkflowRequest

StartMigrationWorkflowRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise