Class DocumentMask (2.6.1)

Stay organized with collections Save and categorize content based on your preferences.
DocumentMask(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A set of field paths on a document. Used to restrict a get or update operation on a document to a subset of its fields. This is different from standard field masks, as this is always scoped to a Document][google.firestore.v1.Document], and takes in account the dynamic nature of Value][google.firestore.v1.Value].

Attribute

NameDescription
field_paths Sequence[str]
The list of field paths in the mask. See `Document.fields][google.firestore.v1.Document.fields]` for a field path syntax reference.

Inheritance

builtins.object > proto.message.Message > DocumentMask