Class Document

A structured text document e.g. a PDF.

Attributes
NameDescription
google.cloud.automl_v1beta1.types.DocumentInputConfiginput_config
An input config specifying the content of the document.
google.cloud.automl_v1beta1.types.TextSnippetdocument_text
The plain text version of this document.
Sequence[google.cloud.automl_v1beta1.types.Document.Layout]layout
Describes the layout of the document. Sorted by [page_number][].
google.cloud.automl_v1beta1.types.DocumentDimensionsdocument_dimensions
The dimensions of the page in the document.
intpage_count
Number of pages in the document.

Inheritance

builtins.object > proto.message.Message > Document

Classes

Layout

Layout(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes the layout information of a text_segment in the document.