Google Shopping Css V1 Client - Class CreateAccountLabelRequest (0.1.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setParent

Required. The parent account.

Format: accounts/{account}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAccountLabel

Required. The label to create.

Returns
TypeDescription
Google\Shopping\Css\V1\AccountLabel|null

hasAccountLabel

clearAccountLabel

setAccountLabel

Required. The label to create.

Parameter
NameDescription
var Google\Shopping\Css\V1\AccountLabel
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Shopping\Css\V1\CreateAccountLabelRequest