Class protos.google.cloud.bigquery.migration.v2.MigrationService (1.0.1)

Represents a MigrationService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.bigquery.migration.v2.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.v2.ICreateMigrationWorkflowRequest, callback: google.cloud.bigquery.migration.v2.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.v2.ICreateMigrationWorkflowRequest): Promise<google.cloud.bigquery.migration.v2.MigrationWorkflow>;

Calls CreateMigrationWorkflow.

Parameter
NameDescription
request ICreateMigrationWorkflowRequest

CreateMigrationWorkflowRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.bigquery.migration.v2.MigrationWorkflow>

Promise

deleteMigrationWorkflow(request, callback)

public deleteMigrationWorkflow(request: google.cloud.bigquery.migration.v2.IDeleteMigrationWorkflowRequest, callback: google.cloud.bigquery.migration.v2.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.v2.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.v2.IGetMigrationSubtaskRequest, callback: google.cloud.bigquery.migration.v2.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.v2.IGetMigrationSubtaskRequest): Promise<google.cloud.bigquery.migration.v2.MigrationSubtask>;

Calls GetMigrationSubtask.

Parameter
NameDescription
request IGetMigrationSubtaskRequest

GetMigrationSubtaskRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.bigquery.migration.v2.MigrationSubtask>

Promise

getMigrationWorkflow(request, callback)

public getMigrationWorkflow(request: google.cloud.bigquery.migration.v2.IGetMigrationWorkflowRequest, callback: google.cloud.bigquery.migration.v2.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.v2.IGetMigrationWorkflowRequest): Promise<google.cloud.bigquery.migration.v2.MigrationWorkflow>;

Calls GetMigrationWorkflow.

Parameter
NameDescription
request IGetMigrationWorkflowRequest

GetMigrationWorkflowRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.bigquery.migration.v2.MigrationWorkflow>

Promise

listMigrationSubtasks(request, callback)

public listMigrationSubtasks(request: google.cloud.bigquery.migration.v2.IListMigrationSubtasksRequest, callback: google.cloud.bigquery.migration.v2.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.v2.IListMigrationSubtasksRequest): Promise<google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>;

Calls ListMigrationSubtasks.

Parameter
NameDescription
request IListMigrationSubtasksRequest

ListMigrationSubtasksRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.bigquery.migration.v2.ListMigrationSubtasksResponse>

Promise

listMigrationWorkflows(request, callback)

public listMigrationWorkflows(request: google.cloud.bigquery.migration.v2.IListMigrationWorkflowsRequest, callback: google.cloud.bigquery.migration.v2.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.v2.IListMigrationWorkflowsRequest): Promise<google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>;

Calls ListMigrationWorkflows.

Parameter
NameDescription
request IListMigrationWorkflowsRequest

ListMigrationWorkflowsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.bigquery.migration.v2.ListMigrationWorkflowsResponse>

Promise

startMigrationWorkflow(request, callback)

public startMigrationWorkflow(request: google.cloud.bigquery.migration.v2.IStartMigrationWorkflowRequest, callback: google.cloud.bigquery.migration.v2.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.v2.IStartMigrationWorkflowRequest): Promise<google.protobuf.Empty>;

Calls StartMigrationWorkflow.

Parameter
NameDescription
request IStartMigrationWorkflowRequest

StartMigrationWorkflowRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise