A page in a Document.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#blocks
def blocks() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Block>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Block>) — A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
#blocks=
def blocks=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Block>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Block>) — A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Block>) — A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
#detected_languages
def detected_languages() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>) — A list of detected languages together with confidence.
#detected_languages=
def detected_languages=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>) — A list of detected languages together with confidence.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::DetectedLanguage>) — A list of detected languages together with confidence.
#dimension
def dimension() -> ::Google::Cloud::DocumentAI::V1beta3::Document::Page::Dimension
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Page::Dimension) — Physical dimension of the page.
#dimension=
def dimension=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::Page::Dimension
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Document::Page::Dimension) — Physical dimension of the page.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Page::Dimension) — Physical dimension of the page.
#form_fields
def form_fields() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::FormField>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::FormField>) — A list of visually detected form fields on the page.
#form_fields=
def form_fields=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::FormField>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::FormField>) — A list of visually detected form fields on the page.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::FormField>) — A list of visually detected form fields on the page.
#image
def image() -> ::Google::Cloud::DocumentAI::V1beta3::Document::Page::Image
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Page::Image) — Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
#image=
def image=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::Page::Image
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Document::Page::Image) — Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Page::Image) — Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
#layout
def layout() -> ::Google::Cloud::DocumentAI::V1beta3::Document::Page::Layout
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Page::Layout) — Layout for the page.
#layout=
def layout=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::Page::Layout
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Document::Page::Layout) — Layout for the page.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Page::Layout) — Layout for the page.
#lines
def lines() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Line>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Line>) — A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.
#lines=
def lines=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Line>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Line>) — A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Line>) — A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.
#page_number
def page_number() -> ::Integer
Returns
#page_number=
def page_number=(value) -> ::Integer
Parameter
Returns
#paragraphs
def paragraphs() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Paragraph>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Paragraph>) — A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.
#paragraphs=
def paragraphs=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Paragraph>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Paragraph>) — A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Paragraph>) — A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.
#provenance
def provenance() -> ::Google::Cloud::DocumentAI::V1beta3::Document::Provenance
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Provenance) — The history of this page.
#provenance=
def provenance=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::Provenance
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Document::Provenance) — The history of this page.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document::Provenance) — The history of this page.
#tables
def tables() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Table>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Table>) — A list of visually detected tables on the page.
#tables=
def tables=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Table>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Table>) — A list of visually detected tables on the page.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Table>) — A list of visually detected tables on the page.
#tokens
def tokens() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Token>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Token>) — A list of visually detected tokens on the page.
#tokens=
def tokens=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Token>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Token>) — A list of visually detected tokens on the page.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Token>) — A list of visually detected tokens on the page.
#transforms
def transforms() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Matrix>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Matrix>) — Transformation matrices that were applied to the original document image to produce Page.image.
#transforms=
def transforms=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Matrix>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Matrix>) — Transformation matrices that were applied to the original document image to produce Page.image.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::Matrix>) — Transformation matrices that were applied to the original document image to produce Page.image.
#visual_elements
def visual_elements() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::VisualElement>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::VisualElement>) — A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.
#visual_elements=
def visual_elements=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::VisualElement>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::VisualElement>) — A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::VisualElement>) — A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.