[BindServiceMethod(typeof(ModelService), "BindService")]
public abstract class ModelServiceBase
Base class for server-side implementations of ModelService
Namespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Methods
DeleteModel(DeleteModelRequest, ServerCallContext)
public virtual Task<Operation> DeleteModel(DeleteModelRequest request, ServerCallContext context)
Deletes a Model.
A model cannot be deleted if any [Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the model in its [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] field.
Parameters | |
---|---|
Name | Description |
request | DeleteModelRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
ExportModel(ExportModelRequest, ServerCallContext)
public virtual Task<Operation> ExportModel(ExportModelRequest request, ServerCallContext context)
Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].
Parameters | |
---|---|
Name | Description |
request | ExportModelRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
GetModel(GetModelRequest, ServerCallContext)
public virtual Task<Model> GetModel(GetModelRequest request, ServerCallContext context)
Gets a Model.
Parameters | |
---|---|
Name | Description |
request | GetModelRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Model> | The response to send back to the client (wrapped by a task). |
GetModelEvaluation(GetModelEvaluationRequest, ServerCallContext)
public virtual Task<ModelEvaluation> GetModelEvaluation(GetModelEvaluationRequest request, ServerCallContext context)
Gets a ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | GetModelEvaluationRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ModelEvaluation> | The response to send back to the client (wrapped by a task). |
GetModelEvaluationSlice(GetModelEvaluationSliceRequest, ServerCallContext)
public virtual Task<ModelEvaluationSlice> GetModelEvaluationSlice(GetModelEvaluationSliceRequest request, ServerCallContext context)
Gets a ModelEvaluationSlice.
Parameters | |
---|---|
Name | Description |
request | GetModelEvaluationSliceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ModelEvaluationSlice> | The response to send back to the client (wrapped by a task). |
ImportModelEvaluation(ImportModelEvaluationRequest, ServerCallContext)
public virtual Task<ModelEvaluation> ImportModelEvaluation(ImportModelEvaluationRequest request, ServerCallContext context)
Imports an externally generated ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | ImportModelEvaluationRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ModelEvaluation> | The response to send back to the client (wrapped by a task). |
ListModelEvaluations(ListModelEvaluationsRequest, ServerCallContext)
public virtual Task<ListModelEvaluationsResponse> ListModelEvaluations(ListModelEvaluationsRequest request, ServerCallContext context)
Lists ModelEvaluations in a Model.
Parameters | |
---|---|
Name | Description |
request | ListModelEvaluationsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListModelEvaluationsResponse> | The response to send back to the client (wrapped by a task). |
ListModelEvaluationSlices(ListModelEvaluationSlicesRequest, ServerCallContext)
public virtual Task<ListModelEvaluationSlicesResponse> ListModelEvaluationSlices(ListModelEvaluationSlicesRequest request, ServerCallContext context)
Lists ModelEvaluationSlices in a ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | ListModelEvaluationSlicesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListModelEvaluationSlicesResponse> | The response to send back to the client (wrapped by a task). |
ListModels(ListModelsRequest, ServerCallContext)
public virtual Task<ListModelsResponse> ListModels(ListModelsRequest request, ServerCallContext context)
Lists Models in a Location.
Parameters | |
---|---|
Name | Description |
request | ListModelsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListModelsResponse> | The response to send back to the client (wrapped by a task). |
UpdateModel(UpdateModelRequest, ServerCallContext)
public virtual Task<Model> UpdateModel(UpdateModelRequest request, ServerCallContext context)
Updates a Model.
Parameters | |
---|---|
Name | Description |
request | UpdateModelRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Model> | The response to send back to the client (wrapped by a task). |
UploadModel(UploadModelRequest, ServerCallContext)
public virtual Task<Operation> UploadModel(UploadModelRequest request, ServerCallContext context)
Uploads a Model artifact into Vertex AI.
Parameters | |
---|---|
Name | Description |
request | UploadModelRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |