Represents a ModelService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.ModelServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ModelService service.
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): ModelService;
Creates new ModelService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
ModelService | RPC service. Useful where requests and/or responses are streamed. |
deleteModel(request, callback)
public deleteModel(request: google.cloud.aiplatform.v1.IDeleteModelRequest, callback: google.cloud.aiplatform.v1.ModelService.DeleteModelCallback): void;
Calls DeleteModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IDeleteModelRequest
DeleteModelRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.DeleteModelCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteModel(request)
public deleteModel(request: google.cloud.aiplatform.v1.IDeleteModelRequest): Promise<google.longrunning.Operation>;
Calls DeleteModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IDeleteModelRequest
DeleteModelRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
exportModel(request, callback)
public exportModel(request: google.cloud.aiplatform.v1.IExportModelRequest, callback: google.cloud.aiplatform.v1.ModelService.ExportModelCallback): void;
Calls ExportModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IExportModelRequest
ExportModelRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.ExportModelCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
exportModel(request)
public exportModel(request: google.cloud.aiplatform.v1.IExportModelRequest): Promise<google.longrunning.Operation>;
Calls ExportModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IExportModelRequest
ExportModelRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getModel(request, callback)
public getModel(request: google.cloud.aiplatform.v1.IGetModelRequest, callback: google.cloud.aiplatform.v1.ModelService.GetModelCallback): void;
Calls GetModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IGetModelRequest
GetModelRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.GetModelCallback
Node-style callback called with the error, if any, and Model |
Type | Description |
void |
getModel(request)
public getModel(request: google.cloud.aiplatform.v1.IGetModelRequest): Promise<google.cloud.aiplatform.v1.Model>;
Calls GetModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IGetModelRequest
GetModelRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.Model> | Promise |
getModelEvaluation(request, callback)
public getModelEvaluation(request: google.cloud.aiplatform.v1.IGetModelEvaluationRequest, callback: google.cloud.aiplatform.v1.ModelService.GetModelEvaluationCallback): void;
Calls GetModelEvaluation.
Name | Description |
request |
IGetModelEvaluationRequest
GetModelEvaluationRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.GetModelEvaluationCallback
Node-style callback called with the error, if any, and ModelEvaluation |
Type | Description |
void |
getModelEvaluation(request)
public getModelEvaluation(request: google.cloud.aiplatform.v1.IGetModelEvaluationRequest): Promise<google.cloud.aiplatform.v1.ModelEvaluation>;
Calls GetModelEvaluation.
Name | Description |
request |
IGetModelEvaluationRequest
GetModelEvaluationRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.ModelEvaluation> | Promise |
getModelEvaluationSlice(request, callback)
public getModelEvaluationSlice(request: google.cloud.aiplatform.v1.IGetModelEvaluationSliceRequest, callback: google.cloud.aiplatform.v1.ModelService.GetModelEvaluationSliceCallback): void;
Calls GetModelEvaluationSlice.
Name | Description |
request |
google.cloud.aiplatform.v1.IGetModelEvaluationSliceRequest
GetModelEvaluationSliceRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.GetModelEvaluationSliceCallback
Node-style callback called with the error, if any, and ModelEvaluationSlice |
Type | Description |
void |
getModelEvaluationSlice(request)
public getModelEvaluationSlice(request: google.cloud.aiplatform.v1.IGetModelEvaluationSliceRequest): Promise<google.cloud.aiplatform.v1.ModelEvaluationSlice>;
Calls GetModelEvaluationSlice.
Name | Description |
request |
google.cloud.aiplatform.v1.IGetModelEvaluationSliceRequest
GetModelEvaluationSliceRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.ModelEvaluationSlice> | Promise |
listModelEvaluations(request, callback)
public listModelEvaluations(request: google.cloud.aiplatform.v1.IListModelEvaluationsRequest, callback: google.cloud.aiplatform.v1.ModelService.ListModelEvaluationsCallback): void;
Calls ListModelEvaluations.
Name | Description |
request |
google.cloud.aiplatform.v1.IListModelEvaluationsRequest
ListModelEvaluationsRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.ListModelEvaluationsCallback
Node-style callback called with the error, if any, and ListModelEvaluationsResponse |
Type | Description |
void |
listModelEvaluations(request)
public listModelEvaluations(request: google.cloud.aiplatform.v1.IListModelEvaluationsRequest): Promise<google.cloud.aiplatform.v1.ListModelEvaluationsResponse>;
Calls ListModelEvaluations.
Name | Description |
request |
google.cloud.aiplatform.v1.IListModelEvaluationsRequest
ListModelEvaluationsRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.ListModelEvaluationsResponse> | Promise |
listModelEvaluationSlices(request, callback)
public listModelEvaluationSlices(request: google.cloud.aiplatform.v1.IListModelEvaluationSlicesRequest, callback: google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlicesCallback): void;
Calls ListModelEvaluationSlices.
Name | Description |
request |
google.cloud.aiplatform.v1.IListModelEvaluationSlicesRequest
ListModelEvaluationSlicesRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlicesCallback
Node-style callback called with the error, if any, and ListModelEvaluationSlicesResponse |
Type | Description |
void |
listModelEvaluationSlices(request)
public listModelEvaluationSlices(request: google.cloud.aiplatform.v1.IListModelEvaluationSlicesRequest): Promise<google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse>;
Calls ListModelEvaluationSlices.
Name | Description |
request |
google.cloud.aiplatform.v1.IListModelEvaluationSlicesRequest
ListModelEvaluationSlicesRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse> | Promise |
listModels(request, callback)
public listModels(request: google.cloud.aiplatform.v1.IListModelsRequest, callback: google.cloud.aiplatform.v1.ModelService.ListModelsCallback): void;
Calls ListModels.
Name | Description |
request |
google.cloud.aiplatform.v1.IListModelsRequest
ListModelsRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.ListModelsCallback
Node-style callback called with the error, if any, and ListModelsResponse |
Type | Description |
void |
listModels(request)
public listModels(request: google.cloud.aiplatform.v1.IListModelsRequest): Promise<google.cloud.aiplatform.v1.ListModelsResponse>;
Calls ListModels.
Name | Description |
request |
google.cloud.aiplatform.v1.IListModelsRequest
ListModelsRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.ListModelsResponse> | Promise |
updateModel(request, callback)
public updateModel(request: google.cloud.aiplatform.v1.IUpdateModelRequest, callback: google.cloud.aiplatform.v1.ModelService.UpdateModelCallback): void;
Calls UpdateModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IUpdateModelRequest
UpdateModelRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.UpdateModelCallback
Node-style callback called with the error, if any, and Model |
Type | Description |
void |
updateModel(request)
public updateModel(request: google.cloud.aiplatform.v1.IUpdateModelRequest): Promise<google.cloud.aiplatform.v1.Model>;
Calls UpdateModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IUpdateModelRequest
UpdateModelRequest message or plain object |
Type | Description |
Promise<google.cloud.aiplatform.v1.Model> | Promise |
uploadModel(request, callback)
public uploadModel(request: google.cloud.aiplatform.v1.IUploadModelRequest, callback: google.cloud.aiplatform.v1.ModelService.UploadModelCallback): void;
Calls UploadModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IUploadModelRequest
UploadModelRequest message or plain object |
callback |
google.cloud.aiplatform.v1.ModelService.UploadModelCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
uploadModel(request)
public uploadModel(request: google.cloud.aiplatform.v1.IUploadModelRequest): Promise<google.longrunning.Operation>;
Calls UploadModel.
Name | Description |
request |
google.cloud.aiplatform.v1.IUploadModelRequest
UploadModelRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |