Interface protos.google.cloud.documentai.v1beta1.IDocument (2.10.0)

Properties of a Document.

Package

@google-cloud/documentai!

Properties

content

content?: (Uint8Array|string|null);

Document content

Property Value
TypeDescription
(Uint8Array|string|null)

entities

entities?: (google.cloud.documentai.v1beta1.Document.IEntity[]|null);

Document entities

Property Value
TypeDescription
(google.cloud.documentai.v1beta1.Document.IEntity[]|null)

entityRelations

entityRelations?: (google.cloud.documentai.v1beta1.Document.IEntityRelation[]|null);

Document entityRelations

Property Value
TypeDescription
(google.cloud.documentai.v1beta1.Document.IEntityRelation[]|null)

error

error?: (google.rpc.IStatus|null);

Document error

Property Value
TypeDescription
(google.rpc.IStatus|null)

mimeType

mimeType?: (string|null);

Document mimeType

Property Value
TypeDescription
(string|null)

pages

pages?: (google.cloud.documentai.v1beta1.Document.IPage[]|null);

Document pages

Property Value
TypeDescription
(google.cloud.documentai.v1beta1.Document.IPage[]|null)

shardInfo

shardInfo?: (google.cloud.documentai.v1beta1.Document.IShardInfo|null);

Document shardInfo

Property Value
TypeDescription
(google.cloud.documentai.v1beta1.Document.IShardInfo|null)

text

text?: (string|null);

Document text

Property Value
TypeDescription
(string|null)

textStyles

textStyles?: (google.cloud.documentai.v1beta1.Document.IStyle[]|null);

Document textStyles

Property Value
TypeDescription
(google.cloud.documentai.v1beta1.Document.IStyle[]|null)

uri

uri?: (string|null);

Document uri

Property Value
TypeDescription
(string|null)