Class RegionsServiceSettings
Settings for RegionsServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class RegionsServiceSettings : ServiceSettingsBase
Constructors
RegionsServiceSettings()
Constructs a new RegionsServiceSettings object with default settings.
Declaration
public RegionsServiceSettings()
Properties
CreateRegionSettings
CallSettings for synchronous and asynchronous calls to
RegionsServiceClient.CreateRegion and RegionsServiceClient.CreateRegionAsync.
Declaration
public CallSettings CreateRegionSettings { 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.
DeleteRegionSettings
CallSettings for synchronous and asynchronous calls to
RegionsServiceClient.DeleteRegion and RegionsServiceClient.DeleteRegionAsync.
Declaration
public CallSettings DeleteRegionSettings { 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.
GetRegionSettings
CallSettings for synchronous and asynchronous calls to
RegionsServiceClient.GetRegion and RegionsServiceClient.GetRegionAsync.
Declaration
public CallSettings GetRegionSettings { 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.
ListRegionsSettings
CallSettings for synchronous and asynchronous calls to
RegionsServiceClient.ListRegions and RegionsServiceClient.ListRegionsAsync.
Declaration
public CallSettings ListRegionsSettings { 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.
UpdateRegionSettings
CallSettings for synchronous and asynchronous calls to
RegionsServiceClient.UpdateRegion and RegionsServiceClient.UpdateRegionAsync.
Declaration
public CallSettings UpdateRegionSettings { 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 RegionsServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| RegionsServiceSettings | A deep clone of this RegionsServiceSettings object. |
GetDefault()
Get a new instance of the default RegionsServiceSettings.
Declaration
public static RegionsServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| RegionsServiceSettings | A new instance of the default RegionsServiceSettings. |