CustomerLabelOperation

  • This operation manages customer-label relationships through create or remove actions.

  • The create operation requires no resource name for the new customer-label relationship.

  • The remove operation requires a specific resource name in the format customers/{customer_id}/customerLabels/{label_id} to identify the relationship being removed.

A single operation (create, remove) on a customer-label relationship.

Fields
Union field

operation

operation. The mutate operation. operation can be only one of the following:

create

CustomerLabel

Create operation: No resource name is expected for the new customer-label relationship.

remove

string

Remove operation: A resource name for the customer-label relationship being removed, in this format:

customers/{customer_id}/customerLabels/{label_id}