Page Summary
-
AccountLabel is a label assigned by CSS domain or CSS group to its sub-accounts, represented in JSON format.
-
Labels can be of type MANUAL or AUTOMATIC, indicating creation method.
-
You can manage AccountLabels with methods to create, delete, list, and update them.
-
Key AccountLabel fields include labelId, accountId, name, description, and labelType.
Resource: AccountLabel
Label assigned by CSS domain or CSS group to one of its sub-accounts.
| JSON representation |
|---|
{
"labelId"
:
string
,
"accountId"
:
string
,
"name"
:
string
,
"description"
:
string
,
"labelType"
:
enum (
|
| Fields | |
|---|---|
labelId
|
Output only. The ID of the label. |
accountId
|
Immutable. The ID of account this label belongs to. |
name
|
The display name of this label. |
description
|
The description of this label. |
labelType
|
Output only. The type of this label. |
LabelType
The label type.
| Enums | |
|---|---|
LABEL_TYPE_UNSPECIFIED
|
Unknown label type. |
MANUAL
|
Indicates that the label was created manually. |
AUTOMATIC
|
Indicates that the label was created automatically by CSS Center. |
Methods |
|
|---|---|
|
Creates a new label, not assigned to any account. |
|
Deletes a label and removes it from all accounts to which it was assigned. |
|
Lists the labels assigned to an account. |
|
Updates a label. |

