Class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TableTableCell
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1TableTableCell
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vision_v1p1beta1/classes.rb,
generated/google/apis/vision_v1p1beta1/representations.rb,
generated/google/apis/vision_v1p1beta1/representations.rb
Overview
A cell representation inside of tables.
Instance Attribute Summary collapse
-
#col_span ⇒ Fixnum
How many columns this cell spans.
-
#row_span ⇒ Fixnum
How many rows this cell spans.
-
#text ⇒ String
The merged text value of this cell, omitting any deeper structural information unlike
text_block
. -
#text_block ⇒ Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block
Logical element on the page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVisionV1p5beta1TableTableCell
constructor
A new instance of GoogleCloudVisionV1p5beta1TableTableCell.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVisionV1p5beta1TableTableCell
Returns a new instance of GoogleCloudVisionV1p5beta1TableTableCell
10945 10946 10947 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 10945 def initialize(**args) update!(**args) end |
Instance Attribute Details
#col_span ⇒ Fixnum
How many columns this cell spans.
Corresponds to the JSON property colSpan
10927 10928 10929 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 10927 def col_span @col_span end |
#row_span ⇒ Fixnum
How many rows this cell spans.
Corresponds to the JSON property rowSpan
10932 10933 10934 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 10932 def row_span @row_span end |
#text ⇒ String
The merged text value of this cell, omitting any deeper structural
information unlike text_block
. This is useful for simple cells.
Corresponds to the JSON property text
10938 10939 10940 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 10938 def text @text end |
#text_block ⇒ Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1Block
Logical element on the page.
Corresponds to the JSON property textBlock
10943 10944 10945 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 10943 def text_block @text_block end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10950 10951 10952 10953 10954 10955 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 10950 def update!(**args) @col_span = args[:col_span] if args.key?(:col_span) @row_span = args[:row_span] if args.key?(:row_span) @text = args[:text] if args.key?(:text) @text_block = args[:text_block] if args.key?(:text_block) end |