Discovery Engine v1beta API - Class SearchTuningServiceSettings (1.0.0-beta13)

public sealed class SearchTuningServiceSettings : ServiceSettingsBase

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

Settings for SearchTuningServiceClient instances.

Inheritance

object > ServiceSettingsBase > SearchTuningServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

SearchTuningServiceSettings()

public SearchTuningServiceSettings()

Constructs a new SearchTuningServiceSettings object with default settings.

Properties

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

TrainCustomModelOperationsSettings

public OperationsSettings TrainCustomModelOperationsSettings { get; set; }

Long Running Operation settings for calls to SearchTuningServiceClient.TrainCustomModel and SearchTuningServiceClient.TrainCustomModelAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

TrainCustomModelSettings

public CallSettings TrainCustomModelSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SearchTuningServiceClient.TrainCustomModel and SearchTuningServiceClient.TrainCustomModelAsync .

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public SearchTuningServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
SearchTuningServiceSettings

A deep clone of this SearchTuningServiceSettings object.

GetDefault()

public static SearchTuningServiceSettings GetDefault()

Get a new instance of the default SearchTuningServiceSettings.

Returns
Type Description
SearchTuningServiceSettings

A new instance of the default SearchTuningServiceSettings.