Retail v2 API - Class AnalyticsServiceSettings (2.10.0)

public sealed class AnalyticsServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Retail v2 API class AnalyticsServiceSettings.

Settings for AnalyticsServiceClient instances.

Inheritance

object > ServiceSettingsBase > AnalyticsServiceSettings

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

AnalyticsServiceSettings()

public AnalyticsServiceSettings()

Constructs a new AnalyticsServiceSettings object with default settings.

Properties

ExportAnalyticsMetricsOperationsSettings

public OperationsSettings ExportAnalyticsMetricsOperationsSettings { get; set; }

Long Running Operation settings for calls to AnalyticsServiceClient.ExportAnalyticsMetrics and AnalyticsServiceClient.ExportAnalyticsMetricsAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

ExportAnalyticsMetricsSettings

public CallSettings ExportAnalyticsMetricsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AnalyticsServiceClient.ExportAnalyticsMetrics and AnalyticsServiceClient.ExportAnalyticsMetricsAsync.

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

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

Methods

Clone()

public AnalyticsServiceSettings Clone()

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

Returns
Type Description
AnalyticsServiceSettings

A deep clone of this AnalyticsServiceSettings object.

GetDefault()

public static AnalyticsServiceSettings GetDefault()

Get a new instance of the default AnalyticsServiceSettings.

Returns
Type Description
AnalyticsServiceSettings

A new instance of the default AnalyticsServiceSettings.