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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TableStyle

Returns a new instance of TableStyle



5116
5117
5118
# File 'generated/google/apis/docs_v1/classes.rb', line 5116

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



5114
5115
5116
# File 'generated/google/apis/docs_v1/classes.rb', line 5114

def table_column_properties
  @table_column_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5121
5122
5123
# File 'generated/google/apis/docs_v1/classes.rb', line 5121

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