Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchor

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta1DocumentPageAnchor

Returns a new instance of GoogleCloudDocumentaiV1beta1DocumentPageAnchor.



2922
2923
2924
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2922

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#page_refsArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef>

One or more references to visual page elements Corresponds to the JSON property pageRefs



2920
2921
2922
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2920

def page_refs
  @page_refs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2927
2928
2929
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2927

def update!(**args)
  @page_refs = args[:page_refs] if args.key?(:page_refs)
end