GoogleCloudDocumentaiV1DocumentArgs

data class GoogleCloudDocumentaiV1DocumentArgs(val content: Output<String>? = null, val entities: Output<List<GoogleCloudDocumentaiV1DocumentEntityArgs>>? = null, val entityRelations: Output<List<GoogleCloudDocumentaiV1DocumentEntityRelationArgs>>? = null, val error: Output<GoogleRpcStatusArgs>? = null, val mimeType: Output<String>? = null, val pages: Output<List<GoogleCloudDocumentaiV1DocumentPageArgs>>? = null, val revisions: Output<List<GoogleCloudDocumentaiV1DocumentRevisionArgs>>? = null, val shardInfo: Output<GoogleCloudDocumentaiV1DocumentShardInfoArgs>? = null, val text: Output<String>? = null, val textChanges: Output<List<GoogleCloudDocumentaiV1DocumentTextChangeArgs>>? = null, val textStyles: Output<List<GoogleCloudDocumentaiV1DocumentStyleArgs>>? = null, val uri: Output<String>? = null) : ConvertibleToJava<GoogleCloudDocumentaiV1DocumentArgs>

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.

Constructors

Link copied to clipboard
fun GoogleCloudDocumentaiV1DocumentArgs(content: Output<String>? = null, entities: Output<List<GoogleCloudDocumentaiV1DocumentEntityArgs>>? = null, entityRelations: Output<List<GoogleCloudDocumentaiV1DocumentEntityRelationArgs>>? = null, error: Output<GoogleRpcStatusArgs>? = null, mimeType: Output<String>? = null, pages: Output<List<GoogleCloudDocumentaiV1DocumentPageArgs>>? = null, revisions: Output<List<GoogleCloudDocumentaiV1DocumentRevisionArgs>>? = null, shardInfo: Output<GoogleCloudDocumentaiV1DocumentShardInfoArgs>? = null, text: Output<String>? = null, textChanges: Output<List<GoogleCloudDocumentaiV1DocumentTextChangeArgs>>? = null, textStyles: Output<List<GoogleCloudDocumentaiV1DocumentStyleArgs>>? = null, uri: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDocumentaiV1DocumentArgs

Properties

Link copied to clipboard
val content: Output<String>? = null

Optional. Inline document content, represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

Link copied to clipboard

A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.

Link copied to clipboard

Placeholder. Relationship among Document.entities.

Link copied to clipboard
val error: Output<GoogleRpcStatusArgs>? = null

Any error that occurred while processing this document.

Link copied to clipboard
val mimeType: Output<String>? = null

An IANA published MIME type (also referred to as media type). For more information, see https://www.iana.org/assignments/media-types/media-types.xhtml.

Link copied to clipboard

Visual page layout for the Document.

Link copied to clipboard

Placeholder. Revision history of this document.

Link copied to clipboard

Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.

Link copied to clipboard
val text: Output<String>? = null

Optional. UTF-8 encoded text in reading order from the document.

Link copied to clipboard

Placeholder. A list of text corrections made to Document.text. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.

Link copied to clipboard

Styles for the Document.text.

Link copied to clipboard
val uri: Output<String>? = null

Optional. Currently supports Google Cloud Storage URI of the form gs://bucket_name/object_name. Object versioning is not supported. For more information, refer to Google Cloud Storage Request URIs.