class Google::Apis::CalendarV3::Colors
Attributes
A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its colorId field. Read-only. Corresponds to the JSON property `calendar` @return [Hash<String,Google::Apis::CalendarV3::ColorDefinition>]
A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its colorId field. Read-only. Corresponds to the JSON property `event` @return [Hash<String,Google::Apis::CalendarV3::ColorDefinition>]
Type of the resource (“calendar#colors”). Corresponds to the JSON property `kind` @return [String]
Last modification time of the color palette (as a RFC3339 timestamp). Read- only. Corresponds to the JSON property `updated` @return [DateTime]
Public Class Methods
# File lib/google/apis/calendar_v3/classes.rb, line 606 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/calendar_v3/classes.rb, line 611 def update!(**args) @calendar = args[:calendar] if args.key?(:calendar) @event = args[:event] if args.key?(:event) @kind = args[:kind] if args.key?(:kind) @updated = args[:updated] if args.key?(:updated) end