[BindServiceMethod(typeof(SearchTuningService), "BindService")]
public abstract class SearchTuningService.SearchTuningServiceBase
Reference documentation and code samples for the Discovery Engine v1 API class SearchTuningService.SearchTuningServiceBase.
Base class for server-side implementations of SearchTuningService
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Methods
ListCustomModels(ListCustomModelsRequest, ServerCallContext)
public virtual Task<ListCustomModelsResponse> ListCustomModels(ListCustomModelsRequest request, ServerCallContext context)
Gets a list of all the custom models.
Parameters | |
---|---|
Name | Description |
request |
ListCustomModelsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListCustomModelsResponse |
The response to send back to the client (wrapped by a task). |
TrainCustomModel(TrainCustomModelRequest, ServerCallContext)
public virtual Task<Operation> TrainCustomModel(TrainCustomModelRequest request, ServerCallContext context)
Trains a custom model.
Parameters | |
---|---|
Name | Description |
request |
TrainCustomModelRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |