Class OnlineReturnPolicyServiceSettings
Settings for OnlineReturnPolicyServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class OnlineReturnPolicyServiceSettings : ServiceSettingsBase
Constructors
OnlineReturnPolicyServiceSettings()
Constructs a new OnlineReturnPolicyServiceSettings object with default settings.
Declaration
public OnlineReturnPolicyServiceSettings()
Properties
GetOnlineReturnPolicySettings
CallSettings for synchronous and asynchronous calls to
OnlineReturnPolicyServiceClient.GetOnlineReturnPolicy
and
OnlineReturnPolicyServiceClient.GetOnlineReturnPolicyAsync
.
Declaration
public CallSettings GetOnlineReturnPolicySettings { 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.
ListOnlineReturnPoliciesSettings
CallSettings for synchronous and asynchronous calls to
OnlineReturnPolicyServiceClient.ListOnlineReturnPolicies
and
OnlineReturnPolicyServiceClient.ListOnlineReturnPoliciesAsync
.
Declaration
public CallSettings ListOnlineReturnPoliciesSettings { 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 OnlineReturnPolicyServiceSettings Clone()
Returns
Type | Description |
---|---|
OnlineReturnPolicyServiceSettings | A deep clone of this OnlineReturnPolicyServiceSettings object. |
GetDefault()
Get a new instance of the default OnlineReturnPolicyServiceSettings.
Declaration
public static OnlineReturnPolicyServiceSettings GetDefault()
Returns
Type | Description |
---|---|
OnlineReturnPolicyServiceSettings | A new instance of the default OnlineReturnPolicyServiceSettings. |