Class EmailPreferencesServiceSettings
Settings for EmailPreferencesServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class EmailPreferencesServiceSettings : ServiceSettingsBase
Constructors
EmailPreferencesServiceSettings()
Constructs a new EmailPreferencesServiceSettings object with default settings.
Declaration
public EmailPreferencesServiceSettings()
Properties
GetEmailPreferencesSettings
CallSettings for synchronous and asynchronous calls to
EmailPreferencesServiceClient.GetEmailPreferences
and
EmailPreferencesServiceClient.GetEmailPreferencesAsync
.
Declaration
public CallSettings GetEmailPreferencesSettings { 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.
UpdateEmailPreferencesSettings
CallSettings for synchronous and asynchronous calls to
EmailPreferencesServiceClient.UpdateEmailPreferences
and
EmailPreferencesServiceClient.UpdateEmailPreferencesAsync
.
Declaration
public CallSettings UpdateEmailPreferencesSettings { 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 EmailPreferencesServiceSettings Clone()
Returns
Type | Description |
---|---|
EmailPreferencesServiceSettings | A deep clone of this EmailPreferencesServiceSettings object. |
GetDefault()
Get a new instance of the default EmailPreferencesServiceSettings.
Declaration
public static EmailPreferencesServiceSettings GetDefault()
Returns
Type | Description |
---|---|
EmailPreferencesServiceSettings | A new instance of the default EmailPreferencesServiceSettings. |