Class Precondition (2.6.1)

Stay organized with collections Save and categorize content based on your preferences.
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:


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``.


builtins.object > proto.message.Message > Precondition