Class protos.google.cloud.aiplatform.v1.ModelGardenService (3.13.0)

Represents a ModelGardenService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.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.v1.IGetPublisherModelRequest, callback: google.cloud.aiplatform.v1.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.v1.IGetPublisherModelRequest): Promise<google.cloud.aiplatform.v1.PublisherModel>;

Calls GetPublisherModel.

Parameter
NameDescription
request IGetPublisherModelRequest

GetPublisherModelRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.PublisherModel>

Promise