Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::DocumentRemove.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document
def document() -> ::String
- (::String) — The resource name of the Document that has gone out of view.
#document=
def document=(value) -> ::String
- value (::String) — The resource name of the Document that has gone out of view.
- (::String) — The resource name of the Document that has gone out of view.
#read_time
def read_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — The read timestamp at which the remove was observed.
Greater or equal to the
commit_time
of the change/delete/remove.
#read_time=
def read_time=(value) -> ::Google::Protobuf::Timestamp
-
value (::Google::Protobuf::Timestamp) — The read timestamp at which the remove was observed.
Greater or equal to the
commit_time
of the change/delete/remove.
-
(::Google::Protobuf::Timestamp) — The read timestamp at which the remove was observed.
Greater or equal to the
commit_time
of the change/delete/remove.
#removed_target_ids
def removed_target_ids() -> ::Array<::Integer>
- (::Array<::Integer>) — A set of target IDs for targets that previously matched this document.
#removed_target_ids=
def removed_target_ids=(value) -> ::Array<::Integer>
- value (::Array<::Integer>) — A set of target IDs for targets that previously matched this document.
- (::Array<::Integer>) — A set of target IDs for targets that previously matched this document.