Class CssProductsServiceSettings
Settings for CssProductsServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public sealed class CssProductsServiceSettings : ServiceSettingsBase
Constructors
CssProductsServiceSettings()
Constructs a new CssProductsServiceSettings object with default settings.
Declaration
public CssProductsServiceSettings()
Properties
GetCssProductSettings
CallSettings for synchronous and asynchronous calls to
CssProductsServiceClient.GetCssProduct
and CssProductsServiceClient.GetCssProductAsync
.
Declaration
public CallSettings GetCssProductSettings { 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.
ListCssProductsSettings
CallSettings for synchronous and asynchronous calls to
CssProductsServiceClient.ListCssProducts
and CssProductsServiceClient.ListCssProductsAsync
.
Declaration
public CallSettings ListCssProductsSettings { 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 CssProductsServiceSettings Clone()
Returns
Type | Description |
---|---|
CssProductsServiceSettings | A deep clone of this CssProductsServiceSettings object. |
GetDefault()
Get a new instance of the default CssProductsServiceSettings.
Declaration
public static CssProductsServiceSettings GetDefault()
Returns
Type | Description |
---|---|
CssProductsServiceSettings | A new instance of the default CssProductsServiceSettings. |