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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/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.



6180
6181
6182
# File 'lib/google/apis/docs_v1/classes.rb', line 6180

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



6178
6179
6180
# File 'lib/google/apis/docs_v1/classes.rb', line 6178

def table_column_properties
  @table_column_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6185
6186
6187
# File 'lib/google/apis/docs_v1/classes.rb', line 6185

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