Class Revision (0.5.1)

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

Contains past or forward revisions of this document. .. attribute:: agent

If the change was made by a person specify the name or id of that person.

:type: str

Attributes

NameDescription
processor str
If the annotation was made by processor identify the processor by its resource name.
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_v1.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. .. attribute:: state

Human review state. e.g. requested, succeeded, rejected.

:type: str