A precondition on a document, used for conditional operations.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field condition_type. The type of precondition. condition_type can be only one of the following: |
|
exists |
When set to |
updateTime |
When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |