Class: Google::Apis::SheetsV4::TableRowsProperties

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_styleGoogle::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

A color value. Corresponds to the JSON property footerColorStyle



9999
10000
10001
# File 'lib/google/apis/sheets_v4/classes.rb', line 9999

def footer_color_style
  @footer_color_style
end

#header_color_styleGoogle::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_styleGoogle::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)
  @footer_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