Discovery Engine v1beta API - Class SearchTuningService.SearchTuningServiceBase (1.0.0-beta14)

[BindServiceMethod(typeof(SearchTuningService), "BindService")]
public abstract class SearchTuningService.SearchTuningServiceBase

Reference documentation and code samples for the Discovery Engine v1beta API class SearchTuningService.SearchTuningServiceBase.

Base class for server-side implementations of SearchTuningService

Inheritance

object > SearchTuningService.SearchTuningServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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).