Show / Hide Table of Contents

Class PromotionsServiceSettings

Settings for PromotionsServiceClient instances.

Inheritance
object
ServiceSettingsBase
PromotionsServiceSettings
Inherited Members
ServiceSettingsBase.VersionHeaderBuilder
ServiceSettingsBase.CallSettings
ServiceSettingsBase.Clock
ServiceSettingsBase.Scheduler
ServiceSettingsBase.Interceptor
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Promotions.V1
Assembly: Google.Shopping.Merchant.Promotions.V1.dll
Syntax
public sealed class PromotionsServiceSettings : ServiceSettingsBase

Constructors

PromotionsServiceSettings()

Constructs a new PromotionsServiceSettings object with default settings.

Declaration
public PromotionsServiceSettings()

Properties

GetPromotionSettings

CallSettings for synchronous and asynchronous calls to PromotionsServiceClient.GetPromotion and PromotionsServiceClient.GetPromotionAsync.

Declaration
public CallSettings GetPromotionSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

InsertPromotionSettings

CallSettings for synchronous and asynchronous calls to PromotionsServiceClient.InsertPromotion and PromotionsServiceClient.InsertPromotionAsync.

Declaration
public CallSettings InsertPromotionSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListPromotionsSettings

CallSettings for synchronous and asynchronous calls to PromotionsServiceClient.ListPromotions and PromotionsServiceClient.ListPromotionsAsync.

Declaration
public CallSettings ListPromotionsSettings { get; set; }
Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

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

Declaration
public PromotionsServiceSettings Clone()
Returns
Type Description
PromotionsServiceSettings

A deep clone of this PromotionsServiceSettings object.

GetDefault()

Get a new instance of the default PromotionsServiceSettings.

Declaration
public static PromotionsServiceSettings GetDefault()
Returns
Type Description
PromotionsServiceSettings

A new instance of the default PromotionsServiceSettings.

In this article
Back to top Generated by DocFX