Class: Google::Cloud::Firestore::V1::Precondition
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::V1::Precondition
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/firestore/v1/common.rb
Overview
A precondition on a document, used for conditional operations.
Instance Attribute Summary collapse
-
#exists ⇒ ::Boolean
When set to
true
, the target document must exist. -
#update_time ⇒ ::Google::Protobuf::Timestamp
When set, the target document must exist and have been last updated at that time.
Instance Attribute Details
#exists ⇒ ::Boolean
Returns When set to true
, the target document must exist.
When set to false
, the target document must not exist.
49 50 51 52 |
# File 'proto_docs/google/firestore/v1/common.rb', line 49 class Precondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
49 50 51 52 |
# File 'proto_docs/google/firestore/v1/common.rb', line 49 class Precondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |