Document(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A structured text document e.g. a PDF.
Attributes |
|
---|---|
Name | Description |
input_config |
google.cloud.automl_v1beta1.types.DocumentInputConfig
An input config specifying the content of the document. |
document_text |
google.cloud.automl_v1beta1.types.TextSnippet
The plain text version of this document. |
layout |
MutableSequence[google.cloud.automl_v1beta1.types.Document.Layout]
Describes the layout of the document. Sorted by [page_number][]. |
document_dimensions |
google.cloud.automl_v1beta1.types.DocumentDimensions
The dimensions of the page in the document. |
page_count |
int
Number of pages in the document. |
Classes
Layout
Layout(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Describes the layout information of a text_segment in the document.