customer_label

Help me build a query Proto definition on GitHub

Represents a relationship between a customer and a label. This customer may not have access to all the labels attached to it. Additional CustomerLabels may be returned by increasing permissions with login-customer-id.

Attributed resources
customer

Fields from the preceding resources can be selected along with this resource in your SELECT and WHERE clauses. These fields do not segment metrics in your SELECT clause.

customer_label.customer

Field description

Output only. The resource name of the customer to which the label is attached. This field should not be set when creating a new CustomerLabel.

CategoryATTRIBUTE
Data TypeRESOURCE_NAME
CapabilitiesSelectable: True
Filterable: True
Sortable: True
Repeated: False
Selectable with

customer_label.label

Field description

Output only. The resource name of the label assigned to the customer. This field should not be set when creating a new CustomerLabel.

Note: the Customer ID portion of the label resource name is not validated when creating a new CustomerLabel.

CategoryATTRIBUTE
Data TypeRESOURCE_NAME
CapabilitiesSelectable: True
Filterable: True
Sortable: False
Repeated: False
Selectable with

customer_label.resource_name

Field description

Immutable. Name of the resource. Customer label resource names have the form: customers/{customer_id}/customerLabels/{label_id}

CategoryATTRIBUTE
Data TypeRESOURCE_NAME
CapabilitiesSelectable: True
Filterable: True
Sortable: False
Repeated: False
Selectable with