Class LocalInventoryServiceSettings
Settings for LocalInventoryServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Merchant.Inventories.V1Beta
Assembly: Google.Shopping.Merchant.Inventories.V1Beta.dll
Syntax
public sealed class LocalInventoryServiceSettings : ServiceSettingsBase
Constructors
LocalInventoryServiceSettings()
Constructs a new LocalInventoryServiceSettings object with default settings.
Declaration
public LocalInventoryServiceSettings()
Properties
DeleteLocalInventorySettings
CallSettings for synchronous and asynchronous calls to
LocalInventoryServiceClient.DeleteLocalInventory
and
LocalInventoryServiceClient.DeleteLocalInventoryAsync
.
Declaration
public CallSettings DeleteLocalInventorySettings { 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.
InsertLocalInventorySettings
CallSettings for synchronous and asynchronous calls to
LocalInventoryServiceClient.InsertLocalInventory
and
LocalInventoryServiceClient.InsertLocalInventoryAsync
.
Declaration
public CallSettings InsertLocalInventorySettings { 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.
ListLocalInventoriesSettings
CallSettings for synchronous and asynchronous calls to
LocalInventoryServiceClient.ListLocalInventories
and
LocalInventoryServiceClient.ListLocalInventoriesAsync
.
Declaration
public CallSettings ListLocalInventoriesSettings { 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 LocalInventoryServiceSettings Clone()
Returns
Type | Description |
---|---|
LocalInventoryServiceSettings | A deep clone of this LocalInventoryServiceSettings object. |
GetDefault()
Get a new instance of the default LocalInventoryServiceSettings.
Declaration
public static LocalInventoryServiceSettings GetDefault()
Returns
Type | Description |
---|---|
LocalInventoryServiceSettings | A new instance of the default LocalInventoryServiceSettings. |