Class DocumentChange

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.

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

Inheritance

builtins.object > proto.message.Message > DocumentChange