- 3.0.1 (latest)
- 3.0.0
- 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_v1beta2.types
package.
Classes
AutoMlParams
Parameters to control AutoML model prediction behavior. .. attribute:: model
Resource name of the AutoML model.
Format:
projects/{project-id}/locations/{location-id}/models/{model-id}
.
:type: str
BatchProcessDocumentsRequest
Request to batch process documents as an asynchronous operation. The output is written to Cloud Storage as JSON in the [Document] format.
BatchProcessDocumentsResponse
Response to an batch document processing request. This is returned in the LRO Operation after the operation is complete.
BoundingPoly
A bounding polygon for the detected image annotation. .. attribute:: vertices
The bounding polygon vertices.
:type: Sequence[google.cloud.documentai_v1beta2.types.Vertex]
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.
EntityExtractionParams
Parameters to control entity extraction behavior. .. attribute:: enabled
Whether to enable entity extraction.
:type: bool
FormExtractionParams
Parameters to control form extraction behavior. .. attribute:: enabled
Whether to enable form extraction.
:type: bool
GcsDestination
The Google Cloud Storage location where the output file will be written to.
GcsSource
The Google Cloud Storage location where the input file will be read from.
InputConfig
The desired input location and metadata. .. attribute:: gcs_source
The Google Cloud Storage location to read the input from. This must be a single file.
KeyValuePairHint
User-provided hint for key value pair. .. attribute:: key
The key text for the hint.
:type: str
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.
OcrParams
Parameters to control Optical Character Recognition (OCR) behavior.
OperationMetadata
Contains metadata for the BatchProcessDocuments operation. .. attribute:: state
The state of the current batch processing.
:type: google.cloud.documentai_v1beta2.types.OperationMetadata.State
OutputConfig
The desired output location and metadata. .. attribute:: gcs_destination
The Google Cloud Storage location to write the output to.
ProcessDocumentRequest
Request to process one document. .. attribute:: parent
Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}
.
If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.
:type: str
ProcessDocumentResponse
Response to a single document processing request. .. attribute:: input_config
Information about the input file. This is the same as the corresponding input config in the request.
TableBoundHint
A hint for a table bounding box on the page for table parsing.
TableExtractionParams
Parameters to control table extraction behavior. .. attribute:: enabled
Whether to enable table extraction.
:type: bool
Vertex
A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.