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



4952
4953
4954
# File 'generated/google/apis/docs_v1/classes.rb', line 4952

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



4950
4951
4952
# File 'generated/google/apis/docs_v1/classes.rb', line 4950

def table_column_properties
  @table_column_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4957
4958
4959
# File 'generated/google/apis/docs_v1/classes.rb', line 4957

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