Represents a DeploymentResourcePoolService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.DeploymentResourcePoolServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new DeploymentResourcePoolService service.
Parameters | |
---|---|
Name | Description |
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): DeploymentResourcePoolService;
Creates new DeploymentResourcePoolService 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 |
DeploymentResourcePoolService | RPC service. Useful where requests and/or responses are streamed. |
createDeploymentResourcePool(request, callback)
public createDeploymentResourcePool(request: google.cloud.aiplatform.v1beta1.ICreateDeploymentResourcePoolRequest, callback: google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.CreateDeploymentResourcePoolCallback): void;
Calls CreateDeploymentResourcePool.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.aiplatform.v1beta1.ICreateDeploymentResourcePoolRequest
CreateDeploymentResourcePoolRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.CreateDeploymentResourcePoolCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createDeploymentResourcePool(request)
public createDeploymentResourcePool(request: google.cloud.aiplatform.v1beta1.ICreateDeploymentResourcePoolRequest): Promise<google.longrunning.Operation>;
Calls CreateDeploymentResourcePool.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.aiplatform.v1beta1.ICreateDeploymentResourcePoolRequest
CreateDeploymentResourcePoolRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteDeploymentResourcePool(request, callback)
public deleteDeploymentResourcePool(request: google.cloud.aiplatform.v1beta1.IDeleteDeploymentResourcePoolRequest, callback: google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.DeleteDeploymentResourcePoolCallback): void;
Calls DeleteDeploymentResourcePool.
Parameters | |
---|---|
Name | Description |
request |
IDeleteDeploymentResourcePoolRequest
DeleteDeploymentResourcePoolRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.DeleteDeploymentResourcePoolCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteDeploymentResourcePool(request)
public deleteDeploymentResourcePool(request: google.cloud.aiplatform.v1beta1.IDeleteDeploymentResourcePoolRequest): Promise<google.longrunning.Operation>;
Calls DeleteDeploymentResourcePool.
Parameter | |
---|---|
Name | Description |
request |
IDeleteDeploymentResourcePoolRequest
DeleteDeploymentResourcePoolRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getDeploymentResourcePool(request, callback)
public getDeploymentResourcePool(request: google.cloud.aiplatform.v1beta1.IGetDeploymentResourcePoolRequest, callback: google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.GetDeploymentResourcePoolCallback): void;
Calls GetDeploymentResourcePool.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IGetDeploymentResourcePoolRequest
GetDeploymentResourcePoolRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.GetDeploymentResourcePoolCallback
Node-style callback called with the error, if any, and DeploymentResourcePool |
Returns | |
---|---|
Type | Description |
void |
getDeploymentResourcePool(request)
public getDeploymentResourcePool(request: google.cloud.aiplatform.v1beta1.IGetDeploymentResourcePoolRequest): Promise<google.cloud.aiplatform.v1beta1.DeploymentResourcePool>;
Calls GetDeploymentResourcePool.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IGetDeploymentResourcePoolRequest
GetDeploymentResourcePoolRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.DeploymentResourcePool> | Promise |
listDeploymentResourcePools(request, callback)
public listDeploymentResourcePools(request: google.cloud.aiplatform.v1beta1.IListDeploymentResourcePoolsRequest, callback: google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.ListDeploymentResourcePoolsCallback): void;
Calls ListDeploymentResourcePools.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IListDeploymentResourcePoolsRequest
ListDeploymentResourcePoolsRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.ListDeploymentResourcePoolsCallback
Node-style callback called with the error, if any, and ListDeploymentResourcePoolsResponse |
Returns | |
---|---|
Type | Description |
void |
listDeploymentResourcePools(request)
public listDeploymentResourcePools(request: google.cloud.aiplatform.v1beta1.IListDeploymentResourcePoolsRequest): Promise<google.cloud.aiplatform.v1beta1.ListDeploymentResourcePoolsResponse>;
Calls ListDeploymentResourcePools.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IListDeploymentResourcePoolsRequest
ListDeploymentResourcePoolsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.ListDeploymentResourcePoolsResponse> | Promise |
queryDeployedModels(request, callback)
public queryDeployedModels(request: google.cloud.aiplatform.v1beta1.IQueryDeployedModelsRequest, callback: google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.QueryDeployedModelsCallback): void;
Calls QueryDeployedModels.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IQueryDeployedModelsRequest
QueryDeployedModelsRequest message or plain object |
callback |
google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.QueryDeployedModelsCallback
Node-style callback called with the error, if any, and QueryDeployedModelsResponse |
Returns | |
---|---|
Type | Description |
void |
queryDeployedModels(request)
public queryDeployedModels(request: google.cloud.aiplatform.v1beta1.IQueryDeployedModelsRequest): Promise<google.cloud.aiplatform.v1beta1.QueryDeployedModelsResponse>;
Calls QueryDeployedModels.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.aiplatform.v1beta1.IQueryDeployedModelsRequest
QueryDeployedModelsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.QueryDeployedModelsResponse> | Promise |