Expand description
The messages and enums that are part of this client library.
Modules§
- batch_
documents_ input_ config - Defines additional types related to BatchDocumentsInputConfig.
- batch_
process_ metadata - Defines additional types related to BatchProcessMetadata.
- common_
operation_ metadata - Defines additional types related to CommonOperationMetadata.
- document
- Defines additional types related to Document.
- document_
output_ config - Defines additional types related to DocumentOutputConfig.
- document_
schema - Defines additional types related to DocumentSchema.
- evaluation
- Defines additional types related to Evaluation.
- human_
review_ status - Defines additional types related to HumanReviewStatus.
- ocr_
config - Defines additional types related to OcrConfig.
- process_
options - Defines additional types related to ProcessOptions.
- process_
request - Defines additional types related to ProcessRequest.
- processor
- Defines additional types related to Processor.
- processor_
type - Defines additional types related to ProcessorType.
- processor_
version - Defines additional types related to ProcessorVersion.
- review_
document_ request - Defines additional types related to ReviewDocumentRequest.
- review_
document_ response - Defines additional types related to ReviewDocumentResponse.
- train_
processor_ version_ metadata - Defines additional types related to TrainProcessorVersionMetadata.
- train_
processor_ version_ request - Defines additional types related to TrainProcessorVersionRequest.
Structs§
- Barcode
- Encodes the detailed information of a barcode.
- Batch
Documents Input Config - The common config to specify a set of documents used as input.
- Batch
Process Metadata - The long-running operation metadata for BatchProcessDocuments.
- Batch
Process Request - Request message for BatchProcessDocuments.
- Batch
Process Response - Response message for BatchProcessDocuments.
- Bounding
Poly - A bounding polygon for the detected image annotation.
- Common
Operation Metadata - The common metadata for long running operations.
- Create
Processor Request - 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.
- Delete
Processor Metadata - The long-running operation metadata for the DeleteProcessor method.
- Delete
Processor Request - Request message for the DeleteProcessor method.
- Delete
Processor Version Metadata - The long-running operation metadata for the DeleteProcessorVersion method.
- Delete
Processor Version Request - Request message for the DeleteProcessorVersion method.
- Deploy
Processor Version Metadata - The long-running operation metadata for the DeployProcessorVersion method.
- Deploy
Processor Version Request - Request message for the DeployProcessorVersion method.
- Deploy
Processor Version Response - Response message for the DeployProcessorVersion method.
- Disable
Processor Metadata - The long-running operation metadata for the DisableProcessor method.
- Disable
Processor Request - Request message for the DisableProcessor method.
- Disable
Processor Response - Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.
- 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.
- Document
Output Config - Config that controls the output of documents. All documents will be written as a JSON file.
- Document
Schema - The schema defines the output of the processed document by a processor.
- Enable
Processor Metadata - The long-running operation metadata for the EnableProcessor method.
- Enable
Processor Request - Request message for the EnableProcessor method.
- Enable
Processor Response - Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.
- Evaluate
Processor Version Metadata - Metadata of the EvaluateProcessorVersion method.
- Evaluate
Processor Version Request - Evaluates the given ProcessorVersion against the supplied documents.
- Evaluate
Processor Version Response - Response of the EvaluateProcessorVersion method.
- Evaluation
- An evaluation of a ProcessorVersion’s performance.
- Evaluation
Reference - Gives a short summary of an evaluation, and links to the evaluation itself.
- Fetch
Processor Types Request - Request message for the FetchProcessorTypes method. Some processor types may require the project be added to an allowlist.
- Fetch
Processor Types Response - Response message for the FetchProcessorTypes method.
- 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.
- GetEvaluation
Request - Retrieves a specific Evaluation.
- GetProcessor
Request - Request message for the GetProcessor method.
- GetProcessor
Type Request - Request message for the GetProcessorType method.
- GetProcessor
Version Request - Request message for the GetProcessorVersion method.
- Human
Review Status - The status of human review on a processed document.
- List
Evaluations Request - Retrieves a list of evaluations for a given ProcessorVersion.
- List
Evaluations Response - The response from
ListEvaluations. - List
Processor Types Request - Request message for the ListProcessorTypes method. Some processor types may require the project be added to an allowlist.
- List
Processor Types Response - Response message for the ListProcessorTypes method.
- List
Processor Versions Request - Request message for list all processor versions belongs to a processor.
- List
Processor Versions Response - Response message for the ListProcessorVersions method.
- List
Processors Request - Request message for list all processors belongs to a project.
- List
Processors Response - Response message for the ListProcessors method.
- Normalized
Vertex - 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
- Config for Document OCR.
- Process
Options - Options for Process API
- Process
Request - Request message for the ProcessDocument method.
- Process
Response - Response message for the ProcessDocument method.
- Processor
- The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.
- Processor
Type - A processor type is responsible for performing a certain document understanding task on a certain type of document.
- Processor
Version - 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.
- Processor
Version Alias - Contains the alias and the aliased resource name of processor version.
- RawDocument
- Payload message of raw document content (bytes).
- Review
Document Operation Metadata - The long-running operation metadata for the ReviewDocument method.
- Review
Document Request - Request message for the ReviewDocument method.
- Review
Document Response - Response message for the ReviewDocument method.
- SetDefault
Processor Version Metadata - The long-running operation metadata for the SetDefaultProcessorVersion method.
- SetDefault
Processor Version Request - Request message for the SetDefaultProcessorVersion method.
- SetDefault
Processor Version Response - Response message for the SetDefaultProcessorVersion method.
- Train
Processor Version Metadata - The metadata that represents a processor version being created.
- Train
Processor Version Request - Request message for the TrainProcessorVersion method.
- Train
Processor Version Response - The response for TrainProcessorVersion.
- Undeploy
Processor Version Metadata - The long-running operation metadata for the UndeployProcessorVersion method.
- Undeploy
Processor Version Request - Request message for the UndeployProcessorVersion method.
- Undeploy
Processor Version Response - Response message for the UndeployProcessorVersion method.
- Vertex
- A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.