Class protos.google.cloud.aiplatform.v1beta1.ModelService

Represents a ModelService

Inheritance

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

Package

@google-cloud/aiplatform

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new ModelService 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): ModelService;

Creates new ModelService 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
ModelService

RPC service. Useful where requests and/or responses are streamed.

deleteModel(request, callback)

public deleteModel(request: google.cloud.aiplatform.v1beta1.IDeleteModelRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.DeleteModelCallback): void;

Calls DeleteModel.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IDeleteModelRequest

DeleteModelRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.DeleteModelCallback

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

Returns
TypeDescription
void

deleteModel(request)

public deleteModel(request: google.cloud.aiplatform.v1beta1.IDeleteModelRequest): Promise<google.longrunning.Operation>;

Calls DeleteModel.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IDeleteModelRequest

DeleteModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

exportModel(request, callback)

public exportModel(request: google.cloud.aiplatform.v1beta1.IExportModelRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.ExportModelCallback): void;

Calls ExportModel.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IExportModelRequest

ExportModelRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.ExportModelCallback

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

Returns
TypeDescription
void

exportModel(request)

public exportModel(request: google.cloud.aiplatform.v1beta1.IExportModelRequest): Promise<google.longrunning.Operation>;

Calls ExportModel.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IExportModelRequest

ExportModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getModel(request, callback)

public getModel(request: google.cloud.aiplatform.v1beta1.IGetModelRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.GetModelCallback): void;

Calls GetModel.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IGetModelRequest

GetModelRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.GetModelCallback

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

Returns
TypeDescription
void

getModel(request)

public getModel(request: google.cloud.aiplatform.v1beta1.IGetModelRequest): Promise<google.cloud.aiplatform.v1beta1.Model>;

Calls GetModel.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IGetModelRequest

GetModelRequest message or plain object

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

Promise

getModelEvaluation(request, callback)

public getModelEvaluation(request: google.cloud.aiplatform.v1beta1.IGetModelEvaluationRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluationCallback): void;

Calls GetModelEvaluation.

Parameters
NameDescription
request IGetModelEvaluationRequest

GetModelEvaluationRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluationCallback

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

Returns
TypeDescription
void

getModelEvaluation(request)

public getModelEvaluation(request: google.cloud.aiplatform.v1beta1.IGetModelEvaluationRequest): Promise<google.cloud.aiplatform.v1beta1.ModelEvaluation>;

Calls GetModelEvaluation.

Parameter
NameDescription
request IGetModelEvaluationRequest

GetModelEvaluationRequest message or plain object

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

Promise

getModelEvaluationSlice(request, callback)

public getModelEvaluationSlice(request: google.cloud.aiplatform.v1beta1.IGetModelEvaluationSliceRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluationSliceCallback): void;

Calls GetModelEvaluationSlice.

Parameters
NameDescription
request IGetModelEvaluationSliceRequest

GetModelEvaluationSliceRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluationSliceCallback

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

Returns
TypeDescription
void

getModelEvaluationSlice(request)

public getModelEvaluationSlice(request: google.cloud.aiplatform.v1beta1.IGetModelEvaluationSliceRequest): Promise<google.cloud.aiplatform.v1beta1.ModelEvaluationSlice>;

Calls GetModelEvaluationSlice.

Parameter
NameDescription
request IGetModelEvaluationSliceRequest

GetModelEvaluationSliceRequest message or plain object

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

Promise

listModelEvaluations(request, callback)

public listModelEvaluations(request: google.cloud.aiplatform.v1beta1.IListModelEvaluationsRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationsCallback): void;

Calls ListModelEvaluations.

Parameters
NameDescription
request IListModelEvaluationsRequest

ListModelEvaluationsRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationsCallback

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

Returns
TypeDescription
void

listModelEvaluations(request)

public listModelEvaluations(request: google.cloud.aiplatform.v1beta1.IListModelEvaluationsRequest): Promise<google.cloud.aiplatform.v1beta1.ListModelEvaluationsResponse>;

Calls ListModelEvaluations.

Parameter
NameDescription
request IListModelEvaluationsRequest

ListModelEvaluationsRequest message or plain object

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

Promise

listModelEvaluationSlices(request, callback)

public listModelEvaluationSlices(request: google.cloud.aiplatform.v1beta1.IListModelEvaluationSlicesRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlicesCallback): void;

Calls ListModelEvaluationSlices.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IListModelEvaluationSlicesRequest

ListModelEvaluationSlicesRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlicesCallback

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

Returns
TypeDescription
void

listModelEvaluationSlices(request)

public listModelEvaluationSlices(request: google.cloud.aiplatform.v1beta1.IListModelEvaluationSlicesRequest): Promise<google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesResponse>;

Calls ListModelEvaluationSlices.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IListModelEvaluationSlicesRequest

ListModelEvaluationSlicesRequest message or plain object

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

Promise

listModels(request, callback)

public listModels(request: google.cloud.aiplatform.v1beta1.IListModelsRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.ListModelsCallback): void;

Calls ListModels.

Parameters
NameDescription
request IListModelsRequest

ListModelsRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.ListModelsCallback

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

Returns
TypeDescription
void

listModels(request)

public listModels(request: google.cloud.aiplatform.v1beta1.IListModelsRequest): Promise<google.cloud.aiplatform.v1beta1.ListModelsResponse>;

Calls ListModels.

Parameter
NameDescription
request IListModelsRequest

ListModelsRequest message or plain object

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

Promise

updateModel(request, callback)

public updateModel(request: google.cloud.aiplatform.v1beta1.IUpdateModelRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.UpdateModelCallback): void;

Calls UpdateModel.

Parameters
NameDescription
request google.cloud.aiplatform.v1beta1.IUpdateModelRequest

UpdateModelRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.UpdateModelCallback

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

Returns
TypeDescription
void

updateModel(request)

public updateModel(request: google.cloud.aiplatform.v1beta1.IUpdateModelRequest): Promise<google.cloud.aiplatform.v1beta1.Model>;

Calls UpdateModel.

Parameter
NameDescription
request google.cloud.aiplatform.v1beta1.IUpdateModelRequest

UpdateModelRequest message or plain object

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

Promise

uploadModel(request, callback)

public uploadModel(request: google.cloud.aiplatform.v1beta1.IUploadModelRequest, callback: google.cloud.aiplatform.v1beta1.ModelService.UploadModelCallback): void;

Calls UploadModel.

Parameters
NameDescription
request IUploadModelRequest

UploadModelRequest message or plain object

callback google.cloud.aiplatform.v1beta1.ModelService.UploadModelCallback

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

Returns
TypeDescription
void

uploadModel(request)

public uploadModel(request: google.cloud.aiplatform.v1beta1.IUploadModelRequest): Promise<google.longrunning.Operation>;

Calls UploadModel.

Parameter
NameDescription
request IUploadModelRequest

UploadModelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise