Google Shopping Merchant Accounts V1beta Client - Class UpdateAccountRequest (0.2.0)

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

Request message for the UpdateAccount method.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ account Google\Shopping\Merchant\Accounts\V1beta\Account

Required. The new version of the account.

↳ update_mask Google\Protobuf\FieldMask

Required. List of fields being updated.

getAccount

Required. The new version of the account.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\Account|null

hasAccount

clearAccount

setAccount

Required. The new version of the account.

Parameter
Name Description
var Google\Shopping\Merchant\Accounts\V1beta\Account
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
account Google\Shopping\Merchant\Accounts\V1beta\Account

Required. The new version of the account.

updateMask Google\Protobuf\FieldMask

Required. List of fields being updated.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\UpdateAccountRequest