IDocument

google.cloud.documentai.v1. IDocument

Properties of a Document.

Properties:
Name Type Attributes Description
uri string | null <optional>

Document uri

content Uint8Array | null <optional>

Document content

mimeType string | null <optional>

Document mimeType

text string | null <optional>

Document text

textStyles Array.<google.cloud.documentai.v1.Document.IStyle> | null <optional>

Document textStyles

pages Array.<google.cloud.documentai.v1.Document.IPage> | null <optional>

Document pages

entities Array.<google.cloud.documentai.v1.Document.IEntity> | null <optional>

Document entities

entityRelations Array.<google.cloud.documentai.v1.Document.IEntityRelation> | null <optional>

Document entityRelations

textChanges Array.<google.cloud.documentai.v1.Document.ITextChange> | null <optional>

Document textChanges

shardInfo google.cloud.documentai.v1.Document.IShardInfo | null <optional>

Document shardInfo

error google.rpc.IStatus | null <optional>

Document error

revisions Array.<google.cloud.documentai.v1.Document.IRevision> | null <optional>

Document revisions

documentLayout google.cloud.documentai.v1.Document.IDocumentLayout | null <optional>

Document documentLayout

chunkedDocument google.cloud.documentai.v1.Document.IChunkedDocument | null <optional>

Document chunkedDocument