Discovery Engine v1beta API - Class RankServiceSettings (1.0.0-beta12)

public sealed class RankServiceSettings : ServiceSettingsBase

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

Settings for RankServiceClient instances.

Inheritance

object > ServiceSettingsBase > RankServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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