Class Line (0.12.2a0)

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

Name Description
documentai_object :noindex: google.cloud.documentai.Document.Page.Line
Required. The original object.
text :noindex: str
Required. The text of the Line.
_tokens :noindex: List[Token]
Optional. The Tokens contained within the Line.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.