Class: Google::Firestore::V1beta1::DocumentRemove
- Inherits:
-
Object
- Object
- Google::Firestore::V1beta1::DocumentRemove
- Defined in:
- lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb
Overview
A Document has been removed from the view of the targets.
Sent if the document is no longer relevant to a target and is out of view. Can be sent instead of a DocumentDelete or a DocumentChange if the server can not send the new value of the document.
Multiple DocumentRemove messages may be returned for the same logical write or delete, if multiple targets are affected.
Instance Attribute Summary collapse
-
#document ⇒ String
The resource name of the Document that has gone out of view.
-
#read_time ⇒ Google::Protobuf::Timestamp
The read timestamp at which the remove was observed.
-
#removed_target_ids ⇒ Array<Integer>
A set of target IDs for targets that previously matched this document.
Instance Attribute Details
#document ⇒ String
Returns The resource name of the Document that has gone out of view.
152 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb', line 152 class DocumentRemove; end |
#read_time ⇒ Google::Protobuf::Timestamp
Returns The read timestamp at which the remove was observed.
Greater or equal to the +commit_time+ of the change/delete/remove.
152 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb', line 152 class DocumentRemove; end |
#removed_target_ids ⇒ Array<Integer>
Returns A set of target IDs for targets that previously matched this document.
152 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb', line 152 class DocumentRemove; end |