IDocument

google.cloud.documentai.v1beta2. 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.v1beta2.Document.IStyle> | null <optional>

Document textStyles

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

Document pages

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

Document entities

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

Document entityRelations

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

Document textChanges

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

Document shardInfo

labels Array.<google.cloud.documentai.v1beta2.Document.ILabel> | null <optional>

Document labels

error google.rpc.IStatus | null <optional>

Document error

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

Document revisions