public sealed class SearchTuningServiceClientImpl : SearchTuningServiceClientReference documentation and code samples for the Discovery Engine v1 API class SearchTuningServiceClientImpl.
SearchTuningService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Remarks
Service for search tuning.
Constructors
SearchTuningServiceClientImpl(SearchTuningServiceClient, SearchTuningServiceSettings, ILogger)
public SearchTuningServiceClientImpl(SearchTuningService.SearchTuningServiceClient grpcClient, SearchTuningServiceSettings settings, ILogger logger)Constructs a client wrapper for the SearchTuningService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
SearchTuningServiceSearchTuningServiceClientThe underlying gRPC client. |
settings |
SearchTuningServiceSettingsThe base SearchTuningServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override SearchTuningService.SearchTuningServiceClient GrpcClient { get; }The underlying gRPC SearchTuningService client
| Property Value | |
|---|---|
| Type | Description |
SearchTuningServiceSearchTuningServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
TrainCustomModelOperationsClient
public override OperationsClient TrainCustomModelOperationsClient { get; }The long-running operations client for TrainCustomModel.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
ListCustomModels(ListCustomModelsRequest, CallSettings)
public override ListCustomModelsResponse ListCustomModels(ListCustomModelsRequest request, CallSettings callSettings = null)Gets a list of all the custom models.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCustomModelsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ListCustomModelsResponse |
The RPC response. |
ListCustomModelsAsync(ListCustomModelsRequest, CallSettings)
public override Task<ListCustomModelsResponse> ListCustomModelsAsync(ListCustomModelsRequest request, CallSettings callSettings = null)Gets a list of all the custom models.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCustomModelsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskListCustomModelsResponse |
A Task containing the RPC response. |
TrainCustomModel(TrainCustomModelRequest, CallSettings)
public override Operation<TrainCustomModelResponse, TrainCustomModelMetadata> TrainCustomModel(TrainCustomModelRequest request, CallSettings callSettings = null)Trains a custom model.
| Parameters | |
|---|---|
| Name | Description |
request |
TrainCustomModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationTrainCustomModelResponseTrainCustomModelMetadata |
The RPC response. |
TrainCustomModelAsync(TrainCustomModelRequest, CallSettings)
public override Task<Operation<TrainCustomModelResponse, TrainCustomModelMetadata>> TrainCustomModelAsync(TrainCustomModelRequest request, CallSettings callSettings = null)Trains a custom model.
| Parameters | |
|---|---|
| Name | Description |
request |
TrainCustomModelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationTrainCustomModelResponseTrainCustomModelMetadata |
A Task containing the RPC response. |