public sealed class RecommendationServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Discovery Engine v1 API class RecommendationServiceSettings.
Settings for RecommendationServiceClient instances.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.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 |
- 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. |