public sealed class ConsumerProcurementServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class ConsumerProcurementServiceSettings.
Settings for ConsumerProcurementServiceClient instances.
Namespace
Google.Cloud.Commerce.Consumer.Procurement.V1Assembly
Google.Cloud.Commerce.Consumer.Procurement.V1.dll
Constructors
ConsumerProcurementServiceSettings()
public ConsumerProcurementServiceSettings()
Constructs a new ConsumerProcurementServiceSettings object with default settings.
Properties
CancelOrderOperationsSettings
public OperationsSettings CancelOrderOperationsSettings { get; set; }
Long Running Operation settings for calls to ConsumerProcurementServiceClient.CancelOrder
and
ConsumerProcurementServiceClient.CancelOrderAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
CancelOrderSettings
public CallSettings CancelOrderSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ConsumerProcurementServiceClient.CancelOrder
and ConsumerProcurementServiceClient.CancelOrderAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
GetOrderSettings
public CallSettings GetOrderSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ConsumerProcurementServiceClient.GetOrder
and ConsumerProcurementServiceClient.GetOrderAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListOrdersSettings
public CallSettings ListOrdersSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ConsumerProcurementServiceClient.ListOrders
and ConsumerProcurementServiceClient.ListOrdersAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ModifyOrderOperationsSettings
public OperationsSettings ModifyOrderOperationsSettings { get; set; }
Long Running Operation settings for calls to ConsumerProcurementServiceClient.ModifyOrder
and
ConsumerProcurementServiceClient.ModifyOrderAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
ModifyOrderSettings
public CallSettings ModifyOrderSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ConsumerProcurementServiceClient.ModifyOrder
and ConsumerProcurementServiceClient.ModifyOrderAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
PlaceOrderOperationsSettings
public OperationsSettings PlaceOrderOperationsSettings { get; set; }
Long Running Operation settings for calls to ConsumerProcurementServiceClient.PlaceOrder
and
ConsumerProcurementServiceClient.PlaceOrderAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
PlaceOrderSettings
public CallSettings PlaceOrderSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ConsumerProcurementServiceClient.PlaceOrder
and ConsumerProcurementServiceClient.PlaceOrderAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 60 seconds.
Methods
Clone()
public ConsumerProcurementServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
ConsumerProcurementServiceSettings |
A deep clone of this ConsumerProcurementServiceSettings object. |
GetDefault()
public static ConsumerProcurementServiceSettings GetDefault()
Get a new instance of the default ConsumerProcurementServiceSettings.
Returns | |
---|---|
Type | Description |
ConsumerProcurementServiceSettings |
A new instance of the default ConsumerProcurementServiceSettings. |