Show / Hide Table of Contents

Class ProductsServiceSettings

Settings for ProductsServiceClient instances.

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

Constructors

ProductsServiceSettings()

Constructs a new ProductsServiceSettings object with default settings.

Declaration
public ProductsServiceSettings()

Properties

GetProductSettings

CallSettings for synchronous and asynchronous calls to ProductsServiceClient.GetProduct and ProductsServiceClient.GetProductAsync.

Declaration
public CallSettings GetProductSettings { 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.

ListProductsSettings

CallSettings for synchronous and asynchronous calls to ProductsServiceClient.ListProducts and ProductsServiceClient.ListProductsAsync.

Declaration
public CallSettings ListProductsSettings { 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 ProductsServiceSettings Clone()
Returns
Type Description
ProductsServiceSettings

A deep clone of this ProductsServiceSettings object.

GetDefault()

Get a new instance of the default ProductsServiceSettings.

Declaration
public static ProductsServiceSettings GetDefault()
Returns
Type Description
ProductsServiceSettings

A new instance of the default ProductsServiceSettings.

In this article
Back to top Generated by DocFX