MutateCustomerLabelsRequest

  • The MutateCustomerLabels request message is used to modify customer-label relationships for a specific customer.

  • The request requires a customer_id and a list of operations of type CustomerLabelOperation.

  • The partial_failure field allows for successful operations to proceed even if others fail, defaulting to false for transactional execution.

  • The validate_only field enables validation of the request without execution.

Request message for CustomerLabelService.MutateCustomerLabels.

Fields

customer_id

string

Required. ID of the customer whose customer-label relationships are being modified.

operations[]

CustomerLabelOperation

Required. The list of operations to perform on customer-label relationships.

partial_failure

bool

If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.

validate_only

bool

If true, the request is validated but not executed. Only errors are returned, not results.