WriteControl

用于控制写入请求的执行方式。如果未指定,则最后一次写入的内容会生效。

JSON 表示法
{

  // Union field control can be only one of the following:
  "requiredRevisionId": string
  // End of list of possible types for union field control.
}
字段
联合字段 control。确定要写入的标签的修订版本,以及如果该修订版本不是标签的当前修订版本,请求应如何运行。control 只能是下列其中一项:
requiredRevisionId

string

要应用写入请求的标签的 [revisionId][google.apps.drive.labels.v1.Label.revision_id]。如果这不是标签的最新修订版,系统将不会处理该请求,并会返回 400 错误“Bad Request”。