LayoutTextBlock(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents a text type block.
Attributes |
|
|---|---|
| Name | Description |
text |
str
Text content stored in the block. |
type_ |
str
Type of the text in the block. Available options are: paragraph, subtitle, heading-1, heading-2,
heading-3, heading-4, heading-5, header,
footer.
|
blocks |
MutableSequence[google.cloud.documentai_v1beta3.types.Document.DocumentLayout.DocumentLayoutBlock]
A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks. |
annotations |
google.cloud.documentai_v1beta3.types.Document.Annotations
Annotation of the text block. |