Discovery Engine v1beta API - Class RecommendationServiceSettings (1.0.0-beta17)

public sealed class RecommendationServiceSettings : ServiceSettingsBase

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

Settings for RecommendationServiceClient instances.

Inheritance

object > ServiceSettingsBase > RecommendationServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

RecommendationServiceSettings()

public RecommendationServiceSettings()

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

RecommendSettings

public CallSettings RecommendSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RecommendationServiceClient.Recommend and RecommendationServiceClient.RecommendAsync.

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

Methods

Clone()

public RecommendationServiceSettings Clone()

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

Returns
Type Description
RecommendationServiceSettings

A deep clone of this RecommendationServiceSettings object.

GetDefault()

public static RecommendationServiceSettings GetDefault()

Get a new instance of the default RecommendationServiceSettings.

Returns
Type Description
RecommendationServiceSettings

A new instance of the default RecommendationServiceSettings.