Precondition

文件的先決條件,用於條件式作業。

JSON 表示法
{

  // Union field condition_type can be only one of the following:
  "exists": boolean,
  "updateTime": string
  // End of list of possible types for union field condition_type.
}
欄位
聯集欄位 condition_type。先決條件的類型。condition_type 只能採用下列其中一種設定:
exists

boolean

設為 true 時,目標文件必須存在。設為 false 時,不可存在目標文件。

updateTime

string (Timestamp format)

設定時,目標文件必須存在,且在此時已更新。時間戳記必須以微秒為單位對齊。

RFC3339 世界標準時間「Zulu」格式的時間戳記,解析度以奈秒為單位,小數點後最多 9 位。範例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z"