MutateLabelsRequest

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

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

  • The partial_failure field determines if successful operations are carried out when some are invalid, while the validate_only field allows validation without execution.

  • The response_content_type field controls whether the mutated resource or just its name is returned after the operation.

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.