Classes
BatchDocumentsInputConfig
The common config to specify a set of documents used as input.
BatchProcessMetadata
The long running operation metadata for batch process method.
BatchProcessMetadata.Types
Container for nested types declared in the BatchProcessMetadata message type.
BatchProcessMetadata.Types.IndividualProcessStatus
The status of a each individual document in the batch process.
BatchProcessRequest
Request message for batch process document method.
BatchProcessRequest.Types
Container for nested types declared in the BatchProcessRequest message type.
BatchProcessRequest.Types.BatchInputConfig
The message for input config in batch process.
BatchProcessRequest.Types.BatchOutputConfig
The message for output config in batch process.
BatchProcessResponse
Response message for batch process document method.
BoundingPoly
A bounding polygon for the detected image annotation.
CommonOperationMetadata
The common metadata for long running operations.
CommonOperationMetadata.Types
Container for nested types declared in the CommonOperationMetadata message type.
CreateProcessorRequest
Request message for create a processor. Notice this request is sent to a regionalized backend service, and if the processor type is not available on that region, the creation will fail.
DeleteProcessorMetadata
The long running operation metadata for delete processor method.
DeleteProcessorRequest
Request message for the delete processor method.
DisableProcessorMetadata
The long running operation metadata for disable processor method.
DisableProcessorRequest
Request message for the disable processor method.
DisableProcessorResponse
Response message for the disable processor method.
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.
Document.Types
Container for nested types declared in the Document message type.
Document.Types.Entity
An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.
Document.Types.Entity.Types
Container for nested types declared in the Entity message type.
Document.Types.Entity.Types.NormalizedValue
Parsed and normalized entity value.
Document.Types.EntityRelation
Relationship between [Entities][google.cloud.documentai.v1beta3.Document.Entity].
Document.Types.Page
A page in a [Document][google.cloud.documentai.v1beta3.Document].
Document.Types.Page.Types
Container for nested types declared in the Page message type.
Document.Types.Page.Types.Block
A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
Document.Types.Page.Types.DetectedLanguage
Detected language for a structural component.
Document.Types.Page.Types.Dimension
Dimension for the page.
Document.Types.Page.Types.FormField
A form field detected on the page.
Document.Types.Page.Types.Image
Rendered image contents for this page.
Document.Types.Page.Types.Layout
Visual element describing a layout unit on a page.
Document.Types.Page.Types.Layout.Types
Container for nested types declared in the Layout message type.
Document.Types.Page.Types.Line
A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc.
Document.Types.Page.Types.Matrix
Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
Document.Types.Page.Types.Paragraph
A collection of lines that a human would perceive as a paragraph.
Document.Types.Page.Types.Symbol
A detected symbol.
Document.Types.Page.Types.Table
A table representation similar to HTML table structure.
Document.Types.Page.Types.Table.Types
Container for nested types declared in the Table message type.
Document.Types.Page.Types.Table.Types.TableCell
A cell representation inside the table.
Document.Types.Page.Types.Table.Types.TableRow
A row of table cells.
Document.Types.Page.Types.Token
A detected token.
Document.Types.Page.Types.Token.Types
Container for nested types declared in the Token message type.
Document.Types.Page.Types.Token.Types.DetectedBreak
Detected break at the end of a [Token][google.cloud.documentai.v1beta3.Document.Page.Token].
Document.Types.Page.Types.Token.Types.DetectedBreak.Types
Container for nested types declared in the DetectedBreak message type.
Document.Types.Page.Types.VisualElement
Detected non-text visual elements e.g. checkbox, signature etc. on the page.
Document.Types.PageAnchor
Referencing the visual context of the entity in the [Document.pages][google.cloud.documentai.v1beta3.Document.pages]. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.
Document.Types.PageAnchor.Types
Container for nested types declared in the PageAnchor message type.
Document.Types.PageAnchor.Types.PageRef
Represents a weak reference to a page element within a document.
Document.Types.PageAnchor.Types.PageRef.Types
Container for nested types declared in the PageRef message type.
Document.Types.Provenance
Structure to identify provenance relationships between annotations in different revisions.
Document.Types.Provenance.Types
Container for nested types declared in the Provenance message type.
Document.Types.Provenance.Types.Parent
The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.
Document.Types.Revision
Contains past or forward revisions of this document.
Document.Types.Revision.Types
Container for nested types declared in the Revision message type.
Document.Types.Revision.Types.HumanReview
Human Review information of the document.
Document.Types.ShardInfo
For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.
Document.Types.Style
Annotation for common text style attributes. This adheres to CSS conventions as much as possible.
Document.Types.Style.Types
Container for nested types declared in the Style message type.
Document.Types.Style.Types.FontSize
Font size with unit.
Document.Types.TextAnchor
Text reference indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
Document.Types.TextAnchor.Types
Container for nested types declared in the TextAnchor message type.
Document.Types.TextAnchor.Types.TextSegment
A text segment in the [Document.text][google.cloud.documentai.v1beta3.Document.text]. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See [ShardInfo.text_offset][google.cloud.documentai.v1beta3.Document.ShardInfo.text_offset]
Document.Types.TextChange
This message is used for text changes aka. OCR corrections.
DocumentOutputConfig
Config that controls the output of documents. All documents will be written as a JSON file.
DocumentOutputConfig.Types
Container for nested types declared in the DocumentOutputConfig message type.
DocumentOutputConfig.Types.GcsOutputConfig
The configuration used when outputting documents.
DocumentProcessorService
Service to call Cloud DocumentAI to process documents according to the processor's definition. Processors are built using state-of-the-art Google AI such as natural language, computer vision, and translation to extract structured information from unstructured or semi-structured documents.
DocumentProcessorService.DocumentProcessorServiceBase
Base class for server-side implementations of DocumentProcessorService
DocumentProcessorService.DocumentProcessorServiceClient
Client for DocumentProcessorService
DocumentProcessorServiceClient
DocumentProcessorService client wrapper, for convenient use.
DocumentProcessorServiceClientBuilder
Builder class for DocumentProcessorServiceClient to provide simple configuration of credentials, endpoint etc.
DocumentProcessorServiceClientImpl
DocumentProcessorService client wrapper implementation, for convenient use.
DocumentProcessorServiceSettings
Settings for DocumentProcessorServiceClient instances.
EnableProcessorMetadata
The long running operation metadata for enable processor method.
EnableProcessorRequest
Request message for the enable processor method.
EnableProcessorResponse
Response message for the enable processor method.
FetchProcessorTypesRequest
Request message for fetch processor types.
FetchProcessorTypesResponse
Response message for fetch processor types.
GcsDocument
Specifies a document stored on Cloud Storage.
GcsDocuments
Specifies a set of documents on Cloud Storage.
GcsPrefix
Specifies all documents on Cloud Storage with a common prefix.
HumanReviewConfigName
Resource name for the HumanReviewConfig
resource.
HumanReviewStatus
The status of human review on a processed document.
HumanReviewStatus.Types
Container for nested types declared in the HumanReviewStatus message type.
ListProcessorsRequest
Request message for list all processors belongs to a project.
ListProcessorsResponse
Response message for list processors.
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.
Processor
The first-class citizen for DocumentAI. Each processor defines how to extract structural information from a document.
Processor.Types
Container for nested types declared in the Processor message type.
ProcessorName
Resource name for the Processor
resource.
ProcessorType
A processor type is responsible for performing a certain document understanding task on a certain type of document.
ProcessorType.Types
Container for nested types declared in the ProcessorType message type.
ProcessorType.Types.LocationInfo
The location information about where the processor is available.
ProcessorTypeName
Resource name for the ProcessorType
resource.
ProcessRequest
Request message for the process document method.
ProcessResponse
Response message for the process document method.
RawDocument
Payload message of raw document content (bytes).
ReviewDocumentOperationMetadata
The long running operation metadata for review document method.
ReviewDocumentOperationMetadata.Types
Container for nested types declared in the ReviewDocumentOperationMetadata message type.
ReviewDocumentRequest
Request message for review document method. Next Id: 6.
ReviewDocumentRequest.Types
Container for nested types declared in the ReviewDocumentRequest message type.
ReviewDocumentResponse
Response message for review document method.
Vertex
A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.
Enums
BatchDocumentsInputConfig.SourceOneofCase
Enum of possible cases for the "source" oneof.
BatchProcessMetadata.Types.State
Possible states of the batch processing operation.
CommonOperationMetadata.Types.State
State of the longrunning operation.
Document.SourceOneofCase
Enum of possible cases for the "source" oneof.
Document.Types.Entity.Types.NormalizedValue.StructuredValueOneofCase
Enum of possible cases for the "structured_value" oneof.
Document.Types.Page.Types.Layout.Types.Orientation
Detected human reading orientation.
Document.Types.Page.Types.Token.Types.DetectedBreak.Types.Type
Enum to denote the type of break found.
Document.Types.PageAnchor.Types.PageRef.Types.LayoutType
The type of layout that is being referenced.
Document.Types.Provenance.Types.OperationType
If a processor or agent does an explicit operation on existing elements.
Document.Types.Revision.SourceOneofCase
Enum of possible cases for the "source" oneof.
DocumentOutputConfig.DestinationOneofCase
Enum of possible cases for the "destination" oneof.
HumanReviewConfigName.ResourceNameType
The possible contents of HumanReviewConfigName.
HumanReviewStatus.Types.State
The final state of human review on a processed document.
Processor.Types.State
The possible states of the processor.
ProcessorName.ResourceNameType
The possible contents of ProcessorName.
ProcessorTypeName.ResourceNameType
The possible contents of ProcessorTypeName.
ProcessRequest.SourceOneofCase
Enum of possible cases for the "source" oneof.
ReviewDocumentOperationMetadata.Types.State
State of the longrunning operation.
ReviewDocumentRequest.SourceOneofCase
Enum of possible cases for the "source" oneof.
ReviewDocumentRequest.Types.Priority
The priority level of the human review task.