Class AccountsResource.EmailPreferencesResource.GetEmailPreferencesRequest
Returns the email preferences for a Merchant Center account user. This service only permits retrieving and updating email preferences for the authenticated user. Use the name=accounts/*/users/me/emailPreferences alias to get preferences for the authenticated user.
Inheritance
AccountsResource.EmailPreferencesResource.GetEmailPreferencesRequest
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.EmailPreferencesResource.GetEmailPreferencesRequest : MerchantBaseServiceRequest<EmailPreferences>, IClientServiceRequest<EmailPreferences>, IClientServiceRequest
Constructors
GetEmailPreferencesRequest(IClientService, string)
Constructs a new GetEmailPreferences request.
Declaration
public GetEmailPreferencesRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the EmailPreferences
resource. Format:
accounts/{account}/users/{email}/emailPreferences
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetEmailPreferences parameter list.
Declaration
protected override void InitParameters()