Represents a MigrationService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.MigrationServicePackage
@google-cloud/aiplatformConstructors
(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
batchMigrateResources(request, callback)
public batchMigrateResources(request: google.cloud.aiplatform.v1.IBatchMigrateResourcesRequest, callback: google.cloud.aiplatform.v1.MigrationService.BatchMigrateResourcesCallback): void;Calls BatchMigrateResources.
| Parameters | |
|---|---|
| Name | Description |
request |
google.cloud.aiplatform.v1.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 | |
|---|---|
| Type | Description |
void |
|
batchMigrateResources(request)
public batchMigrateResources(request: google.cloud.aiplatform.v1.IBatchMigrateResourcesRequest): Promise<google.longrunning.Operation>;Calls BatchMigrateResources.
| Parameter | |
|---|---|
| Name | Description |
request |
google.cloud.aiplatform.v1.IBatchMigrateResourcesRequest
BatchMigrateResourcesRequest message or plain object |
| Returns | |
|---|---|
| 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.
| 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. |
searchMigratableResources(request, callback)
public searchMigratableResources(request: google.cloud.aiplatform.v1.ISearchMigratableResourcesRequest, callback: google.cloud.aiplatform.v1.MigrationService.SearchMigratableResourcesCallback): void;Calls SearchMigratableResources.
| Parameters | |
|---|---|
| Name | Description |
request |
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 | |
|---|---|
| Type | Description |
void |
|
searchMigratableResources(request)
public searchMigratableResources(request: google.cloud.aiplatform.v1.ISearchMigratableResourcesRequest): Promise<google.cloud.aiplatform.v1.SearchMigratableResourcesResponse>;Calls SearchMigratableResources.
| Parameter | |
|---|---|
| Name | Description |
request |
ISearchMigratableResourcesRequest
SearchMigratableResourcesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.aiplatform.v1.SearchMigratableResourcesResponse> |
Promise |