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- (::String) — ID of the block.
 
#block_id=
def block_id=(value) -> ::String- value (::String) — ID of the block.
 
- (::String) — ID of the block.
 
#bounding_box
def bounding_box() -> ::Google::Cloud::DocumentAI::V1beta3::BoundingPoly- (::Google::Cloud::DocumentAI::V1beta3::BoundingPoly) — Identifies the bounding box for the block.
 
#bounding_box=
def bounding_box=(value) -> ::Google::Cloud::DocumentAI::V1beta3::BoundingPoly- value (::Google::Cloud::DocumentAI::V1beta3::BoundingPoly) — Identifies the bounding box for the block.
 
- (::Google::Cloud::DocumentAI::V1beta3::BoundingPoly) — Identifies the bounding box for the block.
 
#image_block
def image_block() -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutImageBlock-  (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutImageBlock) — Block consisting of image content.
Note: The following fields are mutually exclusive:
image_block,text_block,table_block,list_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#image_block=
def image_block=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutImageBlock-  value (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutImageBlock) — Block consisting of image content.
Note: The following fields are mutually exclusive:
image_block,text_block,table_block,list_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutImageBlock) — Block consisting of image content.
Note: The following fields are mutually exclusive:
image_block,text_block,table_block,list_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#list_block
def list_block() -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutListBlock-  (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutListBlock) — Block consisting of list content/structure.
Note: The following fields are mutually exclusive:
list_block,text_block,table_block,image_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#list_block=
def list_block=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutListBlock-  value (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutListBlock) — Block consisting of list content/structure.
Note: The following fields are mutually exclusive:
list_block,text_block,table_block,image_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutListBlock) — Block consisting of list content/structure.
Note: The following fields are mutually exclusive:
list_block,text_block,table_block,image_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#page_span
def page_span() -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutPageSpan- (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutPageSpan) — Page span of the block.
 
#page_span=
def page_span=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutPageSpan- value (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutPageSpan) — Page span of the block.
 
- (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutPageSpan) — Page span of the block.
 
#table_block
def table_block() -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTableBlock-  (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTableBlock) — Block consisting of table content/structure.
Note: The following fields are mutually exclusive:
table_block,text_block,list_block,image_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#table_block=
def table_block=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTableBlock-  value (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTableBlock) — Block consisting of table content/structure.
Note: The following fields are mutually exclusive:
table_block,text_block,list_block,image_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTableBlock) — Block consisting of table content/structure.
Note: The following fields are mutually exclusive:
table_block,text_block,list_block,image_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#text_block
def text_block() -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTextBlock-  (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTextBlock) — Block consisting of text content.
Note: The following fields are mutually exclusive:
text_block,table_block,list_block,image_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#text_block=
def text_block=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTextBlock-  value (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTextBlock) — Block consisting of text content.
Note: The following fields are mutually exclusive:
text_block,table_block,list_block,image_block. If a field in that set is populated, all other fields in the set will automatically be cleared. 
-  (::Google::Cloud::DocumentAI::V1beta3::Document::DocumentLayout::DocumentLayoutBlock::LayoutTextBlock) — Block consisting of text content.
Note: The following fields are mutually exclusive:
text_block,table_block,list_block,image_block. If a field in that set is populated, all other fields in the set will automatically be cleared.