Class DocumentTransform (2.6.1)

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

A transformation of a document.

Attributes

NameDescription
document str
The name of the document to transform.
field_transforms Sequence[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.

Inheritance

builtins.object > proto.message.Message > DocumentTransform

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