Class EmailPreferences
The categories of notifications the user opted into / opted out of. The email preferences do not include mandatory announcements as users can't opt out of them.
Implements
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class EmailPreferences : IMessage<EmailPreferences>, IEquatable<EmailPreferences>, IDeepCloneable<EmailPreferences>, IBufferMessage, IMessage
Constructors
EmailPreferences()
Declaration
public EmailPreferences()
EmailPreferences(EmailPreferences)
Declaration
public EmailPreferences(EmailPreferences other)
Parameters
Type | Name | Description |
---|---|---|
EmailPreferences | other |
Properties
EmailPreferencesName
EmailPreferencesName-typed view over the Name resource name property.
Declaration
public EmailPreferencesName EmailPreferencesName { get; set; }
Property Value
Type | Description |
---|---|
EmailPreferencesName |
Name
Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NewsAndTips
Optional. Updates on new features, tips and best practices.
Declaration
public EmailPreferences.Types.OptInState NewsAndTips { get; set; }
Property Value
Type | Description |
---|---|
EmailPreferences.Types.OptInState |