[BindServiceMethod(typeof(SearchTuningService), "BindService")]
public abstract class SearchTuningService.SearchTuningServiceBaseReference 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 |
ListCustomModelsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
TrainCustomModelRequestThe request received from the client. |
context |
ServerCallContextThe 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). |