class Google::Apis::CalendarV3::ColorDefinition

Attributes

background[RW]

The background color associated with this color definition. Corresponds to the JSON property `background` @return [String]

foreground[RW]

The foreground color that can be used to write on top of a background with ' background' color. Corresponds to the JSON property `foreground` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/calendar_v3/classes.rb, line 555
def update!(**args)
  @background = args[:background] if args.key?(:background)
  @foreground = args[:foreground] if args.key?(:foreground)
end