Class LayoutTextBlock (2.29.1)

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

Represents a text type block.


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[]
A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.