Get

Returns the color definitions for calendars and events

0 variables
10 variables

Returns the color definitions for calendars and events

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • See, edit, share, and permanently delete all the calendars you can access using Google Calendar
  • View your calendars

Output

This building block provides 10 output parameters

  = Parameter name
  = Format

calendar OBJECT

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 color field. Read-only

calendar.customKey OBJECT

Add additional named properties

calendar.customKey.background STRING

The background color associated with this color definition

calendar.customKey.foreground STRING

The foreground color that can be used to write on top of a background with 'background' color

event OBJECT

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 color field. Read-only

event.customKey OBJECT

Add additional named properties

event.customKey.background STRING

The background color associated with this color definition

event.customKey.foreground STRING

The foreground color that can be used to write on top of a background with 'background' color

kind STRING

Type of the resource ("calendar#colors")

updated DATE_TIME

Last modification time of the color palette (as a RFC3339 timestamp). Read-only