Class DocumentChange (2.16.0)

DocumentChange(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Document][google.firestore.v1.Document] has changed.

May be the result of multiple writes][google.firestore.v1.Write], including deletes, that ultimately resulted in a new value for the Document][google.firestore.v1.Document].

Multiple DocumentChange][google.firestore.v1.DocumentChange] messages may be returned for the same logical change, if multiple targets are affected.


The new state of the Document][google.firestore.v1.Document]. If mask is set, contains only fields that were updated or added.
target_ids MutableSequence[int]
A set of target IDs of targets that match this document.
removed_target_ids MutableSequence[int]
A set of target IDs for targets that no longer match this document.