Class Line (0.11.0a0)

Line(
    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.Line.

Attributes

NameDescription
documentai_object google.cloud.documentai.Document.Page.Line
Required. The original object.
_page Page
Required. The Page object containing the Line.
tokens List[Token]
Required. The Tokens contained within the Line.