Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::DocumentChange.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document
def document() -> ::Google::Cloud::Firestore::V1::Document
-
(::Google::Cloud::Firestore::V1::Document) — The new state of the Document.
If
mask
is set, contains only fields that were updated or added.
#document=
def document=(value) -> ::Google::Cloud::Firestore::V1::Document
-
value (::Google::Cloud::Firestore::V1::Document) — The new state of the Document.
If
mask
is set, contains only fields that were updated or added.
-
(::Google::Cloud::Firestore::V1::Document) — The new state of the Document.
If
mask
is set, contains only fields that were updated or added.
#removed_target_ids
def removed_target_ids() -> ::Array<::Integer>
- (::Array<::Integer>) — A set of target IDs for targets that no longer match this document.
#removed_target_ids=
def removed_target_ids=(value) -> ::Array<::Integer>
- value (::Array<::Integer>) — A set of target IDs for targets that no longer match this document.
- (::Array<::Integer>) — A set of target IDs for targets that no longer match this document.
#target_ids
def target_ids() -> ::Array<::Integer>
- (::Array<::Integer>) — A set of target IDs of targets that match this document.
#target_ids=
def target_ids=(value) -> ::Array<::Integer>
- value (::Array<::Integer>) — A set of target IDs of targets that match this document.
- (::Array<::Integer>) — A set of target IDs of targets that match this document.