Class DocumentTransform (2.19.0)

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

A transformation of a document.

Attributes

Name Description
document str
The name of the document to transform.
field_transforms MutableSequence[google.cloud.firestore_v1.types.DocumentTransform.FieldTransform]
The list of transformations to apply to the fields of the document, in order. This must not be empty.

Classes

FieldTransform

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

A transformation of a field of the document.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields