public sealed class RecommendationServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Discovery Engine v1beta API class RecommendationServiceSettings.
Settings for RecommendationServiceClient instances.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
RecommendationServiceSettings()
public RecommendationServiceSettings()
Constructs a new RecommendationServiceSettings object with default settings.
Properties
RecommendSettings
public CallSettings RecommendSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RecommendationServiceClient.Recommend
and RecommendationServiceClient.RecommendAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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. |