Represents a ModelGardenService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.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. |
getPublisherModel(request, callback)
public getPublisherModel(request: google.cloud.aiplatform.v1beta1.IGetPublisherModelRequest, callback: google.cloud.aiplatform.v1beta1.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.v1beta1.IGetPublisherModelRequest): Promise<google.cloud.aiplatform.v1beta1.PublisherModel>;
Calls GetPublisherModel.
Parameter | |
---|---|
Name | Description |
request |
IGetPublisherModelRequest
GetPublisherModelRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.PublisherModel> | Promise |
listPublisherModels(request, callback)
public listPublisherModels(request: google.cloud.aiplatform.v1beta1.IListPublisherModelsRequest, callback: google.cloud.aiplatform.v1beta1.ModelGardenService.ListPublisherModelsCallback): void;
Calls ListPublisherModels.
Parameters | |
---|---|
Name | Description |
request |
IListPublisherModelsRequest
ListPublisherModelsRequest message or plain object |
callback |
ListPublisherModelsCallback
Node-style callback called with the error, if any, and ListPublisherModelsResponse |
Returns | |
---|---|
Type | Description |
void |
listPublisherModels(request)
public listPublisherModels(request: google.cloud.aiplatform.v1beta1.IListPublisherModelsRequest): Promise<google.cloud.aiplatform.v1beta1.ListPublisherModelsResponse>;
Calls ListPublisherModels.
Parameter | |
---|---|
Name | Description |
request |
IListPublisherModelsRequest
ListPublisherModelsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1beta1.ListPublisherModelsResponse> | Promise |