Google Shopping Merchant Accounts V1 Client - Class UpdateUserRequest (1.0.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class UpdateUserRequest.

Request message for the UpdateUser method.

Generated from protobuf message google.shopping.merchant.accounts.v1.UpdateUserRequest

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ user
User

Required. The new version of the user. Use me to refer to your own email address, for example accounts/{account}/users/me .

↳ update_mask
Google\Protobuf\FieldMask

Optional. List of fields being updated. The following fields are supported (in both snake_case and lowerCamelCase ): - access_rights

getUser

Required. The new version of the user.

Use me to refer to your own email address, for example accounts/{account}/users/me .

Returns
Type
Description
User |null

hasUser

clearUser

setUser

Required. The new version of the user.

Use me to refer to your own email address, for example accounts/{account}/users/me .

Parameter
Name
Description
var
Returns
Type
Description
$this

getUpdateMask

Optional. List of fields being updated.

The following fields are supported (in both snake_case and lowerCamelCase ):

  • access_rights
Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. List of fields being updated.

The following fields are supported (in both snake_case and lowerCamelCase ):

  • access_rights
Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
user
User

Required. The new version of the user.

Use me to refer to your own email address, for example accounts/{account}/users/me .

updateMask
Google\Protobuf\FieldMask

Optional. List of fields being updated.

The following fields are supported (in both snake_case and lowerCamelCase ):

  • access_rights
Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: