Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/documentai_v1beta3/classes.rb,
generated/google/apis/documentai_v1beta3/representations.rb,
generated/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
-
#page_refs ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef>
One or more references to visual page elements Corresponds to the JSON property
pageRefs
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentPageAnchor
constructor
A new instance of GoogleCloudDocumentaiV1beta3DocumentPageAnchor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentPageAnchor
Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentPageAnchor.
4376 4377 4378 |
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 4376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_refs ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef>
One or more references to visual page elements
Corresponds to the JSON property pageRefs
4374 4375 4376 |
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 4374 def page_refs @page_refs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4381 4382 4383 |
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 4381 def update!(**args) @page_refs = args[:page_refs] if args.key?(:page_refs) end |