Google Shopping Merchant Accounts V1beta Client - Class GetEmailPreferencesRequest (0.3.1)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class GetEmailPreferencesRequest.

Request message for GetEmailPreferences method.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.GetEmailPreferencesRequest

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the EmailPreferences resource. Format: accounts/{account}/users/{email}/emailPreferences

getName

Required. The name of the EmailPreferences resource.

Format: accounts/{account}/users/{email}/emailPreferences

Returns
Type Description
string

setName

Required. The name of the EmailPreferences resource.

Format: accounts/{account}/users/{email}/emailPreferences

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the EmailPreferences resource. Format: accounts/{account}/users/{email}/emailPreferences Please see EmailPreferencesServiceClient::emailPreferencesName() for help formatting this field.

Returns
Type Description
GetEmailPreferencesRequest