class Google::Apis::SheetsV4::ThemeColorPair

A pair mapping a spreadsheet theme color type to the concrete color it represents.

Attributes

color[RW]

A color value. Corresponds to the JSON property `color` @return [Google::Apis::SheetsV4::ColorStyle]

color_type[RW]

The type of the spreadsheet theme color. Corresponds to the JSON property `colorType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 9687
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 9692
def update!(**args)
  @color = args[:color] if args.key?(:color)
  @color_type = args[:color_type] if args.key?(:color_type)
end