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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ user |
User
Required. The new version of the user. Use |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. List of fields being updated. The following fields are supported (in both |
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 |
User
|
| 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 |
Google\Protobuf\FieldMask|null |
|
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 |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
user |
User
Required. The new version of the user. Use |
updateMask |
Google\Protobuf\FieldMask
Optional. List of fields being updated. The following fields are supported (in both
|
| Returns | |
|---|---|
| Type | Description |
UpdateUserRequest |
|