Class: Google::Apis::SlidesV1::TableRow

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TableRow

Returns a new instance of TableRow



3653
3654
3655
# File 'generated/google/apis/slides_v1/classes.rb', line 3653

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#row_heightGoogle::Apis::SlidesV1::Dimension

A magnitude in a single direction in the specified units. Corresponds to the JSON property rowHeight



3642
3643
3644
# File 'generated/google/apis/slides_v1/classes.rb', line 3642

def row_height
  @row_height
end

#table_cellsArray<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



3651
3652
3653
# File 'generated/google/apis/slides_v1/classes.rb', line 3651

def table_cells
  @table_cells
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3658
3659
3660
3661
# File 'generated/google/apis/slides_v1/classes.rb', line 3658

def update!(**args)
  @row_height = args[:row_height] if args.key?(:row_height)
  @table_cells = args[:table_cells] if args.key?(:table_cells)
end