Class protos.google.cloud.aiplatform.v1beta1.ModelGardenService (3.11.0)

Represents a ModelGardenService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1beta1.ModelGardenService

Package

@google-cloud/aiplatform

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new ModelGardenService service.

Parameters
NameDescription
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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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
NameDescription
request IGetPublisherModelRequest

GetPublisherModelRequest message or plain object

callback GetPublisherModelCallback

Node-style callback called with the error, if any, and PublisherModel

Returns
TypeDescription
void

getPublisherModel(request)

public getPublisherModel(request: google.cloud.aiplatform.v1beta1.IGetPublisherModelRequest): Promise<google.cloud.aiplatform.v1beta1.PublisherModel>;

Calls GetPublisherModel.

Parameter
NameDescription
request IGetPublisherModelRequest

GetPublisherModelRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IListPublisherModelsRequest

ListPublisherModelsRequest message or plain object

callback ListPublisherModelsCallback

Node-style callback called with the error, if any, and ListPublisherModelsResponse

Returns
TypeDescription
void

listPublisherModels(request)

public listPublisherModels(request: google.cloud.aiplatform.v1beta1.IListPublisherModelsRequest): Promise<google.cloud.aiplatform.v1beta1.ListPublisherModelsResponse>;

Calls ListPublisherModels.

Parameter
NameDescription
request IListPublisherModelsRequest

ListPublisherModelsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1beta1.ListPublisherModelsResponse>

Promise