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 錯誤。