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

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

Request message for UpdateEmailPreferences method.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ email_preferences EmailPreferences

Required. Email Preferences to be updated.

↳ update_mask Google\Protobuf\FieldMask

Required. List of fields being updated.

getEmailPreferences

Required. Email Preferences to be updated.

Returns
Type Description
EmailPreferences|null

hasEmailPreferences

clearEmailPreferences

setEmailPreferences

Required. Email Preferences to be updated.

Parameter
Name Description
var EmailPreferences
Returns
Type Description
$this

getUpdateMask

Required. List of fields being updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. List of fields being updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
emailPreferences EmailPreferences

Required. Email Preferences to be updated.

updateMask Google\Protobuf\FieldMask

Required. List of fields being updated.

Returns
Type Description
UpdateEmailPreferencesRequest