Precondition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A precondition on a document, used for conditional operations.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
exists |
bool
When set to true , the target document must exist. When
set to false , the target document must not exist.
This field is a member of oneof _ condition_type .
|
update_time |
google.protobuf.timestamp_pb2.Timestamp
When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned. This field is a member of oneof _ condition_type .
|