Class: Google::Cloud::DocumentAI::V1::Document::DocumentLayout::DocumentLayoutBlock::LayoutTextBlock
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::DocumentAI::V1::Document::DocumentLayout::DocumentLayoutBlock::LayoutTextBlock
 
 
- Extended by:
 - Protobuf::MessageExts::ClassMethods
 
- Includes:
 - Protobuf::MessageExts
 
- Defined in:
 - proto_docs/google/cloud/documentai/v1/document.rb
 
Overview
Represents a text type block.
Instance Attribute Summary collapse
- 
  
    
      #blocks  ⇒ ::Array<::Google::Cloud::DocumentAI::V1::Document::DocumentLayout::DocumentLayoutBlock> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A text block could further have child blocks.
 - 
  
    
      #text  ⇒ ::String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Text content stored in the block.
 - 
  
    
      #type  ⇒ ::String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Type of the text in the block.
 
Instance Attribute Details
#blocks ⇒ ::Array<::Google::Cloud::DocumentAI::V1::Document::DocumentLayout::DocumentLayoutBlock>
Returns A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.
      1105 1106 1107 1108  | 
    
      # File 'proto_docs/google/cloud/documentai/v1/document.rb', line 1105 class LayoutTextBlock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end  | 
  
#text ⇒ ::String
Returns Text content stored in the block.
      1105 1106 1107 1108  | 
    
      # File 'proto_docs/google/cloud/documentai/v1/document.rb', line 1105 class LayoutTextBlock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end  | 
  
#type ⇒ ::String
Returns Type of the text in the block. Available options are: paragraph,
subtitle, heading-1, heading-2, heading-3, heading-4,
heading-5, header, footer.
      1105 1106 1107 1108  | 
    
      # File 'proto_docs/google/cloud/documentai/v1/document.rb', line 1105 class LayoutTextBlock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end  |