Google Shopping Css V1 Client - Class Account (0.2.8)

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

Information about CSS/MC account.

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

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ full_name string

Output only. Immutable. The CSS/MC account's full name.

↳ display_name string

The CSS/MC account's short display name.

↳ homepage_uri string

Output only. Immutable. The CSS/MC account's homepage.

↳ parent string

The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account.

↳ label_ids array

Manually created label IDs assigned to the CSS/MC account by a CSS parent account.

↳ automatic_label_ids array

Automatically created label IDs assigned to the MC account by CSS Center.

↳ account_type int

Output only. The type of this account.

getName

The label resource name.

Format: accounts/{account}

Returns
Type Description
string

setName

The label resource name.

Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getFullName

Output only. Immutable. The CSS/MC account's full name.

Returns
Type Description
string

setFullName

Output only. Immutable. The CSS/MC account's full name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

The CSS/MC account's short display name.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

The CSS/MC account's short display name.

Parameter
Name Description
var string
Returns
Type Description
$this

getHomepageUri

Output only. Immutable. The CSS/MC account's homepage.

Returns
Type Description
string

hasHomepageUri

clearHomepageUri

setHomepageUri

Output only. Immutable. The CSS/MC account's homepage.

Parameter
Name Description
var string
Returns
Type Description
$this

getParent

The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account.

Returns
Type Description
string

hasParent

clearParent

setParent

The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabelIds

Manually created label IDs assigned to the CSS/MC account by a CSS parent account.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setLabelIds

Manually created label IDs assigned to the CSS/MC account by a CSS parent account.

Parameter
Name Description
var int[]|string[]|Google\Protobuf\Internal\RepeatedField
Returns
Type Description
$this

getAutomaticLabelIds

Automatically created label IDs assigned to the MC account by CSS Center.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAutomaticLabelIds

Automatically created label IDs assigned to the MC account by CSS Center.

Parameter
Name Description
var int[]|string[]|Google\Protobuf\Internal\RepeatedField
Returns
Type Description
$this

getAccountType

Output only. The type of this account.

Returns
Type Description
int

setAccountType

Output only. The type of this account.

Parameter
Name Description
var int
Returns
Type Description
$this