v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13102443.0 KB
accounts

Creates a new label, not assigned to any account.

post/v1/{+parent}/labels

Path parameters

parentstring required

Required. The parent account. Format: accounts/{account}

Request body

namestring

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

accountIdstring int64

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

displayNamestring

The display name of this label.

labelIdstring int64

Output only. The ID of the label.

labelType'LABEL_TYPE_UNSPECIFIED' | 'MANUAL' | 'AUTOMATIC'

Output only. The type of this label.

descriptionstring

The description of this label.

Response

Successful response