Class: Google::Apis::SheetsV4::TableRowsProperties
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::TableRowsProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
The table row properties.
Instance Attribute Summary collapse
-
#first_band_color_style ⇒ Google::Apis::SheetsV4::ColorStyle
A color value.
-
#footer_color_style ⇒ Google::Apis::SheetsV4::ColorStyle
A color value.
-
#header_color_style ⇒ Google::Apis::SheetsV4::ColorStyle
A color value.
-
#second_band_color_style ⇒ Google::Apis::SheetsV4::ColorStyle
A color value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableRowsProperties
constructor
A new instance of TableRowsProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TableRowsProperties
Returns a new instance of TableRowsProperties.
10011 10012 10013 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#first_band_color_style ⇒ Google::Apis::SheetsV4::ColorStyle
A color value.
Corresponds to the JSON property firstBandColorStyle
9994 9995 9996 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 9994 def first_band_color_style @first_band_color_style end |
#footer_color_style ⇒ Google::Apis::SheetsV4::ColorStyle
A color value.
Corresponds to the JSON property footerColorStyle
9999 10000 10001 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 9999 def end |
#header_color_style ⇒ Google::Apis::SheetsV4::ColorStyle
A color value.
Corresponds to the JSON property headerColorStyle
10004 10005 10006 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10004 def header_color_style @header_color_style end |
#second_band_color_style ⇒ Google::Apis::SheetsV4::ColorStyle
A color value.
Corresponds to the JSON property secondBandColorStyle
10009 10010 10011 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10009 def second_band_color_style @second_band_color_style end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10016 10017 10018 10019 10020 10021 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 10016 def update!(**args) @first_band_color_style = args[:first_band_color_style] if args.key?(:first_band_color_style) = args[:footer_color_style] if args.key?(:footer_color_style) @header_color_style = args[:header_color_style] if args.key?(:header_color_style) @second_band_color_style = args[:second_band_color_style] if args.key?(:second_band_color_style) end |