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

public sealed class SearchServiceSettings : ServiceSettingsBase

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

Settings for SearchServiceClient instances.

Inheritance

object > ServiceSettingsBase > SearchServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

SearchServiceSettings()

public SearchServiceSettings()

Constructs a new SearchServiceSettings 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

SearchSettings

public CallSettings SearchSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SearchServiceClient.Search and SearchServiceClient.SearchAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

Methods

Clone()

public SearchServiceSettings Clone()

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

Returns
Type Description
SearchServiceSettings

A deep clone of this SearchServiceSettings object.

GetDefault()

public static SearchServiceSettings GetDefault()

Get a new instance of the default SearchServiceSettings.

Returns
Type Description
SearchServiceSettings

A new instance of the default SearchServiceSettings.