Class: Google::Firestore::V1beta1::Precondition
- Inherits:
-
Object
- Object
- Google::Firestore::V1beta1::Precondition
- Defined in:
- lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/common.rb
Overview
A precondition on a document, used for conditional operations.
Instance Attribute Summary collapse
-
#exists ⇒ true, false
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 ⇒ true, false
Returns When set to +true+, the target document must exist. When set to +false+, the target document must not exist.
38 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/common.rb', line 38 class Precondition; end |
#update_time ⇒ Google::Protobuf::Timestamp
Returns When set, the target document must exist and have been last updated at that time.
38 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/common.rb', line 38 class Precondition; end |