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.



10035
10036
10037
# File 'lib/google/apis/sheets_v4/classes.rb', line 10035

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



10018
10019
10020
# File 'lib/google/apis/sheets_v4/classes.rb', line 10018

def first_band_color_style
  @first_band_color_style
end

A color value. Corresponds to the JSON property footerColorStyle



10023
10024
10025
# File 'lib/google/apis/sheets_v4/classes.rb', line 10023

def footer_color_style
  @footer_color_style
end

#header_color_styleGoogle::Apis::SheetsV4::ColorStyle

A color value. Corresponds to the JSON property headerColorStyle



10028
10029
10030
# File 'lib/google/apis/sheets_v4/classes.rb', line 10028

def header_color_style
  @header_color_style
end

#second_band_color_styleGoogle::Apis::SheetsV4::ColorStyle

A color value. Corresponds to the JSON property secondBandColorStyle



10033
10034
10035
# File 'lib/google/apis/sheets_v4/classes.rb', line 10033

def second_band_color_style
  @second_band_color_style
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10040
10041
10042
10043
10044
10045
# File 'lib/google/apis/sheets_v4/classes.rb', line 10040

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