Update
|
|||||
|
|
Updates an existing calendar on the user's calendar list
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
Input
This building block consumes 27 input parameters
Name | Format | Description |
---|---|---|
calendarId Required |
STRING |
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword |
colorRgbFormat |
BOOLEAN |
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False |
accessRole |
STRING |
The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
|
backgroundColor |
STRING |
The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional |
colorId |
STRING |
The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional |
conferenceProperties |
OBJECT |
|
conferenceProperties.allowedConferenceSolutionTypes[] |
STRING |
|
defaultReminders[] |
OBJECT |
|
defaultReminders[].method |
STRING |
The method used by this reminder. Possible values are:
|
defaultReminders[].minutes |
INTEGER |
Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). Required when adding a reminder |
deleted |
BOOLEAN |
Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False |
description |
STRING |
Description of the calendar. Optional. Read-only |
etag |
STRING |
ETag of the resource |
foregroundColor |
STRING |
The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional |
hidden |
BOOLEAN |
Whether the calendar has been hidden from the list. Optional. The default is False |
id |
STRING |
Identifier of the calendar |
kind |
STRING |
Type of the resource ("calendar#calendarListEntry") |
location |
STRING |
Geographic location of the calendar as free-form text. Optional. Read-only |
notificationSettings |
OBJECT |
The notifications that the authenticated user is receiving for this calendar |
notificationSettings.notifications[] |
OBJECT |
|
notificationSettings.notifications[].method |
STRING |
The method used to deliver the notification. Possible values are:
|
notificationSettings.notifications[].type |
STRING |
The type of notification. Possible values are:
|
primary |
BOOLEAN |
Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False |
selected |
BOOLEAN |
Whether the calendar content shows up in the calendar UI. Optional. The default is False |
summary |
STRING |
Title of the calendar. Read-only |
summaryOverride |
STRING |
The summary that the authenticated user has set for this calendar. Optional |
timeZone |
STRING |
The time zone of the calendar. Optional. Read-only |
= Parameter name
= Format
calendarId STRING Required Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword |
colorRgbFormat BOOLEAN Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False |
accessRole STRING The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
|
backgroundColor STRING The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional |
colorId STRING The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional |
conferenceProperties OBJECT |
conferenceProperties.allowedConferenceSolutionTypes[] STRING |
defaultReminders[] OBJECT |
defaultReminders[].method STRING The method used by this reminder. Possible values are:
|
defaultReminders[].minutes INTEGER Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). Required when adding a reminder |
deleted BOOLEAN Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False |
description STRING Description of the calendar. Optional. Read-only |
etag STRING ETag of the resource |
foregroundColor STRING The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional |
hidden BOOLEAN Whether the calendar has been hidden from the list. Optional. The default is False |
id STRING Identifier of the calendar |
kind STRING Type of the resource ("calendar#calendarListEntry") |
location STRING Geographic location of the calendar as free-form text. Optional. Read-only |
notificationSettings OBJECT The notifications that the authenticated user is receiving for this calendar |
notificationSettings.notifications[] OBJECT |
notificationSettings.notifications[].method STRING The method used to deliver the notification. Possible values are:
|
notificationSettings.notifications[].type STRING The type of notification. Possible values are:
|
primary BOOLEAN Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False |
selected BOOLEAN Whether the calendar content shows up in the calendar UI. Optional. The default is False |
summary STRING Title of the calendar. Read-only |
summaryOverride STRING The summary that the authenticated user has set for this calendar. Optional |
timeZone STRING The time zone of the calendar. Optional. Read-only |
Output
This building block provides 25 output parameters
Name | Format | Description |
---|---|---|
accessRole |
STRING |
The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
|
backgroundColor |
STRING |
The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional |
colorId |
STRING |
The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional |
conferenceProperties |
OBJECT |
|
conferenceProperties.allowedConferenceSolutionTypes[] |
STRING |
|
defaultReminders[] |
OBJECT |
|
defaultReminders[].method |
STRING |
The method used by this reminder. Possible values are:
|
defaultReminders[].minutes |
INTEGER |
Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). Required when adding a reminder |
deleted |
BOOLEAN |
Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False |
description |
STRING |
Description of the calendar. Optional. Read-only |
etag |
STRING |
ETag of the resource |
foregroundColor |
STRING |
The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional |
hidden |
BOOLEAN |
Whether the calendar has been hidden from the list. Optional. The default is False |
id |
STRING |
Identifier of the calendar |
kind |
STRING |
Type of the resource ("calendar#calendarListEntry") |
location |
STRING |
Geographic location of the calendar as free-form text. Optional. Read-only |
notificationSettings |
OBJECT |
The notifications that the authenticated user is receiving for this calendar |
notificationSettings.notifications[] |
OBJECT |
|
notificationSettings.notifications[].method |
STRING |
The method used to deliver the notification. Possible values are:
|
notificationSettings.notifications[].type |
STRING |
The type of notification. Possible values are:
|
primary |
BOOLEAN |
Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False |
selected |
BOOLEAN |
Whether the calendar content shows up in the calendar UI. Optional. The default is False |
summary |
STRING |
Title of the calendar. Read-only |
summaryOverride |
STRING |
The summary that the authenticated user has set for this calendar. Optional |
timeZone |
STRING |
The time zone of the calendar. Optional. Read-only |
= Parameter name
= Format
accessRole STRING The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
|
backgroundColor STRING The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional |
colorId STRING The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional |
conferenceProperties OBJECT |
conferenceProperties.allowedConferenceSolutionTypes[] STRING |
defaultReminders[] OBJECT |
defaultReminders[].method STRING The method used by this reminder. Possible values are:
|
defaultReminders[].minutes INTEGER Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). Required when adding a reminder |
deleted BOOLEAN Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False |
description STRING Description of the calendar. Optional. Read-only |
etag STRING ETag of the resource |
foregroundColor STRING The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional |
hidden BOOLEAN Whether the calendar has been hidden from the list. Optional. The default is False |
id STRING Identifier of the calendar |
kind STRING Type of the resource ("calendar#calendarListEntry") |
location STRING Geographic location of the calendar as free-form text. Optional. Read-only |
notificationSettings OBJECT The notifications that the authenticated user is receiving for this calendar |
notificationSettings.notifications[] OBJECT |
notificationSettings.notifications[].method STRING The method used to deliver the notification. Possible values are:
|
notificationSettings.notifications[].type STRING The type of notification. Possible values are:
|
primary BOOLEAN Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False |
selected BOOLEAN Whether the calendar content shows up in the calendar UI. Optional. The default is False |
summary STRING Title of the calendar. Read-only |
summaryOverride STRING The summary that the authenticated user has set for this calendar. Optional |
timeZone STRING The time zone of the calendar. Optional. Read-only |