MutateCustomerLabelsRequest

  • This message is the request for the CustomerLabelService.MutateCustomerLabels API call.

  • It requires a customer_id and a list of operations to modify customer-label relationships.

  • You can choose to allow partial_failure for operations, or have all operations fail if any are invalid (default).

  • The request can be validated without execution using validate_only.

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.