Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class CreateUserRequest.
Request message for the CreateUser
method.
Generated from protobuf message google.shopping.merchant.accounts.v1.CreateUserRequest
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the account for which a user will be created. Format: accounts/{account}
↳ user_id
string
Required. The email address of the user (for example, john.doe@gmail.com
).
↳ user
getParent
Required. The resource name of the account for which a user will be
created. Format: accounts/{account}
string
setParent
Required. The resource name of the account for which a user will be
created. Format: accounts/{account}
var
string
$this
getUserId
Required. The email address of the user (for example, john.doe@gmail.com
).
string
setUserId
Required. The email address of the user (for example, john.doe@gmail.com
).
var
string
$this
getUser
Optional. The user to create.
hasUser
clearUser
setUser
Optional. The user to create.
$this
static::build
parent
string
Required. The resource name of the account for which a user will be
created. Format: accounts/{account}
Please see UserServiceClient::accountName()
for help formatting this field.
user
userId
string
Required. The email address of the user (for example, john.doe@gmail.com
).