Package types (0.5.1)

API documentation for documentai_v1beta3.types package.

Classes

BatchDocumentsInputConfig

The common config to specify a set of documents used as input.

BatchProcessMetadata

The long running operation metadata for batch process method. .. attribute:: state

The state of the current batch processing.

:type: google.cloud.documentai_v1beta3.types.BatchProcessMetadata.State

BatchProcessRequest

Request message for batch process document method. .. attribute:: name

Required. The processor resource name.

:type: str

BatchProcessResponse

Response message for batch process document method.

BoundingPoly

A bounding polygon for the detected image annotation. .. attribute:: vertices

The bounding polygon vertices.

:type: Sequence[google.cloud.documentai_v1beta3.types.Vertex]

CommonOperationMetadata

The common metadata for long running operations. .. attribute:: state

The state of the operation.

:type: google.cloud.documentai_v1beta3.types.CommonOperationMetadata.State

Document

Document represents the canonical document resource in Document Understanding AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document Understanding AI to iterate and optimize for quality.

DocumentOutputConfig

Config that controls the output of documents. All documents will be written as a JSON file.

GcsDocument

Specifies a document stored on Cloud Storage. .. attribute:: gcs_uri

The Cloud Storage object uri.

:type: str

GcsDocuments

Specifies a set of documents on Cloud Storage. .. attribute:: documents

The list of documents.

:type: Sequence[google.cloud.documentai_v1beta3.types.GcsDocument]

GcsPrefix

Specifies all documents on Cloud Storage with a common prefix.

HumanReviewStatus

The status of human review on a processed document. .. attribute:: state

The state of human review on the processing request.

:type: google.cloud.documentai_v1beta3.types.HumanReviewStatus.State

NormalizedVertex

A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

ProcessRequest

Request message for the process document method. .. attribute:: inline_document

An inline document proto.

:type: google.cloud.documentai_v1beta3.types.Document

ProcessResponse

Response message for the process document method. .. attribute:: document

The document payload, will populate fields based on the processor's behavior.

:type: google.cloud.documentai_v1beta3.types.Document

RawDocument

Payload message of raw document content (bytes). .. attribute:: content

Inline document content.

:type: bytes

ReviewDocumentOperationMetadata

The long running operation metadata for review document method.

ReviewDocumentRequest

Request message for review document method. .. attribute:: inline_document

An inline document proto.

:type: google.cloud.documentai_v1beta3.types.Document

ReviewDocumentResponse

Response message for review document method. .. attribute:: gcs_destination

The Cloud Storage uri for the human reviewed document.

:type: str

Vertex

A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.