Class TermsOfServiceServiceSettings
Settings for TermsOfServiceServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class TermsOfServiceServiceSettings : ServiceSettingsBase
Constructors
TermsOfServiceServiceSettings()
Constructs a new TermsOfServiceServiceSettings object with default settings.
Declaration
public TermsOfServiceServiceSettings()
Properties
AcceptTermsOfServiceSettings
CallSettings for synchronous and asynchronous calls to
TermsOfServiceServiceClient.AcceptTermsOfService and
TermsOfServiceServiceClient.AcceptTermsOfServiceAsync.
Declaration
public CallSettings AcceptTermsOfServiceSettings { 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.
GetTermsOfServiceSettings
CallSettings for synchronous and asynchronous calls to
TermsOfServiceServiceClient.GetTermsOfService and
TermsOfServiceServiceClient.GetTermsOfServiceAsync.
Declaration
public CallSettings GetTermsOfServiceSettings { 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.
RetrieveLatestTermsOfServiceSettings
CallSettings for synchronous and asynchronous calls to
TermsOfServiceServiceClient.RetrieveLatestTermsOfService and
TermsOfServiceServiceClient.RetrieveLatestTermsOfServiceAsync.
Declaration
public CallSettings RetrieveLatestTermsOfServiceSettings { 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 TermsOfServiceServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| TermsOfServiceServiceSettings | A deep clone of this TermsOfServiceServiceSettings object. |
GetDefault()
Get a new instance of the default TermsOfServiceServiceSettings.
Declaration
public static TermsOfServiceServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| TermsOfServiceServiceSettings | A new instance of the default TermsOfServiceServiceSettings. |