Class protos.google.cloud.aiplatform.v1.MigrationService (2.3.0)

Represents a MigrationService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.MigrationService

Package

@google-cloud/aiplatform

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

batchMigrateResources(request, callback)

public batchMigrateResources(request: google.cloud.aiplatform.v1.IBatchMigrateResourcesRequest, callback: google.cloud.aiplatform.v1.MigrationService.BatchMigrateResourcesCallback): void;

Calls BatchMigrateResources.

Parameters
NameDescription
request IBatchMigrateResourcesRequest

BatchMigrateResourcesRequest message or plain object

callback google.cloud.aiplatform.v1.MigrationService.BatchMigrateResourcesCallback

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

Returns
TypeDescription
void

batchMigrateResources(request)

public batchMigrateResources(request: google.cloud.aiplatform.v1.IBatchMigrateResourcesRequest): Promise<google.longrunning.Operation>;

Calls BatchMigrateResources.

Parameter
NameDescription
request IBatchMigrateResourcesRequest

BatchMigrateResourcesRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

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.

searchMigratableResources(request, callback)

public searchMigratableResources(request: google.cloud.aiplatform.v1.ISearchMigratableResourcesRequest, callback: google.cloud.aiplatform.v1.MigrationService.SearchMigratableResourcesCallback): void;

Calls SearchMigratableResources.

Parameters
NameDescription
request google.cloud.aiplatform.v1.ISearchMigratableResourcesRequest

SearchMigratableResourcesRequest message or plain object

callback google.cloud.aiplatform.v1.MigrationService.SearchMigratableResourcesCallback

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

Returns
TypeDescription
void

searchMigratableResources(request)

public searchMigratableResources(request: google.cloud.aiplatform.v1.ISearchMigratableResourcesRequest): Promise<google.cloud.aiplatform.v1.SearchMigratableResourcesResponse>;

Calls SearchMigratableResources.

Parameter
NameDescription
request google.cloud.aiplatform.v1.ISearchMigratableResourcesRequest

SearchMigratableResourcesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.SearchMigratableResourcesResponse>

Promise