Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2TableBoundHint
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2TableBoundHint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/documentai_v1beta2/classes.rb,
generated/google/apis/documentai_v1beta2/representations.rb,
generated/google/apis/documentai_v1beta2/representations.rb
Overview
A hint for a table bounding box on the page for table parsing.
Instance Attribute Summary collapse
-
#bounding_box ⇒ Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly
A bounding polygon for the detected image annotation.
-
#page_number ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2TableBoundHint
constructor
A new instance of GoogleCloudDocumentaiV1beta2TableBoundHint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2TableBoundHint
Returns a new instance of GoogleCloudDocumentaiV1beta2TableBoundHint.
3975 3976 3977 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 3975 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bounding_box ⇒ Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly
A bounding polygon for the detected image annotation.
Corresponds to the JSON property boundingBox
3967 3968 3969 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 3967 def bounding_box @bounding_box end |
#page_number ⇒ Fixnum
Optional. Page number for multi-paged inputs this hint applies to. If not
provided, this hint will apply to all pages by default. This value is 1-based.
Corresponds to the JSON property pageNumber
3973 3974 3975 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 3973 def page_number @page_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3980 3981 3982 3983 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 3980 def update!(**args) @bounding_box = args[:bounding_box] if args.key?(:bounding_box) @page_number = args[:page_number] if args.key?(:page_number) end |