Class: Google::Apis::SlidesV1::TableRow
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::TableRow
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
Properties and contents of each row in a table.
Instance Attribute Summary collapse
-
#row_height ⇒ Google::Apis::SlidesV1::Dimension
A magnitude in a single direction in the specified units.
-
#table_cells ⇒ Array<Google::Apis::SlidesV1::TableCell>
Properties and contents of each cell.
-
#table_row_properties ⇒ Google::Apis::SlidesV1::TableRowProperties
Properties of each row in a table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableRow
constructor
A new instance of TableRow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TableRow
Returns a new instance of TableRow
4152 4153 4154 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#row_height ⇒ Google::Apis::SlidesV1::Dimension
A magnitude in a single direction in the specified units.
Corresponds to the JSON property rowHeight
4136 4137 4138 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4136 def row_height @row_height end |
#table_cells ⇒ Array<Google::Apis::SlidesV1::TableCell>
Properties and contents of each cell.
Cells that span multiple columns are represented only once with a
column_span greater
than 1. As a result, the length of this collection does not always match
the number of columns of the entire table.
Corresponds to the JSON property tableCells
4145 4146 4147 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4145 def table_cells @table_cells end |
#table_row_properties ⇒ Google::Apis::SlidesV1::TableRowProperties
Properties of each row in a table.
Corresponds to the JSON property tableRowProperties
4150 4151 4152 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4150 def table_row_properties @table_row_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4157 4158 4159 4160 4161 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4157 def update!(**args) @row_height = args[:row_height] if args.key?(:row_height) @table_cells = args[:table_cells] if args.key?(:table_cells) @table_row_properties = args[:table_row_properties] if args.key?(:table_row_properties) end |