class Google::Apis::SheetsV4::SpreadsheetTheme
Represents spreadsheet theme
Attributes
primary_font_family[RW]
Name of the primary font family. Corresponds to the JSON property `primaryFontFamily` @return [String]
theme_colors[RW]
The spreadsheet theme color pairs. To update you must provide all theme color pairs. Corresponds to the JSON property `themeColors` @return [Array<Google::Apis::SheetsV4::ThemeColorPair>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 9423 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 9428 def update!(**args) @primary_font_family = args[:primary_font_family] if args.key?(:primary_font_family) @theme_colors = args[:theme_colors] if args.key?(:theme_colors) end