blob: 2405fbd96a149dacedfdfb1b8ead3b2581d23c81 [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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#delete">delete(calendarId, eventId, sendUpdates=None, sendNotifications=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Deletes an event.</p>
83<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070084 <code><a href="#get">get(calendarId, eventId, timeZone=None, alwaysIncludeEmail=None, maxAttendees=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Returns an event.</p>
86<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087 <code><a href="#import_">import_(calendarId, body=None, conferenceDataVersion=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Imports an event. This operation is used to add a private copy of an existing event to a calendar.</p>
89<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070090 <code><a href="#insert">insert(calendarId, body=None, supportsAttachments=None, sendUpdates=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Creates an event.</p>
92<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070093 <code><a href="#instances">instances(calendarId, eventId, timeZone=None, originalStart=None, timeMax=None, pageToken=None, alwaysIncludeEmail=None, timeMin=None, maxAttendees=None, maxResults=None, showDeleted=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040094<p class="firstline">Returns instances of the specified recurring event.</p>
95<p class="toc_element">
96 <code><a href="#instances_next">instances_next(previous_request, previous_response)</a></code></p>
97<p class="firstline">Retrieves the next page of results.</p>
98<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099 <code><a href="#list">list(calendarId, showDeleted=None, alwaysIncludeEmail=None, timeZone=None, maxResults=None, maxAttendees=None, timeMax=None, q=None, orderBy=None, iCalUID=None, privateExtendedProperty=None, sharedExtendedProperty=None, showHiddenInvitations=None, updatedMin=None, singleEvents=None, pageToken=None, syncToken=None, timeMin=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400100<p class="firstline">Returns events on the specified calendar.</p>
101<p class="toc_element">
102 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
103<p class="firstline">Retrieves the next page of results.</p>
104<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700105 <code><a href="#move">move(calendarId, eventId, destination, sendUpdates=None, sendNotifications=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400106<p class="firstline">Moves an event to another calendar, i.e. changes an event's organizer.</p>
107<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700108 <code><a href="#patch">patch(calendarId, eventId, body=None, sendNotifications=None, maxAttendees=None, sendUpdates=None, supportsAttachments=None, conferenceDataVersion=None, alwaysIncludeEmail=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400109<p class="firstline">Updates an event. This method supports patch semantics.</p>
110<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700111 <code><a href="#quickAdd">quickAdd(calendarId, text, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400112<p class="firstline">Creates an event based on a simple text string.</p>
113<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700114 <code><a href="#update">update(calendarId, eventId, body=None, sendUpdates=None, supportsAttachments=None, conferenceDataVersion=None, sendNotifications=None, maxAttendees=None, alwaysIncludeEmail=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400115<p class="firstline">Updates an event.</p>
116<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700117 <code><a href="#watch">watch(calendarId, body=None, showDeleted=None, updatedMin=None, maxAttendees=None, syncToken=None, orderBy=None, q=None, alwaysIncludeEmail=None, timeMin=None, singleEvents=None, maxResults=None, timeZone=None, sharedExtendedProperty=None, pageToken=None, iCalUID=None, timeMax=None, privateExtendedProperty=None, showHiddenInvitations=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400118<p class="firstline">Watch for changes to Events resources.</p>
119<h3>Method Details</h3>
120<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121 <code class="details" id="close">close()</code>
122 <pre>Close httplib2 connections.</pre>
123</div>
124
125<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700126 <code class="details" id="delete">delete(calendarId, eventId, sendUpdates=None, sendNotifications=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400127 <pre>Deletes an event.
128
129Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700130 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 -0400131 eventId: string, Event identifier. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700132 sendUpdates: string, Guests who should receive notifications about the deletion of the event.
133 Allowed values
134 all - Notifications are sent to all guests.
135 externalOnly - Notifications are sent to non-Google Calendar guests only.
136 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 -0700137 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
138
139Whether 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 -0400140</pre>
141</div>
142
143<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700144 <code class="details" id="get">get(calendarId, eventId, timeZone=None, alwaysIncludeEmail=None, maxAttendees=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400145 <pre>Returns an event.
146
147Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700148 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 -0400149 eventId: string, Event identifier. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700150 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700151 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 Kimd059ad82020-07-22 17:02:09 -0700152 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 -0400153
154Returns:
155 An object of the form:
156
157 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700158 &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.
159 &quot;A String&quot;,
160 ],
161 &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.
162 &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.
163 &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.
164 &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.
165 &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
166 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
167 },
168 &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.
169 &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:
170 # - 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
171 # - the length of the ID must be between 5 and 1024 characters
172 # - 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.
173 # If you do not specify an ID, it will be automatically generated by the server.
174 # 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.
175 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
176 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
177 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
178 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
179 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
180 &quot;preferences&quot;: { # Preferences.
181 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700182 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700183 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
184 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
185 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
186 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
187 # - &quot;chip&quot; - The gadget displays when the event is clicked.
188 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
189 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
190 },
191 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
192 &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.
193 &quot;creator&quot;: { # The creator of the event. Read-only.
194 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
195 &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
196 &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.
197 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
198 },
199 &quot;extendedProperties&quot;: { # Extended properties of the event.
200 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
201 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700202 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700203 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
204 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700205 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700206 },
207 &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.
208 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
209 &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.
210 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
211 &quot;addOnParameters&quot;: { # Additional add-on specific data.
212 &quot;parameters&quot;: {
213 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700214 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700215 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700216 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700217 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
218 # Unset for a conference with a failed create request.
219 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
220 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
221 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
222 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
223 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
224 # The possible values are:
225 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
226 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
227 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
228 # - &quot;addOn&quot; for 3P conference providers
229 },
230 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
231 },
232 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
233 # All of them must belong to the same conference.
234 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Takashi Matsuo06694102015-09-11 13:55:40 -0700235 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700236 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
237 # 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.
238 # Optional.
239 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
240 # Examples:
241 # - for video: meet.google.com/aaa-bbbb-ccc
242 # - for phone: +1 123 268 2601
243 # - for sip: 12345678@altostrat.com
244 # - for more: should not be filled
245 # Optional.
246 &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.
247 # Calendar backend will populate this field only for EntryPointType.PHONE.
248 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
249 # 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.
250 # Optional.
251 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
252 # Possible values are:
253 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
254 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
255 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
256 # - &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.
257 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
258 # 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.
259 # Optional.
260 &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.
261 &quot;A String&quot;,
262 ],
263 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
264 # Format:
265 # - for video, http: or https: schema is required.
266 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
267 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
268 # - for more, http: or https: schema is required.
269 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
270 # 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.
271 # Optional.
272 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
273 # 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.
Takashi Matsuo06694102015-09-11 13:55:40 -0700274 },
275 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700276 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
277 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
278 # Unset for a conference with a failed create request.
279 # Optional for a conference with a pending create request.
280 &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.
281 &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.
282 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
283 &quot;status&quot;: { # The status of the conference create request.
284 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
285 # The possible values are:
286 # - &quot;pending&quot;: the conference create request is still being processed.
287 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
288 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
289 },
290 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
291 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
292 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
293 # The possible values are:
294 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
295 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
296 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
297 # - &quot;addOn&quot; for 3P conference providers
298 },
299 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
300 # 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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700301 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700302 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
303 # Can be used by developers to keep track of conferences, should not be displayed to users.
304 # Values for solution types:
305 # - &quot;eventHangout&quot;: unset.
306 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
307 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
308 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
309 },
310 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
311 &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.
312 &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.
313 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
314 },
315 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
316 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
317 # - &quot;tentative&quot; - The event is tentatively confirmed.
318 # - &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.
319 # A cancelled status represents two different states depending on the event type:
320 # - 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.
321 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
322 # - 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.
323 # 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.
324 # 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.
325 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
326 &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.
327 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
328 &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.
329 &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.
330 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
331 },
332 &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.
333 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
334 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
335 },
336 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
337 # - &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.
338 # - &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.
339 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
340 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
341 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
342 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700343 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700344 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
345 # - &quot;email&quot; - Reminders are sent via email.
346 # - &quot;popup&quot; - Reminders are sent via a UI popup.
347 # Required when adding a reminder.
348 &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).
349 # Required when adding a reminder.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700350 },
351 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700352 },
353 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
354 &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.
355 &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.
356 &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.
357 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
358 },
359 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
360 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
361 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
362 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
363 # - &quot;private&quot; - The event is private and only event attendees may view event details.
364 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
365 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
366 # In order to modify attachments the supportsAttachments request parameter should be set to true.
367 # There can be at most 25 attachments per event,
368 {
369 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
370 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
371 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
372 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
373 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
374 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
375 # Required when adding an attachment.
376 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700377 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700378 ],
379 &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.
380 &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.
381 # 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.
382 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
383 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
384 {
385 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
386 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
387 # - &quot;declined&quot; - The attendee has declined the invitation.
388 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
389 # - &quot;accepted&quot; - The attendee has accepted the invitation.
390 &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.
391 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
392 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
393 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
394 &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.
395 # Required when adding an attendee.
396 &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
397 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
398 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
399 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700400 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700401 ],
402 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
403 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
404 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
405 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
406 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
407 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400408</div>
409
410<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700411 <code class="details" id="import_">import_(calendarId, body=None, conferenceDataVersion=None, supportsAttachments=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400412 <pre>Imports an event. This operation is used to add a private copy of an existing event to a calendar.
413
414Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700415 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 -0700416 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400417 The object takes the form of:
418
419{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700420 &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.
421 &quot;A String&quot;,
422 ],
423 &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.
424 &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.
425 &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.
426 &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.
427 &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
428 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
429 },
430 &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.
431 &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:
432 # - 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
433 # - the length of the ID must be between 5 and 1024 characters
434 # - 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.
435 # If you do not specify an ID, it will be automatically generated by the server.
436 # 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.
437 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
438 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
439 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
440 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
441 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
442 &quot;preferences&quot;: { # Preferences.
443 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
444 },
445 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
446 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
447 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
448 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
449 # - &quot;chip&quot; - The gadget displays when the event is clicked.
450 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
451 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
452 },
453 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
454 &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.
455 &quot;creator&quot;: { # The creator of the event. Read-only.
456 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
457 &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
458 &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.
459 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
460 },
461 &quot;extendedProperties&quot;: { # Extended properties of the event.
462 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
463 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
464 },
465 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
466 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
467 },
468 },
469 &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.
470 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
471 &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.
472 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
473 &quot;addOnParameters&quot;: { # Additional add-on specific data.
474 &quot;parameters&quot;: {
475 &quot;a_key&quot;: &quot;A String&quot;,
476 },
477 },
478 },
479 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
480 # Unset for a conference with a failed create request.
481 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
482 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
483 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
484 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
485 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
486 # The possible values are:
487 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
488 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
489 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
490 # - &quot;addOn&quot; for 3P conference providers
491 },
492 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
493 },
494 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
495 # All of them must belong to the same conference.
496 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
497 {
498 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
499 # 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.
500 # Optional.
501 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
502 # Examples:
503 # - for video: meet.google.com/aaa-bbbb-ccc
504 # - for phone: +1 123 268 2601
505 # - for sip: 12345678@altostrat.com
506 # - for more: should not be filled
507 # Optional.
508 &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.
509 # Calendar backend will populate this field only for EntryPointType.PHONE.
510 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
511 # 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.
512 # Optional.
513 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
514 # Possible values are:
515 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
516 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
517 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
518 # - &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.
519 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
520 # 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.
521 # Optional.
522 &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.
523 &quot;A String&quot;,
524 ],
525 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
526 # Format:
527 # - for video, http: or https: schema is required.
528 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
529 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
530 # - for more, http: or https: schema is required.
531 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
532 # 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.
533 # Optional.
534 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
535 # 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.
536 },
537 ],
538 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
539 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
540 # Unset for a conference with a failed create request.
541 # Optional for a conference with a pending create request.
542 &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.
543 &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.
544 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
545 &quot;status&quot;: { # The status of the conference create request.
546 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
547 # The possible values are:
548 # - &quot;pending&quot;: the conference create request is still being processed.
549 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
550 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
551 },
552 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
553 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
554 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
555 # The possible values are:
556 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
557 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
558 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
559 # - &quot;addOn&quot; for 3P conference providers
560 },
561 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
562 # 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.
563 },
564 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
565 # Can be used by developers to keep track of conferences, should not be displayed to users.
566 # Values for solution types:
567 # - &quot;eventHangout&quot;: unset.
568 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
569 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
570 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
571 },
572 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
573 &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.
574 &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.
575 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
576 },
577 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
578 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
579 # - &quot;tentative&quot; - The event is tentatively confirmed.
580 # - &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.
581 # A cancelled status represents two different states depending on the event type:
582 # - 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.
583 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
584 # - 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.
585 # 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.
586 # 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.
587 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
588 &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.
589 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
590 &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.
591 &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.
592 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
593 },
594 &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.
595 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
596 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
597 },
598 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
599 # - &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.
600 # - &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.
601 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
602 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
603 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
604 &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.
605 {
606 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
607 # - &quot;email&quot; - Reminders are sent via email.
608 # - &quot;popup&quot; - Reminders are sent via a UI popup.
609 # Required when adding a reminder.
610 &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).
611 # Required when adding a reminder.
612 },
613 ],
614 },
615 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
616 &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.
617 &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.
618 &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.
619 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
620 },
621 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
622 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
623 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
624 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
625 # - &quot;private&quot; - The event is private and only event attendees may view event details.
626 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
627 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
628 # In order to modify attachments the supportsAttachments request parameter should be set to true.
629 # There can be at most 25 attachments per event,
630 {
631 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
632 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
633 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
634 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
635 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
636 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
637 # Required when adding an attachment.
638 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
639 },
640 ],
641 &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.
642 &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.
643 # 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.
644 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
645 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
646 {
647 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
648 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
649 # - &quot;declined&quot; - The attendee has declined the invitation.
650 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
651 # - &quot;accepted&quot; - The attendee has accepted the invitation.
652 &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.
653 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
654 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
655 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
656 &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.
657 # Required when adding an attendee.
658 &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
659 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
660 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
661 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
662 },
663 ],
664 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
665 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
666 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
667 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
668 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
669}
670
671 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.
672 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
673
674Returns:
675 An object of the form:
676
677 {
678 &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.
679 &quot;A String&quot;,
680 ],
681 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700682 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700683 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700684 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700685 &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
686 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700687 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700688 &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 -0700689 &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:
690 # - 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
691 # - the length of the ID must be between 5 and 1024 characters
692 # - 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.
693 # If you do not specify an ID, it will be automatically generated by the server.
694 # 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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700695 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700696 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700697 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
698 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
699 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
700 &quot;preferences&quot;: { # Preferences.
701 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
702 },
703 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
704 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
705 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
706 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
707 # - &quot;chip&quot; - The gadget displays when the event is clicked.
708 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
709 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
710 },
711 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
712 &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.
713 &quot;creator&quot;: { # The creator of the event. Read-only.
714 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
715 &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
716 &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.
717 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
718 },
719 &quot;extendedProperties&quot;: { # Extended properties of the event.
720 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
721 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
722 },
723 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
724 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
725 },
726 },
727 &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.
728 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
729 &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.
730 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
731 &quot;addOnParameters&quot;: { # Additional add-on specific data.
732 &quot;parameters&quot;: {
733 &quot;a_key&quot;: &quot;A String&quot;,
734 },
735 },
736 },
737 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
738 # Unset for a conference with a failed create request.
739 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
740 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
741 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
742 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
743 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
744 # The possible values are:
745 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
746 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
747 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
748 # - &quot;addOn&quot; for 3P conference providers
749 },
750 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
751 },
752 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
753 # All of them must belong to the same conference.
754 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
755 {
756 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
757 # 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.
758 # Optional.
759 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
760 # Examples:
761 # - for video: meet.google.com/aaa-bbbb-ccc
762 # - for phone: +1 123 268 2601
763 # - for sip: 12345678@altostrat.com
764 # - for more: should not be filled
765 # Optional.
766 &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.
767 # Calendar backend will populate this field only for EntryPointType.PHONE.
768 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
769 # 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.
770 # Optional.
771 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
772 # Possible values are:
773 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
774 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
775 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
776 # - &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.
777 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
778 # 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.
779 # Optional.
780 &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.
781 &quot;A String&quot;,
782 ],
783 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
784 # Format:
785 # - for video, http: or https: schema is required.
786 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
787 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
788 # - for more, http: or https: schema is required.
789 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
790 # 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.
791 # Optional.
792 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
793 # 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.
794 },
795 ],
796 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
797 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
798 # Unset for a conference with a failed create request.
799 # Optional for a conference with a pending create request.
800 &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.
801 &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.
802 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
803 &quot;status&quot;: { # The status of the conference create request.
804 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
805 # The possible values are:
806 # - &quot;pending&quot;: the conference create request is still being processed.
807 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
808 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
809 },
810 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
811 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
812 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
813 # The possible values are:
814 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
815 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
816 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
817 # - &quot;addOn&quot; for 3P conference providers
818 },
819 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
820 # 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.
821 },
822 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
823 # Can be used by developers to keep track of conferences, should not be displayed to users.
824 # Values for solution types:
825 # - &quot;eventHangout&quot;: unset.
826 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
827 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
828 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
829 },
830 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
831 &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.
832 &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.
833 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
834 },
835 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
836 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
837 # - &quot;tentative&quot; - The event is tentatively confirmed.
838 # - &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.
839 # A cancelled status represents two different states depending on the event type:
840 # - 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.
841 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
842 # - 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.
843 # 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.
844 # 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.
845 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
846 &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.
847 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
848 &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.
849 &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.
850 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
851 },
852 &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.
853 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
854 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
855 },
856 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
857 # - &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.
858 # - &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.
859 &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 -0700860 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700861 &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 -0700862 &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.
863 {
864 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
865 # - &quot;email&quot; - Reminders are sent via email.
866 # - &quot;popup&quot; - Reminders are sent via a UI popup.
867 # Required when adding a reminder.
868 &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).
869 # Required when adding a reminder.
870 },
871 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700872 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700873 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
874 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700875 &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 -0700876 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700877 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Bu Sun Kim65020912020-05-20 12:08:20 -0700878 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700879 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
880 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
881 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
882 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
883 # - &quot;private&quot; - The event is private and only event attendees may view event details.
884 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700885 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
886 # In order to modify attachments the supportsAttachments request parameter should be set to true.
887 # There can be at most 25 attachments per event,
888 {
889 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
890 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700891 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700892 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700893 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
894 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
895 # Required when adding an attachment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700896 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700897 },
898 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700899 &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.
900 &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.
901 # 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.
902 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
903 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
904 {
905 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
906 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
907 # - &quot;declined&quot; - The attendee has declined the invitation.
908 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
909 # - &quot;accepted&quot; - The attendee has accepted the invitation.
910 &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.
911 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
912 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
913 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
914 &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.
915 # Required when adding an attendee.
916 &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
917 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
918 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
919 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700920 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700921 ],
922 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
923 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
924 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
925 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
926 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
927 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700928</div>
John Asmuth614db982014-04-24 15:46:26 -0400929
Bu Sun Kim65020912020-05-20 12:08:20 -0700930<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700931 <code class="details" id="insert">insert(calendarId, body=None, supportsAttachments=None, sendUpdates=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700932 <pre>Creates an event.
933
934Args:
935 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)
936 body: object, The request body.
937 The object takes the form of:
938
939{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700940 &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.
941 &quot;A String&quot;,
942 ],
943 &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.
944 &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.
945 &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.
946 &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.
947 &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
948 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
949 },
950 &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.
951 &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:
952 # - 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
953 # - the length of the ID must be between 5 and 1024 characters
954 # - 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.
955 # If you do not specify an ID, it will be automatically generated by the server.
956 # 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.
957 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
958 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
959 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
960 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
961 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
962 &quot;preferences&quot;: { # Preferences.
963 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
964 },
965 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
966 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
967 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
968 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
969 # - &quot;chip&quot; - The gadget displays when the event is clicked.
970 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
971 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
972 },
973 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
974 &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.
975 &quot;creator&quot;: { # The creator of the event. Read-only.
976 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
977 &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
978 &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.
979 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
980 },
981 &quot;extendedProperties&quot;: { # Extended properties of the event.
982 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
983 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
984 },
985 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
986 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
987 },
988 },
989 &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.
990 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
991 &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.
992 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
993 &quot;addOnParameters&quot;: { # Additional add-on specific data.
994 &quot;parameters&quot;: {
995 &quot;a_key&quot;: &quot;A String&quot;,
996 },
997 },
998 },
999 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1000 # Unset for a conference with a failed create request.
1001 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1002 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1003 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1004 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1005 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1006 # The possible values are:
1007 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1008 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1009 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1010 # - &quot;addOn&quot; for 3P conference providers
1011 },
1012 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1013 },
1014 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1015 # All of them must belong to the same conference.
1016 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1017 {
1018 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1019 # 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.
1020 # Optional.
1021 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1022 # Examples:
1023 # - for video: meet.google.com/aaa-bbbb-ccc
1024 # - for phone: +1 123 268 2601
1025 # - for sip: 12345678@altostrat.com
1026 # - for more: should not be filled
1027 # Optional.
1028 &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.
1029 # Calendar backend will populate this field only for EntryPointType.PHONE.
1030 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1031 # 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.
1032 # Optional.
1033 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1034 # Possible values are:
1035 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1036 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1037 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1038 # - &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.
1039 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1040 # 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.
1041 # Optional.
1042 &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.
1043 &quot;A String&quot;,
1044 ],
1045 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1046 # Format:
1047 # - for video, http: or https: schema is required.
1048 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1049 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1050 # - for more, http: or https: schema is required.
1051 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1052 # 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.
1053 # Optional.
1054 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1055 # 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.
1056 },
1057 ],
1058 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1059 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1060 # Unset for a conference with a failed create request.
1061 # Optional for a conference with a pending create request.
1062 &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.
1063 &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.
1064 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1065 &quot;status&quot;: { # The status of the conference create request.
1066 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1067 # The possible values are:
1068 # - &quot;pending&quot;: the conference create request is still being processed.
1069 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1070 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1071 },
1072 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1073 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1074 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1075 # The possible values are:
1076 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1077 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1078 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1079 # - &quot;addOn&quot; for 3P conference providers
1080 },
1081 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1082 # 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.
1083 },
1084 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1085 # Can be used by developers to keep track of conferences, should not be displayed to users.
1086 # Values for solution types:
1087 # - &quot;eventHangout&quot;: unset.
1088 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1089 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1090 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1091 },
1092 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1093 &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.
1094 &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.
1095 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1096 },
1097 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1098 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1099 # - &quot;tentative&quot; - The event is tentatively confirmed.
1100 # - &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.
1101 # A cancelled status represents two different states depending on the event type:
1102 # - 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.
1103 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1104 # - 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.
1105 # 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.
1106 # 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.
1107 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1108 &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.
1109 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1110 &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.
1111 &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.
1112 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1113 },
1114 &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.
1115 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1116 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1117 },
1118 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1119 # - &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.
1120 # - &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.
1121 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1122 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1123 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1124 &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.
1125 {
1126 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1127 # - &quot;email&quot; - Reminders are sent via email.
1128 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1129 # Required when adding a reminder.
1130 &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).
1131 # Required when adding a reminder.
1132 },
1133 ],
1134 },
1135 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1136 &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.
1137 &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.
1138 &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.
1139 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1140 },
1141 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1142 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1143 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1144 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1145 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1146 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1147 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1148 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1149 # There can be at most 25 attachments per event,
1150 {
1151 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1152 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1153 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1154 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1155 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1156 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1157 # Required when adding an attachment.
1158 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1159 },
1160 ],
1161 &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.
1162 &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.
1163 # 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.
1164 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1165 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
1166 {
1167 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1168 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1169 # - &quot;declined&quot; - The attendee has declined the invitation.
1170 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1171 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1172 &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.
1173 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1174 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1175 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1176 &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.
1177 # Required when adding an attendee.
1178 &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
1179 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1180 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1181 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1182 },
1183 ],
1184 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1185 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1186 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1187 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1188 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1189}
1190
1191 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
1192 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.
1193 Allowed values
1194 all - Notifications are sent to all guests.
1195 externalOnly - Notifications are sent to non-Google Calendar guests only.
1196 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).
1197 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.
1198 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.
1199 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
1200
1201Whether 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.
1202
1203Returns:
1204 An object of the form:
1205
1206 {
1207 &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.
1208 &quot;A String&quot;,
1209 ],
1210 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001211 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001212 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001213 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001214 &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
1215 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07001216 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001217 &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 -07001218 &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:
1219 # - 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
1220 # - the length of the ID must be between 5 and 1024 characters
1221 # - 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.
1222 # If you do not specify an ID, it will be automatically generated by the server.
1223 # 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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001224 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001225 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001226 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1227 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1228 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1229 &quot;preferences&quot;: { # Preferences.
1230 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1231 },
1232 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1233 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1234 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1235 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1236 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1237 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1238 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1239 },
1240 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1241 &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.
1242 &quot;creator&quot;: { # The creator of the event. Read-only.
1243 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1244 &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
1245 &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.
1246 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1247 },
1248 &quot;extendedProperties&quot;: { # Extended properties of the event.
1249 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1250 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1251 },
1252 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1253 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1254 },
1255 },
1256 &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.
1257 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1258 &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.
1259 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1260 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1261 &quot;parameters&quot;: {
1262 &quot;a_key&quot;: &quot;A String&quot;,
1263 },
1264 },
1265 },
1266 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1267 # Unset for a conference with a failed create request.
1268 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1269 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1270 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1271 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1272 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1273 # The possible values are:
1274 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1275 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1276 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1277 # - &quot;addOn&quot; for 3P conference providers
1278 },
1279 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1280 },
1281 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1282 # All of them must belong to the same conference.
1283 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1284 {
1285 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1286 # 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.
1287 # Optional.
1288 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1289 # Examples:
1290 # - for video: meet.google.com/aaa-bbbb-ccc
1291 # - for phone: +1 123 268 2601
1292 # - for sip: 12345678@altostrat.com
1293 # - for more: should not be filled
1294 # Optional.
1295 &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.
1296 # Calendar backend will populate this field only for EntryPointType.PHONE.
1297 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1298 # 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.
1299 # Optional.
1300 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1301 # Possible values are:
1302 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1303 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1304 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1305 # - &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.
1306 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1307 # 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.
1308 # Optional.
1309 &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.
1310 &quot;A String&quot;,
1311 ],
1312 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1313 # Format:
1314 # - for video, http: or https: schema is required.
1315 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1316 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1317 # - for more, http: or https: schema is required.
1318 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1319 # 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.
1320 # Optional.
1321 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1322 # 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.
1323 },
1324 ],
1325 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1326 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1327 # Unset for a conference with a failed create request.
1328 # Optional for a conference with a pending create request.
1329 &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.
1330 &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.
1331 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1332 &quot;status&quot;: { # The status of the conference create request.
1333 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1334 # The possible values are:
1335 # - &quot;pending&quot;: the conference create request is still being processed.
1336 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1337 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1338 },
1339 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1340 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1341 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1342 # The possible values are:
1343 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1344 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1345 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1346 # - &quot;addOn&quot; for 3P conference providers
1347 },
1348 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1349 # 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.
1350 },
1351 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1352 # Can be used by developers to keep track of conferences, should not be displayed to users.
1353 # Values for solution types:
1354 # - &quot;eventHangout&quot;: unset.
1355 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1356 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1357 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1358 },
1359 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1360 &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.
1361 &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.
1362 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1363 },
1364 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1365 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1366 # - &quot;tentative&quot; - The event is tentatively confirmed.
1367 # - &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.
1368 # A cancelled status represents two different states depending on the event type:
1369 # - 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.
1370 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1371 # - 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.
1372 # 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.
1373 # 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.
1374 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1375 &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.
1376 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1377 &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.
1378 &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.
1379 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1380 },
1381 &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.
1382 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1383 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1384 },
1385 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1386 # - &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.
1387 # - &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.
1388 &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 -07001389 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001390 &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 -07001391 &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 -04001392 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001393 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1394 # - &quot;email&quot; - Reminders are sent via email.
1395 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1396 # Required when adding a reminder.
1397 &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).
1398 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04001399 },
1400 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001401 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001402 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1403 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001404 &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 -07001405 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001406 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Bu Sun Kim65020912020-05-20 12:08:20 -07001407 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001408 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1409 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1410 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1411 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1412 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1413 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001414 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1415 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1416 # There can be at most 25 attachments per event,
1417 {
1418 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1419 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001420 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001421 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001422 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1423 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1424 # Required when adding an attachment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001425 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001426 },
1427 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001428 &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.
1429 &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.
1430 # 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.
1431 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1432 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
1433 {
1434 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1435 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1436 # - &quot;declined&quot; - The attendee has declined the invitation.
1437 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1438 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1439 &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.
1440 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1441 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1442 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1443 &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.
1444 # Required when adding an attendee.
1445 &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
1446 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1447 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1448 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001449 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001450 ],
1451 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1452 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1453 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1454 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1455 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1456 }</pre>
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001457</div>
1458
1459<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001460 <code class="details" id="instances">instances(calendarId, eventId, timeZone=None, originalStart=None, timeMax=None, pageToken=None, alwaysIncludeEmail=None, timeMin=None, maxAttendees=None, maxResults=None, showDeleted=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001461 <pre>Returns instances of the specified recurring event.
1462
1463Args:
1464 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)
1465 eventId: string, Recurring event identifier. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001466 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 -07001467 originalStart: string, The original start time of the instance in the result. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001468 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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001469 pageToken: string, Token specifying which result page to return. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001470 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).
1471 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.
1472 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.
1473 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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001474 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.
1475
1476Returns:
1477 An object of the form:
1478
1479 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001480 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
1481 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001482 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001483 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1484 # - &quot;none&quot; - The user has no access.
1485 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1486 # - &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.
1487 # - &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.
1488 # - &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 -07001489 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001490 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
Bu Sun Kim65020912020-05-20 12:08:20 -07001491 &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 -04001492 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001493 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1494 # - &quot;email&quot; - Reminders are sent via email.
1495 # - &quot;popup&quot; - Reminders are sent via a UI popup.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001496 # Required when adding a reminder.
Bu Sun Kim65020912020-05-20 12:08:20 -07001497 &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 -07001498 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04001499 },
1500 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001501 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001502 &quot;items&quot;: [ # List of events on the calendar.
John Asmuth614db982014-04-24 15:46:26 -04001503 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001504 &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.
1505 &quot;A String&quot;,
1506 ],
1507 &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.
1508 &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.
1509 &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.
1510 &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.
1511 &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
1512 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07001513 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001514 &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.
1515 &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:
1516 # - 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
1517 # - the length of the ID must be between 5 and 1024 characters
1518 # - 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.
1519 # If you do not specify an ID, it will be automatically generated by the server.
1520 # 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.
1521 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1522 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1523 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1524 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1525 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1526 &quot;preferences&quot;: { # Preferences.
1527 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1528 },
1529 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1530 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1531 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1532 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1533 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1534 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1535 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1536 },
1537 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1538 &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.
1539 &quot;creator&quot;: { # The creator of the event. Read-only.
1540 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1541 &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
1542 &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.
1543 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1544 },
1545 &quot;extendedProperties&quot;: { # Extended properties of the event.
1546 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1547 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1548 },
1549 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1550 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1551 },
1552 },
1553 &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.
1554 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1555 &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.
1556 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1557 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1558 &quot;parameters&quot;: {
1559 &quot;a_key&quot;: &quot;A String&quot;,
1560 },
1561 },
1562 },
1563 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1564 # Unset for a conference with a failed create request.
1565 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1566 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1567 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1568 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1569 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1570 # The possible values are:
1571 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1572 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1573 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1574 # - &quot;addOn&quot; for 3P conference providers
1575 },
1576 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1577 },
1578 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1579 # All of them must belong to the same conference.
1580 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1581 {
1582 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1583 # 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.
1584 # Optional.
1585 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1586 # Examples:
1587 # - for video: meet.google.com/aaa-bbbb-ccc
1588 # - for phone: +1 123 268 2601
1589 # - for sip: 12345678@altostrat.com
1590 # - for more: should not be filled
1591 # Optional.
1592 &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.
1593 # Calendar backend will populate this field only for EntryPointType.PHONE.
1594 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1595 # 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.
1596 # Optional.
1597 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1598 # Possible values are:
1599 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1600 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1601 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1602 # - &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.
1603 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1604 # 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.
1605 # Optional.
1606 &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.
1607 &quot;A String&quot;,
1608 ],
1609 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1610 # Format:
1611 # - for video, http: or https: schema is required.
1612 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1613 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1614 # - for more, http: or https: schema is required.
1615 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1616 # 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.
1617 # Optional.
1618 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1619 # 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.
1620 },
1621 ],
1622 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1623 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1624 # Unset for a conference with a failed create request.
1625 # Optional for a conference with a pending create request.
1626 &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.
1627 &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.
1628 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1629 &quot;status&quot;: { # The status of the conference create request.
1630 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1631 # The possible values are:
1632 # - &quot;pending&quot;: the conference create request is still being processed.
1633 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1634 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1635 },
1636 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1637 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1638 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1639 # The possible values are:
1640 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1641 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1642 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1643 # - &quot;addOn&quot; for 3P conference providers
1644 },
1645 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1646 # 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.
1647 },
1648 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1649 # Can be used by developers to keep track of conferences, should not be displayed to users.
1650 # Values for solution types:
1651 # - &quot;eventHangout&quot;: unset.
1652 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1653 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1654 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1655 },
1656 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1657 &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.
1658 &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.
1659 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1660 },
1661 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1662 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1663 # - &quot;tentative&quot; - The event is tentatively confirmed.
1664 # - &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.
1665 # A cancelled status represents two different states depending on the event type:
1666 # - 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.
1667 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1668 # - 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.
1669 # 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.
1670 # 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.
1671 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1672 &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.
1673 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1674 &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.
1675 &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.
1676 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1677 },
1678 &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.
1679 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1680 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1681 },
1682 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1683 # - &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.
1684 # - &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.
1685 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1686 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1687 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1688 &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.
1689 {
1690 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1691 # - &quot;email&quot; - Reminders are sent via email.
1692 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1693 # Required when adding a reminder.
1694 &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).
1695 # Required when adding a reminder.
1696 },
1697 ],
1698 },
1699 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1700 &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.
1701 &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.
1702 &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.
1703 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1704 },
1705 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1706 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1707 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1708 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1709 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1710 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1711 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1712 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1713 # There can be at most 25 attachments per event,
1714 {
1715 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1716 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1717 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1718 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1719 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1720 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1721 # Required when adding an attachment.
1722 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1723 },
1724 ],
1725 &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.
1726 &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.
1727 # 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.
1728 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1729 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
1730 {
1731 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1732 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1733 # - &quot;declined&quot; - The attendee has declined the invitation.
1734 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1735 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1736 &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.
1737 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1738 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1739 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1740 &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.
1741 # Required when adding an attendee.
1742 &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
1743 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1744 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1745 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1746 },
1747 ],
1748 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1749 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1750 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1751 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1752 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1753 },
John Asmuth614db982014-04-24 15:46:26 -04001754 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001755 &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 -07001756 &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 -04001757 }</pre>
1758</div>
1759
1760<div class="method">
1761 <code class="details" id="instances_next">instances_next(previous_request, previous_response)</code>
1762 <pre>Retrieves the next page of results.
1763
1764Args:
1765 previous_request: The request for the previous page. (required)
1766 previous_response: The response from the request for the previous page. (required)
1767
1768Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001769 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04001770 page. Returns None if there are no more items in the collection.
1771 </pre>
1772</div>
1773
1774<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001775 <code class="details" id="list">list(calendarId, showDeleted=None, alwaysIncludeEmail=None, timeZone=None, maxResults=None, maxAttendees=None, timeMax=None, q=None, orderBy=None, iCalUID=None, privateExtendedProperty=None, sharedExtendedProperty=None, showHiddenInvitations=None, updatedMin=None, singleEvents=None, pageToken=None, syncToken=None, timeMin=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04001776 <pre>Returns events on the specified calendar.
1777
1778Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07001779 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)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001780 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.
1781 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 Kimd059ad82020-07-22 17:02:09 -07001782 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001783 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.
1784 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.
1785 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.
1786 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
John Asmuth614db982014-04-24 15:46:26 -04001787 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
1788 Allowed values
Craig Citro065b5302014-08-14 00:47:23 -07001789 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 -04001790 updated - Order by last modification time (ascending).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001791 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
1792 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)
1793 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)
1794 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
1795 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.
1796 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.
1797 pageToken: string, Token specifying which result page to return. Optional.
Craig Citro065b5302014-08-14 00:47:23 -07001798 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.
1799There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1800
1801These are:
1802- iCalUID
1803- orderBy
1804- privateExtendedProperty
1805- q
1806- sharedExtendedProperty
1807- timeMin
1808- timeMax
1809- 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.
1810Learn more about incremental synchronization.
1811Optional. The default is to return all entries.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001812 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 -04001813
1814Returns:
1815 An object of the form:
1816
1817 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001818 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
1819 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001820 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001821 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1822 # - &quot;none&quot; - The user has no access.
1823 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1824 # - &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.
1825 # - &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.
1826 # - &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 -07001827 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001828 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
Bu Sun Kim65020912020-05-20 12:08:20 -07001829 &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 -04001830 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001831 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1832 # - &quot;email&quot; - Reminders are sent via email.
1833 # - &quot;popup&quot; - Reminders are sent via a UI popup.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001834 # Required when adding a reminder.
Bu Sun Kim65020912020-05-20 12:08:20 -07001835 &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 -07001836 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04001837 },
1838 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001839 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
Bu Sun Kim65020912020-05-20 12:08:20 -07001840 &quot;items&quot;: [ # List of events on the calendar.
John Asmuth614db982014-04-24 15:46:26 -04001841 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001842 &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.
1843 &quot;A String&quot;,
1844 ],
1845 &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.
1846 &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.
1847 &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.
1848 &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.
1849 &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
1850 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07001851 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001852 &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.
1853 &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:
1854 # - 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
1855 # - the length of the ID must be between 5 and 1024 characters
1856 # - 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.
1857 # If you do not specify an ID, it will be automatically generated by the server.
1858 # 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.
1859 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1860 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1861 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1862 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1863 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1864 &quot;preferences&quot;: { # Preferences.
1865 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1866 },
1867 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1868 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1869 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1870 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1871 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1872 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1873 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1874 },
1875 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1876 &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.
1877 &quot;creator&quot;: { # The creator of the event. Read-only.
1878 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1879 &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
1880 &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.
1881 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1882 },
1883 &quot;extendedProperties&quot;: { # Extended properties of the event.
1884 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1885 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1886 },
1887 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1888 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1889 },
1890 },
1891 &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.
1892 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1893 &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.
1894 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1895 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1896 &quot;parameters&quot;: {
1897 &quot;a_key&quot;: &quot;A String&quot;,
1898 },
1899 },
1900 },
1901 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1902 # Unset for a conference with a failed create request.
1903 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1904 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1905 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1906 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1907 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1908 # The possible values are:
1909 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1910 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1911 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1912 # - &quot;addOn&quot; for 3P conference providers
1913 },
1914 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1915 },
1916 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1917 # All of them must belong to the same conference.
1918 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1919 {
1920 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1921 # 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.
1922 # Optional.
1923 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1924 # Examples:
1925 # - for video: meet.google.com/aaa-bbbb-ccc
1926 # - for phone: +1 123 268 2601
1927 # - for sip: 12345678@altostrat.com
1928 # - for more: should not be filled
1929 # Optional.
1930 &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.
1931 # Calendar backend will populate this field only for EntryPointType.PHONE.
1932 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1933 # 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.
1934 # Optional.
1935 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1936 # Possible values are:
1937 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1938 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1939 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1940 # - &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.
1941 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1942 # 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.
1943 # Optional.
1944 &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.
1945 &quot;A String&quot;,
1946 ],
1947 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1948 # Format:
1949 # - for video, http: or https: schema is required.
1950 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1951 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1952 # - for more, http: or https: schema is required.
1953 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1954 # 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.
1955 # Optional.
1956 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1957 # 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.
1958 },
1959 ],
1960 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1961 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1962 # Unset for a conference with a failed create request.
1963 # Optional for a conference with a pending create request.
1964 &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.
1965 &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.
1966 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1967 &quot;status&quot;: { # The status of the conference create request.
1968 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1969 # The possible values are:
1970 # - &quot;pending&quot;: the conference create request is still being processed.
1971 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1972 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1973 },
1974 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1975 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1976 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1977 # The possible values are:
1978 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1979 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
1980 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1981 # - &quot;addOn&quot; for 3P conference providers
1982 },
1983 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1984 # 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.
1985 },
1986 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1987 # Can be used by developers to keep track of conferences, should not be displayed to users.
1988 # Values for solution types:
1989 # - &quot;eventHangout&quot;: unset.
1990 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1991 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1992 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1993 },
1994 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1995 &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.
1996 &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.
1997 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1998 },
1999 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2000 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2001 # - &quot;tentative&quot; - The event is tentatively confirmed.
2002 # - &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.
2003 # A cancelled status represents two different states depending on the event type:
2004 # - 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.
2005 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2006 # - 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.
2007 # 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.
2008 # 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.
2009 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2010 &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.
2011 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2012 &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.
2013 &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.
2014 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2015 },
2016 &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.
2017 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2018 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2019 },
2020 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2021 # - &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.
2022 # - &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.
2023 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2024 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2025 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2026 &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.
2027 {
2028 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2029 # - &quot;email&quot; - Reminders are sent via email.
2030 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2031 # Required when adding a reminder.
2032 &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).
2033 # Required when adding a reminder.
2034 },
2035 ],
2036 },
2037 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2038 &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.
2039 &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.
2040 &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.
2041 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2042 },
2043 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2044 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2045 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2046 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2047 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2048 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2049 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2050 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2051 # There can be at most 25 attachments per event,
2052 {
2053 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2054 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2055 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2056 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2057 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2058 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2059 # Required when adding an attachment.
2060 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2061 },
2062 ],
2063 &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.
2064 &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.
2065 # 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.
2066 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2067 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
2068 {
2069 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2070 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2071 # - &quot;declined&quot; - The attendee has declined the invitation.
2072 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2073 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2074 &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.
2075 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2076 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2077 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2078 &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.
2079 # Required when adding an attendee.
2080 &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
2081 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2082 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2083 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2084 },
2085 ],
2086 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2087 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2088 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2089 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2090 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2091 },
John Asmuth614db982014-04-24 15:46:26 -04002092 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002093 &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 -07002094 &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 -04002095 }</pre>
2096</div>
2097
2098<div class="method">
2099 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
2100 <pre>Retrieves the next page of results.
2101
2102Args:
2103 previous_request: The request for the previous page. (required)
2104 previous_response: The response from the request for the previous page. (required)
2105
2106Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07002107 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04002108 page. Returns None if there are no more items in the collection.
2109 </pre>
2110</div>
2111
2112<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002113 <code class="details" id="move">move(calendarId, eventId, destination, sendUpdates=None, sendNotifications=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07002114 <pre>Moves an event to another calendar, i.e. changes an event&#x27;s organizer.
John Asmuth614db982014-04-24 15:46:26 -04002115
2116Args:
2117 calendarId: string, Calendar identifier of the source calendar where the event currently is on. (required)
2118 eventId: string, Event identifier. (required)
2119 destination: string, Calendar identifier of the target calendar where the event is to be moved to. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -07002120 sendUpdates: string, Guests who should receive notifications about the change of the event&#x27;s organizer.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002121 Allowed values
2122 all - Notifications are sent to all guests.
2123 externalOnly - Notifications are sent to non-Google Calendar guests only.
2124 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).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002125 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2126
2127Whether 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.
John Asmuth614db982014-04-24 15:46:26 -04002128
2129Returns:
2130 An object of the form:
2131
2132 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002133 &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.
2134 &quot;A String&quot;,
2135 ],
2136 &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.
2137 &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.
2138 &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.
2139 &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.
2140 &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
2141 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2142 },
2143 &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.
2144 &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:
2145 # - 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
2146 # - the length of the ID must be between 5 and 1024 characters
2147 # - 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.
2148 # If you do not specify an ID, it will be automatically generated by the server.
2149 # 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.
2150 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2151 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2152 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2153 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2154 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2155 &quot;preferences&quot;: { # Preferences.
2156 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Takashi Matsuo06694102015-09-11 13:55:40 -07002157 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002158 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2159 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2160 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2161 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2162 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2163 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2164 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2165 },
2166 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2167 &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.
2168 &quot;creator&quot;: { # The creator of the event. Read-only.
2169 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2170 &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
2171 &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.
2172 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2173 },
2174 &quot;extendedProperties&quot;: { # Extended properties of the event.
2175 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2176 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
John Asmuth614db982014-04-24 15:46:26 -04002177 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002178 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2179 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -07002180 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002181 },
2182 &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.
2183 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2184 &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.
2185 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2186 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2187 &quot;parameters&quot;: {
2188 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002189 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002190 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002191 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002192 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2193 # Unset for a conference with a failed create request.
2194 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2195 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2196 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2197 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2198 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2199 # The possible values are:
2200 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2201 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2202 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2203 # - &quot;addOn&quot; for 3P conference providers
2204 },
2205 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2206 },
2207 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2208 # All of them must belong to the same conference.
2209 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002210 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002211 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2212 # 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.
2213 # Optional.
2214 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2215 # Examples:
2216 # - for video: meet.google.com/aaa-bbbb-ccc
2217 # - for phone: +1 123 268 2601
2218 # - for sip: 12345678@altostrat.com
2219 # - for more: should not be filled
2220 # Optional.
2221 &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.
2222 # Calendar backend will populate this field only for EntryPointType.PHONE.
2223 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2224 # 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.
2225 # Optional.
2226 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2227 # Possible values are:
2228 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2229 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2230 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2231 # - &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.
2232 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2233 # 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.
2234 # Optional.
2235 &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.
2236 &quot;A String&quot;,
2237 ],
2238 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2239 # Format:
2240 # - for video, http: or https: schema is required.
2241 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2242 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2243 # - for more, http: or https: schema is required.
2244 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2245 # 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.
2246 # Optional.
2247 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2248 # 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002249 },
2250 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002251 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2252 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2253 # Unset for a conference with a failed create request.
2254 # Optional for a conference with a pending create request.
2255 &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.
2256 &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.
2257 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2258 &quot;status&quot;: { # The status of the conference create request.
2259 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2260 # The possible values are:
2261 # - &quot;pending&quot;: the conference create request is still being processed.
2262 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2263 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2264 },
2265 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2266 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2267 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2268 # The possible values are:
2269 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2270 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2271 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2272 # - &quot;addOn&quot; for 3P conference providers
2273 },
2274 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2275 # 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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002276 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002277 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2278 # Can be used by developers to keep track of conferences, should not be displayed to users.
2279 # Values for solution types:
2280 # - &quot;eventHangout&quot;: unset.
2281 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2282 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2283 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2284 },
2285 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2286 &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.
2287 &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.
2288 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2289 },
2290 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2291 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2292 # - &quot;tentative&quot; - The event is tentatively confirmed.
2293 # - &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.
2294 # A cancelled status represents two different states depending on the event type:
2295 # - 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.
2296 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2297 # - 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.
2298 # 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.
2299 # 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.
2300 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2301 &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.
2302 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2303 &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.
2304 &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.
2305 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2306 },
2307 &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.
2308 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2309 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2310 },
2311 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2312 # - &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.
2313 # - &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.
2314 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2315 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2316 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2317 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002318 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002319 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2320 # - &quot;email&quot; - Reminders are sent via email.
2321 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2322 # Required when adding a reminder.
2323 &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).
2324 # Required when adding a reminder.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002325 },
2326 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002327 },
2328 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2329 &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.
2330 &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.
2331 &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.
2332 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2333 },
2334 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2335 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2336 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2337 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2338 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2339 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2340 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2341 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2342 # There can be at most 25 attachments per event,
2343 {
2344 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2345 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2346 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2347 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2348 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2349 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2350 # Required when adding an attachment.
2351 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002352 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002353 ],
2354 &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.
2355 &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.
2356 # 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.
2357 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2358 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
2359 {
2360 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2361 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2362 # - &quot;declined&quot; - The attendee has declined the invitation.
2363 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2364 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2365 &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.
2366 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2367 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2368 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2369 &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.
2370 # Required when adding an attendee.
2371 &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
2372 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2373 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2374 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002375 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002376 ],
2377 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2378 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2379 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2380 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2381 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2382 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -07002383</div>
John Asmuth614db982014-04-24 15:46:26 -04002384
Bu Sun Kim65020912020-05-20 12:08:20 -07002385<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002386 <code class="details" id="patch">patch(calendarId, eventId, body=None, sendNotifications=None, maxAttendees=None, sendUpdates=None, supportsAttachments=None, conferenceDataVersion=None, alwaysIncludeEmail=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07002387 <pre>Updates an event. This method supports patch semantics.
2388
2389Args:
2390 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)
2391 eventId: string, Event identifier. (required)
2392 body: object, The request body.
2393 The object takes the form of:
2394
2395{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002396 &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.
2397 &quot;A String&quot;,
2398 ],
2399 &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.
2400 &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.
2401 &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.
2402 &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.
2403 &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
2404 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2405 },
2406 &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.
2407 &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:
2408 # - 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
2409 # - the length of the ID must be between 5 and 1024 characters
2410 # - 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.
2411 # If you do not specify an ID, it will be automatically generated by the server.
2412 # 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.
2413 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2414 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2415 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2416 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2417 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2418 &quot;preferences&quot;: { # Preferences.
2419 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2420 },
2421 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2422 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2423 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2424 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2425 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2426 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2427 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2428 },
2429 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2430 &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.
2431 &quot;creator&quot;: { # The creator of the event. Read-only.
2432 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2433 &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
2434 &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.
2435 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2436 },
2437 &quot;extendedProperties&quot;: { # Extended properties of the event.
2438 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2439 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2440 },
2441 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2442 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2443 },
2444 },
2445 &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.
2446 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2447 &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.
2448 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2449 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2450 &quot;parameters&quot;: {
2451 &quot;a_key&quot;: &quot;A String&quot;,
2452 },
2453 },
2454 },
2455 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2456 # Unset for a conference with a failed create request.
2457 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2458 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2459 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2460 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2461 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2462 # The possible values are:
2463 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2464 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2465 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2466 # - &quot;addOn&quot; for 3P conference providers
2467 },
2468 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2469 },
2470 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2471 # All of them must belong to the same conference.
2472 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2473 {
2474 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2475 # 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.
2476 # Optional.
2477 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2478 # Examples:
2479 # - for video: meet.google.com/aaa-bbbb-ccc
2480 # - for phone: +1 123 268 2601
2481 # - for sip: 12345678@altostrat.com
2482 # - for more: should not be filled
2483 # Optional.
2484 &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.
2485 # Calendar backend will populate this field only for EntryPointType.PHONE.
2486 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2487 # 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.
2488 # Optional.
2489 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2490 # Possible values are:
2491 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2492 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2493 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2494 # - &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.
2495 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2496 # 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.
2497 # Optional.
2498 &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.
2499 &quot;A String&quot;,
2500 ],
2501 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2502 # Format:
2503 # - for video, http: or https: schema is required.
2504 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2505 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2506 # - for more, http: or https: schema is required.
2507 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2508 # 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.
2509 # Optional.
2510 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2511 # 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.
2512 },
2513 ],
2514 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2515 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2516 # Unset for a conference with a failed create request.
2517 # Optional for a conference with a pending create request.
2518 &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.
2519 &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.
2520 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2521 &quot;status&quot;: { # The status of the conference create request.
2522 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2523 # The possible values are:
2524 # - &quot;pending&quot;: the conference create request is still being processed.
2525 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2526 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2527 },
2528 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2529 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2530 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2531 # The possible values are:
2532 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2533 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2534 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2535 # - &quot;addOn&quot; for 3P conference providers
2536 },
2537 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2538 # 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.
2539 },
2540 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2541 # Can be used by developers to keep track of conferences, should not be displayed to users.
2542 # Values for solution types:
2543 # - &quot;eventHangout&quot;: unset.
2544 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2545 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2546 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2547 },
2548 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2549 &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.
2550 &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.
2551 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2552 },
2553 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2554 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2555 # - &quot;tentative&quot; - The event is tentatively confirmed.
2556 # - &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.
2557 # A cancelled status represents two different states depending on the event type:
2558 # - 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.
2559 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2560 # - 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.
2561 # 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.
2562 # 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.
2563 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2564 &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.
2565 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2566 &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.
2567 &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.
2568 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2569 },
2570 &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.
2571 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2572 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2573 },
2574 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2575 # - &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.
2576 # - &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.
2577 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2578 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2579 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2580 &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.
2581 {
2582 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2583 # - &quot;email&quot; - Reminders are sent via email.
2584 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2585 # Required when adding a reminder.
2586 &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).
2587 # Required when adding a reminder.
2588 },
2589 ],
2590 },
2591 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2592 &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.
2593 &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.
2594 &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.
2595 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2596 },
2597 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2598 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2599 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2600 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2601 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2602 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2603 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2604 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2605 # There can be at most 25 attachments per event,
2606 {
2607 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2608 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2609 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2610 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2611 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2612 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2613 # Required when adding an attachment.
2614 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2615 },
2616 ],
2617 &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.
2618 &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.
2619 # 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.
2620 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2621 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
2622 {
2623 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2624 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2625 # - &quot;declined&quot; - The attendee has declined the invitation.
2626 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2627 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2628 &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.
2629 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2630 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2631 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2632 &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.
2633 # Required when adding an attendee.
2634 &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
2635 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2636 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2637 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2638 },
2639 ],
2640 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2641 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2642 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2643 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2644 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2645}
2646
2647 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2648
2649Whether 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.
2650 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.
2651 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
2652 Allowed values
2653 all - Notifications are sent to all guests.
2654 externalOnly - Notifications are sent to non-Google Calendar guests only.
2655 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).
2656 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
2657 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.
2658 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).
2659
2660Returns:
2661 An object of the form:
2662
2663 {
2664 &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.
2665 &quot;A String&quot;,
2666 ],
2667 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002668 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002669 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002670 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002671 &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
2672 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07002673 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002674 &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 Kimd059ad82020-07-22 17:02:09 -07002675 &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:
2676 # - 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
2677 # - the length of the ID must be between 5 and 1024 characters
2678 # - 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.
2679 # If you do not specify an ID, it will be automatically generated by the server.
2680 # 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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002681 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002682 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002683 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2684 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2685 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2686 &quot;preferences&quot;: { # Preferences.
2687 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2688 },
2689 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2690 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2691 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2692 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2693 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2694 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2695 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2696 },
2697 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2698 &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.
2699 &quot;creator&quot;: { # The creator of the event. Read-only.
2700 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2701 &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
2702 &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.
2703 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2704 },
2705 &quot;extendedProperties&quot;: { # Extended properties of the event.
2706 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2707 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2708 },
2709 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2710 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2711 },
2712 },
2713 &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.
2714 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2715 &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.
2716 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2717 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2718 &quot;parameters&quot;: {
2719 &quot;a_key&quot;: &quot;A String&quot;,
2720 },
2721 },
2722 },
2723 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2724 # Unset for a conference with a failed create request.
2725 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2726 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2727 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2728 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2729 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2730 # The possible values are:
2731 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2732 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2733 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2734 # - &quot;addOn&quot; for 3P conference providers
2735 },
2736 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2737 },
2738 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2739 # All of them must belong to the same conference.
2740 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2741 {
2742 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2743 # 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.
2744 # Optional.
2745 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2746 # Examples:
2747 # - for video: meet.google.com/aaa-bbbb-ccc
2748 # - for phone: +1 123 268 2601
2749 # - for sip: 12345678@altostrat.com
2750 # - for more: should not be filled
2751 # Optional.
2752 &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.
2753 # Calendar backend will populate this field only for EntryPointType.PHONE.
2754 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2755 # 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.
2756 # Optional.
2757 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2758 # Possible values are:
2759 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2760 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2761 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2762 # - &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.
2763 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2764 # 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.
2765 # Optional.
2766 &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.
2767 &quot;A String&quot;,
2768 ],
2769 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2770 # Format:
2771 # - for video, http: or https: schema is required.
2772 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2773 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2774 # - for more, http: or https: schema is required.
2775 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2776 # 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.
2777 # Optional.
2778 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2779 # 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.
2780 },
2781 ],
2782 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2783 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2784 # Unset for a conference with a failed create request.
2785 # Optional for a conference with a pending create request.
2786 &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.
2787 &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.
2788 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2789 &quot;status&quot;: { # The status of the conference create request.
2790 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2791 # The possible values are:
2792 # - &quot;pending&quot;: the conference create request is still being processed.
2793 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2794 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2795 },
2796 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2797 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2798 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2799 # The possible values are:
2800 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2801 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
2802 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2803 # - &quot;addOn&quot; for 3P conference providers
2804 },
2805 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2806 # 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.
2807 },
2808 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2809 # Can be used by developers to keep track of conferences, should not be displayed to users.
2810 # Values for solution types:
2811 # - &quot;eventHangout&quot;: unset.
2812 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2813 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2814 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2815 },
2816 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2817 &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.
2818 &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.
2819 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2820 },
2821 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2822 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2823 # - &quot;tentative&quot; - The event is tentatively confirmed.
2824 # - &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.
2825 # A cancelled status represents two different states depending on the event type:
2826 # - 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.
2827 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2828 # - 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.
2829 # 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.
2830 # 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.
2831 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2832 &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.
2833 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2834 &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.
2835 &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.
2836 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2837 },
2838 &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.
2839 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2840 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2841 },
2842 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2843 # - &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.
2844 # - &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.
2845 &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 Kimd059ad82020-07-22 17:02:09 -07002846 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2847 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2848 &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.
2849 {
2850 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2851 # - &quot;email&quot; - Reminders are sent via email.
2852 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2853 # Required when adding a reminder.
2854 &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).
2855 # Required when adding a reminder.
2856 },
2857 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002858 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002859 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2860 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002861 &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 Kimd059ad82020-07-22 17:02:09 -07002862 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002863 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002864 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002865 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2866 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2867 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2868 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2869 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2870 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002871 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2872 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2873 # There can be at most 25 attachments per event,
2874 {
2875 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2876 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002877 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002878 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002879 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2880 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2881 # Required when adding an attachment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002882 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002883 },
2884 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002885 &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.
2886 &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.
2887 # 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.
2888 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2889 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
2890 {
2891 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2892 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2893 # - &quot;declined&quot; - The attendee has declined the invitation.
2894 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2895 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2896 &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.
2897 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2898 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2899 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2900 &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.
2901 # Required when adding an attendee.
2902 &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
2903 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2904 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2905 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2906 },
2907 ],
2908 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2909 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2910 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2911 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2912 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2913 }</pre>
2914</div>
2915
2916<div class="method">
2917 <code class="details" id="quickAdd">quickAdd(calendarId, text, sendNotifications=None, sendUpdates=None)</code>
2918 <pre>Creates an event based on a simple text string.
2919
2920Args:
2921 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)
2922 text: string, The text describing the event to be created. (required)
2923 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2924
2925Whether 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.
2926 sendUpdates: string, Guests who should receive notifications about the creation of the new event.
2927 Allowed values
2928 all - Notifications are sent to all guests.
2929 externalOnly - Notifications are sent to non-Google Calendar guests only.
2930 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).
2931
2932Returns:
2933 An object of the form:
2934
2935 {
2936 &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.
2937 &quot;A String&quot;,
2938 ],
2939 &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.
2940 &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.
2941 &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.
2942 &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.
2943 &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
2944 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002945 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002946 &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.
2947 &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:
2948 # - 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
2949 # - the length of the ID must be between 5 and 1024 characters
2950 # - 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.
2951 # If you do not specify an ID, it will be automatically generated by the server.
2952 # 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.
2953 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2954 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2955 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2956 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2957 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2958 &quot;preferences&quot;: { # Preferences.
2959 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2960 },
2961 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2962 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2963 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2964 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2965 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2966 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2967 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2968 },
2969 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2970 &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.
2971 &quot;creator&quot;: { # The creator of the event. Read-only.
2972 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2973 &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
2974 &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.
2975 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002976 },
2977 &quot;extendedProperties&quot;: { # Extended properties of the event.
2978 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2979 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2980 },
2981 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2982 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2983 },
2984 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002985 &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.
2986 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002987 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002988 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2989 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2990 &quot;parameters&quot;: {
2991 &quot;a_key&quot;: &quot;A String&quot;,
2992 },
2993 },
2994 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002995 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2996 # Unset for a conference with a failed create request.
2997 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002998 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002999 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3000 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3001 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3002 # The possible values are:
3003 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3004 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3005 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3006 # - &quot;addOn&quot; for 3P conference providers
3007 },
3008 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003009 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003010 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3011 # All of them must belong to the same conference.
3012 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3013 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003014 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003015 # 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.
3016 # Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003017 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3018 # Examples:
3019 # - for video: meet.google.com/aaa-bbbb-ccc
3020 # - for phone: +1 123 268 2601
3021 # - for sip: 12345678@altostrat.com
3022 # - for more: should not be filled
3023 # Optional.
3024 &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.
3025 # Calendar backend will populate this field only for EntryPointType.PHONE.
3026 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003027 # 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.
3028 # Optional.
3029 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3030 # Possible values are:
3031 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3032 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3033 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3034 # - &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.
3035 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3036 # 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.
3037 # Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003038 &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.
3039 &quot;A String&quot;,
3040 ],
3041 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3042 # Format:
3043 # - for video, http: or https: schema is required.
3044 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3045 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3046 # - for more, http: or https: schema is required.
3047 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003048 # 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.
3049 # Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003050 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3051 # 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.
3052 },
3053 ],
3054 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3055 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3056 # Unset for a conference with a failed create request.
3057 # Optional for a conference with a pending create request.
3058 &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.
3059 &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.
3060 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3061 &quot;status&quot;: { # The status of the conference create request.
3062 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3063 # The possible values are:
3064 # - &quot;pending&quot;: the conference create request is still being processed.
3065 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3066 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3067 },
3068 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3069 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3070 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3071 # The possible values are:
3072 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3073 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3074 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3075 # - &quot;addOn&quot; for 3P conference providers
3076 },
3077 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3078 # 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.
3079 },
3080 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3081 # Can be used by developers to keep track of conferences, should not be displayed to users.
3082 # Values for solution types:
3083 # - &quot;eventHangout&quot;: unset.
3084 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3085 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3086 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3087 },
3088 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3089 &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.
3090 &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.
3091 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3092 },
3093 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3094 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3095 # - &quot;tentative&quot; - The event is tentatively confirmed.
3096 # - &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.
3097 # A cancelled status represents two different states depending on the event type:
3098 # - 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.
3099 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3100 # - 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.
3101 # 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.
3102 # 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.
3103 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3104 &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.
3105 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3106 &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.
3107 &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.
3108 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3109 },
3110 &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.
3111 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3112 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3113 },
3114 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3115 # - &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.
3116 # - &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.
3117 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3118 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3119 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3120 &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.
3121 {
3122 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3123 # - &quot;email&quot; - Reminders are sent via email.
3124 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3125 # Required when adding a reminder.
3126 &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).
3127 # Required when adding a reminder.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003128 },
3129 ],
3130 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003131 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3132 &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.
3133 &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.
3134 &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.
3135 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3136 },
3137 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3138 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3139 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3140 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3141 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3142 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3143 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3144 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3145 # There can be at most 25 attachments per event,
3146 {
3147 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3148 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3149 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3150 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3151 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3152 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3153 # Required when adding an attachment.
3154 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kim65020912020-05-20 12:08:20 -07003155 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003156 ],
3157 &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.
3158 &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.
3159 # 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.
3160 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3161 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
3162 {
3163 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3164 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3165 # - &quot;declined&quot; - The attendee has declined the invitation.
3166 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3167 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3168 &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.
3169 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3170 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3171 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3172 &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.
3173 # Required when adding an attendee.
3174 &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
3175 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3176 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3177 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003178 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003179 ],
3180 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3181 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3182 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3183 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3184 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3185 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04003186</div>
3187
3188<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003189 <code class="details" id="update">update(calendarId, eventId, body=None, sendUpdates=None, supportsAttachments=None, conferenceDataVersion=None, sendNotifications=None, maxAttendees=None, alwaysIncludeEmail=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07003190 <pre>Updates an event.
3191
3192Args:
3193 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)
3194 eventId: string, Event identifier. (required)
3195 body: object, The request body.
3196 The object takes the form of:
3197
3198{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003199 &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.
3200 &quot;A String&quot;,
3201 ],
3202 &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.
3203 &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.
3204 &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.
3205 &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.
3206 &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
3207 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3208 },
3209 &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.
3210 &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:
3211 # - 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
3212 # - the length of the ID must be between 5 and 1024 characters
3213 # - 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.
3214 # If you do not specify an ID, it will be automatically generated by the server.
3215 # 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.
3216 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3217 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3218 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3219 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3220 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3221 &quot;preferences&quot;: { # Preferences.
3222 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3223 },
3224 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3225 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3226 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3227 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3228 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3229 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3230 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3231 },
3232 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3233 &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.
3234 &quot;creator&quot;: { # The creator of the event. Read-only.
3235 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3236 &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
3237 &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.
3238 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3239 },
3240 &quot;extendedProperties&quot;: { # Extended properties of the event.
3241 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3242 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3243 },
3244 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3245 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3246 },
3247 },
3248 &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.
3249 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3250 &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.
3251 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3252 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3253 &quot;parameters&quot;: {
3254 &quot;a_key&quot;: &quot;A String&quot;,
3255 },
3256 },
3257 },
3258 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3259 # Unset for a conference with a failed create request.
3260 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3261 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3262 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3263 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3264 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3265 # The possible values are:
3266 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3267 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3268 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3269 # - &quot;addOn&quot; for 3P conference providers
3270 },
3271 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3272 },
3273 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3274 # All of them must belong to the same conference.
3275 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3276 {
3277 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3278 # 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.
3279 # Optional.
3280 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3281 # Examples:
3282 # - for video: meet.google.com/aaa-bbbb-ccc
3283 # - for phone: +1 123 268 2601
3284 # - for sip: 12345678@altostrat.com
3285 # - for more: should not be filled
3286 # Optional.
3287 &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.
3288 # Calendar backend will populate this field only for EntryPointType.PHONE.
3289 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3290 # 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.
3291 # Optional.
3292 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3293 # Possible values are:
3294 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3295 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3296 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3297 # - &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.
3298 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3299 # 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.
3300 # Optional.
3301 &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.
3302 &quot;A String&quot;,
3303 ],
3304 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3305 # Format:
3306 # - for video, http: or https: schema is required.
3307 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3308 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3309 # - for more, http: or https: schema is required.
3310 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3311 # 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.
3312 # Optional.
3313 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3314 # 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.
3315 },
3316 ],
3317 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3318 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3319 # Unset for a conference with a failed create request.
3320 # Optional for a conference with a pending create request.
3321 &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.
3322 &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.
3323 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3324 &quot;status&quot;: { # The status of the conference create request.
3325 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3326 # The possible values are:
3327 # - &quot;pending&quot;: the conference create request is still being processed.
3328 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3329 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3330 },
3331 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3332 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3333 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3334 # The possible values are:
3335 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3336 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3337 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3338 # - &quot;addOn&quot; for 3P conference providers
3339 },
3340 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3341 # 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.
3342 },
3343 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3344 # Can be used by developers to keep track of conferences, should not be displayed to users.
3345 # Values for solution types:
3346 # - &quot;eventHangout&quot;: unset.
3347 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3348 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3349 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3350 },
3351 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3352 &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.
3353 &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.
3354 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3355 },
3356 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3357 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3358 # - &quot;tentative&quot; - The event is tentatively confirmed.
3359 # - &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.
3360 # A cancelled status represents two different states depending on the event type:
3361 # - 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.
3362 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3363 # - 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.
3364 # 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.
3365 # 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.
3366 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3367 &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.
3368 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3369 &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.
3370 &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.
3371 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3372 },
3373 &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.
3374 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3375 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3376 },
3377 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3378 # - &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.
3379 # - &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.
3380 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3381 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3382 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3383 &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.
3384 {
3385 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3386 # - &quot;email&quot; - Reminders are sent via email.
3387 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3388 # Required when adding a reminder.
3389 &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).
3390 # Required when adding a reminder.
3391 },
3392 ],
3393 },
3394 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3395 &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.
3396 &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.
3397 &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.
3398 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3399 },
3400 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3401 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3402 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3403 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3404 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3405 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3406 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3407 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3408 # There can be at most 25 attachments per event,
3409 {
3410 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3411 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3412 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3413 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3414 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3415 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3416 # Required when adding an attachment.
3417 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3418 },
3419 ],
3420 &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.
3421 &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.
3422 # 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.
3423 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3424 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
3425 {
3426 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3427 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3428 # - &quot;declined&quot; - The attendee has declined the invitation.
3429 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3430 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3431 &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.
3432 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3433 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3434 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3435 &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.
3436 # Required when adding an attendee.
3437 &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
3438 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3439 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3440 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3441 },
3442 ],
3443 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3444 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3445 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3446 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3447 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3448}
3449
3450 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
3451 Allowed values
3452 all - Notifications are sent to all guests.
3453 externalOnly - Notifications are sent to non-Google Calendar guests only.
3454 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).
3455 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
3456 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.
3457 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
3458
3459Whether 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.
3460 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.
3461 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).
3462
3463Returns:
3464 An object of the form:
3465
3466 {
3467 &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.
3468 &quot;A String&quot;,
3469 ],
3470 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003471 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003472 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003473 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003474 &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
3475 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
Bu Sun Kim65020912020-05-20 12:08:20 -07003476 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003477 &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 -07003478 &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:
3479 # - 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
3480 # - the length of the ID must be between 5 and 1024 characters
3481 # - 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.
3482 # If you do not specify an ID, it will be automatically generated by the server.
3483 # 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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003484 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003485 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003486 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3487 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3488 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3489 &quot;preferences&quot;: { # Preferences.
3490 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3491 },
3492 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3493 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3494 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3495 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3496 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3497 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3498 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3499 },
3500 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3501 &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.
3502 &quot;creator&quot;: { # The creator of the event. Read-only.
3503 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3504 &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
3505 &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.
3506 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3507 },
3508 &quot;extendedProperties&quot;: { # Extended properties of the event.
3509 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3510 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3511 },
3512 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3513 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3514 },
3515 },
3516 &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.
3517 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3518 &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.
3519 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3520 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3521 &quot;parameters&quot;: {
3522 &quot;a_key&quot;: &quot;A String&quot;,
3523 },
3524 },
3525 },
3526 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3527 # Unset for a conference with a failed create request.
3528 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3529 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3530 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3531 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3532 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3533 # The possible values are:
3534 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3535 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3536 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3537 # - &quot;addOn&quot; for 3P conference providers
3538 },
3539 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3540 },
3541 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3542 # All of them must belong to the same conference.
3543 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3544 {
3545 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3546 # 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.
3547 # Optional.
3548 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3549 # Examples:
3550 # - for video: meet.google.com/aaa-bbbb-ccc
3551 # - for phone: +1 123 268 2601
3552 # - for sip: 12345678@altostrat.com
3553 # - for more: should not be filled
3554 # Optional.
3555 &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.
3556 # Calendar backend will populate this field only for EntryPointType.PHONE.
3557 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3558 # 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.
3559 # Optional.
3560 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3561 # Possible values are:
3562 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3563 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3564 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3565 # - &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.
3566 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3567 # 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.
3568 # Optional.
3569 &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.
3570 &quot;A String&quot;,
3571 ],
3572 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3573 # Format:
3574 # - for video, http: or https: schema is required.
3575 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3576 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3577 # - for more, http: or https: schema is required.
3578 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3579 # 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.
3580 # Optional.
3581 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3582 # 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.
3583 },
3584 ],
3585 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3586 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3587 # Unset for a conference with a failed create request.
3588 # Optional for a conference with a pending create request.
3589 &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.
3590 &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.
3591 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3592 &quot;status&quot;: { # The status of the conference create request.
3593 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3594 # The possible values are:
3595 # - &quot;pending&quot;: the conference create request is still being processed.
3596 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3597 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3598 },
3599 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3600 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3601 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3602 # The possible values are:
3603 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3604 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
3605 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3606 # - &quot;addOn&quot; for 3P conference providers
3607 },
3608 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3609 # 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.
3610 },
3611 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3612 # Can be used by developers to keep track of conferences, should not be displayed to users.
3613 # Values for solution types:
3614 # - &quot;eventHangout&quot;: unset.
3615 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3616 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3617 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3618 },
3619 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3620 &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.
3621 &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.
3622 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3623 },
3624 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3625 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3626 # - &quot;tentative&quot; - The event is tentatively confirmed.
3627 # - &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.
3628 # A cancelled status represents two different states depending on the event type:
3629 # - 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.
3630 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3631 # - 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.
3632 # 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.
3633 # 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.
3634 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3635 &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.
3636 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3637 &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.
3638 &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.
3639 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3640 },
3641 &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.
3642 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3643 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3644 },
3645 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3646 # - &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.
3647 # - &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.
3648 &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 -07003649 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003650 &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 -07003651 &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 -04003652 {
Bu Sun Kim65020912020-05-20 12:08:20 -07003653 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3654 # - &quot;email&quot; - Reminders are sent via email.
3655 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3656 # Required when adding a reminder.
3657 &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).
3658 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04003659 },
3660 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003661 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003662 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3663 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003664 &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 -07003665 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003666 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Bu Sun Kim65020912020-05-20 12:08:20 -07003667 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003668 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3669 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3670 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3671 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3672 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3673 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003674 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3675 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3676 # There can be at most 25 attachments per event,
3677 {
3678 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3679 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003680 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003681 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003682 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3683 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3684 # Required when adding an attachment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003685 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003686 },
3687 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003688 &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.
3689 &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.
3690 # 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.
3691 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3692 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
3693 {
3694 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3695 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3696 # - &quot;declined&quot; - The attendee has declined the invitation.
3697 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3698 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3699 &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.
3700 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3701 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3702 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3703 &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.
3704 # Required when adding an attendee.
3705 &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
3706 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3707 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3708 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003709 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003710 ],
3711 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3712 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3713 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3714 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3715 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3716 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04003717</div>
3718
3719<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003720 <code class="details" id="watch">watch(calendarId, body=None, showDeleted=None, updatedMin=None, maxAttendees=None, syncToken=None, orderBy=None, q=None, alwaysIncludeEmail=None, timeMin=None, singleEvents=None, maxResults=None, timeZone=None, sharedExtendedProperty=None, pageToken=None, iCalUID=None, timeMax=None, privateExtendedProperty=None, showHiddenInvitations=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04003721 <pre>Watch for changes to Events resources.
3722
3723Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07003724 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 -07003725 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -04003726 The object takes the form of:
3727
3728{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003729 &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 Kimd059ad82020-07-22 17:02:09 -07003730 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003731 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
3732 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
3733 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3734 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3735 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3736 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003737 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3738 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003739 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003740 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
John Asmuth614db982014-04-24 15:46:26 -04003741 }
3742
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003743 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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003744 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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003745 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.
Craig Citro065b5302014-08-14 00:47:23 -07003746 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.
3747There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
3748
3749These are:
3750- iCalUID
3751- orderBy
3752- privateExtendedProperty
3753- q
3754- sharedExtendedProperty
3755- timeMin
3756- timeMax
3757- 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.
3758Learn more about incremental synchronization.
3759Optional. The default is to return all entries.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003760 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
3761 Allowed values
3762 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
3763 updated - Order by last modification time (ascending).
3764 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003765 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).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003766 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.
3767 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.
3768 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.
3769 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
3770 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)
3771 pageToken: string, Token specifying which result page to return. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003772 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003773 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.
3774 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)
3775 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
John Asmuth614db982014-04-24 15:46:26 -04003776
3777Returns:
3778 An object of the form:
3779
3780 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003781 &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 Kimd059ad82020-07-22 17:02:09 -07003782 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003783 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
3784 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
3785 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3786 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3787 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3788 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003789 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3790 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003791 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003792 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
John Asmuth614db982014-04-24 15:46:26 -04003793 }</pre>
3794</div>
3795
3796</body></html>