MutateCustomerLabelsRequest

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

  • The request requires a customer_id and a list of operations to perform.

  • partial_failure can be set to allow successful operations to proceed even if others fail, defaulting to false where all operations must be valid.

  • validate_only can be set to true to validate the request without execution, returning only errors.

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.