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.
 - 
  
    
      #horizontal_border_rows  ⇒ Array<Google::Apis::SlidesV1::TableBorderRow> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Properties of horizontal cell borders.
 - 
  
    
      #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.
 - 
  
    
      #vertical_border_rows  ⇒ Array<Google::Apis::SlidesV1::TableBorderRow> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Properties of vertical cell borders.
 
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
      3702 3703 3704  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3702 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#columns ⇒ Fixnum
Number of columns in the table.
Corresponds to the JSON property columns
      3664 3665 3666  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3664 def columns @columns end  | 
  
#horizontal_border_rows ⇒ Array<Google::Apis::SlidesV1::TableBorderRow>
Properties of horizontal cell borders.
A table's horizontal cell borders are represented as a grid. The grid has
one more row than the number of rows in the table and the same number of
columns as the table. For example, if the table is 3 x 3, its horizontal
borders will be represented as a grid with 4 rows and 3 columns.
Corresponds to the JSON property horizontalBorderRows
      3673 3674 3675  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3673 def horizontal_border_rows @horizontal_border_rows end  | 
  
#rows ⇒ Fixnum
Number of rows in the table.
Corresponds to the JSON property rows
      3678 3679 3680  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3678 def rows @rows end  | 
  
#table_columns ⇒ Array<Google::Apis::SlidesV1::TableColumnProperties>
Properties of each column.
Corresponds to the JSON property tableColumns
      3683 3684 3685  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3683 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
      3691 3692 3693  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3691 def table_rows @table_rows end  | 
  
#vertical_border_rows ⇒ Array<Google::Apis::SlidesV1::TableBorderRow>
Properties of vertical cell borders.
A table's vertical cell borders are represented as a grid. The grid has the
same number of rows as the table and one more column than the number of
columns in the table. For example, if the table is 3 x 3, its vertical
borders will be represented as a grid with 3 rows and 4 columns.
Corresponds to the JSON property verticalBorderRows
      3700 3701 3702  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3700 def vertical_border_rows @vertical_border_rows end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3707 3708 3709 3710 3711 3712 3713 3714  | 
    
      # File 'generated/google/apis/slides_v1/classes.rb', line 3707 def update!(**args) @columns = args[:columns] if args.key?(:columns) @horizontal_border_rows = args[:horizontal_border_rows] if args.key?(:horizontal_border_rows) @rows = args[:rows] if args.key?(:rows) @table_columns = args[:table_columns] if args.key?(:table_columns) @table_rows = args[:table_rows] if args.key?(:table_rows) @vertical_border_rows = args[:vertical_border_rows] if args.key?(:vertical_border_rows) end  |