public sealed class RecommenderSettings : ServiceSettingsBase
Settings for RecommenderClient instances.
Namespace
Google.Cloud.Recommender.V1Assembly
Google.Cloud.Recommender.V1.dll
Constructors
RecommenderSettings()
public RecommenderSettings()
Constructs a new RecommenderSettings object with default settings.
Properties
GetInsightSettings
public CallSettings GetInsightSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RecommenderClient.GetInsight
and RecommenderClient.GetInsightAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Timeout: 60 seconds.
GetRecommendationSettings
public CallSettings GetRecommendationSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RecommenderClient.GetRecommendation
and RecommenderClient.GetRecommendationAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Timeout: 60 seconds.
ListInsightsSettings
public CallSettings ListInsightsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RecommenderClient.ListInsights
and RecommenderClient.ListInsightsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Timeout: 60 seconds.
ListRecommendationsSettings
public CallSettings ListRecommendationsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RecommenderClient.ListRecommendations
and RecommenderClient.ListRecommendationsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Timeout: 60 seconds.
MarkInsightAcceptedSettings
public CallSettings MarkInsightAcceptedSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RecommenderClient.MarkInsightAccepted
and RecommenderClient.MarkInsightAcceptedAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
MarkRecommendationClaimedSettings
public CallSettings MarkRecommendationClaimedSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RecommenderClient.MarkRecommendationClaimed
and RecommenderClient.MarkRecommendationClaimedAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
MarkRecommendationFailedSettings
public CallSettings MarkRecommendationFailedSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RecommenderClient.MarkRecommendationFailed
and RecommenderClient.MarkRecommendationFailedAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
MarkRecommendationSucceededSettings
public CallSettings MarkRecommendationSucceededSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
RecommenderClient.MarkRecommendationSucceeded
and
RecommenderClient.MarkRecommendationSucceededAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
Methods
Clone()
public RecommenderSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
RecommenderSettings | A deep clone of this RecommenderSettings object. |
GetDefault()
public static RecommenderSettings GetDefault()
Get a new instance of the default RecommenderSettings.
Returns | |
---|---|
Type | Description |
RecommenderSettings | A new instance of the default RecommenderSettings. |