MutateLabelsRequest

  • The request message for LabelService.MutateLabels is used to modify labels.

  • It requires a customer_id and a list of operations to perform on labels.

  • partial_failure allows for successful operations to proceed even if some are invalid, while validate_only validates the request without execution.

  • response_content_type determines whether the full resource or just its name is returned after mutation.

Request message for LabelService.MutateLabels.

Fields

customer_id

string

Required. ID of the customer whose labels are being modified.

operations[]

LabelOperation

Required. The list of operations to perform on labels.

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.

response_content_type

ResponseContentType

The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.