Class Revision (1.5.0)

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

Contains past or forward revisions of this 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

Attributes

NameDescription
agent str
If the change was made by a person specify the name or id of that person. This field is a member of `oneof`_ ``source``.
processor str
If the annotation was made by processor identify the processor by its resource name. This field is a member of `oneof`_ ``source``.
id str
Id of the revision. Unique within the context of the document.
parent Sequence[int]
The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the ``revisions`` field.
create_time google.protobuf.timestamp_pb2.Timestamp
The time that the revision was created.
human_review google.cloud.documentai_v1beta3.types.Document.Revision.HumanReview
Human Review information of this revision.

Inheritance

builtins.object > proto.message.Message > Revision

Classes

HumanReview

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

Human Review information of the document.