public sealed class SearchServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Discovery Engine v1 API class SearchServiceSettings.
Settings for SearchServiceClient instances.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.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 |
|
SearchLiteSettings
public CallSettings SearchLiteSettings { get; set; }CallSettings for synchronous and asynchronous calls to
SearchServiceClient.SearchLite and SearchServiceClient.SearchLiteAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
SearchSettings
public CallSettings SearchSettings { get; set; }CallSettings for synchronous and asynchronous calls to SearchServiceClient.Search
and SearchServiceClient.SearchAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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. |