Google Cloud Recommender v1 API - Class RecommenderSettings (3.6.0)

public sealed class RecommenderSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Recommender v1 API class RecommenderSettings.

Settings for RecommenderClient instances.

Inheritance

object > ServiceSettingsBase > RecommenderSettings

Namespace

Google.Cloud.Recommender.V1

Assembly

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
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

GetInsightTypeConfigSettings

public CallSettings GetInsightTypeConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RecommenderClient.GetInsightTypeConfig and RecommenderClient.GetInsightTypeConfigAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetRecommendationSettings

public CallSettings GetRecommendationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RecommenderClient.GetRecommendation and RecommenderClient.GetRecommendationAsync.

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

GetRecommenderConfigSettings

public CallSettings GetRecommenderConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RecommenderClient.GetRecommenderConfig and RecommenderClient.GetRecommenderConfigAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListInsightsSettings

public CallSettings ListInsightsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RecommenderClient.ListInsights and RecommenderClient.ListInsightsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • 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
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • 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
Remarks
  • 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
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

MarkRecommendationDismissedSettings

public CallSettings MarkRecommendationDismissedSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RecommenderClient.MarkRecommendationDismissed and RecommenderClient.MarkRecommendationDismissedAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

MarkRecommendationFailedSettings

public CallSettings MarkRecommendationFailedSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RecommenderClient.MarkRecommendationFailed and RecommenderClient.MarkRecommendationFailedAsync .

Property Value
Type Description
CallSettings
Remarks
  • 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
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

UpdateInsightTypeConfigSettings

public CallSettings UpdateInsightTypeConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RecommenderClient.UpdateInsightTypeConfig and RecommenderClient.UpdateInsightTypeConfigAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

UpdateRecommenderConfigSettings

public CallSettings UpdateRecommenderConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RecommenderClient.UpdateRecommenderConfig and RecommenderClient.UpdateRecommenderConfigAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

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.