Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
 lib/google/apis/documentai_v1/representations.rb,
 lib/google/apis/documentai_v1/representations.rb
Overview
Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.
Instance Attribute Summary collapse
- 
  
    
      #page_refs  ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchorPageRef> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    One or more references to visual page elements Corresponds to the JSON property pageRefs.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudDocumentaiV1DocumentPageAnchor 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudDocumentaiV1DocumentPageAnchor. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentPageAnchor
Returns a new instance of GoogleCloudDocumentaiV1DocumentPageAnchor.
| 1733 1734 1735 | # File 'lib/google/apis/documentai_v1/classes.rb', line 1733 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#page_refs ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchorPageRef>
One or more references to visual page elements
Corresponds to the JSON property pageRefs
| 1731 1732 1733 | # File 'lib/google/apis/documentai_v1/classes.rb', line 1731 def page_refs @page_refs end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1738 1739 1740 | # File 'lib/google/apis/documentai_v1/classes.rb', line 1738 def update!(**args) @page_refs = args[:page_refs] if args.key?(:page_refs) end |