GoogleCloudDocumentaiV1beta3Document class
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.
Constructors
-
GoogleCloudDocumentaiV1beta3Document({String? content, List<
GoogleCloudDocumentaiV1beta3DocumentEntity> ? entities, List<GoogleCloudDocumentaiV1beta3DocumentEntityRelation> ? entityRelations, GoogleRpcStatus? error, String? mimeType, List<GoogleCloudDocumentaiV1beta3DocumentPage> ? pages, List<GoogleCloudDocumentaiV1beta3DocumentRevision> ? revisions, GoogleCloudDocumentaiV1beta3DocumentShardInfo? shardInfo, String? text, List<GoogleCloudDocumentaiV1beta3DocumentTextChange> ? textChanges, List<GoogleCloudDocumentaiV1beta3DocumentStyle> ? textStyles, String? uri}) - GoogleCloudDocumentaiV1beta3Document.fromJson(Map _json)
Properties
- content ↔ String?
-
Inline document content, represented as a stream of bytes.
getter/setter pair
-
contentAsBytes
↔ List<
int> -
getter/setter pair
-
entities
↔ List<
GoogleCloudDocumentaiV1beta3DocumentEntity> ? -
A list of entities detected on Document.text.
getter/setter pair
-
entityRelations
↔ List<
GoogleCloudDocumentaiV1beta3DocumentEntityRelation> ? -
Relationship among Document.entities.
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 MIME type (also referred to as media type).
getter/setter pair
-
pages
↔ List<
GoogleCloudDocumentaiV1beta3DocumentPage> ? -
Visual page layout for the Document.
getter/setter pair
-
revisions
↔ List<
GoogleCloudDocumentaiV1beta3DocumentRevision> ? -
Revision history of this document.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
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<
GoogleCloudDocumentaiV1beta3DocumentTextChange> ? -
A list of text corrections made to [Document.text].
getter/setter pair
-
textStyles
↔ List<
GoogleCloudDocumentaiV1beta3DocumentStyle> ? -
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