Class AccountsServiceSettings
Settings for AccountsServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public sealed class AccountsServiceSettings : ServiceSettingsBase
Constructors
AccountsServiceSettings()
Constructs a new AccountsServiceSettings object with default settings.
Declaration
public AccountsServiceSettings()
Properties
GetAccountSettings
CallSettings for synchronous and asynchronous calls to
AccountsServiceClient.GetAccount
and AccountsServiceClient.GetAccountAsync
.
Declaration
public CallSettings GetAccountSettings { 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.
ListChildAccountsSettings
CallSettings for synchronous and asynchronous calls to
AccountsServiceClient.ListChildAccounts
and AccountsServiceClient.ListChildAccountsAsync
.
Declaration
public CallSettings ListChildAccountsSettings { 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.
UpdateLabelsSettings
CallSettings for synchronous and asynchronous calls to
AccountsServiceClient.UpdateLabels
and AccountsServiceClient.UpdateLabelsAsync
.
Declaration
public CallSettings UpdateLabelsSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- Timeout: 60 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public AccountsServiceSettings Clone()
Returns
Type | Description |
---|---|
AccountsServiceSettings | A deep clone of this AccountsServiceSettings object. |
GetDefault()
Get a new instance of the default AccountsServiceSettings.
Declaration
public static AccountsServiceSettings GetDefault()
Returns
Type | Description |
---|---|
AccountsServiceSettings | A new instance of the default AccountsServiceSettings. |