Represents a MigrationService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.MigrationServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new MigrationService service.
Name | Description |
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.v1beta1.IBatchMigrateResourcesRequest, callback: google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResourcesCallback): void;
Calls BatchMigrateResources.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IBatchMigrateResourcesRequest
BatchMigrateResourcesRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResourcesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
batchMigrateResources(request)
public batchMigrateResources(request: google.cloud.aiplatform.v1beta1.IBatchMigrateResourcesRequest): Promise<google.longrunning.Operation>;
Calls BatchMigrateResources.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IBatchMigrateResourcesRequest
BatchMigrateResourcesRequest message or plain object |
Type | Description |
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
MigrationService | RPC service. Useful where requests and/or responses are streamed. |
searchMigratableResources(request, callback)
public searchMigratableResources(request: google.cloud.aiplatform.v1beta1.ISearchMigratableResourcesRequest, callback: google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResourcesCallback): void;
Calls SearchMigratableResources.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.ISearchMigratableResourcesRequest
SearchMigratableResourcesRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResourcesCallback
Node-style callback called with the error, if any, and SearchMigratableResourcesResponse |
Type | Description |
void |
searchMigratableResources(request)
public searchMigratableResources(request: google.cloud.aiplatform.v1beta1.ISearchMigratableResourcesRequest): Promise<google.cloud.aiplatform.v1beta1.SearchMigratableResourcesResponse>;
Calls SearchMigratableResources.
Name | Description |
request |
google.cloud.aiplatform.v1beta1.ISearchMigratableResourcesRequest
SearchMigratableResourcesRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.SearchMigratableResourcesResponse> | Promise |