blob: b10e19e0b946176c7d0b27e7435f75993dc247c0 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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.events.html">events</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#delete">delete(calendarId, eventId, sendUpdates=None, sendNotifications=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040079<p class="firstline">Deletes an event.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#get">get(calendarId, eventId, alwaysIncludeEmail=None, timeZone=None, maxAttendees=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Returns an event.</p>
83<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#import_">import_(calendarId, body=None, supportsAttachments=None, conferenceDataVersion=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Imports an event. This operation is used to add a private copy of an existing event to a calendar.</p>
86<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#insert">insert(calendarId, body=None, sendNotifications=None, maxAttendees=None, sendUpdates=None, supportsAttachments=None, conferenceDataVersion=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Creates an event.</p>
89<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#instances">instances(calendarId, eventId, maxResults=None, timeZone=None, alwaysIncludeEmail=None, originalStart=None, timeMin=None, timeMax=None, maxAttendees=None, pageToken=None, showDeleted=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Returns instances of the specified recurring event.</p>
92<p class="toc_element">
93 <code><a href="#instances_next">instances_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096 <code><a href="#list">list(calendarId, sharedExtendedProperty=None, maxResults=None, timeZone=None, pageToken=None, orderBy=None, timeMax=None, timeMin=None, syncToken=None, alwaysIncludeEmail=None, singleEvents=None, updatedMin=None, q=None, privateExtendedProperty=None, maxAttendees=None, showDeleted=None, showHiddenInvitations=None, iCalUID=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040097<p class="firstline">Returns events on the specified calendar.</p>
98<p class="toc_element">
99 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700102 <code><a href="#move">move(calendarId, eventId, destination, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400103<p class="firstline">Moves an event to another calendar, i.e. changes an event's organizer.</p>
104<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700105 <code><a href="#patch">patch(calendarId, eventId, body=None, conferenceDataVersion=None, maxAttendees=None, supportsAttachments=None, sendUpdates=None, alwaysIncludeEmail=None, sendNotifications=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400106<p class="firstline">Updates an event. This method supports patch semantics.</p>
107<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700108 <code><a href="#quickAdd">quickAdd(calendarId, text, sendUpdates=None, sendNotifications=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400109<p class="firstline">Creates an event based on a simple text string.</p>
110<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700111 <code><a href="#update">update(calendarId, eventId, body=None, alwaysIncludeEmail=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None, maxAttendees=None, conferenceDataVersion=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400112<p class="firstline">Updates an event.</p>
113<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700114 <code><a href="#watch">watch(calendarId, body=None, maxAttendees=None, privateExtendedProperty=None, q=None, updatedMin=None, maxResults=None, timeMin=None, orderBy=None, singleEvents=None, timeMax=None, syncToken=None, timeZone=None, pageToken=None, sharedExtendedProperty=None, showHiddenInvitations=None, alwaysIncludeEmail=None, iCalUID=None, showDeleted=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400115<p class="firstline">Watch for changes to Events resources.</p>
116<h3>Method Details</h3>
117<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700118 <code class="details" id="delete">delete(calendarId, eventId, sendUpdates=None, sendNotifications=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400119 <pre>Deletes an event.
120
121Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700122 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)
John Asmuth614db982014-04-24 15:46:26 -0400123 eventId: string, Event identifier. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700124 sendUpdates: string, Guests who should receive notifications about the deletion of the event.
125 Allowed values
126 all - Notifications are sent to all guests.
127 externalOnly - Notifications are sent to non-Google Calendar guests only.
128 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700129 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
130
131Whether to send notifications about the deletion of the event. Note that some emails might still be sent even if you set the value to false. The default is false.
John Asmuth614db982014-04-24 15:46:26 -0400132</pre>
133</div>
134
135<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700136 <code class="details" id="get">get(calendarId, eventId, alwaysIncludeEmail=None, timeZone=None, maxAttendees=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400137 <pre>Returns an event.
138
139Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700140 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)
John Asmuth614db982014-04-24 15:46:26 -0400141 eventId: string, Event identifier. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700142 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
Bu Sun Kim65020912020-05-20 12:08:20 -0700143 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700144 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
John Asmuth614db982014-04-24 15:46:26 -0400145
146Returns:
147 An object of the form:
148
149 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
151 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
152 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
153 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
154 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700155 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700156 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
157 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
158 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
159 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
160 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
161 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
162 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
163 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
164 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700165 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700166 &quot;gadget&quot;: { # A gadget that extends this event.
167 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
168 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
169 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
170 # - &quot;chip&quot; - The gadget displays when the event is clicked.
171 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
172 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
173 &quot;preferences&quot;: { # Preferences.
174 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700175 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700176 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
177 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
178 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700180 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
181 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
182 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
183 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
184 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
185 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
186 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
187 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
188 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
189 # - the length of the ID must be between 5 and 1024 characters
190 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
191 # If you do not specify an ID, it will be automatically generated by the server.
192 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
193 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
194 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
195 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
196 # - &quot;private&quot; - The event is private and only event attendees may view event details.
197 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
198 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
199 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
200 &quot;A String&quot;,
201 ],
202 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
203 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
204 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
205 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
206 {
207 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
208 # - &quot;email&quot; - Reminders are sent via email.
209 # - &quot;popup&quot; - Reminders are sent via a UI popup.
210 # Required when adding a reminder.
211 &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).
212 # Required when adding a reminder.
213 },
214 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700215 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700216 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
Takashi Matsuo06694102015-09-11 13:55:40 -0700217 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700218 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
219 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
220 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
221 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
222 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
223 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
224 # Required when adding an attendee.
225 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
226 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
227 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
228 # - &quot;declined&quot; - The attendee has declined the invitation.
229 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
230 # - &quot;accepted&quot; - The attendee has accepted the invitation.
231 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
232 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Takashi Matsuo06694102015-09-11 13:55:40 -0700233 },
234 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700235 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
236 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
237 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
238 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
239 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
240 },
241 &quot;creator&quot;: { # The creator of the event. Read-only.
242 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
243 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
244 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
245 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
246 },
247 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
248 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
249 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
250 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
251 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
252 # - &quot;tentative&quot; - The event is tentatively confirmed.
253 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
254 # A cancelled status represents two different states depending on the event type:
255 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
256 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
257 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
258 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
259 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
260 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
261 # In order to modify attachments the supportsAttachments request parameter should be set to true.
262 # There can be at most 25 attachments per event,
263 {
264 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
265 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
266 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
267 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
268 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
269 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
270 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
271 # Required when adding an attachment.
272 },
273 ],
274 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
275 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
276 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
277 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
278 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
279 },
280 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
281 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
282 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
283 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
284 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
285 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
286 },
287 &quot;extendedProperties&quot;: { # Extended properties of the event.
288 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
289 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
290 },
291 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
292 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
293 },
294 },
295 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
296 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
297 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
298 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
299 # Unset for a conference with a failed create request.
300 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
301 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
302 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
303 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
304 # The possible values are:
305 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
306 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
307 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
308 # - &quot;addOn&quot; for 3P conference providers
309 },
310 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
311 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
312 },
313 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
314 &quot;addOnParameters&quot;: { # Additional add-on specific data.
315 &quot;parameters&quot;: {
316 &quot;a_key&quot;: &quot;A String&quot;,
317 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700318 },
319 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700320 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
321 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
322 &quot;status&quot;: { # The status of the conference create request.
323 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
324 # The possible values are:
325 # - &quot;pending&quot;: the conference create request is still being processed.
326 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
327 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
328 },
329 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
330 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
331 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
332 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
333 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
334 # The possible values are:
335 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
336 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
337 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
338 # - &quot;addOn&quot; for 3P conference providers
339 },
John Asmuth614db982014-04-24 15:46:26 -0400340 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700341 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
342 # Can be used by developers to keep track of conferences, should not be displayed to users.
343 # Values for solution types:
344 # - &quot;eventHangout&quot;: unset.
345 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
346 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
347 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
348 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
349 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
350 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
351 # Unset for a conference with a failed create request.
352 # Optional for a conference with a pending create request.
353 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
354 # All of them must belong to the same conference.
355 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
356 {
357 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
358 # Format:
359 # - for video, http: or https: schema is required.
360 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
361 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
362 # - for more, http: or https: schema is required.
363 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
364 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
365 # Optional.
366 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
367 &quot;A String&quot;,
368 ],
369 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
370 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
371 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
372 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
373 # Optional.
374 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
375 # Possible values are:
376 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
377 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
378 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
379 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
380 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
381 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
382 # Optional.
383 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
384 # Calendar backend will populate this field only for EntryPointType.PHONE.
385 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
386 # Examples:
387 # - for video: meet.google.com/aaa-bbbb-ccc
388 # - for phone: +1 123 268 2601
389 # - for sip: 12345678@altostrat.com
390 # - for more: should not be filled
391 # Optional.
392 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
393 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
394 # Optional.
395 },
396 ],
397 },
398 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
399 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400400</div>
401
402<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700403 <code class="details" id="import_">import_(calendarId, body=None, supportsAttachments=None, conferenceDataVersion=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400404 <pre>Imports an event. This operation is used to add a private copy of an existing event to a calendar.
405
406Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700407 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)
Dan O'Mearadd494642020-05-01 07:42:23 -0700408 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400409 The object takes the form of:
410
411{
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700412 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
413 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
414 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
415 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
416 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700417 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700418 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700419 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
420 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
421 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
422 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
423 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
424 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim65020912020-05-20 12:08:20 -0700425 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
426 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700427 },
428 &quot;gadget&quot;: { # A gadget that extends this event.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700429 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700430 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
431 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
432 # - &quot;chip&quot; - The gadget displays when the event is clicked.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700433 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
Bu Sun Kim65020912020-05-20 12:08:20 -0700434 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
435 &quot;preferences&quot;: { # Preferences.
436 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
437 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700438 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
439 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
Bu Sun Kim65020912020-05-20 12:08:20 -0700440 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700441 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700442 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
Bu Sun Kim65020912020-05-20 12:08:20 -0700443 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
444 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700445 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
446 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
447 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
448 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
Bu Sun Kim65020912020-05-20 12:08:20 -0700449 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
450 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
451 # - the length of the ID must be between 5 and 1024 characters
452 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
453 # If you do not specify an ID, it will be automatically generated by the server.
454 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700455 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
456 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
457 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
458 # - &quot;private&quot; - The event is private and only event attendees may view event details.
459 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kim65020912020-05-20 12:08:20 -0700460 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700461 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
462 &quot;A String&quot;,
463 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700464 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700465 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700466 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
Bu Sun Kim65020912020-05-20 12:08:20 -0700467 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
468 {
469 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
470 # - &quot;email&quot; - Reminders are sent via email.
471 # - &quot;popup&quot; - Reminders are sent via a UI popup.
472 # Required when adding a reminder.
473 &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).
474 # Required when adding a reminder.
475 },
476 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700477 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700478 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
479 {
480 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
481 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
482 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
483 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
484 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
485 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
486 # Required when adding an attendee.
487 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
488 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
489 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
490 # - &quot;declined&quot; - The attendee has declined the invitation.
491 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
492 # - &quot;accepted&quot; - The attendee has accepted the invitation.
493 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
494 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
495 },
496 ],
497 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700499 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim65020912020-05-20 12:08:20 -0700500 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
501 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700502 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700503 &quot;creator&quot;: { # The creator of the event. Read-only.
504 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
505 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
506 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
507 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
508 },
509 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
510 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
511 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
Bu Sun Kim65020912020-05-20 12:08:20 -0700512 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
513 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
514 # - &quot;tentative&quot; - The event is tentatively confirmed.
515 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
516 # A cancelled status represents two different states depending on the event type:
517 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
518 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
519 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
520 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
521 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700522 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
523 # In order to modify attachments the supportsAttachments request parameter should be set to true.
524 # There can be at most 25 attachments per event,
525 {
526 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
527 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
528 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
529 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
530 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
531 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
532 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
533 # Required when adding an attachment.
534 },
535 ],
536 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
537 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
538 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
539 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
540 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
541 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700542 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
543 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
544 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700545 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
546 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
547 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
548 },
549 &quot;extendedProperties&quot;: { # Extended properties of the event.
550 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
551 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
552 },
553 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
554 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
555 },
556 },
557 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
Bu Sun Kim65020912020-05-20 12:08:20 -0700558 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700559 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
560 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
561 # Unset for a conference with a failed create request.
562 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
563 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
564 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
565 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
566 # The possible values are:
567 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
568 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
569 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
570 # - &quot;addOn&quot; for 3P conference providers
571 },
572 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
573 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
574 },
575 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
576 &quot;addOnParameters&quot;: { # Additional add-on specific data.
577 &quot;parameters&quot;: {
578 &quot;a_key&quot;: &quot;A String&quot;,
579 },
580 },
581 },
582 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
583 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
584 &quot;status&quot;: { # The status of the conference create request.
585 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
586 # The possible values are:
587 # - &quot;pending&quot;: the conference create request is still being processed.
588 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
589 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
590 },
591 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
592 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
593 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
594 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
595 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
596 # The possible values are:
597 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
598 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
599 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
600 # - &quot;addOn&quot; for 3P conference providers
601 },
602 },
603 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
604 # Can be used by developers to keep track of conferences, should not be displayed to users.
605 # Values for solution types:
606 # - &quot;eventHangout&quot;: unset.
607 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
608 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
609 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
610 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
611 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
612 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
613 # Unset for a conference with a failed create request.
614 # Optional for a conference with a pending create request.
615 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
616 # All of them must belong to the same conference.
617 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
618 {
619 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
620 # Format:
621 # - for video, http: or https: schema is required.
622 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
623 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
624 # - for more, http: or https: schema is required.
625 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
626 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
627 # Optional.
628 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
629 &quot;A String&quot;,
630 ],
631 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
632 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
633 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
634 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
635 # Optional.
636 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
637 # Possible values are:
638 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
639 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
640 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
641 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
642 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
643 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
644 # Optional.
645 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
646 # Calendar backend will populate this field only for EntryPointType.PHONE.
647 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
648 # Examples:
649 # - for video: meet.google.com/aaa-bbbb-ccc
650 # - for phone: +1 123 268 2601
651 # - for sip: 12345678@altostrat.com
652 # - for more: should not be filled
653 # Optional.
654 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
655 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
656 # Optional.
657 },
658 ],
659 },
660 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
661 }
662
663 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
664 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
665
666Returns:
667 An object of the form:
668
669 {
670 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
671 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
672 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
673 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
674 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
675 },
676 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
677 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
678 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
679 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
680 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
681 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
682 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
683 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
684 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
685 },
686 &quot;gadget&quot;: { # A gadget that extends this event.
687 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
688 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
689 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
690 # - &quot;chip&quot; - The gadget displays when the event is clicked.
691 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
692 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
693 &quot;preferences&quot;: { # Preferences.
694 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
695 },
696 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
697 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
698 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
699 },
700 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
701 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
702 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
703 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
704 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
705 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
706 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
707 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
708 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
709 # - the length of the ID must be between 5 and 1024 characters
710 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
711 # If you do not specify an ID, it will be automatically generated by the server.
712 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
713 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
714 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
715 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
716 # - &quot;private&quot; - The event is private and only event attendees may view event details.
717 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
718 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
719 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
720 &quot;A String&quot;,
721 ],
722 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
723 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
724 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
725 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
726 {
727 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
728 # - &quot;email&quot; - Reminders are sent via email.
729 # - &quot;popup&quot; - Reminders are sent via a UI popup.
730 # Required when adding a reminder.
731 &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).
732 # Required when adding a reminder.
733 },
734 ],
735 },
736 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
737 {
738 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
739 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
740 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
741 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
742 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
743 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
744 # Required when adding an attendee.
745 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
746 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
747 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
748 # - &quot;declined&quot; - The attendee has declined the invitation.
749 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
750 # - &quot;accepted&quot; - The attendee has accepted the invitation.
751 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
752 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
753 },
754 ],
755 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
756 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
757 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
758 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
759 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
760 },
761 &quot;creator&quot;: { # The creator of the event. Read-only.
762 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
763 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
764 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
765 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
766 },
767 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
768 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
769 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
770 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
771 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
772 # - &quot;tentative&quot; - The event is tentatively confirmed.
773 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
774 # A cancelled status represents two different states depending on the event type:
775 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
776 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
777 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
778 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
779 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
780 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
781 # In order to modify attachments the supportsAttachments request parameter should be set to true.
782 # There can be at most 25 attachments per event,
783 {
784 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
785 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
786 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
787 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
788 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
789 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
790 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
791 # Required when adding an attachment.
792 },
793 ],
794 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
795 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
796 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
797 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
798 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
799 },
800 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
801 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
802 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
803 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
804 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
805 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
806 },
807 &quot;extendedProperties&quot;: { # Extended properties of the event.
808 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
809 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
810 },
811 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
812 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
813 },
814 },
815 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
816 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
817 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
818 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
819 # Unset for a conference with a failed create request.
820 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
821 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
822 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
823 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
824 # The possible values are:
825 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
826 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
827 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
828 # - &quot;addOn&quot; for 3P conference providers
829 },
830 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
831 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
832 },
833 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
834 &quot;addOnParameters&quot;: { # Additional add-on specific data.
835 &quot;parameters&quot;: {
836 &quot;a_key&quot;: &quot;A String&quot;,
837 },
838 },
839 },
840 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
841 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
842 &quot;status&quot;: { # The status of the conference create request.
843 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
844 # The possible values are:
845 # - &quot;pending&quot;: the conference create request is still being processed.
846 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
847 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
848 },
849 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
850 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
851 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
852 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
853 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
854 # The possible values are:
855 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
856 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
857 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
858 # - &quot;addOn&quot; for 3P conference providers
859 },
860 },
861 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
862 # Can be used by developers to keep track of conferences, should not be displayed to users.
863 # Values for solution types:
864 # - &quot;eventHangout&quot;: unset.
865 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
866 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
867 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
868 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
869 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
870 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
871 # Unset for a conference with a failed create request.
872 # Optional for a conference with a pending create request.
873 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
874 # All of them must belong to the same conference.
875 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
876 {
877 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
878 # Format:
879 # - for video, http: or https: schema is required.
880 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
881 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
882 # - for more, http: or https: schema is required.
883 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
884 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
885 # Optional.
886 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
887 &quot;A String&quot;,
888 ],
889 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
890 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
891 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
892 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
893 # Optional.
894 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
895 # Possible values are:
896 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
897 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
898 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
899 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
900 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
901 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
902 # Optional.
903 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
904 # Calendar backend will populate this field only for EntryPointType.PHONE.
905 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
906 # Examples:
907 # - for video: meet.google.com/aaa-bbbb-ccc
908 # - for phone: +1 123 268 2601
909 # - for sip: 12345678@altostrat.com
910 # - for more: should not be filled
911 # Optional.
912 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
913 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
914 # Optional.
915 },
916 ],
917 },
918 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
919 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700920</div>
John Asmuth614db982014-04-24 15:46:26 -0400921
Bu Sun Kim65020912020-05-20 12:08:20 -0700922<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700923 <code class="details" id="insert">insert(calendarId, body=None, sendNotifications=None, maxAttendees=None, sendUpdates=None, supportsAttachments=None, conferenceDataVersion=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700924 <pre>Creates an event.
925
926Args:
927 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)
928 body: object, The request body.
929 The object takes the form of:
930
931{
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700932 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
933 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
934 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
935 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
936 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700937 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700938 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700939 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
940 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
941 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
942 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
943 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
944 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim65020912020-05-20 12:08:20 -0700945 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
946 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700947 },
948 &quot;gadget&quot;: { # A gadget that extends this event.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700949 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700950 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
951 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
952 # - &quot;chip&quot; - The gadget displays when the event is clicked.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700953 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
Bu Sun Kim65020912020-05-20 12:08:20 -0700954 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
955 &quot;preferences&quot;: { # Preferences.
956 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
957 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700958 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
959 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
Bu Sun Kim65020912020-05-20 12:08:20 -0700960 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700961 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700962 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
Bu Sun Kim65020912020-05-20 12:08:20 -0700963 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
964 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700965 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
966 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
967 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
968 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
Bu Sun Kim65020912020-05-20 12:08:20 -0700969 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
970 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
971 # - the length of the ID must be between 5 and 1024 characters
972 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
973 # If you do not specify an ID, it will be automatically generated by the server.
974 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700975 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
976 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
977 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
978 # - &quot;private&quot; - The event is private and only event attendees may view event details.
979 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kim65020912020-05-20 12:08:20 -0700980 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700981 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
982 &quot;A String&quot;,
983 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700984 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700985 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700986 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
Bu Sun Kim65020912020-05-20 12:08:20 -0700987 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
John Asmuth614db982014-04-24 15:46:26 -0400988 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700989 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
990 # - &quot;email&quot; - Reminders are sent via email.
991 # - &quot;popup&quot; - Reminders are sent via a UI popup.
992 # Required when adding a reminder.
993 &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).
994 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -0400995 },
996 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700997 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700998 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
999 {
1000 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1001 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1002 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1003 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
1004 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1005 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
1006 # Required when adding an attendee.
1007 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1008 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1009 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1010 # - &quot;declined&quot; - The attendee has declined the invitation.
1011 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1012 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1013 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1014 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1015 },
1016 ],
1017 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
Bu Sun Kim65020912020-05-20 12:08:20 -07001018 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001019 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim65020912020-05-20 12:08:20 -07001020 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1021 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -07001022 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001023 &quot;creator&quot;: { # The creator of the event. Read-only.
1024 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
1025 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1026 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1027 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1028 },
1029 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1030 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1031 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
Bu Sun Kim65020912020-05-20 12:08:20 -07001032 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1033 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1034 # - &quot;tentative&quot; - The event is tentatively confirmed.
1035 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
1036 # A cancelled status represents two different states depending on the event type:
1037 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
1038 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1039 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
1040 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
1041 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001042 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1043 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1044 # There can be at most 25 attachments per event,
1045 {
1046 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1047 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1048 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1049 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1050 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1051 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1052 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1053 # Required when adding an attachment.
1054 },
1055 ],
1056 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
1057 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1058 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1059 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1060 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1061 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001062 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1063 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
1064 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001065 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
1066 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1067 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1068 },
1069 &quot;extendedProperties&quot;: { # Extended properties of the event.
1070 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1071 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1072 },
1073 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1074 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1075 },
1076 },
1077 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
Bu Sun Kim65020912020-05-20 12:08:20 -07001078 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001079 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
1080 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1081 # Unset for a conference with a failed create request.
1082 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1083 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1084 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1085 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1086 # The possible values are:
1087 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1088 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1089 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1090 # - &quot;addOn&quot; for 3P conference providers
1091 },
1092 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1093 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1094 },
1095 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1096 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1097 &quot;parameters&quot;: {
1098 &quot;a_key&quot;: &quot;A String&quot;,
1099 },
1100 },
1101 },
1102 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
1103 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1104 &quot;status&quot;: { # The status of the conference create request.
1105 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1106 # The possible values are:
1107 # - &quot;pending&quot;: the conference create request is still being processed.
1108 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1109 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1110 },
1111 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1112 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
1113 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1114 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1115 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1116 # The possible values are:
1117 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1118 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1119 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1120 # - &quot;addOn&quot; for 3P conference providers
1121 },
1122 },
1123 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1124 # Can be used by developers to keep track of conferences, should not be displayed to users.
1125 # Values for solution types:
1126 # - &quot;eventHangout&quot;: unset.
1127 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1128 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1129 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1130 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
1131 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1132 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1133 # Unset for a conference with a failed create request.
1134 # Optional for a conference with a pending create request.
1135 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1136 # All of them must belong to the same conference.
1137 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1138 {
1139 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1140 # Format:
1141 # - for video, http: or https: schema is required.
1142 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1143 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1144 # - for more, http: or https: schema is required.
1145 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1146 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1147 # Optional.
1148 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
1149 &quot;A String&quot;,
1150 ],
1151 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1152 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1153 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1154 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1155 # Optional.
1156 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1157 # Possible values are:
1158 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1159 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1160 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1161 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
1162 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1163 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1164 # Optional.
1165 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
1166 # Calendar backend will populate this field only for EntryPointType.PHONE.
1167 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1168 # Examples:
1169 # - for video: meet.google.com/aaa-bbbb-ccc
1170 # - for phone: +1 123 268 2601
1171 # - for sip: 12345678@altostrat.com
1172 # - for more: should not be filled
1173 # Optional.
1174 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1175 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1176 # Optional.
1177 },
1178 ],
1179 },
1180 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1181 }
John Asmuth614db982014-04-24 15:46:26 -04001182
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001183 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
John Asmuth614db982014-04-24 15:46:26 -04001184
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001185Whether to send notifications about the creation of the new event. Note that some emails might still be sent even if you set the value to false. The default is false.
John Asmuth614db982014-04-24 15:46:26 -04001186 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001187 sendUpdates: string, Whether to send notifications about the creation of the new event. Note that some emails might still be sent. The default is false.
1188 Allowed values
1189 all - Notifications are sent to all guests.
1190 externalOnly - Notifications are sent to non-Google Calendar guests only.
1191 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
1192 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
1193 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
John Asmuth614db982014-04-24 15:46:26 -04001194
1195Returns:
1196 An object of the form:
1197
1198 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001199 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
1200 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
1201 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
1202 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1203 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1204 },
1205 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
1206 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1207 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1208 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1209 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
1210 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
1211 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1212 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1213 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1214 },
1215 &quot;gadget&quot;: { # A gadget that extends this event.
1216 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
1217 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
1218 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1219 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1220 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
1221 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
1222 &quot;preferences&quot;: { # Preferences.
1223 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1224 },
1225 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
1226 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
1227 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
1228 },
1229 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1230 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
1231 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
1232 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
1233 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1234 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1235 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1236 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
1237 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
1238 # - the length of the ID must be between 5 and 1024 characters
1239 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
1240 # If you do not specify an ID, it will be automatically generated by the server.
1241 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
1242 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1243 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1244 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1245 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1246 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1247 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
1248 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
1249 &quot;A String&quot;,
1250 ],
1251 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1252 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1253 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1254 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
1255 {
1256 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1257 # - &quot;email&quot; - Reminders are sent via email.
1258 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1259 # Required when adding a reminder.
1260 &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).
1261 # Required when adding a reminder.
1262 },
1263 ],
1264 },
1265 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
1266 {
1267 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1268 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1269 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1270 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
1271 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1272 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
1273 # Required when adding an attendee.
1274 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1275 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1276 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1277 # - &quot;declined&quot; - The attendee has declined the invitation.
1278 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1279 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1280 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1281 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1282 },
1283 ],
1284 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1285 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1286 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1287 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1288 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1289 },
1290 &quot;creator&quot;: { # The creator of the event. Read-only.
1291 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
1292 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1293 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1294 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1295 },
1296 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1297 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1298 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
1299 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1300 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1301 # - &quot;tentative&quot; - The event is tentatively confirmed.
1302 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
1303 # A cancelled status represents two different states depending on the event type:
1304 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
1305 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1306 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
1307 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
1308 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
1309 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1310 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1311 # There can be at most 25 attachments per event,
1312 {
1313 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1314 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1315 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1316 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1317 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1318 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1319 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1320 # Required when adding an attachment.
1321 },
1322 ],
1323 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
1324 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1325 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1326 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1327 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1328 },
1329 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1330 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
1331 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
1332 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
1333 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1334 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1335 },
1336 &quot;extendedProperties&quot;: { # Extended properties of the event.
1337 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1338 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1339 },
1340 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1341 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1342 },
1343 },
1344 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1345 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1346 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
1347 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1348 # Unset for a conference with a failed create request.
1349 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1350 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1351 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1352 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1353 # The possible values are:
1354 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1355 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1356 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1357 # - &quot;addOn&quot; for 3P conference providers
1358 },
1359 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1360 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1361 },
1362 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1363 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1364 &quot;parameters&quot;: {
1365 &quot;a_key&quot;: &quot;A String&quot;,
1366 },
1367 },
1368 },
1369 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
1370 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1371 &quot;status&quot;: { # The status of the conference create request.
1372 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1373 # The possible values are:
1374 # - &quot;pending&quot;: the conference create request is still being processed.
1375 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1376 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1377 },
1378 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1379 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
1380 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1381 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1382 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1383 # The possible values are:
1384 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1385 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1386 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1387 # - &quot;addOn&quot; for 3P conference providers
1388 },
1389 },
1390 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1391 # Can be used by developers to keep track of conferences, should not be displayed to users.
1392 # Values for solution types:
1393 # - &quot;eventHangout&quot;: unset.
1394 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1395 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1396 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1397 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
1398 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1399 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1400 # Unset for a conference with a failed create request.
1401 # Optional for a conference with a pending create request.
1402 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1403 # All of them must belong to the same conference.
1404 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1405 {
1406 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1407 # Format:
1408 # - for video, http: or https: schema is required.
1409 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1410 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1411 # - for more, http: or https: schema is required.
1412 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1413 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1414 # Optional.
1415 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
1416 &quot;A String&quot;,
1417 ],
1418 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1419 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1420 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1421 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1422 # Optional.
1423 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1424 # Possible values are:
1425 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1426 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1427 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1428 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
1429 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1430 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1431 # Optional.
1432 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
1433 # Calendar backend will populate this field only for EntryPointType.PHONE.
1434 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1435 # Examples:
1436 # - for video: meet.google.com/aaa-bbbb-ccc
1437 # - for phone: +1 123 268 2601
1438 # - for sip: 12345678@altostrat.com
1439 # - for more: should not be filled
1440 # Optional.
1441 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1442 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1443 # Optional.
1444 },
1445 ],
1446 },
1447 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1448 }</pre>
1449</div>
1450
1451<div class="method">
1452 <code class="details" id="instances">instances(calendarId, eventId, maxResults=None, timeZone=None, alwaysIncludeEmail=None, originalStart=None, timeMin=None, timeMax=None, maxAttendees=None, pageToken=None, showDeleted=None)</code>
1453 <pre>Returns instances of the specified recurring event.
1454
1455Args:
1456 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)
1457 eventId: string, Recurring event identifier. (required)
1458 maxResults: integer, Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
1459 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
1460 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
1461 originalStart: string, The original start time of the instance in the result. Optional.
1462 timeMin: string, Lower bound (inclusive) for an event&#x27;s end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset.
1463 timeMax: string, Upper bound (exclusive) for an event&#x27;s start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset.
1464 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
1465 pageToken: string, Token specifying which result page to return. Optional.
1466 showDeleted: boolean, Whether to include deleted events (with status equals &quot;cancelled&quot;) in the result. Cancelled instances of recurring events will still be included if singleEvents is False. Optional. The default is False.
1467
1468Returns:
1469 An object of the form:
1470
1471 {
1472 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001473 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1474 # - &quot;none&quot; - The user has no access.
1475 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1476 # - &quot;reader&quot; - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
1477 # - &quot;writer&quot; - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
1478 # - &quot;owner&quot; - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001479 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1480 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
Bu Sun Kim65020912020-05-20 12:08:20 -07001481 &quot;defaultReminders&quot;: [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).
John Asmuth614db982014-04-24 15:46:26 -04001482 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001483 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1484 # - &quot;email&quot; - Reminders are sent via email.
1485 # - &quot;popup&quot; - Reminders are sent via a UI popup.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001486 # Required when adding a reminder.
Bu Sun Kim65020912020-05-20 12:08:20 -07001487 &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).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001488 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04001489 },
1490 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001491 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1492 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001493 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001494 &quot;items&quot;: [ # List of events on the calendar.
John Asmuth614db982014-04-24 15:46:26 -04001495 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001496 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
1497 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
1498 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
1499 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1500 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07001501 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001502 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
1503 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1504 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1505 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1506 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
1507 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
1508 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1509 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1510 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -07001511 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001512 &quot;gadget&quot;: { # A gadget that extends this event.
1513 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
1514 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
1515 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1516 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1517 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
1518 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
1519 &quot;preferences&quot;: { # Preferences.
1520 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -07001521 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001522 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
1523 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
1524 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -07001525 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001526 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1527 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
1528 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
1529 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
1530 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1531 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1532 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1533 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
1534 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
1535 # - the length of the ID must be between 5 and 1024 characters
1536 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
1537 # If you do not specify an ID, it will be automatically generated by the server.
1538 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
1539 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1540 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1541 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1542 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1543 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1544 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
1545 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
1546 &quot;A String&quot;,
1547 ],
1548 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1549 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1550 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1551 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
1552 {
1553 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1554 # - &quot;email&quot; - Reminders are sent via email.
1555 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1556 # Required when adding a reminder.
1557 &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).
1558 # Required when adding a reminder.
1559 },
1560 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001561 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001562 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
Takashi Matsuo06694102015-09-11 13:55:40 -07001563 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001564 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1565 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1566 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1567 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
1568 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1569 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
1570 # Required when adding an attendee.
1571 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1572 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1573 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1574 # - &quot;declined&quot; - The attendee has declined the invitation.
1575 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1576 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1577 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1578 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Takashi Matsuo06694102015-09-11 13:55:40 -07001579 },
1580 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001581 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1582 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1583 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1584 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1585 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1586 },
1587 &quot;creator&quot;: { # The creator of the event. Read-only.
1588 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
1589 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1590 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1591 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1592 },
1593 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1594 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1595 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
1596 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1597 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1598 # - &quot;tentative&quot; - The event is tentatively confirmed.
1599 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
1600 # A cancelled status represents two different states depending on the event type:
1601 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
1602 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1603 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
1604 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
1605 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
1606 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1607 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1608 # There can be at most 25 attachments per event,
1609 {
1610 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1611 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1612 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1613 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1614 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1615 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1616 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1617 # Required when adding an attachment.
1618 },
1619 ],
1620 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
1621 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1622 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1623 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1624 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1625 },
1626 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1627 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
1628 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
1629 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
1630 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1631 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1632 },
1633 &quot;extendedProperties&quot;: { # Extended properties of the event.
1634 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1635 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1636 },
1637 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1638 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1639 },
1640 },
1641 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1642 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1643 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
1644 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1645 # Unset for a conference with a failed create request.
1646 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1647 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1648 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1649 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1650 # The possible values are:
1651 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1652 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1653 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1654 # - &quot;addOn&quot; for 3P conference providers
1655 },
1656 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1657 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1658 },
1659 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1660 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1661 &quot;parameters&quot;: {
1662 &quot;a_key&quot;: &quot;A String&quot;,
1663 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001664 },
1665 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001666 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
1667 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1668 &quot;status&quot;: { # The status of the conference create request.
1669 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1670 # The possible values are:
1671 # - &quot;pending&quot;: the conference create request is still being processed.
1672 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1673 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1674 },
1675 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1676 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
1677 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1678 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1679 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1680 # The possible values are:
1681 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1682 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1683 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1684 # - &quot;addOn&quot; for 3P conference providers
1685 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001686 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001687 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1688 # Can be used by developers to keep track of conferences, should not be displayed to users.
1689 # Values for solution types:
1690 # - &quot;eventHangout&quot;: unset.
1691 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1692 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1693 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1694 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
1695 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1696 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1697 # Unset for a conference with a failed create request.
1698 # Optional for a conference with a pending create request.
1699 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1700 # All of them must belong to the same conference.
1701 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1702 {
1703 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1704 # Format:
1705 # - for video, http: or https: schema is required.
1706 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1707 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1708 # - for more, http: or https: schema is required.
1709 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1710 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1711 # Optional.
1712 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
1713 &quot;A String&quot;,
1714 ],
1715 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1716 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1717 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1718 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1719 # Optional.
1720 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1721 # Possible values are:
1722 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1723 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1724 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1725 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
1726 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1727 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1728 # Optional.
1729 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
1730 # Calendar backend will populate this field only for EntryPointType.PHONE.
1731 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1732 # Examples:
1733 # - for video: meet.google.com/aaa-bbbb-ccc
1734 # - for phone: +1 123 268 2601
1735 # - for sip: 12345678@altostrat.com
1736 # - for more: should not be filled
1737 # Optional.
1738 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1739 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1740 # Optional.
1741 },
1742 ],
1743 },
1744 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001745 },
John Asmuth614db982014-04-24 15:46:26 -04001746 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001747 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001748 &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.
John Asmuth614db982014-04-24 15:46:26 -04001749 }</pre>
1750</div>
1751
1752<div class="method">
1753 <code class="details" id="instances_next">instances_next(previous_request, previous_response)</code>
1754 <pre>Retrieves the next page of results.
1755
1756Args:
1757 previous_request: The request for the previous page. (required)
1758 previous_response: The response from the request for the previous page. (required)
1759
1760Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001761 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04001762 page. Returns None if there are no more items in the collection.
1763 </pre>
1764</div>
1765
1766<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001767 <code class="details" id="list">list(calendarId, sharedExtendedProperty=None, maxResults=None, timeZone=None, pageToken=None, orderBy=None, timeMax=None, timeMin=None, syncToken=None, alwaysIncludeEmail=None, singleEvents=None, updatedMin=None, q=None, privateExtendedProperty=None, maxAttendees=None, showDeleted=None, showHiddenInvitations=None, iCalUID=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04001768 <pre>Returns events on the specified calendar.
1769
1770Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07001771 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)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001772 sharedExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
Bu Sun Kim65020912020-05-20 12:08:20 -07001773 maxResults: integer, Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if there are more events matching the query. Incomplete pages can be detected by a non-empty nextPageToken field in the response. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001774 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
1775 pageToken: string, Token specifying which result page to return. Optional.
John Asmuth614db982014-04-24 15:46:26 -04001776 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
1777 Allowed values
Craig Citro065b5302014-08-14 00:47:23 -07001778 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
John Asmuth614db982014-04-24 15:46:26 -04001779 updated - Order by last modification time (ascending).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001780 timeMax: string, Upper bound (exclusive) for an event&#x27;s start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set, timeMax must be greater than timeMin.
1781 timeMin: string, Lower bound (exclusive) for an event&#x27;s end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax.
Craig Citro065b5302014-08-14 00:47:23 -07001782 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. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
1783There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1784
1785These are:
1786- iCalUID
1787- orderBy
1788- privateExtendedProperty
1789- q
1790- sharedExtendedProperty
1791- timeMin
1792- timeMax
1793- updatedMin 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.
1794Learn more about incremental synchronization.
1795Optional. The default is to return all entries.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001796 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
1797 singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
Bu Sun Kim65020912020-05-20 12:08:20 -07001798 updatedMin: string, Lower bound for an event&#x27;s last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001799 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
1800 privateExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
1801 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
1802 showDeleted: boolean, Whether to include deleted events (with status equals &quot;cancelled&quot;) in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.
1803 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
1804 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
John Asmuth614db982014-04-24 15:46:26 -04001805
1806Returns:
1807 An object of the form:
1808
1809 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001810 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001811 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1812 # - &quot;none&quot; - The user has no access.
1813 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1814 # - &quot;reader&quot; - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
1815 # - &quot;writer&quot; - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
1816 # - &quot;owner&quot; - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001817 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1818 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
Bu Sun Kim65020912020-05-20 12:08:20 -07001819 &quot;defaultReminders&quot;: [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).
John Asmuth614db982014-04-24 15:46:26 -04001820 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001821 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1822 # - &quot;email&quot; - Reminders are sent via email.
1823 # - &quot;popup&quot; - Reminders are sent via a UI popup.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001824 # Required when adding a reminder.
Bu Sun Kim65020912020-05-20 12:08:20 -07001825 &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).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001826 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04001827 },
1828 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001829 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1830 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001831 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001832 &quot;items&quot;: [ # List of events on the calendar.
John Asmuth614db982014-04-24 15:46:26 -04001833 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001834 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
1835 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
1836 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
1837 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1838 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07001839 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001840 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
1841 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1842 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1843 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1844 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
1845 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
1846 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1847 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1848 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -07001849 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001850 &quot;gadget&quot;: { # A gadget that extends this event.
1851 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
1852 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
1853 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1854 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1855 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
1856 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
1857 &quot;preferences&quot;: { # Preferences.
1858 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -07001859 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001860 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
1861 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
1862 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -07001863 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001864 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1865 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
1866 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
1867 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
1868 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1869 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1870 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1871 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
1872 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
1873 # - the length of the ID must be between 5 and 1024 characters
1874 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
1875 # If you do not specify an ID, it will be automatically generated by the server.
1876 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
1877 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1878 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1879 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1880 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1881 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1882 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
1883 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
1884 &quot;A String&quot;,
1885 ],
1886 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1887 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1888 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1889 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
1890 {
1891 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1892 # - &quot;email&quot; - Reminders are sent via email.
1893 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1894 # Required when adding a reminder.
1895 &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).
1896 # Required when adding a reminder.
1897 },
1898 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001899 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001900 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
Takashi Matsuo06694102015-09-11 13:55:40 -07001901 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001902 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1903 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1904 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1905 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
1906 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1907 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
1908 # Required when adding an attendee.
1909 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1910 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1911 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1912 # - &quot;declined&quot; - The attendee has declined the invitation.
1913 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1914 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1915 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1916 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Takashi Matsuo06694102015-09-11 13:55:40 -07001917 },
1918 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001919 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1920 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1921 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1922 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1923 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1924 },
1925 &quot;creator&quot;: { # The creator of the event. Read-only.
1926 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
1927 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
1928 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1929 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1930 },
1931 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1932 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1933 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
1934 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1935 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1936 # - &quot;tentative&quot; - The event is tentatively confirmed.
1937 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
1938 # A cancelled status represents two different states depending on the event type:
1939 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
1940 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1941 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
1942 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
1943 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
1944 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1945 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1946 # There can be at most 25 attachments per event,
1947 {
1948 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1949 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1950 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1951 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1952 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1953 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1954 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1955 # Required when adding an attachment.
1956 },
1957 ],
1958 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
1959 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1960 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
1961 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1962 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1963 },
1964 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1965 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
1966 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
1967 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
1968 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1969 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1970 },
1971 &quot;extendedProperties&quot;: { # Extended properties of the event.
1972 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1973 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1974 },
1975 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1976 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1977 },
1978 },
1979 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1980 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1981 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
1982 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1983 # Unset for a conference with a failed create request.
1984 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1985 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1986 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1987 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1988 # The possible values are:
1989 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1990 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1991 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1992 # - &quot;addOn&quot; for 3P conference providers
1993 },
1994 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1995 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1996 },
1997 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1998 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1999 &quot;parameters&quot;: {
2000 &quot;a_key&quot;: &quot;A String&quot;,
2001 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002002 },
2003 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002004 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
2005 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2006 &quot;status&quot;: { # The status of the conference create request.
2007 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2008 # The possible values are:
2009 # - &quot;pending&quot;: the conference create request is still being processed.
2010 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2011 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2012 },
2013 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2014 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
2015 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2016 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2017 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2018 # The possible values are:
2019 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2020 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2021 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2022 # - &quot;addOn&quot; for 3P conference providers
2023 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002024 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002025 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2026 # Can be used by developers to keep track of conferences, should not be displayed to users.
2027 # Values for solution types:
2028 # - &quot;eventHangout&quot;: unset.
2029 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2030 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2031 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2032 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
2033 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2034 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2035 # Unset for a conference with a failed create request.
2036 # Optional for a conference with a pending create request.
2037 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2038 # All of them must belong to the same conference.
2039 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2040 {
2041 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2042 # Format:
2043 # - for video, http: or https: schema is required.
2044 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2045 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2046 # - for more, http: or https: schema is required.
2047 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2048 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2049 # Optional.
2050 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
2051 &quot;A String&quot;,
2052 ],
2053 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2054 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2055 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2056 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2057 # Optional.
2058 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2059 # Possible values are:
2060 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2061 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2062 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2063 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
2064 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2065 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2066 # Optional.
2067 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
2068 # Calendar backend will populate this field only for EntryPointType.PHONE.
2069 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2070 # Examples:
2071 # - for video: meet.google.com/aaa-bbbb-ccc
2072 # - for phone: +1 123 268 2601
2073 # - for sip: 12345678@altostrat.com
2074 # - for more: should not be filled
2075 # Optional.
2076 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2077 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2078 # Optional.
2079 },
2080 ],
2081 },
2082 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07002083 },
John Asmuth614db982014-04-24 15:46:26 -04002084 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002085 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002086 &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.
John Asmuth614db982014-04-24 15:46:26 -04002087 }</pre>
2088</div>
2089
2090<div class="method">
2091 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
2092 <pre>Retrieves the next page of results.
2093
2094Args:
2095 previous_request: The request for the previous page. (required)
2096 previous_response: The response from the request for the previous page. (required)
2097
2098Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07002099 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04002100 page. Returns None if there are no more items in the collection.
2101 </pre>
2102</div>
2103
2104<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002105 <code class="details" id="move">move(calendarId, eventId, destination, sendNotifications=None, sendUpdates=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07002106 <pre>Moves an event to another calendar, i.e. changes an event&#x27;s organizer.
John Asmuth614db982014-04-24 15:46:26 -04002107
2108Args:
2109 calendarId: string, Calendar identifier of the source calendar where the event currently is on. (required)
2110 eventId: string, Event identifier. (required)
2111 destination: string, Calendar identifier of the target calendar where the event is to be moved to. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002112 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2113
Bu Sun Kim65020912020-05-20 12:08:20 -07002114Whether to send notifications about the change of the event&#x27;s organizer. Note that some emails might still be sent even if you set the value to false. The default is false.
2115 sendUpdates: string, Guests who should receive notifications about the change of the event&#x27;s organizer.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002116 Allowed values
2117 all - Notifications are sent to all guests.
2118 externalOnly - Notifications are sent to non-Google Calendar guests only.
2119 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
John Asmuth614db982014-04-24 15:46:26 -04002120
2121Returns:
2122 An object of the form:
2123
2124 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002125 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
2126 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
2127 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
2128 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2129 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Takashi Matsuo06694102015-09-11 13:55:40 -07002130 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002131 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
2132 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2133 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2134 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2135 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
2136 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
2137 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2138 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2139 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
John Asmuth614db982014-04-24 15:46:26 -04002140 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002141 &quot;gadget&quot;: { # A gadget that extends this event.
2142 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
2143 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
2144 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2145 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2146 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
2147 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
2148 &quot;preferences&quot;: { # Preferences.
2149 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
John Asmuth614db982014-04-24 15:46:26 -04002150 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002151 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
2152 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
2153 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -07002154 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002155 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2156 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
2157 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
2158 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
2159 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2160 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2161 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2162 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
2163 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
2164 # - the length of the ID must be between 5 and 1024 characters
2165 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
2166 # If you do not specify an ID, it will be automatically generated by the server.
2167 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
2168 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2169 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2170 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2171 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2172 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2173 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
2174 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
2175 &quot;A String&quot;,
2176 ],
2177 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2178 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2179 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2180 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
2181 {
2182 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2183 # - &quot;email&quot; - Reminders are sent via email.
2184 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2185 # Required when adding a reminder.
2186 &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).
2187 # Required when adding a reminder.
2188 },
2189 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002190 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002191 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002192 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002193 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2194 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2195 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2196 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
2197 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2198 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
2199 # Required when adding an attendee.
2200 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2201 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2202 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2203 # - &quot;declined&quot; - The attendee has declined the invitation.
2204 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2205 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2206 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2207 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002208 },
2209 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002210 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2211 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2212 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2213 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2214 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
2215 },
2216 &quot;creator&quot;: { # The creator of the event. Read-only.
2217 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
2218 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2219 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2220 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2221 },
2222 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2223 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2224 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
2225 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2226 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2227 # - &quot;tentative&quot; - The event is tentatively confirmed.
2228 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
2229 # A cancelled status represents two different states depending on the event type:
2230 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
2231 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2232 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
2233 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
2234 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
2235 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2236 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2237 # There can be at most 25 attachments per event,
2238 {
2239 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2240 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2241 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2242 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2243 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2244 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2245 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2246 # Required when adding an attachment.
2247 },
2248 ],
2249 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
2250 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2251 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2252 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2253 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
2254 },
2255 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2256 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
2257 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
2258 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
2259 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2260 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2261 },
2262 &quot;extendedProperties&quot;: { # Extended properties of the event.
2263 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2264 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2265 },
2266 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2267 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2268 },
2269 },
2270 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2271 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2272 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
2273 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2274 # Unset for a conference with a failed create request.
2275 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2276 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2277 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2278 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2279 # The possible values are:
2280 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2281 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2282 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2283 # - &quot;addOn&quot; for 3P conference providers
2284 },
2285 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2286 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2287 },
2288 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2289 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2290 &quot;parameters&quot;: {
2291 &quot;a_key&quot;: &quot;A String&quot;,
2292 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002293 },
2294 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002295 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
2296 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2297 &quot;status&quot;: { # The status of the conference create request.
2298 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2299 # The possible values are:
2300 # - &quot;pending&quot;: the conference create request is still being processed.
2301 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2302 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2303 },
2304 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2305 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
2306 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2307 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2308 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2309 # The possible values are:
2310 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2311 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2312 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2313 # - &quot;addOn&quot; for 3P conference providers
2314 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002315 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002316 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2317 # Can be used by developers to keep track of conferences, should not be displayed to users.
2318 # Values for solution types:
2319 # - &quot;eventHangout&quot;: unset.
2320 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2321 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2322 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2323 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
2324 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2325 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2326 # Unset for a conference with a failed create request.
2327 # Optional for a conference with a pending create request.
2328 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2329 # All of them must belong to the same conference.
2330 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2331 {
2332 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2333 # Format:
2334 # - for video, http: or https: schema is required.
2335 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2336 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2337 # - for more, http: or https: schema is required.
2338 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2339 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2340 # Optional.
2341 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
2342 &quot;A String&quot;,
2343 ],
2344 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2345 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2346 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2347 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2348 # Optional.
2349 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2350 # Possible values are:
2351 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2352 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2353 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2354 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
2355 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2356 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2357 # Optional.
2358 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
2359 # Calendar backend will populate this field only for EntryPointType.PHONE.
2360 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2361 # Examples:
2362 # - for video: meet.google.com/aaa-bbbb-ccc
2363 # - for phone: +1 123 268 2601
2364 # - for sip: 12345678@altostrat.com
2365 # - for more: should not be filled
2366 # Optional.
2367 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2368 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2369 # Optional.
2370 },
2371 ],
2372 },
2373 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2374 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -07002375</div>
John Asmuth614db982014-04-24 15:46:26 -04002376
Bu Sun Kim65020912020-05-20 12:08:20 -07002377<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002378 <code class="details" id="patch">patch(calendarId, eventId, body=None, conferenceDataVersion=None, maxAttendees=None, supportsAttachments=None, sendUpdates=None, alwaysIncludeEmail=None, sendNotifications=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07002379 <pre>Updates an event. This method supports patch semantics.
2380
2381Args:
2382 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)
2383 eventId: string, Event identifier. (required)
2384 body: object, The request body.
2385 The object takes the form of:
2386
2387{
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002388 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
2389 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
2390 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
2391 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2392 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07002393 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002394 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
2395 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2396 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2397 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2398 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
2399 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
2400 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2401 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2402 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -07002403 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002404 &quot;gadget&quot;: { # A gadget that extends this event.
2405 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
2406 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
2407 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2408 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2409 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
2410 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
2411 &quot;preferences&quot;: { # Preferences.
2412 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -07002413 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002414 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
2415 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
2416 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -07002417 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002418 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2419 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
2420 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
2421 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
2422 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2423 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2424 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2425 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
2426 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
2427 # - the length of the ID must be between 5 and 1024 characters
2428 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
2429 # If you do not specify an ID, it will be automatically generated by the server.
2430 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
2431 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2432 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2433 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2434 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2435 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2436 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
2437 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
2438 &quot;A String&quot;,
2439 ],
2440 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2441 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2442 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2443 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
2444 {
2445 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2446 # - &quot;email&quot; - Reminders are sent via email.
2447 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2448 # Required when adding a reminder.
2449 &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).
2450 # Required when adding a reminder.
2451 },
2452 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002453 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002454 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
Bu Sun Kim65020912020-05-20 12:08:20 -07002455 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002456 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2457 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2458 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2459 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
2460 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2461 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
2462 # Required when adding an attendee.
2463 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2464 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2465 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2466 # - &quot;declined&quot; - The attendee has declined the invitation.
2467 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2468 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2469 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2470 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Bu Sun Kim65020912020-05-20 12:08:20 -07002471 },
2472 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002473 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2474 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2475 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2476 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2477 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
2478 },
2479 &quot;creator&quot;: { # The creator of the event. Read-only.
2480 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
2481 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2482 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2483 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2484 },
2485 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2486 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2487 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
2488 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2489 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2490 # - &quot;tentative&quot; - The event is tentatively confirmed.
2491 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
2492 # A cancelled status represents two different states depending on the event type:
2493 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
2494 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2495 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
2496 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
2497 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
2498 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2499 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2500 # There can be at most 25 attachments per event,
2501 {
2502 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2503 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2504 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2505 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2506 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2507 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2508 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2509 # Required when adding an attachment.
2510 },
2511 ],
2512 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
2513 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2514 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2515 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2516 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
2517 },
2518 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2519 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
2520 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
2521 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
2522 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2523 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2524 },
2525 &quot;extendedProperties&quot;: { # Extended properties of the event.
2526 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2527 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2528 },
2529 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2530 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2531 },
2532 },
2533 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2534 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2535 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
2536 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2537 # Unset for a conference with a failed create request.
2538 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2539 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2540 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2541 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2542 # The possible values are:
2543 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2544 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2545 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2546 # - &quot;addOn&quot; for 3P conference providers
2547 },
2548 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2549 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2550 },
2551 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2552 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2553 &quot;parameters&quot;: {
2554 &quot;a_key&quot;: &quot;A String&quot;,
2555 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002556 },
2557 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002558 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
2559 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2560 &quot;status&quot;: { # The status of the conference create request.
2561 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2562 # The possible values are:
2563 # - &quot;pending&quot;: the conference create request is still being processed.
2564 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2565 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2566 },
2567 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2568 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
2569 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2570 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2571 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2572 # The possible values are:
2573 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2574 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2575 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2576 # - &quot;addOn&quot; for 3P conference providers
2577 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002578 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002579 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2580 # Can be used by developers to keep track of conferences, should not be displayed to users.
2581 # Values for solution types:
2582 # - &quot;eventHangout&quot;: unset.
2583 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2584 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2585 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2586 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
2587 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2588 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2589 # Unset for a conference with a failed create request.
2590 # Optional for a conference with a pending create request.
2591 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2592 # All of them must belong to the same conference.
2593 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2594 {
2595 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2596 # Format:
2597 # - for video, http: or https: schema is required.
2598 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2599 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2600 # - for more, http: or https: schema is required.
2601 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2602 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2603 # Optional.
2604 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
2605 &quot;A String&quot;,
2606 ],
2607 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2608 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2609 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2610 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2611 # Optional.
2612 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2613 # Possible values are:
2614 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2615 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2616 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2617 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
2618 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2619 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2620 # Optional.
2621 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
2622 # Calendar backend will populate this field only for EntryPointType.PHONE.
2623 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2624 # Examples:
2625 # - for video: meet.google.com/aaa-bbbb-ccc
2626 # - for phone: +1 123 268 2601
2627 # - for sip: 12345678@altostrat.com
2628 # - for more: should not be filled
2629 # Optional.
2630 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2631 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2632 # Optional.
2633 },
2634 ],
2635 },
2636 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2637 }
Bu Sun Kim65020912020-05-20 12:08:20 -07002638
Bu Sun Kim65020912020-05-20 12:08:20 -07002639 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
2640 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002641 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002642 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
2643 Allowed values
2644 all - Notifications are sent to all guests.
2645 externalOnly - Notifications are sent to non-Google Calendar guests only.
2646 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002647 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
2648 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2649
2650Whether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.
John Asmuth614db982014-04-24 15:46:26 -04002651
2652Returns:
2653 An object of the form:
2654
2655 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002656 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
2657 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
2658 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
2659 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2660 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07002661 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002662 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
2663 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2664 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2665 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2666 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
2667 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
2668 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2669 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2670 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -07002671 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002672 &quot;gadget&quot;: { # A gadget that extends this event.
2673 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
2674 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
2675 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2676 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2677 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
2678 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
2679 &quot;preferences&quot;: { # Preferences.
2680 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -07002681 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002682 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
2683 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
2684 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -07002685 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002686 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2687 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
2688 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
2689 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
2690 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2691 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2692 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2693 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
2694 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
2695 # - the length of the ID must be between 5 and 1024 characters
2696 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
2697 # If you do not specify an ID, it will be automatically generated by the server.
2698 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
2699 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2700 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2701 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2702 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2703 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2704 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
2705 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
2706 &quot;A String&quot;,
2707 ],
2708 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2709 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2710 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2711 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
2712 {
2713 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2714 # - &quot;email&quot; - Reminders are sent via email.
2715 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2716 # Required when adding a reminder.
2717 &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).
2718 # Required when adding a reminder.
2719 },
2720 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002721 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002722 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
Takashi Matsuo06694102015-09-11 13:55:40 -07002723 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002724 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2725 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2726 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2727 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
2728 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2729 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
2730 # Required when adding an attendee.
2731 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2732 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2733 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2734 # - &quot;declined&quot; - The attendee has declined the invitation.
2735 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2736 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2737 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2738 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Takashi Matsuo06694102015-09-11 13:55:40 -07002739 },
2740 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002741 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2742 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2743 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2744 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2745 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
2746 },
2747 &quot;creator&quot;: { # The creator of the event. Read-only.
2748 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
2749 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2750 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2751 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2752 },
2753 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2754 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2755 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
2756 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2757 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2758 # - &quot;tentative&quot; - The event is tentatively confirmed.
2759 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
2760 # A cancelled status represents two different states depending on the event type:
2761 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
2762 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2763 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
2764 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
2765 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
2766 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2767 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2768 # There can be at most 25 attachments per event,
2769 {
2770 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2771 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2772 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2773 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2774 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2775 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2776 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2777 # Required when adding an attachment.
2778 },
2779 ],
2780 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
2781 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2782 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2783 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2784 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
2785 },
2786 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2787 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
2788 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
2789 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
2790 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2791 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2792 },
2793 &quot;extendedProperties&quot;: { # Extended properties of the event.
2794 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2795 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2796 },
2797 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2798 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2799 },
2800 },
2801 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2802 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2803 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
2804 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2805 # Unset for a conference with a failed create request.
2806 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2807 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2808 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2809 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2810 # The possible values are:
2811 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2812 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2813 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2814 # - &quot;addOn&quot; for 3P conference providers
2815 },
2816 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2817 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2818 },
2819 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2820 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2821 &quot;parameters&quot;: {
2822 &quot;a_key&quot;: &quot;A String&quot;,
2823 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002824 },
2825 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002826 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
2827 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2828 &quot;status&quot;: { # The status of the conference create request.
2829 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2830 # The possible values are:
2831 # - &quot;pending&quot;: the conference create request is still being processed.
2832 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2833 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2834 },
2835 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2836 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
2837 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2838 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2839 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2840 # The possible values are:
2841 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2842 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2843 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2844 # - &quot;addOn&quot; for 3P conference providers
2845 },
John Asmuth614db982014-04-24 15:46:26 -04002846 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002847 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2848 # Can be used by developers to keep track of conferences, should not be displayed to users.
2849 # Values for solution types:
2850 # - &quot;eventHangout&quot;: unset.
2851 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2852 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2853 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2854 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
2855 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2856 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2857 # Unset for a conference with a failed create request.
2858 # Optional for a conference with a pending create request.
2859 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2860 # All of them must belong to the same conference.
2861 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2862 {
2863 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2864 # Format:
2865 # - for video, http: or https: schema is required.
2866 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2867 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2868 # - for more, http: or https: schema is required.
2869 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2870 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2871 # Optional.
2872 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
2873 &quot;A String&quot;,
2874 ],
2875 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2876 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2877 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2878 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2879 # Optional.
2880 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2881 # Possible values are:
2882 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2883 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2884 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2885 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
2886 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2887 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2888 # Optional.
2889 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
2890 # Calendar backend will populate this field only for EntryPointType.PHONE.
2891 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2892 # Examples:
2893 # - for video: meet.google.com/aaa-bbbb-ccc
2894 # - for phone: +1 123 268 2601
2895 # - for sip: 12345678@altostrat.com
2896 # - for more: should not be filled
2897 # Optional.
2898 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2899 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2900 # Optional.
2901 },
2902 ],
2903 },
2904 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2905 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04002906</div>
2907
2908<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002909 <code class="details" id="quickAdd">quickAdd(calendarId, text, sendUpdates=None, sendNotifications=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04002910 <pre>Creates an event based on a simple text string.
2911
2912Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07002913 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)
John Asmuth614db982014-04-24 15:46:26 -04002914 text: string, The text describing the event to be created. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002915 sendUpdates: string, Guests who should receive notifications about the creation of the new event.
2916 Allowed values
2917 all - Notifications are sent to all guests.
2918 externalOnly - Notifications are sent to non-Google Calendar guests only.
2919 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002920 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2921
2922Whether to send notifications about the creation of the event. Note that some emails might still be sent even if you set the value to false. The default is false.
John Asmuth614db982014-04-24 15:46:26 -04002923
2924Returns:
2925 An object of the form:
2926
2927 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002928 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
2929 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
2930 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
2931 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2932 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Takashi Matsuo06694102015-09-11 13:55:40 -07002933 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002934 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
2935 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2936 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2937 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2938 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
2939 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
2940 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
2941 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2942 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
John Asmuth614db982014-04-24 15:46:26 -04002943 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002944 &quot;gadget&quot;: { # A gadget that extends this event.
2945 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
2946 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
2947 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2948 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2949 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
2950 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
2951 &quot;preferences&quot;: { # Preferences.
2952 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
John Asmuth614db982014-04-24 15:46:26 -04002953 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002954 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
2955 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
2956 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -07002957 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002958 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2959 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
2960 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
2961 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
2962 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2963 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2964 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2965 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
2966 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
2967 # - the length of the ID must be between 5 and 1024 characters
2968 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
2969 # If you do not specify an ID, it will be automatically generated by the server.
2970 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
2971 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2972 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2973 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2974 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2975 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2976 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
2977 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
2978 &quot;A String&quot;,
2979 ],
2980 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2981 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2982 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2983 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
2984 {
2985 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2986 # - &quot;email&quot; - Reminders are sent via email.
2987 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2988 # Required when adding a reminder.
2989 &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).
2990 # Required when adding a reminder.
2991 },
2992 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002993 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002994 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002995 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002996 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2997 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2998 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
2999 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
3000 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3001 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
3002 # Required when adding an attendee.
3003 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3004 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3005 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3006 # - &quot;declined&quot; - The attendee has declined the invitation.
3007 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3008 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3009 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3010 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003011 },
3012 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003013 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3014 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3015 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
3016 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3017 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
3018 },
3019 &quot;creator&quot;: { # The creator of the event. Read-only.
3020 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
3021 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
3022 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3023 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3024 },
3025 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3026 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3027 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
3028 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3029 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3030 # - &quot;tentative&quot; - The event is tentatively confirmed.
3031 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
3032 # A cancelled status represents two different states depending on the event type:
3033 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
3034 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3035 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
3036 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
3037 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
3038 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3039 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3040 # There can be at most 25 attachments per event,
3041 {
3042 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3043 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3044 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3045 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3046 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3047 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3048 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3049 # Required when adding an attachment.
3050 },
3051 ],
3052 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
3053 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3054 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
3055 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3056 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
3057 },
3058 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3059 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
3060 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
3061 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
3062 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3063 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3064 },
3065 &quot;extendedProperties&quot;: { # Extended properties of the event.
3066 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3067 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3068 },
3069 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3070 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3071 },
3072 },
3073 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3074 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3075 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
3076 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3077 # Unset for a conference with a failed create request.
3078 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3079 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3080 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3081 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3082 # The possible values are:
3083 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3084 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3085 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3086 # - &quot;addOn&quot; for 3P conference providers
3087 },
3088 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3089 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3090 },
3091 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3092 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3093 &quot;parameters&quot;: {
3094 &quot;a_key&quot;: &quot;A String&quot;,
3095 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003096 },
3097 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003098 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
3099 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3100 &quot;status&quot;: { # The status of the conference create request.
3101 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3102 # The possible values are:
3103 # - &quot;pending&quot;: the conference create request is still being processed.
3104 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3105 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3106 },
3107 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3108 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
3109 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3110 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3111 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3112 # The possible values are:
3113 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3114 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3115 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3116 # - &quot;addOn&quot; for 3P conference providers
3117 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003118 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003119 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3120 # Can be used by developers to keep track of conferences, should not be displayed to users.
3121 # Values for solution types:
3122 # - &quot;eventHangout&quot;: unset.
3123 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3124 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3125 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3126 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
3127 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3128 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3129 # Unset for a conference with a failed create request.
3130 # Optional for a conference with a pending create request.
3131 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3132 # All of them must belong to the same conference.
3133 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3134 {
3135 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3136 # Format:
3137 # - for video, http: or https: schema is required.
3138 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3139 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3140 # - for more, http: or https: schema is required.
3141 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3142 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3143 # Optional.
3144 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
3145 &quot;A String&quot;,
3146 ],
3147 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3148 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3149 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3150 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3151 # Optional.
3152 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3153 # Possible values are:
3154 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3155 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3156 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3157 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
3158 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3159 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3160 # Optional.
3161 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
3162 # Calendar backend will populate this field only for EntryPointType.PHONE.
3163 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3164 # Examples:
3165 # - for video: meet.google.com/aaa-bbbb-ccc
3166 # - for phone: +1 123 268 2601
3167 # - for sip: 12345678@altostrat.com
3168 # - for more: should not be filled
3169 # Optional.
3170 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3171 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3172 # Optional.
3173 },
3174 ],
3175 },
3176 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3177 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -07003178</div>
John Asmuth614db982014-04-24 15:46:26 -04003179
Bu Sun Kim65020912020-05-20 12:08:20 -07003180<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003181 <code class="details" id="update">update(calendarId, eventId, body=None, alwaysIncludeEmail=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None, maxAttendees=None, conferenceDataVersion=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07003182 <pre>Updates an event.
3183
3184Args:
3185 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)
3186 eventId: string, Event identifier. (required)
3187 body: object, The request body.
3188 The object takes the form of:
3189
3190{
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003191 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
3192 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
3193 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
3194 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
3195 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07003196 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003197 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003198 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3199 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3200 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3201 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
3202 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
3203 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim65020912020-05-20 12:08:20 -07003204 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3205 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -07003206 },
3207 &quot;gadget&quot;: { # A gadget that extends this event.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003208 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003209 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
3210 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3211 # - &quot;chip&quot; - The gadget displays when the event is clicked.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003212 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
Bu Sun Kim65020912020-05-20 12:08:20 -07003213 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
3214 &quot;preferences&quot;: { # Preferences.
3215 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3216 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003217 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
3218 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
Bu Sun Kim65020912020-05-20 12:08:20 -07003219 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
Bu Sun Kim65020912020-05-20 12:08:20 -07003220 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003221 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
Bu Sun Kim65020912020-05-20 12:08:20 -07003222 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
3223 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003224 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
3225 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3226 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3227 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
Bu Sun Kim65020912020-05-20 12:08:20 -07003228 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
3229 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
3230 # - the length of the ID must be between 5 and 1024 characters
3231 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
3232 # If you do not specify an ID, it will be automatically generated by the server.
3233 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003234 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3235 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3236 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3237 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3238 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kim65020912020-05-20 12:08:20 -07003239 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
Bu Sun Kim65020912020-05-20 12:08:20 -07003240 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
3241 &quot;A String&quot;,
3242 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003243 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003244 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003245 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
Bu Sun Kim65020912020-05-20 12:08:20 -07003246 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
John Asmuth614db982014-04-24 15:46:26 -04003247 {
Bu Sun Kim65020912020-05-20 12:08:20 -07003248 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3249 # - &quot;email&quot; - Reminders are sent via email.
3250 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3251 # Required when adding a reminder.
3252 &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).
3253 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04003254 },
3255 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003256 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003257 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
3258 {
3259 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3260 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3261 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
3262 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
3263 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3264 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
3265 # Required when adding an attendee.
3266 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3267 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3268 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3269 # - &quot;declined&quot; - The attendee has declined the invitation.
3270 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3271 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3272 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3273 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3274 },
3275 ],
3276 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
Bu Sun Kim65020912020-05-20 12:08:20 -07003277 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003278 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim65020912020-05-20 12:08:20 -07003279 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3280 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -07003281 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003282 &quot;creator&quot;: { # The creator of the event. Read-only.
3283 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
3284 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
3285 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3286 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3287 },
3288 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3289 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3290 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
Bu Sun Kim65020912020-05-20 12:08:20 -07003291 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3292 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3293 # - &quot;tentative&quot; - The event is tentatively confirmed.
3294 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
3295 # A cancelled status represents two different states depending on the event type:
3296 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
3297 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3298 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
3299 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
3300 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003301 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3302 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3303 # There can be at most 25 attachments per event,
3304 {
3305 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3306 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3307 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3308 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3309 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3310 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3311 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3312 # Required when adding an attachment.
3313 },
3314 ],
3315 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
3316 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3317 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
3318 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3319 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
3320 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003321 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3322 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
3323 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003324 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
3325 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3326 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3327 },
3328 &quot;extendedProperties&quot;: { # Extended properties of the event.
3329 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3330 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3331 },
3332 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3333 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3334 },
3335 },
3336 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
Bu Sun Kim65020912020-05-20 12:08:20 -07003337 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003338 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
3339 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3340 # Unset for a conference with a failed create request.
3341 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3342 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3343 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3344 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3345 # The possible values are:
3346 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3347 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3348 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3349 # - &quot;addOn&quot; for 3P conference providers
3350 },
3351 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3352 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3353 },
3354 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3355 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3356 &quot;parameters&quot;: {
3357 &quot;a_key&quot;: &quot;A String&quot;,
3358 },
3359 },
3360 },
3361 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
3362 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3363 &quot;status&quot;: { # The status of the conference create request.
3364 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3365 # The possible values are:
3366 # - &quot;pending&quot;: the conference create request is still being processed.
3367 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3368 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3369 },
3370 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3371 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
3372 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3373 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3374 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3375 # The possible values are:
3376 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3377 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3378 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3379 # - &quot;addOn&quot; for 3P conference providers
3380 },
3381 },
3382 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3383 # Can be used by developers to keep track of conferences, should not be displayed to users.
3384 # Values for solution types:
3385 # - &quot;eventHangout&quot;: unset.
3386 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3387 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3388 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3389 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
3390 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3391 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3392 # Unset for a conference with a failed create request.
3393 # Optional for a conference with a pending create request.
3394 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3395 # All of them must belong to the same conference.
3396 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3397 {
3398 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3399 # Format:
3400 # - for video, http: or https: schema is required.
3401 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3402 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3403 # - for more, http: or https: schema is required.
3404 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3405 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3406 # Optional.
3407 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
3408 &quot;A String&quot;,
3409 ],
3410 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3411 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3412 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3413 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3414 # Optional.
3415 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3416 # Possible values are:
3417 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3418 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3419 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3420 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
3421 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3422 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3423 # Optional.
3424 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
3425 # Calendar backend will populate this field only for EntryPointType.PHONE.
3426 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3427 # Examples:
3428 # - for video: meet.google.com/aaa-bbbb-ccc
3429 # - for phone: +1 123 268 2601
3430 # - for sip: 12345678@altostrat.com
3431 # - for more: should not be filled
3432 # Optional.
3433 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3434 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3435 # Optional.
3436 },
3437 ],
3438 },
3439 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3440 }
3441
3442 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
3443 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
3444
3445Whether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.
3446 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
3447 Allowed values
3448 all - Notifications are sent to all guests.
3449 externalOnly - Notifications are sent to non-Google Calendar guests only.
3450 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
3451 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
3452 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
3453 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
3454
3455Returns:
3456 An object of the form:
3457
3458 {
3459 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
3460 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
3461 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
3462 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
3463 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3464 },
3465 &quot;colorId&quot;: &quot;A String&quot;, # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
3466 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3467 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3468 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3469 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
3470 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
3471 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
3472 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3473 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
3474 },
3475 &quot;gadget&quot;: { # A gadget that extends this event.
3476 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
3477 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
3478 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3479 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3480 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
3481 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
3482 &quot;preferences&quot;: { # Preferences.
3483 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3484 },
3485 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
3486 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
3487 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
3488 },
3489 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3490 &quot;iCalUID&quot;: &quot;A String&quot;, # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.
3491 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
3492 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
3493 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3494 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3495 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3496 &quot;id&quot;: &quot;A String&quot;, # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
3497 # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
3498 # - the length of the ID must be between 5 and 1024 characters
3499 # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
3500 # If you do not specify an ID, it will be automatically generated by the server.
3501 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
3502 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3503 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3504 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3505 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3506 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3507 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
3508 &quot;recurrence&quot;: [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
3509 &quot;A String&quot;,
3510 ],
3511 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3512 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3513 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3514 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
3515 {
3516 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3517 # - &quot;email&quot; - Reminders are sent via email.
3518 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3519 # Required when adding a reminder.
3520 &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).
3521 # Required when adding a reminder.
3522 },
3523 ],
3524 },
3525 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
3526 {
3527 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3528 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3529 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
3530 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
3531 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3532 &quot;email&quot;: &quot;A String&quot;, # The attendee&#x27;s email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.
3533 # Required when adding an attendee.
3534 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3535 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3536 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3537 # - &quot;declined&quot; - The attendee has declined the invitation.
3538 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3539 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3540 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3541 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3542 },
3543 ],
3544 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3545 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3546 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
3547 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3548 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
3549 },
3550 &quot;creator&quot;: { # The creator of the event. Read-only.
3551 &quot;self&quot;: false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
3552 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API
3553 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3554 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3555 },
3556 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3557 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3558 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
3559 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3560 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3561 # - &quot;tentative&quot; - The event is tentatively confirmed.
3562 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
3563 # A cancelled status represents two different states depending on the event type:
3564 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
3565 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3566 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
3567 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
3568 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
3569 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3570 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3571 # There can be at most 25 attachments per event,
3572 {
3573 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3574 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3575 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3576 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3577 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3578 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3579 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3580 # Required when adding an attachment.
3581 },
3582 ],
3583 &quot;endTimeUnspecified&quot;: false, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
3584 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3585 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
3586 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3587 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
3588 },
3589 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3590 # - &quot;opaque&quot; - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI.
3591 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
3592 &quot;source&quot;: { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
3593 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3594 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3595 },
3596 &quot;extendedProperties&quot;: { # Extended properties of the event.
3597 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3598 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3599 },
3600 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3601 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3602 },
3603 },
3604 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3605 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3606 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
3607 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3608 # Unset for a conference with a failed create request.
3609 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3610 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3611 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3612 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3613 # The possible values are:
3614 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3615 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3616 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3617 # - &quot;addOn&quot; for 3P conference providers
3618 },
3619 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3620 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3621 },
3622 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3623 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3624 &quot;parameters&quot;: {
3625 &quot;a_key&quot;: &quot;A String&quot;,
3626 },
3627 },
3628 },
3629 &quot;createRequest&quot;: { # A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.
3630 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3631 &quot;status&quot;: { # The status of the conference create request.
3632 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3633 # The possible values are:
3634 # - &quot;pending&quot;: the conference create request is still being processed.
3635 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3636 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3637 },
3638 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3639 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
3640 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3641 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3642 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3643 # The possible values are:
3644 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3645 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3646 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3647 # - &quot;addOn&quot; for 3P conference providers
3648 },
3649 },
3650 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3651 # Can be used by developers to keep track of conferences, should not be displayed to users.
3652 # Values for solution types:
3653 # - &quot;eventHangout&quot;: unset.
3654 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3655 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3656 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3657 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
3658 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3659 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3660 # Unset for a conference with a failed create request.
3661 # Optional for a conference with a pending create request.
3662 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3663 # All of them must belong to the same conference.
3664 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3665 {
3666 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3667 # Format:
3668 # - for video, http: or https: schema is required.
3669 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3670 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3671 # - for more, http: or https: schema is required.
3672 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3673 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3674 # Optional.
3675 &quot;entryPointFeatures&quot;: [ # Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.
3676 &quot;A String&quot;,
3677 ],
3678 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3679 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3680 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3681 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3682 # Optional.
3683 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3684 # Possible values are:
3685 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3686 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3687 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3688 # - &quot;more&quot; - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.
3689 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3690 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3691 # Optional.
3692 &quot;regionCode&quot;: &quot;A String&quot;, # The CLDR/ISO 3166 region code for the country associated with this phone access. Example: &quot;SE&quot; for Sweden.
3693 # Calendar backend will populate this field only for EntryPointType.PHONE.
3694 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3695 # Examples:
3696 # - for video: meet.google.com/aaa-bbbb-ccc
3697 # - for phone: +1 123 268 2601
3698 # - for sip: 12345678@altostrat.com
3699 # - for more: should not be filled
3700 # Optional.
3701 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3702 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3703 # Optional.
3704 },
3705 ],
3706 },
3707 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3708 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04003709</div>
3710
3711<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003712 <code class="details" id="watch">watch(calendarId, body=None, maxAttendees=None, privateExtendedProperty=None, q=None, updatedMin=None, maxResults=None, timeMin=None, orderBy=None, singleEvents=None, timeMax=None, syncToken=None, timeZone=None, pageToken=None, sharedExtendedProperty=None, showHiddenInvitations=None, alwaysIncludeEmail=None, iCalUID=None, showDeleted=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04003713 <pre>Watch for changes to Events resources.
3714
3715Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07003716 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)
Dan O'Mearadd494642020-05-01 07:42:23 -07003717 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -04003718 The object takes the form of:
3719
3720{
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003721 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07003722 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003723 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
Bu Sun Kim65020912020-05-20 12:08:20 -07003724 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3725 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003726 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003727 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003728 &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;.
Bu Sun Kim65020912020-05-20 12:08:20 -07003729 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003730 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
3731 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
Bu Sun Kim65020912020-05-20 12:08:20 -07003732 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
John Asmuth614db982014-04-24 15:46:26 -04003733 }
3734
Bu Sun Kim65020912020-05-20 12:08:20 -07003735 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003736 privateExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
3737 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
3738 updatedMin: string, Lower bound for an event&#x27;s last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
Bu Sun Kim65020912020-05-20 12:08:20 -07003739 maxResults: integer, Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if there are more events matching the query. Incomplete pages can be detected by a non-empty nextPageToken field in the response. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003740 timeMin: string, Lower bound (exclusive) for an event&#x27;s end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax.
John Asmuth614db982014-04-24 15:46:26 -04003741 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
3742 Allowed values
Craig Citro065b5302014-08-14 00:47:23 -07003743 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
John Asmuth614db982014-04-24 15:46:26 -04003744 updated - Order by last modification time (ascending).
Bu Sun Kim65020912020-05-20 12:08:20 -07003745 singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003746 timeMax: string, Upper bound (exclusive) for an event&#x27;s start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set, timeMax must be greater than timeMin.
Craig Citro065b5302014-08-14 00:47:23 -07003747 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. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
3748There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
3749
3750These are:
3751- iCalUID
3752- orderBy
3753- privateExtendedProperty
3754- q
3755- sharedExtendedProperty
3756- timeMin
3757- timeMax
3758- updatedMin 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.
3759Learn more about incremental synchronization.
3760Optional. The default is to return all entries.
John Asmuth614db982014-04-24 15:46:26 -04003761 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003762 pageToken: string, Token specifying which result page to return. Optional.
3763 sharedExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
3764 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
3765 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
3766 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
3767 showDeleted: boolean, Whether to include deleted events (with status equals &quot;cancelled&quot;) in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.
John Asmuth614db982014-04-24 15:46:26 -04003768
3769Returns:
3770 An object of the form:
3771
3772 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003773 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07003774 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003775 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
Bu Sun Kim65020912020-05-20 12:08:20 -07003776 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3777 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003778 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003779 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003780 &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;.
Bu Sun Kim65020912020-05-20 12:08:20 -07003781 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003782 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
3783 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
Bu Sun Kim65020912020-05-20 12:08:20 -07003784 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
John Asmuth614db982014-04-24 15:46:26 -04003785 }</pre>
3786</div>
3787
3788</body></html>