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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
calendar | object | Optional | 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. Additional keys: see wildcard field |
calendar.* | Model | Additional keys | Expand Returns the color definitions for calendars and events — response body — event value A calendar color definition. |
event | object | Optional | 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. Additional keys: see wildcard field |
event.* | Model | Additional keys | Expand Returns the color definitions for calendars and events — response body — event value An event color definition. |
kind | string | Optional | Type of the resource ("calendar#colors"). Default: calendar#colors |
updated | string | Optional | Last 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
background | string | Optional | The background color associated with this color definition. |
foreground | string | Optional | The foreground color that can be used to write on top of a background with 'background' color. |