Google Shopping Css V1 Client - Class Account (0.1.0)

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

setName

The label resource name.

Format: accounts/{account}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFullName

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

Returns
TypeDescription
string

setFullName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

The CSS/MC account's short display name.

Returns
TypeDescription
string

hasDisplayName

clearDisplayName

setDisplayName

The CSS/MC account's short display name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHomepageUri

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

Returns
TypeDescription
string

hasHomepageUri

clearHomepageUri

setHomepageUri

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getLabelIds

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLabelIds

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

Parameter
NameDescription
var int[]|string[]|Google\Protobuf\Internal\RepeatedField
Returns
TypeDescription
$this

getAutomaticLabelIds

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAutomaticLabelIds

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

Parameter
NameDescription
var int[]|string[]|Google\Protobuf\Internal\RepeatedField
Returns
TypeDescription
$this

getAccountType

Output only. The type of this account.

Returns
TypeDescription
int

setAccountType

Output only. The type of this account.

Parameter
NameDescription
var int
Returns
TypeDescription
$this