GoogleCloudDocumentaiV1Document class

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.

Properties

chunkedDocument GoogleCloudDocumentaiV1DocumentChunkedDocument?
Document chunked based on chunking config.
getter/setter pair
content String?
Inline document content, represented as a stream of bytes.
getter/setter pair
contentAsBytes List<int>
getter/setter pair
documentLayout GoogleCloudDocumentaiV1DocumentDocumentLayout?
Parsed layout of the document.
getter/setter pair
entities List<GoogleCloudDocumentaiV1DocumentEntity>?
A list of entities detected on Document.text.
getter/setter pair
entityRelations List<GoogleCloudDocumentaiV1DocumentEntityRelation>?
Placeholder.
getter/setter pair
error GoogleRpcStatus?
Any error that occurred while processing this document.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mimeType String?
An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).
getter/setter pair
pages List<GoogleCloudDocumentaiV1DocumentPage>?
Visual page layout for the Document.
getter/setter pair
revisions List<GoogleCloudDocumentaiV1DocumentRevision>?
Placeholder.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shardInfo GoogleCloudDocumentaiV1DocumentShardInfo?
Information about the sharding if this document is sharded part of a larger document.
getter/setter pair
text String?
UTF-8 encoded text in reading order from the document.
getter/setter pair
textChanges List<GoogleCloudDocumentaiV1DocumentTextChange>?
Placeholder.
getter/setter pair
textStyles List<GoogleCloudDocumentaiV1DocumentStyle>?
Styles for the Document.text.
getter/setter pair
uri String?
Currently supports Google Cloud Storage URI of the form gs://bucket_name/object_name.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited