CustomerLabel

  • A CustomerLabel represents a relationship between a customer and a label, where the customer may not have access to all attached labels.

  • Increasing permissions with login-customer-id may return additional CustomerLabels.

  • Customer label resource names have the format customers/{customer_id}/customerLabels/{label_id}.

  • The resource name of the customer and the label assigned to the customer are output only and read only fields.

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.

Proto definition GitHub

Fields

customer

string

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.

label

string

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.

resource_name

string

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