Class Precondition (2.11.0)

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

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