Class OrderServiceSettings
Settings for OrderServiceClient instances.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class OrderServiceSettings : ServiceSettingsBase
Constructors
OrderServiceSettings()
Constructs a new OrderServiceSettings object with default settings.
Declaration
public OrderServiceSettings()
Properties
GetOrderSettings
CallSettings for synchronous and asynchronous calls to OrderServiceClient.GetOrder
and OrderServiceClient.GetOrderAsync
.
Declaration
public CallSettings GetOrderSettings { 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.
ListOrdersSettings
CallSettings for synchronous and asynchronous calls to
OrderServiceClient.ListOrders
and OrderServiceClient.ListOrdersAsync
.
Declaration
public CallSettings ListOrdersSettings { 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 OrderServiceSettings Clone()
Returns
Type | Description |
---|---|
OrderServiceSettings | A deep clone of this OrderServiceSettings object. |
GetDefault()
Get a new instance of the default OrderServiceSettings.
Declaration
public static OrderServiceSettings GetDefault()
Returns
Type | Description |
---|---|
OrderServiceSettings | A new instance of the default OrderServiceSettings. |