Class DocumentChange (2.7.2)

Stay organized with collections Save and categorize content based on your preferences.
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.

Attributes

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

Inheritance

builtins.object > proto.message.Message > DocumentChange