Class Block (0.13.1a0)

Block(
    documentai_object: typing.Union[
        google.cloud.documentai_v1.types.document.Document.Page.Paragraph,
        google.cloud.documentai_v1.types.document.Document.Page,
        google.cloud.documentai_v1.types.document.Document.Page.Token,
        google.cloud.documentai_v1.types.document.Document.Page.Block,
        google.cloud.documentai_v1.types.document.Document.Page.Symbol,
    ],
    _page: google.cloud.documentai_toolbox.wrappers.page.Page,
)

Represents a wrapped documentai.Document.Page.Block.

Attributes

NameDescription
documentai_object :noindex: google.cloud.documentai.Document.Page.Block
Required. The original object.
text :noindex: str
Required. The text of the Block.
_paragraphs :noindex: List[Paragraph]
Optional. The Paragraphs contained within the Block.