Debian Codegraph @

docs/dyn/calendar_v3.calendarList.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="calendar_v3.html">Calendar API</a> . <a href="calendar_v3.calendarList.html">calendarList</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(calendarId)</a></code></p>
82 <p class="firstline">Removes a calendar from the user's calendar list.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(calendarId)</a></code></p>
85 <p class="firstline">Returns a calendar from the user's calendar list.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(body=None, colorRgbFormat=None)</a></code></p>
88 <p class="firstline">Inserts an existing calendar into the user's calendar list.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(maxResults=None, minAccessRole=None, pageToken=None, showDeleted=None, showHidden=None, syncToken=None)</a></code></p>
91 <p class="firstline">Returns the calendars on the user's calendar list.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(calendarId, body=None, colorRgbFormat=None)</a></code></p>
97 <p class="firstline">Updates an existing calendar on the user's calendar list. This method supports patch semantics.</p>
98 <p class="toc_element">
99 <code><a href="#update">update(calendarId, body=None, colorRgbFormat=None)</a></code></p>
100 <p class="firstline">Updates an existing calendar on the user's calendar list.</p>
101 <p class="toc_element">
102 <code><a href="#watch">watch(body=None, maxResults=None, minAccessRole=None, pageToken=None, showDeleted=None, showHidden=None, syncToken=None)</a></code></p>
103 <p class="firstline">Watch for changes to CalendarList resources.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="close">close()</code>
107 <pre>Close httplib2 connections.</pre>
108 </div>
109
110 <div class="method">
111 <code class="details" id="delete">delete(calendarId)</code>
112 <pre>Removes a calendar from the user&#x27;s calendar list.
113
114 Args:
115 calendarId: 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 &quot;primary&quot; keyword. (required)
116 </pre>
117 </div>
118
119 <div class="method">
120 <code class="details" id="get">get(calendarId)</code>
121 <pre>Returns a calendar from the user&#x27;s calendar list.
122
123 Args:
124 calendarId: 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 &quot;primary&quot; keyword. (required)
125
126 Returns:
127 An object of the form:
128
129 {
130 &quot;accessRole&quot;: &quot;A String&quot;, # The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
131 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
132 # - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
133 # - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
134 # - &quot;owner&quot; - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.
135 # Important: the owner role is different from the calendar&#x27;s data owner. A calendar has a single data owner, but can have multiple users with owner role.
136 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.
137 &quot;backgroundColor&quot;: &quot;A String&quot;, # The main color of the calendar in the hexadecimal format &quot;#0088aa&quot;. 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.
138 &quot;colorId&quot;: &quot;A String&quot;, # 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.
139 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
140 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
141 # The possible values are:
142 # - &quot;eventHangout&quot;
143 # - &quot;eventNamedHangout&quot;
144 # - &quot;hangoutsMeet&quot; Optional.
145 &quot;A String&quot;,
146 ],
147 },
148 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
149 &quot;defaultReminders&quot;: [ # The default reminders that the authenticated user has for this calendar.
150 {
151 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
152 # - &quot;email&quot; - Reminders are sent via email.
153 # - &quot;popup&quot; - Reminders are sent via a UI popup.
154 # Required when adding a reminder.
155 &quot;minutes&quot;: 42, # 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).
156 # Required when adding a reminder.
157 },
158 ],
159 &quot;deleted&quot;: false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
160 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional. Read-only.
161 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
162 &quot;foregroundColor&quot;: &quot;A String&quot;, # The foreground color of the calendar in the hexadecimal format &quot;#ffffff&quot;. 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.
163 &quot;hidden&quot;: false, # Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.
164 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar.
165 &quot;kind&quot;: &quot;calendar#calendarListEntry&quot;, # Type of the resource (&quot;calendar#calendarListEntry&quot;).
166 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional. Read-only.
167 &quot;notificationSettings&quot;: { # The notifications that the authenticated user is receiving for this calendar.
168 &quot;notifications&quot;: [ # The list of notifications set for this calendar.
169 {
170 &quot;method&quot;: &quot;A String&quot;, # The method used to deliver the notification. The possible value is:
171 # - &quot;email&quot; - Notifications are sent via email.
172 # Required when adding a notification.
173 &quot;type&quot;: &quot;A String&quot;, # The type of notification. Possible values are:
174 # - &quot;eventCreation&quot; - Notification sent when a new event is put on the calendar.
175 # - &quot;eventChange&quot; - Notification sent when an event is changed.
176 # - &quot;eventCancellation&quot; - Notification sent when an event is cancelled.
177 # - &quot;eventResponse&quot; - Notification sent when an attendee responds to the event invitation.
178 # - &quot;agenda&quot; - An agenda with the events of the day (sent out in the morning).
179 # Required when adding a notification.
180 },
181 ],
182 },
183 &quot;primary&quot;: false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
184 &quot;selected&quot;: false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
185 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
186 &quot;summaryOverride&quot;: &quot;A String&quot;, # The summary that the authenticated user has set for this calendar. Optional.
187 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Optional. Read-only.
188 }</pre>
189 </div>
190
191 <div class="method">
192 <code class="details" id="insert">insert(body=None, colorRgbFormat=None)</code>
193 <pre>Inserts an existing calendar into the user&#x27;s calendar list.
194
195 Args:
196 body: object, The request body.
197 The object takes the form of:
198
199 {
200 &quot;accessRole&quot;: &quot;A String&quot;, # The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
201 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
202 # - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
203 # - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
204 # - &quot;owner&quot; - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.
205 # Important: the owner role is different from the calendar&#x27;s data owner. A calendar has a single data owner, but can have multiple users with owner role.
206 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.
207 &quot;backgroundColor&quot;: &quot;A String&quot;, # The main color of the calendar in the hexadecimal format &quot;#0088aa&quot;. 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.
208 &quot;colorId&quot;: &quot;A String&quot;, # 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.
209 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
210 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
211 # The possible values are:
212 # - &quot;eventHangout&quot;
213 # - &quot;eventNamedHangout&quot;
214 # - &quot;hangoutsMeet&quot; Optional.
215 &quot;A String&quot;,
216 ],
217 },
218 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
219 &quot;defaultReminders&quot;: [ # The default reminders that the authenticated user has for this calendar.
220 {
221 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
222 # - &quot;email&quot; - Reminders are sent via email.
223 # - &quot;popup&quot; - Reminders are sent via a UI popup.
224 # Required when adding a reminder.
225 &quot;minutes&quot;: 42, # 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).
226 # Required when adding a reminder.
227 },
228 ],
229 &quot;deleted&quot;: false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
230 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional. Read-only.
231 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
232 &quot;foregroundColor&quot;: &quot;A String&quot;, # The foreground color of the calendar in the hexadecimal format &quot;#ffffff&quot;. 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.
233 &quot;hidden&quot;: false, # Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.
234 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar.
235 &quot;kind&quot;: &quot;calendar#calendarListEntry&quot;, # Type of the resource (&quot;calendar#calendarListEntry&quot;).
236 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional. Read-only.
237 &quot;notificationSettings&quot;: { # The notifications that the authenticated user is receiving for this calendar.
238 &quot;notifications&quot;: [ # The list of notifications set for this calendar.
239 {
240 &quot;method&quot;: &quot;A String&quot;, # The method used to deliver the notification. The possible value is:
241 # - &quot;email&quot; - Notifications are sent via email.
242 # Required when adding a notification.
243 &quot;type&quot;: &quot;A String&quot;, # The type of notification. Possible values are:
244 # - &quot;eventCreation&quot; - Notification sent when a new event is put on the calendar.
245 # - &quot;eventChange&quot; - Notification sent when an event is changed.
246 # - &quot;eventCancellation&quot; - Notification sent when an event is cancelled.
247 # - &quot;eventResponse&quot; - Notification sent when an attendee responds to the event invitation.
248 # - &quot;agenda&quot; - An agenda with the events of the day (sent out in the morning).
249 # Required when adding a notification.
250 },
251 ],
252 },
253 &quot;primary&quot;: false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
254 &quot;selected&quot;: false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
255 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
256 &quot;summaryOverride&quot;: &quot;A String&quot;, # The summary that the authenticated user has set for this calendar. Optional.
257 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Optional. Read-only.
258 }
259
260 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.
261
262 Returns:
263 An object of the form:
264
265 {
266 &quot;accessRole&quot;: &quot;A String&quot;, # The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
267 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
268 # - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
269 # - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
270 # - &quot;owner&quot; - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.
271 # Important: the owner role is different from the calendar&#x27;s data owner. A calendar has a single data owner, but can have multiple users with owner role.
272 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.
273 &quot;backgroundColor&quot;: &quot;A String&quot;, # The main color of the calendar in the hexadecimal format &quot;#0088aa&quot;. 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.
274 &quot;colorId&quot;: &quot;A String&quot;, # 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.
275 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
276 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
277 # The possible values are:
278 # - &quot;eventHangout&quot;
279 # - &quot;eventNamedHangout&quot;
280 # - &quot;hangoutsMeet&quot; Optional.
281 &quot;A String&quot;,
282 ],
283 },
284 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
285 &quot;defaultReminders&quot;: [ # The default reminders that the authenticated user has for this calendar.
286 {
287 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
288 # - &quot;email&quot; - Reminders are sent via email.
289 # - &quot;popup&quot; - Reminders are sent via a UI popup.
290 # Required when adding a reminder.
291 &quot;minutes&quot;: 42, # 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).
292 # Required when adding a reminder.
293 },
294 ],
295 &quot;deleted&quot;: false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
296 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional. Read-only.
297 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
298 &quot;foregroundColor&quot;: &quot;A String&quot;, # The foreground color of the calendar in the hexadecimal format &quot;#ffffff&quot;. 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.
299 &quot;hidden&quot;: false, # Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.
300 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar.
301 &quot;kind&quot;: &quot;calendar#calendarListEntry&quot;, # Type of the resource (&quot;calendar#calendarListEntry&quot;).
302 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional. Read-only.
303 &quot;notificationSettings&quot;: { # The notifications that the authenticated user is receiving for this calendar.
304 &quot;notifications&quot;: [ # The list of notifications set for this calendar.
305 {
306 &quot;method&quot;: &quot;A String&quot;, # The method used to deliver the notification. The possible value is:
307 # - &quot;email&quot; - Notifications are sent via email.
308 # Required when adding a notification.
309 &quot;type&quot;: &quot;A String&quot;, # The type of notification. Possible values are:
310 # - &quot;eventCreation&quot; - Notification sent when a new event is put on the calendar.
311 # - &quot;eventChange&quot; - Notification sent when an event is changed.
312 # - &quot;eventCancellation&quot; - Notification sent when an event is cancelled.
313 # - &quot;eventResponse&quot; - Notification sent when an attendee responds to the event invitation.
314 # - &quot;agenda&quot; - An agenda with the events of the day (sent out in the morning).
315 # Required when adding a notification.
316 },
317 ],
318 },
319 &quot;primary&quot;: false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
320 &quot;selected&quot;: false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
321 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
322 &quot;summaryOverride&quot;: &quot;A String&quot;, # The summary that the authenticated user has set for this calendar. Optional.
323 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Optional. Read-only.
324 }</pre>
325 </div>
326
327 <div class="method">
328 <code class="details" id="list">list(maxResults=None, minAccessRole=None, pageToken=None, showDeleted=None, showHidden=None, syncToken=None)</code>
329 <pre>Returns the calendars on the user&#x27;s calendar list.
330
331 Args:
332 maxResults: integer, Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
333 minAccessRole: string, The minimum access role for the user in the returned entries. Optional. The default is no restriction.
334 Allowed values
335 freeBusyReader - The user can read free/busy information.
336 owner - The user can read and modify events and access control lists.
337 reader - The user can read events that are not private.
338 writer - The user can read and modify events.
339 writerWithoutPrivateAccess - The user can read and modify events that aren&#x27;t private. The user can read free/busy information about private events. The user can&#x27;t modify private events.
340 pageToken: string, Token specifying which result page to return. Optional.
341 showDeleted: boolean, Whether to include deleted calendar list entries in the result. Optional. The default is False.
342 showHidden: boolean, Whether to show hidden entries. Optional. The default is False.
343 syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won&#x27;t be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False.
344 To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken.
345 If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
346 Learn more about incremental synchronization.
347 Optional. The default is to return all entries.
348
349 Returns:
350 An object of the form:
351
352 {
353 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
354 &quot;items&quot;: [ # Calendars that are present on the user&#x27;s calendar list.
355 {
356 &quot;accessRole&quot;: &quot;A String&quot;, # The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
357 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
358 # - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
359 # - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
360 # - &quot;owner&quot; - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.
361 # Important: the owner role is different from the calendar&#x27;s data owner. A calendar has a single data owner, but can have multiple users with owner role.
362 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.
363 &quot;backgroundColor&quot;: &quot;A String&quot;, # The main color of the calendar in the hexadecimal format &quot;#0088aa&quot;. 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.
364 &quot;colorId&quot;: &quot;A String&quot;, # 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.
365 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
366 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
367 # The possible values are:
368 # - &quot;eventHangout&quot;
369 # - &quot;eventNamedHangout&quot;
370 # - &quot;hangoutsMeet&quot; Optional.
371 &quot;A String&quot;,
372 ],
373 },
374 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
375 &quot;defaultReminders&quot;: [ # The default reminders that the authenticated user has for this calendar.
376 {
377 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
378 # - &quot;email&quot; - Reminders are sent via email.
379 # - &quot;popup&quot; - Reminders are sent via a UI popup.
380 # Required when adding a reminder.
381 &quot;minutes&quot;: 42, # 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).
382 # Required when adding a reminder.
383 },
384 ],
385 &quot;deleted&quot;: false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
386 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional. Read-only.
387 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
388 &quot;foregroundColor&quot;: &quot;A String&quot;, # The foreground color of the calendar in the hexadecimal format &quot;#ffffff&quot;. 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.
389 &quot;hidden&quot;: false, # Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.
390 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar.
391 &quot;kind&quot;: &quot;calendar#calendarListEntry&quot;, # Type of the resource (&quot;calendar#calendarListEntry&quot;).
392 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional. Read-only.
393 &quot;notificationSettings&quot;: { # The notifications that the authenticated user is receiving for this calendar.
394 &quot;notifications&quot;: [ # The list of notifications set for this calendar.
395 {
396 &quot;method&quot;: &quot;A String&quot;, # The method used to deliver the notification. The possible value is:
397 # - &quot;email&quot; - Notifications are sent via email.
398 # Required when adding a notification.
399 &quot;type&quot;: &quot;A String&quot;, # The type of notification. Possible values are:
400 # - &quot;eventCreation&quot; - Notification sent when a new event is put on the calendar.
401 # - &quot;eventChange&quot; - Notification sent when an event is changed.
402 # - &quot;eventCancellation&quot; - Notification sent when an event is cancelled.
403 # - &quot;eventResponse&quot; - Notification sent when an attendee responds to the event invitation.
404 # - &quot;agenda&quot; - An agenda with the events of the day (sent out in the morning).
405 # Required when adding a notification.
406 },
407 ],
408 },
409 &quot;primary&quot;: false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
410 &quot;selected&quot;: false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
411 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
412 &quot;summaryOverride&quot;: &quot;A String&quot;, # The summary that the authenticated user has set for this calendar. Optional.
413 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Optional. Read-only.
414 },
415 ],
416 &quot;kind&quot;: &quot;calendar#calendarList&quot;, # Type of the collection (&quot;calendar#calendarList&quot;).
417 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
418 &quot;nextSyncToken&quot;: &quot;A String&quot;, # Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.
419 }</pre>
420 </div>
421
422 <div class="method">
423 <code class="details" id="list_next">list_next()</code>
424 <pre>Retrieves the next page of results.
425
426 Args:
427 previous_request: The request for the previous page. (required)
428 previous_response: The response from the request for the previous page. (required)
429
430 Returns:
431 A request object that you can call &#x27;execute()&#x27; on to request the next
432 page. Returns None if there are no more items in the collection.
433 </pre>
434 </div>
435
436 <div class="method">
437 <code class="details" id="patch">patch(calendarId, body=None, colorRgbFormat=None)</code>
438 <pre>Updates an existing calendar on the user&#x27;s calendar list. This method supports patch semantics.
439
440 Args:
441 calendarId: 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 &quot;primary&quot; keyword. (required)
442 body: object, The request body.
443 The object takes the form of:
444
445 {
446 &quot;accessRole&quot;: &quot;A String&quot;, # The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
447 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
448 # - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
449 # - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
450 # - &quot;owner&quot; - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.
451 # Important: the owner role is different from the calendar&#x27;s data owner. A calendar has a single data owner, but can have multiple users with owner role.
452 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.
453 &quot;backgroundColor&quot;: &quot;A String&quot;, # The main color of the calendar in the hexadecimal format &quot;#0088aa&quot;. 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.
454 &quot;colorId&quot;: &quot;A String&quot;, # 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.
455 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
456 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
457 # The possible values are:
458 # - &quot;eventHangout&quot;
459 # - &quot;eventNamedHangout&quot;
460 # - &quot;hangoutsMeet&quot; Optional.
461 &quot;A String&quot;,
462 ],
463 },
464 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
465 &quot;defaultReminders&quot;: [ # The default reminders that the authenticated user has for this calendar.
466 {
467 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
468 # - &quot;email&quot; - Reminders are sent via email.
469 # - &quot;popup&quot; - Reminders are sent via a UI popup.
470 # Required when adding a reminder.
471 &quot;minutes&quot;: 42, # 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).
472 # Required when adding a reminder.
473 },
474 ],
475 &quot;deleted&quot;: false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
476 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional. Read-only.
477 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
478 &quot;foregroundColor&quot;: &quot;A String&quot;, # The foreground color of the calendar in the hexadecimal format &quot;#ffffff&quot;. 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.
479 &quot;hidden&quot;: false, # Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.
480 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar.
481 &quot;kind&quot;: &quot;calendar#calendarListEntry&quot;, # Type of the resource (&quot;calendar#calendarListEntry&quot;).
482 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional. Read-only.
483 &quot;notificationSettings&quot;: { # The notifications that the authenticated user is receiving for this calendar.
484 &quot;notifications&quot;: [ # The list of notifications set for this calendar.
485 {
486 &quot;method&quot;: &quot;A String&quot;, # The method used to deliver the notification. The possible value is:
487 # - &quot;email&quot; - Notifications are sent via email.
488 # Required when adding a notification.
489 &quot;type&quot;: &quot;A String&quot;, # The type of notification. Possible values are:
490 # - &quot;eventCreation&quot; - Notification sent when a new event is put on the calendar.
491 # - &quot;eventChange&quot; - Notification sent when an event is changed.
492 # - &quot;eventCancellation&quot; - Notification sent when an event is cancelled.
493 # - &quot;eventResponse&quot; - Notification sent when an attendee responds to the event invitation.
494 # - &quot;agenda&quot; - An agenda with the events of the day (sent out in the morning).
495 # Required when adding a notification.
496 },
497 ],
498 },
499 &quot;primary&quot;: false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
500 &quot;selected&quot;: false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
501 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
502 &quot;summaryOverride&quot;: &quot;A String&quot;, # The summary that the authenticated user has set for this calendar. Optional.
503 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Optional. Read-only.
504 }
505
506 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.
507
508 Returns:
509 An object of the form:
510
511 {
512 &quot;accessRole&quot;: &quot;A String&quot;, # The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
513 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
514 # - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
515 # - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
516 # - &quot;owner&quot; - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.
517 # Important: the owner role is different from the calendar&#x27;s data owner. A calendar has a single data owner, but can have multiple users with owner role.
518 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.
519 &quot;backgroundColor&quot;: &quot;A String&quot;, # The main color of the calendar in the hexadecimal format &quot;#0088aa&quot;. 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.
520 &quot;colorId&quot;: &quot;A String&quot;, # 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.
521 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
522 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
523 # The possible values are:
524 # - &quot;eventHangout&quot;
525 # - &quot;eventNamedHangout&quot;
526 # - &quot;hangoutsMeet&quot; Optional.
527 &quot;A String&quot;,
528 ],
529 },
530 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
531 &quot;defaultReminders&quot;: [ # The default reminders that the authenticated user has for this calendar.
532 {
533 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
534 # - &quot;email&quot; - Reminders are sent via email.
535 # - &quot;popup&quot; - Reminders are sent via a UI popup.
536 # Required when adding a reminder.
537 &quot;minutes&quot;: 42, # 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).
538 # Required when adding a reminder.
539 },
540 ],
541 &quot;deleted&quot;: false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
542 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional. Read-only.
543 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
544 &quot;foregroundColor&quot;: &quot;A String&quot;, # The foreground color of the calendar in the hexadecimal format &quot;#ffffff&quot;. 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.
545 &quot;hidden&quot;: false, # Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.
546 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar.
547 &quot;kind&quot;: &quot;calendar#calendarListEntry&quot;, # Type of the resource (&quot;calendar#calendarListEntry&quot;).
548 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional. Read-only.
549 &quot;notificationSettings&quot;: { # The notifications that the authenticated user is receiving for this calendar.
550 &quot;notifications&quot;: [ # The list of notifications set for this calendar.
551 {
552 &quot;method&quot;: &quot;A String&quot;, # The method used to deliver the notification. The possible value is:
553 # - &quot;email&quot; - Notifications are sent via email.
554 # Required when adding a notification.
555 &quot;type&quot;: &quot;A String&quot;, # The type of notification. Possible values are:
556 # - &quot;eventCreation&quot; - Notification sent when a new event is put on the calendar.
557 # - &quot;eventChange&quot; - Notification sent when an event is changed.
558 # - &quot;eventCancellation&quot; - Notification sent when an event is cancelled.
559 # - &quot;eventResponse&quot; - Notification sent when an attendee responds to the event invitation.
560 # - &quot;agenda&quot; - An agenda with the events of the day (sent out in the morning).
561 # Required when adding a notification.
562 },
563 ],
564 },
565 &quot;primary&quot;: false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
566 &quot;selected&quot;: false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
567 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
568 &quot;summaryOverride&quot;: &quot;A String&quot;, # The summary that the authenticated user has set for this calendar. Optional.
569 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Optional. Read-only.
570 }</pre>
571 </div>
572
573 <div class="method">
574 <code class="details" id="update">update(calendarId, body=None, colorRgbFormat=None)</code>
575 <pre>Updates an existing calendar on the user&#x27;s calendar list.
576
577 Args:
578 calendarId: 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 &quot;primary&quot; keyword. (required)
579 body: object, The request body.
580 The object takes the form of:
581
582 {
583 &quot;accessRole&quot;: &quot;A String&quot;, # The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
584 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
585 # - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
586 # - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
587 # - &quot;owner&quot; - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.
588 # Important: the owner role is different from the calendar&#x27;s data owner. A calendar has a single data owner, but can have multiple users with owner role.
589 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.
590 &quot;backgroundColor&quot;: &quot;A String&quot;, # The main color of the calendar in the hexadecimal format &quot;#0088aa&quot;. 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.
591 &quot;colorId&quot;: &quot;A String&quot;, # 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.
592 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
593 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
594 # The possible values are:
595 # - &quot;eventHangout&quot;
596 # - &quot;eventNamedHangout&quot;
597 # - &quot;hangoutsMeet&quot; Optional.
598 &quot;A String&quot;,
599 ],
600 },
601 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
602 &quot;defaultReminders&quot;: [ # The default reminders that the authenticated user has for this calendar.
603 {
604 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
605 # - &quot;email&quot; - Reminders are sent via email.
606 # - &quot;popup&quot; - Reminders are sent via a UI popup.
607 # Required when adding a reminder.
608 &quot;minutes&quot;: 42, # 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).
609 # Required when adding a reminder.
610 },
611 ],
612 &quot;deleted&quot;: false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
613 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional. Read-only.
614 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
615 &quot;foregroundColor&quot;: &quot;A String&quot;, # The foreground color of the calendar in the hexadecimal format &quot;#ffffff&quot;. 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.
616 &quot;hidden&quot;: false, # Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.
617 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar.
618 &quot;kind&quot;: &quot;calendar#calendarListEntry&quot;, # Type of the resource (&quot;calendar#calendarListEntry&quot;).
619 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional. Read-only.
620 &quot;notificationSettings&quot;: { # The notifications that the authenticated user is receiving for this calendar.
621 &quot;notifications&quot;: [ # The list of notifications set for this calendar.
622 {
623 &quot;method&quot;: &quot;A String&quot;, # The method used to deliver the notification. The possible value is:
624 # - &quot;email&quot; - Notifications are sent via email.
625 # Required when adding a notification.
626 &quot;type&quot;: &quot;A String&quot;, # The type of notification. Possible values are:
627 # - &quot;eventCreation&quot; - Notification sent when a new event is put on the calendar.
628 # - &quot;eventChange&quot; - Notification sent when an event is changed.
629 # - &quot;eventCancellation&quot; - Notification sent when an event is cancelled.
630 # - &quot;eventResponse&quot; - Notification sent when an attendee responds to the event invitation.
631 # - &quot;agenda&quot; - An agenda with the events of the day (sent out in the morning).
632 # Required when adding a notification.
633 },
634 ],
635 },
636 &quot;primary&quot;: false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
637 &quot;selected&quot;: false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
638 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
639 &quot;summaryOverride&quot;: &quot;A String&quot;, # The summary that the authenticated user has set for this calendar. Optional.
640 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Optional. Read-only.
641 }
642
643 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.
644
645 Returns:
646 An object of the form:
647
648 {
649 &quot;accessRole&quot;: &quot;A String&quot;, # The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
650 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
651 # - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
652 # - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
653 # - &quot;owner&quot; - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.
654 # Important: the owner role is different from the calendar&#x27;s data owner. A calendar has a single data owner, but can have multiple users with owner role.
655 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.
656 &quot;backgroundColor&quot;: &quot;A String&quot;, # The main color of the calendar in the hexadecimal format &quot;#0088aa&quot;. 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.
657 &quot;colorId&quot;: &quot;A String&quot;, # 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.
658 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
659 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
660 # The possible values are:
661 # - &quot;eventHangout&quot;
662 # - &quot;eventNamedHangout&quot;
663 # - &quot;hangoutsMeet&quot; Optional.
664 &quot;A String&quot;,
665 ],
666 },
667 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
668 &quot;defaultReminders&quot;: [ # The default reminders that the authenticated user has for this calendar.
669 {
670 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
671 # - &quot;email&quot; - Reminders are sent via email.
672 # - &quot;popup&quot; - Reminders are sent via a UI popup.
673 # Required when adding a reminder.
674 &quot;minutes&quot;: 42, # 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).
675 # Required when adding a reminder.
676 },
677 ],
678 &quot;deleted&quot;: false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
679 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional. Read-only.
680 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
681 &quot;foregroundColor&quot;: &quot;A String&quot;, # The foreground color of the calendar in the hexadecimal format &quot;#ffffff&quot;. 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.
682 &quot;hidden&quot;: false, # Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.
683 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar.
684 &quot;kind&quot;: &quot;calendar#calendarListEntry&quot;, # Type of the resource (&quot;calendar#calendarListEntry&quot;).
685 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional. Read-only.
686 &quot;notificationSettings&quot;: { # The notifications that the authenticated user is receiving for this calendar.
687 &quot;notifications&quot;: [ # The list of notifications set for this calendar.
688 {
689 &quot;method&quot;: &quot;A String&quot;, # The method used to deliver the notification. The possible value is:
690 # - &quot;email&quot; - Notifications are sent via email.
691 # Required when adding a notification.
692 &quot;type&quot;: &quot;A String&quot;, # The type of notification. Possible values are:
693 # - &quot;eventCreation&quot; - Notification sent when a new event is put on the calendar.
694 # - &quot;eventChange&quot; - Notification sent when an event is changed.
695 # - &quot;eventCancellation&quot; - Notification sent when an event is cancelled.
696 # - &quot;eventResponse&quot; - Notification sent when an attendee responds to the event invitation.
697 # - &quot;agenda&quot; - An agenda with the events of the day (sent out in the morning).
698 # Required when adding a notification.
699 },
700 ],
701 },
702 &quot;primary&quot;: false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
703 &quot;selected&quot;: false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
704 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
705 &quot;summaryOverride&quot;: &quot;A String&quot;, # The summary that the authenticated user has set for this calendar. Optional.
706 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Optional. Read-only.
707 }</pre>
708 </div>
709
710 <div class="method">
711 <code class="details" id="watch">watch(body=None, maxResults=None, minAccessRole=None, pageToken=None, showDeleted=None, showHidden=None, syncToken=None)</code>
712 <pre>Watch for changes to CalendarList resources.
713
714 Args:
715 body: object, The request body.
716 The object takes the form of:
717
718 {
719 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
720 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
721 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
722 &quot;kind&quot;: &quot;api#channel&quot;, # Identifies this as a notification channel used to watch for changes to a resource, which is &quot;api#channel&quot;.
723 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
724 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
725 },
726 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
727 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
728 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
729 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
730 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel. Valid values are &quot;web_hook&quot; (or &quot;webhook&quot;). Both values refer to a channel where Http requests are used to deliver messages.
731 }
732
733 maxResults: integer, Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
734 minAccessRole: string, The minimum access role for the user in the returned entries. Optional. The default is no restriction.
735 Allowed values
736 freeBusyReader - The user can read free/busy information.
737 owner - The user can read and modify events and access control lists.
738 reader - The user can read events that are not private.
739 writer - The user can read and modify events.
740 writerWithoutPrivateAccess - The user can read and modify events that aren&#x27;t private. The user can read free/busy information about private events. The user can&#x27;t modify private events.
741 pageToken: string, Token specifying which result page to return. Optional.
742 showDeleted: boolean, Whether to include deleted calendar list entries in the result. Optional. The default is False.
743 showHidden: boolean, Whether to show hidden entries. Optional. The default is False.
744 syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won&#x27;t be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False.
745 To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken.
746 If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
747 Learn more about incremental synchronization.
748 Optional. The default is to return all entries.
749
750 Returns:
751 An object of the form:
752
753 {
754 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
755 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
756 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
757 &quot;kind&quot;: &quot;api#channel&quot;, # Identifies this as a notification channel used to watch for changes to a resource, which is &quot;api#channel&quot;.
758 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
759 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
760 },
761 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
762 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
763 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
764 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
765 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel. Valid values are &quot;web_hook&quot; (or &quot;webhook&quot;). Both values refer to a channel where Http requests are used to deliver messages.
766 }</pre>
767 </div>
768
769 </body></html>