Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::Page (v0.20.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::Page.

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::V1::Document::Page::Block>
Returns

#blocks=

def blocks=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Block>
Parameter
Returns

#detected_barcodes

def detected_barcodes() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::DetectedBarcode>
Returns

#detected_barcodes=

def detected_barcodes=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::DetectedBarcode>
Parameter
Returns

#detected_languages

def detected_languages() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::DetectedLanguage>
Returns

#detected_languages=

def detected_languages=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::DetectedLanguage>
Parameter
Returns

#dimension

def dimension() -> ::Google::Cloud::DocumentAI::V1::Document::Page::Dimension
Returns

#dimension=

def dimension=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Page::Dimension
Parameter
Returns

#form_fields

def form_fields() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::FormField>
Returns

#form_fields=

def form_fields=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::FormField>
Parameter
Returns

#image

def image() -> ::Google::Cloud::DocumentAI::V1::Document::Page::Image
Returns

#image=

def image=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Page::Image
Parameter
Returns

#image_quality_scores

def image_quality_scores() -> ::Google::Cloud::DocumentAI::V1::Document::Page::ImageQualityScores

#image_quality_scores=

def image_quality_scores=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Page::ImageQualityScores
Parameter

#layout

def layout() -> ::Google::Cloud::DocumentAI::V1::Document::Page::Layout

#layout=

def layout=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Page::Layout

#lines

def lines() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Line>
Returns

#lines=

def lines=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Line>
Parameter
Returns

#page_number

def page_number() -> ::Integer
Returns
  • (::Integer) — 1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.

#page_number=

def page_number=(value) -> ::Integer
Parameter
  • value (::Integer) — 1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.
Returns
  • (::Integer) — 1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.

#paragraphs

def paragraphs() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Paragraph>
Returns

#paragraphs=

def paragraphs=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Paragraph>
Parameter
Returns

#provenance

def provenance() -> ::Google::Cloud::DocumentAI::V1::Document::Provenance
Returns

#provenance=

def provenance=(value) -> ::Google::Cloud::DocumentAI::V1::Document::Provenance
Parameter
Returns

#symbols

def symbols() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Symbol>
Returns

#symbols=

def symbols=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Symbol>
Parameter
Returns

#tables

def tables() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Table>
Returns

#tables=

def tables=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Table>
Parameter
Returns

#tokens

def tokens() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Token>
Returns

#tokens=

def tokens=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Token>
Parameter
Returns

#transforms

def transforms() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Matrix>
Returns

#transforms=

def transforms=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::Matrix>
Parameter
Returns

#visual_elements

def visual_elements() -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::VisualElement>
Returns

#visual_elements=

def visual_elements=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::Document::Page::VisualElement>
Parameter
Returns