LabelOperation

  • Describes a single operation on a label, which can be create, remove, or update.

  • An update_mask is used to specify which fields are modified during an update operation.

  • The operation field defines the type of mutate operation being performed on the label.

A single operation (create, remove, update) on a label.

Fields

update_mask

FieldMask

FieldMask that determines which resource fields are modified in an update.

Union field

operation

operation. The mutate operation. operation can be only one of the following:

create

Label

Create operation: No resource name is expected for the new label.

update

Label

Update operation: The label is expected to have a valid resource name.

remove

string

Remove operation: A resource name for the label being removed, in this format:

customers/{customer_id}/labels/{label_id}