Represents a ModelGardenService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.ModelGardenServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new ModelGardenService 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): ModelGardenService;Creates new ModelGardenService 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 |
ModelGardenService |
RPC service. Useful where requests and/or responses are streamed. |
deploy(request, callback)
public deploy(request: google.cloud.aiplatform.v1.IDeployRequest, callback: google.cloud.aiplatform.v1.ModelGardenService.DeployCallback): void;Calls Deploy.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeployRequest
DeployRequest message or plain object |
callback |
DeployCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
deploy(request)
public deploy(request: google.cloud.aiplatform.v1.IDeployRequest): Promise<google.longrunning.Operation>;Calls Deploy.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeployRequest
DeployRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
getPublisherModel(request, callback)
public getPublisherModel(request: google.cloud.aiplatform.v1.IGetPublisherModelRequest, callback: google.cloud.aiplatform.v1.ModelGardenService.GetPublisherModelCallback): void;Calls GetPublisherModel.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetPublisherModelRequest
GetPublisherModelRequest message or plain object |
callback |
GetPublisherModelCallback
Node-style callback called with the error, if any, and PublisherModel |
| Returns | |
|---|---|
| Type | Description |
void |
|
getPublisherModel(request)
public getPublisherModel(request: google.cloud.aiplatform.v1.IGetPublisherModelRequest): Promise<google.cloud.aiplatform.v1.PublisherModel>;Calls GetPublisherModel.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetPublisherModelRequest
GetPublisherModelRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.aiplatform.v1.PublisherModel> |
Promise |