Class: Google::Firestore::V1beta1::DocumentChange
- Inherits:
-
Object
- Object
- Google::Firestore::V1beta1::DocumentChange
- Defined in:
- lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb
Overview
A Document has changed.
May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document.
Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected.
Instance Attribute Summary collapse
-
#document ⇒ Google::Firestore::V1beta1::Document
The new state of the Document.
-
#removed_target_ids ⇒ Array<Integer>
A set of target IDs for targets that no longer match this document.
-
#target_ids ⇒ Array<Integer>
A set of target IDs of targets that match this document.
Instance Attribute Details
#document ⇒ Google::Firestore::V1beta1::Document
Returns The new state of the Document.
If +mask+ is set, contains only fields that were updated or added.
140 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb', line 140 class DocumentChange; end |
#removed_target_ids ⇒ Array<Integer>
Returns A set of target IDs for targets that no longer match this document.
140 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb', line 140 class DocumentChange; end |
#target_ids ⇒ Array<Integer>
Returns A set of target IDs of targets that match this document.
140 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb', line 140 class DocumentChange; end |