MutateCustomerLabelsRequest

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

  • It requires acustomer_id and a list ofoperations to modify customer-label relationships.

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

  • The request can be validated without execution usingvalidate_only.

Request message forCustomerLabelService.MutateCustomerLabels.

Proto definition

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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.