MutateLabelsRequest

  • The MutateLabels request message is used for modifying labels through the LabelService.

  • Key fields include customer_id, operations, partial_failure, validate_only, and response_content_type.

  • customer_id and operations are required fields for the request.

  • partial_failure and validate_only control the execution and validation behavior of the request.

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.