LabelOperation

对标签进行一次操作(创建、移除、更新)。

JSON 表示法
{
  "updateMask": string,

  // Union field operation can be only one of the following:
  "create": {
    object (Label)
  },
  "update": {
    object (Label)
  },
  "remove": string
  // End of list of possible types for union field operation.
}
字段
updateMask

string (FieldMask format)

用于确定更新中修改哪些资源字段的 FieldMask。

这是以英文逗号分隔的完全限定字段名称列表。示例:"user.displayName,photo"

联合字段 operation。mutate 操作。operation 只能是下列其中一项:
create

object (Label)

创建操作:新标签不需要使用资源名称。

update

object (Label)

更新操作:标签应具有有效的资源名称。

remove

string

移除操作:要移除的标签的资源名称,格式为:

customers/{customerId}/labels/{label_id}