Discovery Engine v1beta API - Class SearchTuningServiceClientImpl (1.0.0-beta11)

public sealed class SearchTuningServiceClientImpl : SearchTuningServiceClient

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

SearchTuningService client wrapper implementation, for convenient use.

Inheritance

object > SearchTuningServiceClient > SearchTuningServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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

The underlying gRPC client.

settingsSearchTuningServiceSettings

The base SearchTuningServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SearchTuningService.SearchTuningServiceClient GrpcClient { get; }

The underlying gRPC SearchTuningService client

Property Value
TypeDescription
SearchTuningServiceSearchTuningServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

TrainCustomModelOperationsClient

public override OperationsClient TrainCustomModelOperationsClient { get; }

The long-running operations client for TrainCustomModel.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

TrainCustomModel(TrainCustomModelRequest, CallSettings)

public override Operation<TrainCustomModelResponse, TrainCustomModelMetadata> TrainCustomModel(TrainCustomModelRequest request, CallSettings callSettings = null)

Trains a custom model.

Parameters
NameDescription
requestTrainCustomModelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationTrainCustomModelResponseTrainCustomModelMetadata

The RPC response.

Overrides

TrainCustomModelAsync(TrainCustomModelRequest, CallSettings)

public override Task<Operation<TrainCustomModelResponse, TrainCustomModelMetadata>> TrainCustomModelAsync(TrainCustomModelRequest request, CallSettings callSettings = null)

Trains a custom model.

Parameters
NameDescription
requestTrainCustomModelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationTrainCustomModelResponseTrainCustomModelMetadata

A Task containing the RPC response.

Overrides