Skip to content

Google: Calendar colors schemas

2 Google schemas with complete fields and constraints.

← Calendar colors operations · All schemas

Returns the color definitions for calendars and events — response body

FieldTypePresenceDescription and constraints
$objectRoot
calendarobjectOptionalA 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.
Additional keys: see wildcard field
calendar.*ModelAdditional keysExpand Returns the color definitions for calendars and events — response body — event value
A calendar color definition.
eventobjectOptionalA 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.
Additional keys: see wildcard field
event.*ModelAdditional keysExpand Returns the color definitions for calendars and events — response body — event value
An event color definition.
kindstringOptionalType of the resource ("calendar#colors").
Default: calendar#colors
updatedstringOptionalLast modification time of the color palette (as a RFC3339 timestamp). Read-only.
Format: date-time

Referenced models: Returns the color definitions for calendars and events — response body — event value

Returns the color definitions for calendars and events — response body — event value

FieldTypePresenceDescription and constraints
$objectRoot
backgroundstringOptionalThe background color associated with this color definition.
foregroundstringOptionalThe foreground color that can be used to write on top of a background with 'background' color.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.