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 \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ email_preferences |
Google\Shopping\Merchant\Accounts\V1beta\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 |
Google\Shopping\Merchant\Accounts\V1beta\EmailPreferences|null |
hasEmailPreferences
clearEmailPreferences
setEmailPreferences
Required. Email Preferences to be updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Shopping\Merchant\Accounts\V1beta\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 |
Google\Shopping\Merchant\Accounts\V1beta\EmailPreferences
Required. Email Preferences to be updated. |
updateMask |
Google\Protobuf\FieldMask
Required. List of fields being updated. |
Returns | |
---|---|
Type | Description |
Google\Shopping\Merchant\Accounts\V1beta\UpdateEmailPreferencesRequest |