public sealed class RankServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Discovery Engine v1 API class RankServiceSettings.
Settings for RankServiceClient instances.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
RankServiceSettings()
public RankServiceSettings()Constructs a new RankServiceSettings 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 |
|
RankSettings
public CallSettings RankSettings { get; set; }CallSettings for synchronous and asynchronous calls to RankServiceClient.Rank
and RankServiceClient.RankAsync.
| 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 RankServiceSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
RankServiceSettings |
A deep clone of this RankServiceSettings object. |
GetDefault()
public static RankServiceSettings GetDefault()Get a new instance of the default RankServiceSettings.
| Returns | |
|---|---|
| Type | Description |
RankServiceSettings |
A new instance of the default RankServiceSettings. |