Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock (v0.38.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock.

Represents a block. A block could be one of the various types (text, table, list) supported.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#block_id

def block_id() -> ::String
Returns
  • (::String) — ID of the block.

#block_id=

def block_id=(value) -> ::String
Parameter
  • value (::String) — ID of the block.
Returns
  • (::String) — ID of the block.

#list_block

def list_block() -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutListBlock

#list_block=

def list_block=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutListBlock
Parameter

#page_span

def page_span() -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutPageSpan

#page_span=

def page_span=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutPageSpan

#table_block

def table_block() -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTableBlock

#table_block=

def table_block=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTableBlock
Parameter

#text_block

def text_block() -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTextBlock

#text_block=

def text_block=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTextBlock