Google Shopping Css V1 Client - Class AccountLabel (0.2.9)

Reference documentation and code samples for the Google Shopping Css V1 Client class AccountLabel.

Label assigned by CSS domain or CSS group to one of its sub-accounts.

Generated from protobuf message google.shopping.css.v1.AccountLabel

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The resource name of the label. Format: accounts/{account}/labels/{label}

↳ label_id int|string

Output only. The ID of the label.

↳ account_id int|string

Output only. The ID of account this label belongs to.

↳ display_name string

The display name of this label.

↳ description string

The description of this label.

↳ label_type int

Output only. The type of this label.

getName

The resource name of the label.

Format: accounts/{account}/labels/{label}

Returns
Type Description
string

setName

The resource name of the label.

Format: accounts/{account}/labels/{label}

Parameter
Name Description
var string
Returns
Type Description
$this

getLabelId

Output only. The ID of the label.

Returns
Type Description
int|string

setLabelId

Output only. The ID of the label.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getAccountId

Output only. The ID of account this label belongs to.

Returns
Type Description
int|string

setAccountId

Output only. The ID of account this label belongs to.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getDisplayName

The display name of this label.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

The display name of this label.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

The description of this label.

Returns
Type Description
string

hasDescription

clearDescription

setDescription

The description of this label.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabelType

Output only. The type of this label.

Returns
Type Description
int

setLabelType

Output only. The type of this label.

Parameter
Name Description
var int
Returns
Type Description
$this