Class AccountsServiceSettings
Settings for AccountsServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class AccountsServiceSettings : ServiceSettingsBase
Constructors
AccountsServiceSettings()
Constructs a new AccountsServiceSettings object with default settings.
Declaration
public AccountsServiceSettings()
Properties
CreateAndConfigureAccountSettings
CallSettings for synchronous and asynchronous calls to
AccountsServiceClient.CreateAndConfigureAccount
and
AccountsServiceClient.CreateAndConfigureAccountAsync
.
Declaration
public CallSettings CreateAndConfigureAccountSettings { 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.
DeleteAccountSettings
CallSettings for synchronous and asynchronous calls to
AccountsServiceClient.DeleteAccount
and AccountsServiceClient.DeleteAccountAsync
.
Declaration
public CallSettings DeleteAccountSettings { 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.
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.
ListAccountsSettings
CallSettings for synchronous and asynchronous calls to
AccountsServiceClient.ListAccounts
and AccountsServiceClient.ListAccountsAsync
.
Declaration
public CallSettings ListAccountsSettings { 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.
ListSubAccountsSettings
CallSettings for synchronous and asynchronous calls to
AccountsServiceClient.ListSubAccounts
and AccountsServiceClient.ListSubAccountsAsync
.
Declaration
public CallSettings ListSubAccountsSettings { 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.
UpdateAccountSettings
CallSettings for synchronous and asynchronous calls to
AccountsServiceClient.UpdateAccount
and AccountsServiceClient.UpdateAccountAsync
.
Declaration
public CallSettings UpdateAccountSettings { 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 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. |