Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell
- 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 cell representation inside the table.
Instance Attribute Summary collapse
-
#col_span ⇒ Fixnum
How many columns this cell spans.
-
#detected_languages ⇒ Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>
A list of detected languages together with confidence.
-
#layout ⇒ Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout
Visual element describing a layout unit on a page.
-
#row_span ⇒ Fixnum
How many rows this cell spans.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell
constructor
A new instance of GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell
Returns a new instance of GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell.
1214 1215 1216 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1214 def initialize(**args) update!(**args) end |
Instance Attribute Details
#col_span ⇒ Fixnum
How many columns this cell spans.
Corresponds to the JSON property colSpan
1197 1198 1199 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1197 def col_span @col_span end |
#detected_languages ⇒ Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>
A list of detected languages together with confidence.
Corresponds to the JSON property detectedLanguages
1202 1203 1204 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1202 def detected_languages @detected_languages end |
#layout ⇒ Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout
Visual element describing a layout unit on a page.
Corresponds to the JSON property layout
1207 1208 1209 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1207 def layout @layout end |
#row_span ⇒ Fixnum
How many rows this cell spans.
Corresponds to the JSON property rowSpan
1212 1213 1214 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1212 def row_span @row_span end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1219 1220 1221 1222 1223 1224 |
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1219 def update!(**args) @col_span = args[:col_span] if args.key?(:col_span) @detected_languages = args[:detected_languages] if args.key?(:detected_languages) @layout = args[:layout] if args.key?(:layout) @row_span = args[:row_span] if args.key?(:row_span) end |