Reference documentation and code samples for the Google Shopping Css V1 Client class CreateAccountLabelRequest.
Request message for the 'CreateAccountLanel' method.
Generated from protobuf message google.shopping.css.v1.CreateAccountLabelRequest
Namespace
Google \ Shopping \ Css \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent account. Format: accounts/{account} |
↳ account_label |
Google\Shopping\Css\V1\AccountLabel
Required. The label to create. |
getParent
Required. The parent account.
Format: accounts/{account}
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent account.
Format: accounts/{account}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAccountLabel
Required. The label to create.
Returns | |
---|---|
Type | Description |
Google\Shopping\Css\V1\AccountLabel|null |
hasAccountLabel
clearAccountLabel
setAccountLabel
Required. The label to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Shopping\Css\V1\AccountLabel
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent account. Format: accounts/{account} Please see Google\Shopping\Css\V1\AccountLabelsServiceClient::accountName() for help formatting this field. |
accountLabel |
Google\Shopping\Css\V1\AccountLabel
Required. The label to create. |
Returns | |
---|---|
Type | Description |
Google\Shopping\Css\V1\CreateAccountLabelRequest |