Class: Google::Apis::DocsV1::TableStyle

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb

Overview

Styles that apply to a table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TableStyle

Returns a new instance of TableStyle.



5500
5501
5502
# File 'generated/google/apis/docs_v1/classes.rb', line 5500

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

Instance Attribute Details

#table_column_propertiesArray<Google::Apis::DocsV1::TableColumnProperties>

The properties of each column. Note that in Docs, tables contain rows and rows contain cells, similar to HTML. So the properties for a row can be found on the row's table_row_style. Corresponds to the JSON property tableColumnProperties



5498
5499
5500
# File 'generated/google/apis/docs_v1/classes.rb', line 5498

def table_column_properties
  @table_column_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5505
5506
5507
# File 'generated/google/apis/docs_v1/classes.rb', line 5505

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