# Package types (3.15.0)

3.15.0 (latest) 3.14.0 3.13.0 3.12.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.1 2.35.0 2.34.0 2.33.0 2.32.0 2.30.0 2.29.3 2.28.0 2.27.1 2.26.0 2.25.0 2.24.2 2.23.0 2.22.0 2.21.1 2.20.2 2.19.0 2.18.0 2.17.0 2.16.1 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.1 2.8.0 2.7.0 2.6.0 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.3 1.5.1 1.4.2 1.3.0 1.2.1 1.1.0 1.0.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 API documentation for `documentai_v1.types` package.

## Classes

### [Barcode](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.Barcode)

Encodes the detailed information of a barcode.

### [BatchDocumentsInputConfig](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.BatchDocumentsInputConfig)

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

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>

### [BatchProcessMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.BatchProcessMetadata)

The long-running operation metadata for
BatchProcessDocuments.

### [BatchProcessRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.BatchProcessRequest)

Request message for
BatchProcessDocuments.

### [BatchProcessResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.BatchProcessResponse)

Response message for
BatchProcessDocuments.

### [BoundingPoly](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.BoundingPoly)

A bounding polygon for the detected image annotation.

### [CommonOperationMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.CommonOperationMetadata)

The common metadata for long running operations.

### [CreateProcessorRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.CreateProcessorRequest)

Request message for the
CreateProcessor
method. Notice this request is sent to a regionalized backend
service. If the
ProcessorType isn't
available in that region, the creation fails.

### [DeleteProcessorMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DeleteProcessorMetadata)

The long-running operation metadata for the
DeleteProcessor
method.

### [DeleteProcessorRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DeleteProcessorRequest)

Request message for the
DeleteProcessor
method.

### [DeleteProcessorVersionMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DeleteProcessorVersionMetadata)

The long-running operation metadata for the
DeleteProcessorVersion
method.

### [DeleteProcessorVersionRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DeleteProcessorVersionRequest)

Request message for the
DeleteProcessorVersion
method.

### [DeployProcessorVersionMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DeployProcessorVersionMetadata)

The long-running operation metadata for the
DeployProcessorVersion
method.

### [DeployProcessorVersionRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DeployProcessorVersionRequest)

Request message for the
DeployProcessorVersion
method.

### [DeployProcessorVersionResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DeployProcessorVersionResponse)

Response message for the
DeployProcessorVersion
method.

### [DisableProcessorMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DisableProcessorMetadata)

The long-running operation metadata for the
DisableProcessor
method.

### [DisableProcessorRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DisableProcessorRequest)

Request message for the
DisableProcessor
method.

### [DisableProcessorResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DisableProcessorResponse)

Response message for the
DisableProcessor
method. Intentionally empty proto for adding fields in future.

### [Document](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.Document)

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

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>

### [DocumentOutputConfig](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DocumentOutputConfig)

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

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [DocumentSchema](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.DocumentSchema)

The schema defines the output of the processed document by a
processor.

### [EnableProcessorMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.EnableProcessorMetadata)

The long-running operation metadata for the
EnableProcessor
method.

### [EnableProcessorRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.EnableProcessorRequest)

Request message for the
EnableProcessor
method.

### [EnableProcessorResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.EnableProcessorResponse)

Response message for the
EnableProcessor
method. Intentionally empty proto for adding fields in future.

### [EvaluateProcessorVersionMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.EvaluateProcessorVersionMetadata)

Metadata of the
EvaluateProcessorVersion
method.

### [EvaluateProcessorVersionRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.EvaluateProcessorVersionRequest)

Evaluates the given
ProcessorVersion
against the supplied documents.

### [EvaluateProcessorVersionResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.EvaluateProcessorVersionResponse)

Response of the
EvaluateProcessorVersion
method.

### [Evaluation](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.Evaluation)

An evaluation of a ProcessorVersion's performance.

### [EvaluationReference](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.EvaluationReference)

Gives a short summary of an evaluation, and links to the
evaluation itself.

### [FetchProcessorTypesRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.FetchProcessorTypesRequest)

Request message for the
FetchProcessorTypes
method. Some processor types may require the project be added to an
allowlist.

### [FetchProcessorTypesResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.FetchProcessorTypesResponse)

Response message for the
FetchProcessorTypes
method.

### [GcsDocument](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.GcsDocument)

Specifies a document stored on Cloud Storage.

### [GcsDocuments](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.GcsDocuments)

Specifies a set of documents on Cloud Storage.

### [GcsPrefix](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.GcsPrefix)

Specifies all documents on Cloud Storage with a common
prefix.

### [GetEvaluationRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.GetEvaluationRequest)

Retrieves a specific Evaluation.

### [GetProcessorRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.GetProcessorRequest)

Request message for the
GetProcessor
method.

### [GetProcessorTypeRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.GetProcessorTypeRequest)

Request message for the
GetProcessorType
method.

### [GetProcessorVersionRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.GetProcessorVersionRequest)

Request message for the
GetProcessorVersion
method.

### [HumanReviewStatus](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.HumanReviewStatus)

The status of human review on a processed document.

### [ListEvaluationsRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ListEvaluationsRequest)

Retrieves a list of evaluations for a given
ProcessorVersion.

### [ListEvaluationsResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ListEvaluationsResponse)

The response from `ListEvaluations`.

### [ListProcessorTypesRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ListProcessorTypesRequest)

Request message for the
ListProcessorTypes
method. Some processor types may require the project be added to an
allowlist.

### [ListProcessorTypesResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ListProcessorTypesResponse)

Response message for the
ListProcessorTypes
method.

### [ListProcessorVersionsRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ListProcessorVersionsRequest)

Request message for list all processor versions belongs to a
processor.

### [ListProcessorVersionsResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ListProcessorVersionsResponse)

Response message for the
ListProcessorVersions
method.

### [ListProcessorsRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ListProcessorsRequest)

Request message for list all processors belongs to a project.

### [ListProcessorsResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ListProcessorsResponse)

Response message for the
ListProcessors
method.

### [NormalizedVertex](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.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.

### [OcrConfig](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.OcrConfig)

Config for Document OCR.

### [ProcessOptions](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ProcessOptions)

Options for Process API

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>

### [ProcessRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ProcessRequest)

Request message for the
ProcessDocument
method.

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>

### [ProcessResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ProcessResponse)

Response message for the
ProcessDocument
method.

### [Processor](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.Processor)

The first-class citizen for Document AI. Each processor
defines how to extract structural information from a document.

### [ProcessorType](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ProcessorType)

A processor type is responsible for performing a certain
document understanding task on a certain type of document.

### [ProcessorVersion](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ProcessorVersion)

A processor version is an implementation of a processor. Each
processor can have multiple versions, pretrained by Google
internally or uptrained by the customer. A processor can only
have one default version at a time. Its document-processing
behavior is defined by that version.

### [ProcessorVersionAlias](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ProcessorVersionAlias)

Contains the alias and the aliased resource name of processor
version.

### [RawDocument](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.RawDocument)

Payload message of raw document content (bytes).

### [ReviewDocumentOperationMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ReviewDocumentOperationMetadata)

The long-running operation metadata for the
ReviewDocument
method.

### [ReviewDocumentRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ReviewDocumentRequest)

Request message for the
ReviewDocument
method.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ReviewDocumentResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.ReviewDocumentResponse)

Response message for the
ReviewDocument
method.

### [SetDefaultProcessorVersionMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.SetDefaultProcessorVersionMetadata)

The long-running operation metadata for the
SetDefaultProcessorVersion
method.

### [SetDefaultProcessorVersionRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.SetDefaultProcessorVersionRequest)

Request message for the
SetDefaultProcessorVersion
method.

### [SetDefaultProcessorVersionResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.SetDefaultProcessorVersionResponse)

Response message for the
SetDefaultProcessorVersion
method.

### [TrainProcessorVersionMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.TrainProcessorVersionMetadata)

The metadata that represents a processor version being
created.

### [TrainProcessorVersionRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.TrainProcessorVersionRequest)

Request message for the
TrainProcessorVersion
method.

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>

### [TrainProcessorVersionResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.TrainProcessorVersionResponse)

The response for
TrainProcessorVersion.

### [UndeployProcessorVersionMetadata](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.UndeployProcessorVersionMetadata)

The long-running operation metadata for the
UndeployProcessorVersion
method.

### [UndeployProcessorVersionRequest](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.UndeployProcessorVersionRequest)

Request message for the
UndeployProcessorVersion
method.

### [UndeployProcessorVersionResponse](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.UndeployProcessorVersionResponse)

Response message for the
UndeployProcessorVersion
method.

### [Vertex](https://docs.cloud.google.com/python/docs/reference/documentai/latest/google.cloud.documentai_v1.types.Vertex)

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