Class Revision (2.15.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, internally generated by doc proto storage. Unique within the context of the document.
parent MutableSequence[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.
parent_ids MutableSequence[str]
The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are provenance.parent.revision fields that index into this field.
create_time google.protobuf.timestamp_pb2.Timestamp
The time that the revision was created, internally generated by doc proto storage at the time of create.
human_review google.cloud.documentai_v1beta3.types.Document.Revision.HumanReview
Human Review information of this revision.

Classes

HumanReview

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

Human Review information of the document.