Class: Google::Apis::SlidesV1::Table
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::Table
- 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
A PageElement kind representing a table.
Instance Attribute Summary collapse
-
#columns ⇒ Fixnum
Number of columns in the table.
-
#rows ⇒ Fixnum
Number of rows in the table.
-
#table_columns ⇒ Array<Google::Apis::SlidesV1::TableColumnProperties>
Properties of each column.
-
#table_rows ⇒ Array<Google::Apis::SlidesV1::TableRow>
Properties and contents of each row.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Table
constructor
A new instance of Table.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Table
Returns a new instance of Table
1448 1449 1450 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1448 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Fixnum
Number of columns in the table.
Corresponds to the JSON property columns
1438 1439 1440 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1438 def columns @columns end |
#rows ⇒ Fixnum
Number of rows in the table.
Corresponds to the JSON property rows
1428 1429 1430 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1428 def rows @rows end |
#table_columns ⇒ Array<Google::Apis::SlidesV1::TableColumnProperties>
Properties of each column.
Corresponds to the JSON property tableColumns
1433 1434 1435 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1433 def table_columns @table_columns end |
#table_rows ⇒ Array<Google::Apis::SlidesV1::TableRow>
Properties and contents of each row.
Cells that span multiple rows are contained in only one of these rows and
have a row_span greater
than 1.
Corresponds to the JSON property tableRows
1446 1447 1448 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1446 def table_rows @table_rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1453 1454 1455 1456 1457 1458 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1453 def update!(**args) @rows = args[:rows] if args.key?(:rows) @table_columns = args[:table_columns] if args.key?(:table_columns) @columns = args[:columns] if args.key?(:columns) @table_rows = args[:table_rows] if args.key?(:table_rows) end |