blob: 8046400a7967f1272b0c86bb58e6f441e5c789fb [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 Kim673ec5c2020-11-16 11:05:03 -070081 <code><a href="#delete">delete(calendarId, eventId, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Deletes an event.</p>
83<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070084 <code><a href="#get">get(calendarId, eventId, alwaysIncludeEmail=None, timeZone=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070090 <code><a href="#insert">insert(calendarId, body=None, maxAttendees=None, supportsAttachments=None, sendUpdates=None, sendNotifications=None, conferenceDataVersion=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Creates an event.</p>
92<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070093 <code><a href="#instances">instances(calendarId, eventId, timeMax=None, maxResults=None, timeZone=None, maxAttendees=None, originalStart=None, pageToken=None, showDeleted=None, alwaysIncludeEmail=None, timeMin=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070099 <code><a href="#list">list(calendarId, privateExtendedProperty=None, updatedMin=None, showDeleted=None, timeZone=None, q=None, timeMin=None, orderBy=None, maxResults=None, sharedExtendedProperty=None, pageToken=None, maxAttendees=None, showHiddenInvitations=None, iCalUID=None, syncToken=None, timeMax=None, singleEvents=None, alwaysIncludeEmail=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700108 <code><a href="#patch">patch(calendarId, eventId, body=None, supportsAttachments=None, conferenceDataVersion=None, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None, sendUpdates=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700114 <code><a href="#update">update(calendarId, eventId, body=None, conferenceDataVersion=None, supportsAttachments=None, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400115<p class="firstline">Updates an event.</p>
116<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700117 <code><a href="#watch">watch(calendarId, body=None, iCalUID=None, showHiddenInvitations=None, timeZone=None, maxResults=None, singleEvents=None, syncToken=None, timeMin=None, alwaysIncludeEmail=None, orderBy=None, pageToken=None, privateExtendedProperty=None, updatedMin=None, timeMax=None, q=None, maxAttendees=None, showDeleted=None, sharedExtendedProperty=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 Kim673ec5c2020-11-16 11:05:03 -0700126 <code class="details" id="delete">delete(calendarId, eventId, sendNotifications=None, sendUpdates=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 Kim673ec5c2020-11-16 11:05:03 -0700132 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
133
134Whether 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700135 sendUpdates: string, Guests who should receive notifications about the deletion of the event.
136 Allowed values
137 all - Notifications are sent to all guests.
138 externalOnly - Notifications are sent to non-Google Calendar guests only.
139 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
John Asmuth614db982014-04-24 15:46:26 -0400140</pre>
141</div>
142
143<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700144 <code class="details" id="get">get(calendarId, eventId, alwaysIncludeEmail=None, timeZone=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)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700150 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 Kim673ec5c2020-11-16 11:05:03 -0700151 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 -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 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700158 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
159 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
160 &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.
161 {
162 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
163 # - &quot;email&quot; - Reminders are sent via email.
164 # - &quot;popup&quot; - Reminders are sent via a UI popup.
165 # Required when adding a reminder.
166 &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).
167 # Required when adding a reminder.
168 },
169 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700171 &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.
172 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
173 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
174 &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.
175 {
176 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
177 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
178 &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.
179 # Required when adding an attendee.
180 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
181 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
182 &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
183 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
184 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
185 # - &quot;declined&quot; - The attendee has declined the invitation.
186 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
187 # - &quot;accepted&quot; - The attendee has accepted the invitation.
188 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
189 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
190 &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.
191 },
192 ],
193 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
194 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
195 &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.
196 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700197 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700198 &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:
199 # - 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
200 # - the length of the ID must be between 5 and 1024 characters
201 # - 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.
202 # If you do not specify an ID, it will be automatically generated by the server.
203 # 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.
204 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
205 # - &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.
206 # - &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.
207 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
208 # In order to modify attachments the supportsAttachments request parameter should be set to true.
209 # There can be at most 25 attachments per event,
210 {
211 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
212 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
213 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
214 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
215 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
216 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
217 # Required when adding an attachment.
218 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
219 },
220 ],
221 &quot;extendedProperties&quot;: { # Extended properties of the event.
222 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
223 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
224 },
225 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
226 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
227 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700228 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700229 &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.
230 &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.
231 &quot;A String&quot;,
232 ],
233 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
234 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
235 &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.
236 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
237 &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.
238 &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.
239 &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
240 },
241 &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.
242 &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.
243 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
244 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
245 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
246 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
247 # The possible values are:
248 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
249 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
250 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
251 # - &quot;addOn&quot; for 3P conference providers
252 },
253 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
254 # 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.
255 &quot;status&quot;: { # The status of the conference create request.
256 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
257 # The possible values are:
258 # - &quot;pending&quot;: the conference create request is still being processed.
259 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
260 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
261 },
262 },
263 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
264 # Can be used by developers to keep track of conferences, should not be displayed to users.
265 # Values for solution types:
266 # - &quot;eventHangout&quot;: unset.
267 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
268 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
269 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
270 &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.
271 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
272 # Unset for a conference with a failed create request.
273 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
274 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
275 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
276 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
277 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
278 # The possible values are:
279 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
280 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
281 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
282 # - &quot;addOn&quot; for 3P conference providers
283 },
284 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
285 },
286 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
287 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
288 # Unset for a conference with a failed create request.
289 # Optional for a conference with a pending create request.
290 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
291 # All of them must belong to the same conference.
292 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
293 {
294 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
295 # Possible values are:
296 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
297 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
298 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
299 # - &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.
300 &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.
301 &quot;A String&quot;,
302 ],
303 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
304 # Examples:
305 # - for video: meet.google.com/aaa-bbbb-ccc
306 # - for phone: +1 123 268 2601
307 # - for sip: 12345678@altostrat.com
308 # - for more: should not be filled
309 # Optional.
310 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
311 # 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.
312 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
313 # Format:
314 # - for video, http: or https: schema is required.
315 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
316 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
317 # - for more, http: or https: schema is required.
318 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
319 # 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.
320 # Optional.
321 &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.
322 # Calendar backend will populate this field only for EntryPointType.PHONE.
323 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
324 # 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.
325 # Optional.
326 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
327 # 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.
328 # Optional.
329 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
330 # 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.
331 # Optional.
332 },
333 ],
334 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
335 &quot;addOnParameters&quot;: { # Additional add-on specific data.
336 &quot;parameters&quot;: {
337 &quot;a_key&quot;: &quot;A String&quot;,
338 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700339 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700340 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700341 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700342 &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.
343 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
344 &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.
345 &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 -0700346 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700347 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
348 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
349 # - &quot;tentative&quot; - The event is tentatively confirmed.
350 # - &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.
351 # A cancelled status represents two different states depending on the event type:
352 # - 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.
353 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
354 # - 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.
355 # 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.
356 # 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.
357 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
358 &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.
359 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
360 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
361 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
362 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
363 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
364 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
365 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
366 &quot;preferences&quot;: { # Preferences.
367 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Takashi Matsuo06694102015-09-11 13:55:40 -0700368 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700369 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
370 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
371 # - &quot;chip&quot; - The gadget displays when the event is clicked.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700372 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700373 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
374 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
375 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
376 # - &quot;private&quot; - The event is private and only event attendees may view event details.
377 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
378 &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.
379 &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.
380 &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.
381 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
382 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
383 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
384 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
385 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
386 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
387 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
388 &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.
389 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
390 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700391 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700392 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
393 &quot;creator&quot;: { # The creator of the event. Read-only.
394 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
395 &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.
396 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
397 &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
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700398 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700399 &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.
400 # 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.
401 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
402 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
403 &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.
404 &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.
405 },
406 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
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{
Bu Sun Kim65020912020-05-20 12:08:20 -0700420 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700421 &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 -0700422 &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.
423 {
424 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
425 # - &quot;email&quot; - Reminders are sent via email.
426 # - &quot;popup&quot; - Reminders are sent via a UI popup.
427 # Required when adding a reminder.
428 &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).
429 # Required when adding a reminder.
430 },
431 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700432 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700433 &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.
434 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
435 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
436 &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.
437 {
438 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
439 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
440 &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.
441 # Required when adding an attendee.
442 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
443 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
444 &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
445 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
446 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
447 # - &quot;declined&quot; - The attendee has declined the invitation.
448 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
449 # - &quot;accepted&quot; - The attendee has accepted the invitation.
450 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
451 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
452 &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.
453 },
454 ],
455 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
456 &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 -0700457 &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 -0700458 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700459 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700460 &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:
461 # - 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
462 # - the length of the ID must be between 5 and 1024 characters
463 # - 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.
464 # If you do not specify an ID, it will be automatically generated by the server.
465 # 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.
466 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
467 # - &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.
468 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700469 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
470 # In order to modify attachments the supportsAttachments request parameter should be set to true.
471 # There can be at most 25 attachments per event,
472 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700473 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700474 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700475 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
476 # 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 -0700477 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
478 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
479 # Required when adding an attachment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700480 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700481 },
482 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700483 &quot;extendedProperties&quot;: { # Extended properties of the event.
484 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
485 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
486 },
487 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
488 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
489 },
490 },
491 &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.
492 &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.
493 &quot;A String&quot;,
494 ],
495 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
496 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
497 &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.
498 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
499 &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.
500 &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.
501 &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
502 },
503 &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.
504 &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.
505 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
506 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
507 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
508 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
509 # The possible values are:
510 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
511 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
512 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
513 # - &quot;addOn&quot; for 3P conference providers
514 },
515 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
516 # 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.
517 &quot;status&quot;: { # The status of the conference create request.
518 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
519 # The possible values are:
520 # - &quot;pending&quot;: the conference create request is still being processed.
521 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
522 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
523 },
524 },
525 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
526 # Can be used by developers to keep track of conferences, should not be displayed to users.
527 # Values for solution types:
528 # - &quot;eventHangout&quot;: unset.
529 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
530 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
531 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
532 &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.
533 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
534 # Unset for a conference with a failed create request.
535 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
536 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
537 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
538 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
539 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
540 # The possible values are:
541 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
542 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
543 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
544 # - &quot;addOn&quot; for 3P conference providers
545 },
546 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
547 },
548 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
549 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
550 # Unset for a conference with a failed create request.
551 # Optional for a conference with a pending create request.
552 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
553 # All of them must belong to the same conference.
554 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
555 {
556 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
557 # Possible values are:
558 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
559 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
560 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
561 # - &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.
562 &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.
563 &quot;A String&quot;,
564 ],
565 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
566 # Examples:
567 # - for video: meet.google.com/aaa-bbbb-ccc
568 # - for phone: +1 123 268 2601
569 # - for sip: 12345678@altostrat.com
570 # - for more: should not be filled
571 # Optional.
572 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
573 # 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.
574 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
575 # Format:
576 # - for video, http: or https: schema is required.
577 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
578 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
579 # - for more, http: or https: schema is required.
580 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
581 # 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.
582 # Optional.
583 &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.
584 # Calendar backend will populate this field only for EntryPointType.PHONE.
585 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
586 # 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.
587 # Optional.
588 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
589 # 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.
590 # Optional.
591 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
592 # 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.
593 # Optional.
594 },
595 ],
596 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
597 &quot;addOnParameters&quot;: { # Additional add-on specific data.
598 &quot;parameters&quot;: {
599 &quot;a_key&quot;: &quot;A String&quot;,
600 },
601 },
602 },
603 },
604 &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.
605 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
606 &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.
607 &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.
608 },
609 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
610 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
611 # - &quot;tentative&quot; - The event is tentatively confirmed.
612 # - &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.
613 # A cancelled status represents two different states depending on the event type:
614 # - 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.
615 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
616 # - 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.
617 # 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.
618 # 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.
619 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
620 &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.
621 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
622 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
623 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
624 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
625 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
626 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
627 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
628 &quot;preferences&quot;: { # Preferences.
629 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
630 },
631 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
632 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
633 # - &quot;chip&quot; - The gadget displays when the event is clicked.
634 },
635 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
636 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
637 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
638 # - &quot;private&quot; - The event is private and only event attendees may view event details.
639 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
640 &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.
641 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700642 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700643 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
644 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
645 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
646 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
647 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
648 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
649 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
650 &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.
651 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
652 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
653 },
654 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
655 &quot;creator&quot;: { # The creator of the event. Read-only.
656 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
657 &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.
658 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
659 &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
660 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700661 &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.
662 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700663 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
664 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
665 &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.
666 &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.
667 },
668 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
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;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
679 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
680 &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.
681 {
682 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
683 # - &quot;email&quot; - Reminders are sent via email.
684 # - &quot;popup&quot; - Reminders are sent via a UI popup.
685 # Required when adding a reminder.
686 &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).
687 # Required when adding a reminder.
688 },
689 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700690 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700691 &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.
692 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
693 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
694 &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.
695 {
696 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
697 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
698 &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.
699 # Required when adding an attendee.
700 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
701 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
702 &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
703 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
704 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
705 # - &quot;declined&quot; - The attendee has declined the invitation.
706 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
707 # - &quot;accepted&quot; - The attendee has accepted the invitation.
708 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
709 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
710 &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.
711 },
712 ],
713 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
714 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
715 &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.
716 &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.
717 },
718 &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:
719 # - 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
720 # - the length of the ID must be between 5 and 1024 characters
721 # - 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.
722 # If you do not specify an ID, it will be automatically generated by the server.
723 # 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.
724 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
725 # - &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.
726 # - &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.
727 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
728 # In order to modify attachments the supportsAttachments request parameter should be set to true.
729 # There can be at most 25 attachments per event,
730 {
731 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
732 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
733 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
734 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
735 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
736 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
737 # Required when adding an attachment.
738 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
739 },
740 ],
741 &quot;extendedProperties&quot;: { # Extended properties of the event.
742 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
743 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
744 },
745 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
746 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
747 },
748 },
749 &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.
750 &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.
751 &quot;A String&quot;,
752 ],
753 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
754 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
755 &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.
756 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
757 &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.
758 &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.
759 &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
760 },
761 &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.
762 &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.
763 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
764 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
765 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
766 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
767 # The possible values are:
768 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
769 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
770 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
771 # - &quot;addOn&quot; for 3P conference providers
772 },
773 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
774 # 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.
775 &quot;status&quot;: { # The status of the conference create request.
776 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
777 # The possible values are:
778 # - &quot;pending&quot;: the conference create request is still being processed.
779 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
780 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
781 },
782 },
783 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
784 # Can be used by developers to keep track of conferences, should not be displayed to users.
785 # Values for solution types:
786 # - &quot;eventHangout&quot;: unset.
787 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
788 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
789 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
790 &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.
791 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
792 # Unset for a conference with a failed create request.
793 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
794 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
795 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
796 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
797 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
798 # The possible values are:
799 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
800 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
801 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
802 # - &quot;addOn&quot; for 3P conference providers
803 },
804 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
805 },
806 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
807 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
808 # Unset for a conference with a failed create request.
809 # Optional for a conference with a pending create request.
810 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
811 # All of them must belong to the same conference.
812 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
813 {
814 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
815 # Possible values are:
816 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
817 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
818 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
819 # - &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.
820 &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.
821 &quot;A String&quot;,
822 ],
823 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
824 # Examples:
825 # - for video: meet.google.com/aaa-bbbb-ccc
826 # - for phone: +1 123 268 2601
827 # - for sip: 12345678@altostrat.com
828 # - for more: should not be filled
829 # Optional.
830 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
831 # 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.
832 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
833 # Format:
834 # - for video, http: or https: schema is required.
835 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
836 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
837 # - for more, http: or https: schema is required.
838 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
839 # 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.
840 # Optional.
841 &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.
842 # Calendar backend will populate this field only for EntryPointType.PHONE.
843 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
844 # 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.
845 # Optional.
846 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
847 # 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.
848 # Optional.
849 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
850 # 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.
851 # Optional.
852 },
853 ],
854 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
855 &quot;addOnParameters&quot;: { # Additional add-on specific data.
856 &quot;parameters&quot;: {
857 &quot;a_key&quot;: &quot;A String&quot;,
858 },
859 },
860 },
861 },
862 &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.
863 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
864 &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.
865 &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.
866 },
867 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
868 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
869 # - &quot;tentative&quot; - The event is tentatively confirmed.
870 # - &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.
871 # A cancelled status represents two different states depending on the event type:
872 # - 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.
873 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
874 # - 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.
875 # 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.
876 # 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.
877 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
878 &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.
879 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
880 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
881 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
882 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
883 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
884 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
885 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
886 &quot;preferences&quot;: { # Preferences.
887 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
888 },
889 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
890 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
891 # - &quot;chip&quot; - The gadget displays when the event is clicked.
892 },
893 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
894 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
895 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
896 # - &quot;private&quot; - The event is private and only event attendees may view event details.
897 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
898 &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.
899 &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.
900 &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.
901 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
902 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
903 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
904 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
905 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
906 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
907 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
908 &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.
909 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
910 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
911 },
912 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
913 &quot;creator&quot;: { # The creator of the event. Read-only.
914 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
915 &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.
916 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
917 &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
918 },
919 &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.
920 # 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.
921 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
922 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
923 &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.
924 &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.
925 },
926 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700931 <code class="details" id="insert">insert(calendarId, body=None, maxAttendees=None, supportsAttachments=None, sendUpdates=None, sendNotifications=None, conferenceDataVersion=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{
Bu Sun Kim65020912020-05-20 12:08:20 -0700940 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700941 &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 -0700942 &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 -0400943 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700944 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
945 # - &quot;email&quot; - Reminders are sent via email.
946 # - &quot;popup&quot; - Reminders are sent via a UI popup.
947 # Required when adding a reminder.
948 &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).
949 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -0400950 },
951 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700952 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700953 &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.
954 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
955 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
956 &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.
957 {
958 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
959 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
960 &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.
961 # Required when adding an attendee.
962 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
963 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
964 &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
965 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
966 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
967 # - &quot;declined&quot; - The attendee has declined the invitation.
968 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
969 # - &quot;accepted&quot; - The attendee has accepted the invitation.
970 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
971 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
972 &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.
973 },
974 ],
975 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
976 &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 -0700977 &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 -0700978 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -0700979 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700980 &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:
981 # - 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
982 # - the length of the ID must be between 5 and 1024 characters
983 # - 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.
984 # If you do not specify an ID, it will be automatically generated by the server.
985 # 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.
986 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
987 # - &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.
988 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700989 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
990 # In order to modify attachments the supportsAttachments request parameter should be set to true.
991 # There can be at most 25 attachments per event,
992 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700993 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700994 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700995 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
996 # 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 -0700997 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
998 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
999 # Required when adding an attachment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001000 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001001 },
1002 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001003 &quot;extendedProperties&quot;: { # Extended properties of the event.
1004 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1005 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1006 },
1007 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1008 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1009 },
1010 },
1011 &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.
1012 &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.
1013 &quot;A String&quot;,
1014 ],
1015 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1016 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1017 &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.
1018 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1019 &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.
1020 &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.
1021 &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
1022 },
1023 &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.
1024 &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.
1025 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1026 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1027 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1028 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1029 # The possible values are:
1030 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1031 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1032 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1033 # - &quot;addOn&quot; for 3P conference providers
1034 },
1035 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1036 # 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.
1037 &quot;status&quot;: { # The status of the conference create request.
1038 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1039 # The possible values are:
1040 # - &quot;pending&quot;: the conference create request is still being processed.
1041 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1042 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1043 },
1044 },
1045 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1046 # Can be used by developers to keep track of conferences, should not be displayed to users.
1047 # Values for solution types:
1048 # - &quot;eventHangout&quot;: unset.
1049 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1050 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1051 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1052 &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.
1053 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1054 # Unset for a conference with a failed create request.
1055 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1056 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1057 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1058 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1059 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1060 # The possible values are:
1061 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1062 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1063 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1064 # - &quot;addOn&quot; for 3P conference providers
1065 },
1066 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1067 },
1068 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1069 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1070 # Unset for a conference with a failed create request.
1071 # Optional for a conference with a pending create request.
1072 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1073 # All of them must belong to the same conference.
1074 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1075 {
1076 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1077 # Possible values are:
1078 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1079 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1080 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1081 # - &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.
1082 &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.
1083 &quot;A String&quot;,
1084 ],
1085 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1086 # Examples:
1087 # - for video: meet.google.com/aaa-bbbb-ccc
1088 # - for phone: +1 123 268 2601
1089 # - for sip: 12345678@altostrat.com
1090 # - for more: should not be filled
1091 # Optional.
1092 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1093 # 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.
1094 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1095 # Format:
1096 # - for video, http: or https: schema is required.
1097 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1098 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1099 # - for more, http: or https: schema is required.
1100 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1101 # 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.
1102 # Optional.
1103 &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.
1104 # Calendar backend will populate this field only for EntryPointType.PHONE.
1105 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1106 # 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.
1107 # Optional.
1108 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1109 # 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.
1110 # Optional.
1111 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1112 # 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.
1113 # Optional.
1114 },
1115 ],
1116 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1117 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1118 &quot;parameters&quot;: {
1119 &quot;a_key&quot;: &quot;A String&quot;,
1120 },
1121 },
1122 },
1123 },
1124 &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.
1125 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1126 &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.
1127 &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.
1128 },
1129 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1130 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1131 # - &quot;tentative&quot; - The event is tentatively confirmed.
1132 # - &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.
1133 # A cancelled status represents two different states depending on the event type:
1134 # - 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.
1135 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1136 # - 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.
1137 # 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.
1138 # 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.
1139 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1140 &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.
1141 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1142 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1143 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1144 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1145 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1146 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1147 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1148 &quot;preferences&quot;: { # Preferences.
1149 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1150 },
1151 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1152 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1153 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1154 },
1155 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1156 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1157 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1158 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1159 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1160 &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.
1161 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001162 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001163 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1164 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1165 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1166 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1167 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1168 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1169 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1170 &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.
1171 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1172 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1173 },
1174 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1175 &quot;creator&quot;: { # The creator of the event. Read-only.
1176 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1177 &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.
1178 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1179 &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
1180 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001181 &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.
1182 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001183 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1184 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1185 &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.
1186 &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.
1187 },
1188 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1189 }
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001190
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001191 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001192 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
1193 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.
1194 Allowed values
1195 all - Notifications are sent to all guests.
1196 externalOnly - Notifications are sent to non-Google Calendar guests only.
1197 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).
1198 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
1199
1200Whether 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.
1201 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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001202
1203Returns:
1204 An object of the form:
1205
1206 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001207 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1208 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1209 &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.
1210 {
1211 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1212 # - &quot;email&quot; - Reminders are sent via email.
1213 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1214 # Required when adding a reminder.
1215 &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).
1216 # Required when adding a reminder.
1217 },
1218 ],
1219 },
1220 &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.
1221 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1222 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1223 &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.
1224 {
1225 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1226 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1227 &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.
1228 # Required when adding an attendee.
1229 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1230 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1231 &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
1232 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1233 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1234 # - &quot;declined&quot; - The attendee has declined the invitation.
1235 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1236 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1237 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1238 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1239 &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.
1240 },
1241 ],
1242 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1243 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1244 &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.
1245 &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.
1246 },
1247 &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:
1248 # - 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
1249 # - the length of the ID must be between 5 and 1024 characters
1250 # - 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.
1251 # If you do not specify an ID, it will be automatically generated by the server.
1252 # 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.
1253 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1254 # - &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.
1255 # - &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.
1256 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1257 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1258 # There can be at most 25 attachments per event,
1259 {
1260 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1261 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1262 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1263 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1264 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1265 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1266 # Required when adding an attachment.
1267 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1268 },
1269 ],
1270 &quot;extendedProperties&quot;: { # Extended properties of the event.
1271 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1272 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1273 },
1274 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1275 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1276 },
1277 },
1278 &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.
1279 &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.
1280 &quot;A String&quot;,
1281 ],
1282 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1283 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1284 &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.
1285 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1286 &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.
1287 &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.
1288 &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
1289 },
1290 &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.
1291 &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.
1292 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1293 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1294 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1295 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1296 # The possible values are:
1297 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1298 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1299 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1300 # - &quot;addOn&quot; for 3P conference providers
1301 },
1302 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1303 # 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.
1304 &quot;status&quot;: { # The status of the conference create request.
1305 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1306 # The possible values are:
1307 # - &quot;pending&quot;: the conference create request is still being processed.
1308 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1309 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1310 },
1311 },
1312 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1313 # Can be used by developers to keep track of conferences, should not be displayed to users.
1314 # Values for solution types:
1315 # - &quot;eventHangout&quot;: unset.
1316 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1317 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1318 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1319 &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.
1320 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1321 # Unset for a conference with a failed create request.
1322 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1323 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1324 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1325 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1326 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1327 # The possible values are:
1328 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1329 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1330 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1331 # - &quot;addOn&quot; for 3P conference providers
1332 },
1333 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1334 },
1335 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1336 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1337 # Unset for a conference with a failed create request.
1338 # Optional for a conference with a pending create request.
1339 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1340 # All of them must belong to the same conference.
1341 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1342 {
1343 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1344 # Possible values are:
1345 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1346 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1347 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1348 # - &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.
1349 &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.
1350 &quot;A String&quot;,
1351 ],
1352 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1353 # Examples:
1354 # - for video: meet.google.com/aaa-bbbb-ccc
1355 # - for phone: +1 123 268 2601
1356 # - for sip: 12345678@altostrat.com
1357 # - for more: should not be filled
1358 # Optional.
1359 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1360 # 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.
1361 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1362 # Format:
1363 # - for video, http: or https: schema is required.
1364 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1365 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1366 # - for more, http: or https: schema is required.
1367 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1368 # 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.
1369 # Optional.
1370 &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.
1371 # Calendar backend will populate this field only for EntryPointType.PHONE.
1372 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1373 # 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.
1374 # Optional.
1375 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1376 # 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.
1377 # Optional.
1378 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1379 # 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.
1380 # Optional.
1381 },
1382 ],
1383 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1384 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1385 &quot;parameters&quot;: {
1386 &quot;a_key&quot;: &quot;A String&quot;,
1387 },
1388 },
1389 },
1390 },
1391 &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.
1392 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1393 &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.
1394 &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.
1395 },
1396 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1397 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1398 # - &quot;tentative&quot; - The event is tentatively confirmed.
1399 # - &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.
1400 # A cancelled status represents two different states depending on the event type:
1401 # - 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.
1402 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1403 # - 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.
1404 # 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.
1405 # 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.
1406 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1407 &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.
1408 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1409 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1410 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1411 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1412 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1413 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1414 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1415 &quot;preferences&quot;: { # Preferences.
1416 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1417 },
1418 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1419 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1420 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1421 },
1422 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1423 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1424 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1425 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1426 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1427 &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.
1428 &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.
1429 &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.
1430 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1431 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1432 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1433 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1434 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1435 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1436 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1437 &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.
1438 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1439 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1440 },
1441 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1442 &quot;creator&quot;: { # The creator of the event. Read-only.
1443 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1444 &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.
1445 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1446 &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
1447 },
1448 &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.
1449 # 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.
1450 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1451 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1452 &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.
1453 &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.
1454 },
1455 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1456 }</pre>
1457</div>
1458
1459<div class="method">
1460 <code class="details" id="instances">instances(calendarId, eventId, timeMax=None, maxResults=None, timeZone=None, maxAttendees=None, originalStart=None, pageToken=None, showDeleted=None, alwaysIncludeEmail=None, timeMin=None)</code>
1461 <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)
1466 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.
1467 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.
1468 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
1469 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.
1470 originalStart: string, The original start time of the instance in the result. Optional.
1471 pageToken: string, Token specifying which result page to return. Optional.
1472 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.
1473 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).
1474 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.
1475
1476Returns:
1477 An object of the form:
1478
1479 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001480 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001481 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1482 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1483 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
1484 &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 Kim65020912020-05-20 12:08:20 -07001485 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1486 # - &quot;none&quot; - The user has no access.
1487 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1488 # - &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.
1489 # - &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.
1490 # - &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 Kim673ec5c2020-11-16 11:05:03 -07001491 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
1492 &quot;items&quot;: [ # List of events on the calendar.
1493 {
1494 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1495 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1496 &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.
1497 {
1498 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1499 # - &quot;email&quot; - Reminders are sent via email.
1500 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1501 # Required when adding a reminder.
1502 &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).
1503 # Required when adding a reminder.
1504 },
1505 ],
1506 },
1507 &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.
1508 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1509 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1510 &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.
1511 {
1512 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1513 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1514 &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.
1515 # Required when adding an attendee.
1516 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1517 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1518 &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
1519 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1520 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1521 # - &quot;declined&quot; - The attendee has declined the invitation.
1522 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1523 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1524 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1525 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1526 &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.
1527 },
1528 ],
1529 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1530 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1531 &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.
1532 &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.
1533 },
1534 &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:
1535 # - 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
1536 # - the length of the ID must be between 5 and 1024 characters
1537 # - 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.
1538 # If you do not specify an ID, it will be automatically generated by the server.
1539 # 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.
1540 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1541 # - &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.
1542 # - &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.
1543 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1544 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1545 # There can be at most 25 attachments per event,
1546 {
1547 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1548 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1549 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1550 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1551 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1552 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1553 # Required when adding an attachment.
1554 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1555 },
1556 ],
1557 &quot;extendedProperties&quot;: { # Extended properties of the event.
1558 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1559 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1560 },
1561 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1562 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1563 },
1564 },
1565 &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.
1566 &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.
1567 &quot;A String&quot;,
1568 ],
1569 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1570 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1571 &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.
1572 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1573 &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.
1574 &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.
1575 &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
1576 },
1577 &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.
1578 &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.
1579 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1580 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1581 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1582 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1583 # The possible values are:
1584 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1585 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1586 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1587 # - &quot;addOn&quot; for 3P conference providers
1588 },
1589 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1590 # 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.
1591 &quot;status&quot;: { # The status of the conference create request.
1592 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1593 # The possible values are:
1594 # - &quot;pending&quot;: the conference create request is still being processed.
1595 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1596 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1597 },
1598 },
1599 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1600 # Can be used by developers to keep track of conferences, should not be displayed to users.
1601 # Values for solution types:
1602 # - &quot;eventHangout&quot;: unset.
1603 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1604 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1605 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1606 &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.
1607 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1608 # Unset for a conference with a failed create request.
1609 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1610 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1611 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1612 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1613 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1614 # The possible values are:
1615 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1616 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1617 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1618 # - &quot;addOn&quot; for 3P conference providers
1619 },
1620 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
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;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1627 # All of them must belong to the same conference.
1628 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1629 {
1630 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1631 # Possible values are:
1632 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1633 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1634 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1635 # - &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.
1636 &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.
1637 &quot;A String&quot;,
1638 ],
1639 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1640 # Examples:
1641 # - for video: meet.google.com/aaa-bbbb-ccc
1642 # - for phone: +1 123 268 2601
1643 # - for sip: 12345678@altostrat.com
1644 # - for more: should not be filled
1645 # Optional.
1646 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1647 # 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.
1648 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1649 # Format:
1650 # - for video, http: or https: schema is required.
1651 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1652 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1653 # - for more, http: or https: schema is required.
1654 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1655 # 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.
1656 # Optional.
1657 &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.
1658 # Calendar backend will populate this field only for EntryPointType.PHONE.
1659 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1660 # 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.
1661 # Optional.
1662 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1663 # 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.
1664 # Optional.
1665 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1666 # 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.
1667 # Optional.
1668 },
1669 ],
1670 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1671 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1672 &quot;parameters&quot;: {
1673 &quot;a_key&quot;: &quot;A String&quot;,
1674 },
1675 },
1676 },
1677 },
1678 &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.
1679 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1680 &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.
1681 &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.
1682 },
1683 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1684 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1685 # - &quot;tentative&quot; - The event is tentatively confirmed.
1686 # - &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.
1687 # A cancelled status represents two different states depending on the event type:
1688 # - 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.
1689 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1690 # - 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.
1691 # 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.
1692 # 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.
1693 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1694 &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.
1695 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1696 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1697 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1698 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1699 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1700 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1701 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1702 &quot;preferences&quot;: { # Preferences.
1703 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1704 },
1705 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1706 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1707 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1708 },
1709 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1710 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1711 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1712 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1713 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1714 &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.
1715 &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.
1716 &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.
1717 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1718 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1719 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1720 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1721 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1722 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1723 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1724 &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.
1725 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1726 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1727 },
1728 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1729 &quot;creator&quot;: { # The creator of the event. Read-only.
1730 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1731 &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.
1732 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1733 &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
1734 },
1735 &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.
1736 # 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.
1737 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1738 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1739 &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.
1740 &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.
1741 },
1742 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1743 },
1744 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001745 &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 -04001746 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001747 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1748 # - &quot;email&quot; - Reminders are sent via email.
1749 # - &quot;popup&quot; - Reminders are sent via a UI popup.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001750 # Required when adding a reminder.
Bu Sun Kim65020912020-05-20 12:08:20 -07001751 &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 -07001752 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04001753 },
1754 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001755 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001756 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001775 <code class="details" id="list">list(calendarId, privateExtendedProperty=None, updatedMin=None, showDeleted=None, timeZone=None, q=None, timeMin=None, orderBy=None, maxResults=None, sharedExtendedProperty=None, pageToken=None, maxAttendees=None, showHiddenInvitations=None, iCalUID=None, syncToken=None, timeMax=None, singleEvents=None, alwaysIncludeEmail=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)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001780 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)
1781 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 -07001782 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 -07001783 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 -07001784 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001785 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 -04001786 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
1787 Allowed values
Craig Citro065b5302014-08-14 00:47:23 -07001788 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 -04001789 updated - Order by last modification time (ascending).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001790 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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001791 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)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001792 pageToken: string, Token specifying which result page to return. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001793 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.
1794 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
1795 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
Craig Citro065b5302014-08-14 00:47:23 -07001796 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.
1797There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1798
1799These are:
1800- iCalUID
1801- orderBy
1802- privateExtendedProperty
1803- q
1804- sharedExtendedProperty
1805- timeMin
1806- timeMax
1807- 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.
1808Learn more about incremental synchronization.
1809Optional. The default is to return all entries.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001810 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.
1811 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.
1812 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).
John Asmuth614db982014-04-24 15:46:26 -04001813
1814Returns:
1815 An object of the form:
1816
1817 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001818 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001819 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1820 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1821 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
1822 &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 Kim65020912020-05-20 12:08:20 -07001823 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1824 # - &quot;none&quot; - The user has no access.
1825 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1826 # - &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.
1827 # - &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.
1828 # - &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 Kim673ec5c2020-11-16 11:05:03 -07001829 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
1830 &quot;items&quot;: [ # List of events on the calendar.
1831 {
1832 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1833 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1834 &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.
1835 {
1836 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1837 # - &quot;email&quot; - Reminders are sent via email.
1838 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1839 # Required when adding a reminder.
1840 &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).
1841 # Required when adding a reminder.
1842 },
1843 ],
1844 },
1845 &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.
1846 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1847 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1848 &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.
1849 {
1850 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1851 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1852 &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.
1853 # Required when adding an attendee.
1854 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1855 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1856 &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
1857 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1858 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1859 # - &quot;declined&quot; - The attendee has declined the invitation.
1860 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1861 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1862 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1863 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1864 &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.
1865 },
1866 ],
1867 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1868 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1869 &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.
1870 &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.
1871 },
1872 &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:
1873 # - 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
1874 # - the length of the ID must be between 5 and 1024 characters
1875 # - 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.
1876 # If you do not specify an ID, it will be automatically generated by the server.
1877 # 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.
1878 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1879 # - &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.
1880 # - &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.
1881 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1882 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1883 # There can be at most 25 attachments per event,
1884 {
1885 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1886 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1887 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1888 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1889 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1890 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1891 # Required when adding an attachment.
1892 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1893 },
1894 ],
1895 &quot;extendedProperties&quot;: { # Extended properties of the event.
1896 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1897 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1898 },
1899 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1900 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1901 },
1902 },
1903 &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.
1904 &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.
1905 &quot;A String&quot;,
1906 ],
1907 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1908 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1909 &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.
1910 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1911 &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.
1912 &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.
1913 &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
1914 },
1915 &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.
1916 &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.
1917 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1918 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1919 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1920 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1921 # The possible values are:
1922 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1923 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1924 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1925 # - &quot;addOn&quot; for 3P conference providers
1926 },
1927 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1928 # 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.
1929 &quot;status&quot;: { # The status of the conference create request.
1930 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1931 # The possible values are:
1932 # - &quot;pending&quot;: the conference create request is still being processed.
1933 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1934 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1935 },
1936 },
1937 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1938 # Can be used by developers to keep track of conferences, should not be displayed to users.
1939 # Values for solution types:
1940 # - &quot;eventHangout&quot;: unset.
1941 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1942 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1943 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1944 &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.
1945 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1946 # Unset for a conference with a failed create request.
1947 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1948 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1949 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1950 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1951 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1952 # The possible values are:
1953 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1954 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1955 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1956 # - &quot;addOn&quot; for 3P conference providers
1957 },
1958 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
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;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1965 # All of them must belong to the same conference.
1966 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1967 {
1968 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1969 # Possible values are:
1970 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1971 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1972 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1973 # - &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.
1974 &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.
1975 &quot;A String&quot;,
1976 ],
1977 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1978 # Examples:
1979 # - for video: meet.google.com/aaa-bbbb-ccc
1980 # - for phone: +1 123 268 2601
1981 # - for sip: 12345678@altostrat.com
1982 # - for more: should not be filled
1983 # Optional.
1984 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1985 # 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.
1986 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1987 # Format:
1988 # - for video, http: or https: schema is required.
1989 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1990 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1991 # - for more, http: or https: schema is required.
1992 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1993 # 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.
1994 # Optional.
1995 &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.
1996 # Calendar backend will populate this field only for EntryPointType.PHONE.
1997 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1998 # 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.
1999 # Optional.
2000 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2001 # 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.
2002 # Optional.
2003 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2004 # 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.
2005 # Optional.
2006 },
2007 ],
2008 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2009 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2010 &quot;parameters&quot;: {
2011 &quot;a_key&quot;: &quot;A String&quot;,
2012 },
2013 },
2014 },
2015 },
2016 &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.
2017 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2018 &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.
2019 &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.
2020 },
2021 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2022 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2023 # - &quot;tentative&quot; - The event is tentatively confirmed.
2024 # - &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.
2025 # A cancelled status represents two different states depending on the event type:
2026 # - 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.
2027 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2028 # - 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.
2029 # 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.
2030 # 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.
2031 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2032 &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.
2033 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2034 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2035 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2036 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2037 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2038 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2039 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2040 &quot;preferences&quot;: { # Preferences.
2041 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2042 },
2043 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2044 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2045 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2046 },
2047 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2048 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2049 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2050 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2051 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2052 &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.
2053 &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.
2054 &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.
2055 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2056 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2057 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2058 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2059 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2060 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2061 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2062 &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.
2063 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2064 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2065 },
2066 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2067 &quot;creator&quot;: { # The creator of the event. Read-only.
2068 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2069 &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.
2070 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2071 &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
2072 },
2073 &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.
2074 # 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.
2075 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2076 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2077 &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.
2078 &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.
2079 },
2080 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2081 },
2082 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002083 &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 -04002084 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002085 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2086 # - &quot;email&quot; - Reminders are sent via email.
2087 # - &quot;popup&quot; - Reminders are sent via a UI popup.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002088 # Required when adding a reminder.
Bu Sun Kim65020912020-05-20 12:08:20 -07002089 &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 -07002090 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04002091 },
2092 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002093 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002094 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
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 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002133 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2134 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2135 &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.
2136 {
2137 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2138 # - &quot;email&quot; - Reminders are sent via email.
2139 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2140 # Required when adding a reminder.
2141 &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).
2142 # Required when adding a reminder.
2143 },
2144 ],
Takashi Matsuo06694102015-09-11 13:55:40 -07002145 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002146 &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.
2147 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2148 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2149 &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.
2150 {
2151 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2152 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2153 &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.
2154 # Required when adding an attendee.
2155 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2156 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2157 &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
2158 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2159 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2160 # - &quot;declined&quot; - The attendee has declined the invitation.
2161 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2162 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2163 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2164 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2165 &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.
2166 },
2167 ],
2168 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2169 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2170 &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.
2171 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
John Asmuth614db982014-04-24 15:46:26 -04002172 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002173 &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:
2174 # - 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
2175 # - the length of the ID must be between 5 and 1024 characters
2176 # - 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.
2177 # If you do not specify an ID, it will be automatically generated by the server.
2178 # 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.
2179 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2180 # - &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.
2181 # - &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.
2182 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2183 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2184 # There can be at most 25 attachments per event,
2185 {
2186 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2187 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2188 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2189 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2190 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2191 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2192 # Required when adding an attachment.
2193 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2194 },
2195 ],
2196 &quot;extendedProperties&quot;: { # Extended properties of the event.
2197 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2198 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2199 },
2200 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2201 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2202 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002203 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002204 &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.
2205 &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.
2206 &quot;A String&quot;,
2207 ],
2208 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2209 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2210 &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.
2211 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2212 &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.
2213 &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.
2214 &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
2215 },
2216 &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.
2217 &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.
2218 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2219 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2220 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2221 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2222 # The possible values are:
2223 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2224 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2225 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2226 # - &quot;addOn&quot; for 3P conference providers
2227 },
2228 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2229 # 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.
2230 &quot;status&quot;: { # The status of the conference create request.
2231 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2232 # The possible values are:
2233 # - &quot;pending&quot;: the conference create request is still being processed.
2234 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2235 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2236 },
2237 },
2238 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2239 # Can be used by developers to keep track of conferences, should not be displayed to users.
2240 # Values for solution types:
2241 # - &quot;eventHangout&quot;: unset.
2242 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2243 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2244 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2245 &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.
2246 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2247 # Unset for a conference with a failed create request.
2248 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2249 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2250 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2251 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2252 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2253 # The possible values are:
2254 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2255 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2256 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2257 # - &quot;addOn&quot; for 3P conference providers
2258 },
2259 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2260 },
2261 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2262 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2263 # Unset for a conference with a failed create request.
2264 # Optional for a conference with a pending create request.
2265 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2266 # All of them must belong to the same conference.
2267 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2268 {
2269 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2270 # Possible values are:
2271 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2272 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2273 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2274 # - &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.
2275 &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.
2276 &quot;A String&quot;,
2277 ],
2278 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2279 # Examples:
2280 # - for video: meet.google.com/aaa-bbbb-ccc
2281 # - for phone: +1 123 268 2601
2282 # - for sip: 12345678@altostrat.com
2283 # - for more: should not be filled
2284 # Optional.
2285 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2286 # 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.
2287 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2288 # Format:
2289 # - for video, http: or https: schema is required.
2290 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2291 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2292 # - for more, http: or https: schema is required.
2293 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2294 # 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.
2295 # Optional.
2296 &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.
2297 # Calendar backend will populate this field only for EntryPointType.PHONE.
2298 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2299 # 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.
2300 # Optional.
2301 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2302 # 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.
2303 # Optional.
2304 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2305 # 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.
2306 # Optional.
2307 },
2308 ],
2309 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2310 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2311 &quot;parameters&quot;: {
2312 &quot;a_key&quot;: &quot;A String&quot;,
2313 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002314 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002315 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002316 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002317 &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.
2318 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2319 &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.
2320 &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 -07002321 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002322 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2323 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2324 # - &quot;tentative&quot; - The event is tentatively confirmed.
2325 # - &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.
2326 # A cancelled status represents two different states depending on the event type:
2327 # - 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.
2328 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2329 # - 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.
2330 # 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.
2331 # 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.
2332 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2333 &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.
2334 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2335 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2336 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2337 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2338 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2339 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2340 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2341 &quot;preferences&quot;: { # Preferences.
2342 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002343 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002344 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2345 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2346 # - &quot;chip&quot; - The gadget displays when the event is clicked.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002347 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002348 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2349 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2350 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2351 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2352 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2353 &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.
2354 &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.
2355 &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.
2356 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2357 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2358 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2359 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2360 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2361 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2362 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2363 &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.
2364 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2365 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002366 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002367 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2368 &quot;creator&quot;: { # The creator of the event. Read-only.
2369 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2370 &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.
2371 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2372 &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
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002373 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002374 &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.
2375 # 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.
2376 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2377 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2378 &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.
2379 &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.
2380 },
2381 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002386 <code class="details" id="patch">patch(calendarId, eventId, body=None, supportsAttachments=None, conferenceDataVersion=None, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None, sendUpdates=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{
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002396 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2397 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2398 &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.
2399 {
2400 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2401 # - &quot;email&quot; - Reminders are sent via email.
2402 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2403 # Required when adding a reminder.
2404 &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).
2405 # Required when adding a reminder.
2406 },
2407 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002408 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002409 &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.
2410 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2411 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2412 &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.
2413 {
2414 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2415 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2416 &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.
2417 # Required when adding an attendee.
2418 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2419 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2420 &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
2421 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2422 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2423 # - &quot;declined&quot; - The attendee has declined the invitation.
2424 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2425 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2426 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2427 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2428 &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.
2429 },
2430 ],
2431 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2432 &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 -07002433 &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 -07002434 &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.
2435 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002436 &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:
2437 # - 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
2438 # - the length of the ID must be between 5 and 1024 characters
2439 # - 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.
2440 # If you do not specify an ID, it will be automatically generated by the server.
2441 # 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.
2442 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2443 # - &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.
2444 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002445 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2446 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2447 # There can be at most 25 attachments per event,
2448 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002449 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002450 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002451 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2452 # 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 -07002453 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2454 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2455 # Required when adding an attachment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002456 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002457 },
2458 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002459 &quot;extendedProperties&quot;: { # Extended properties of the event.
2460 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2461 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2462 },
2463 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2464 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2465 },
2466 },
2467 &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.
2468 &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.
2469 &quot;A String&quot;,
2470 ],
2471 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2472 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2473 &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.
2474 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2475 &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.
2476 &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.
2477 &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
2478 },
2479 &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.
2480 &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.
2481 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2482 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2483 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2484 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2485 # The possible values are:
2486 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2487 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2488 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2489 # - &quot;addOn&quot; for 3P conference providers
2490 },
2491 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2492 # 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.
2493 &quot;status&quot;: { # The status of the conference create request.
2494 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2495 # The possible values are:
2496 # - &quot;pending&quot;: the conference create request is still being processed.
2497 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2498 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2499 },
2500 },
2501 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2502 # Can be used by developers to keep track of conferences, should not be displayed to users.
2503 # Values for solution types:
2504 # - &quot;eventHangout&quot;: unset.
2505 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2506 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2507 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2508 &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.
2509 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2510 # Unset for a conference with a failed create request.
2511 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2512 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2513 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2514 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2515 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2516 # The possible values are:
2517 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2518 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2519 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2520 # - &quot;addOn&quot; for 3P conference providers
2521 },
2522 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2523 },
2524 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2525 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2526 # Unset for a conference with a failed create request.
2527 # Optional for a conference with a pending create request.
2528 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2529 # All of them must belong to the same conference.
2530 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2531 {
2532 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2533 # Possible values are:
2534 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2535 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2536 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2537 # - &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.
2538 &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.
2539 &quot;A String&quot;,
2540 ],
2541 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2542 # Examples:
2543 # - for video: meet.google.com/aaa-bbbb-ccc
2544 # - for phone: +1 123 268 2601
2545 # - for sip: 12345678@altostrat.com
2546 # - for more: should not be filled
2547 # Optional.
2548 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2549 # 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.
2550 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2551 # Format:
2552 # - for video, http: or https: schema is required.
2553 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2554 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2555 # - for more, http: or https: schema is required.
2556 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2557 # 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.
2558 # Optional.
2559 &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.
2560 # Calendar backend will populate this field only for EntryPointType.PHONE.
2561 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2562 # 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.
2563 # Optional.
2564 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2565 # 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.
2566 # Optional.
2567 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2568 # 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.
2569 # Optional.
2570 },
2571 ],
2572 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2573 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2574 &quot;parameters&quot;: {
2575 &quot;a_key&quot;: &quot;A String&quot;,
2576 },
2577 },
2578 },
2579 },
2580 &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.
2581 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2582 &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.
2583 &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.
2584 },
2585 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2586 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2587 # - &quot;tentative&quot; - The event is tentatively confirmed.
2588 # - &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.
2589 # A cancelled status represents two different states depending on the event type:
2590 # - 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.
2591 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2592 # - 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.
2593 # 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.
2594 # 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.
2595 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2596 &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.
2597 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2598 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2599 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2600 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2601 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2602 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2603 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2604 &quot;preferences&quot;: { # Preferences.
2605 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2606 },
2607 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2608 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2609 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2610 },
2611 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2612 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2613 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2614 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2615 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2616 &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.
2617 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002618 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002619 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2620 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2621 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2622 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2623 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2624 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2625 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2626 &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.
2627 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2628 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2629 },
2630 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2631 &quot;creator&quot;: { # The creator of the event. Read-only.
2632 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2633 &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.
2634 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2635 &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
2636 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002637 &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.
2638 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002639 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2640 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2641 &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.
2642 &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.
2643 },
2644 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2645 }
2646
2647 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
2648 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.
2649 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2650
2651Whether 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.
2652 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).
2653 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.
2654 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
2655 Allowed values
2656 all - Notifications are sent to all guests.
2657 externalOnly - Notifications are sent to non-Google Calendar guests only.
2658 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).
2659
2660Returns:
2661 An object of the form:
2662
2663 {
2664 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2665 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2666 &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.
2667 {
2668 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2669 # - &quot;email&quot; - Reminders are sent via email.
2670 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2671 # Required when adding a reminder.
2672 &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).
2673 # Required when adding a reminder.
2674 },
2675 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002676 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002677 &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.
2678 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2679 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2680 &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.
2681 {
2682 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2683 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2684 &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.
2685 # Required when adding an attendee.
2686 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2687 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2688 &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
2689 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2690 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2691 # - &quot;declined&quot; - The attendee has declined the invitation.
2692 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2693 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2694 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2695 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2696 &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.
2697 },
2698 ],
2699 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2700 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2701 &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.
2702 &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.
2703 },
2704 &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:
2705 # - 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
2706 # - the length of the ID must be between 5 and 1024 characters
2707 # - 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.
2708 # If you do not specify an ID, it will be automatically generated by the server.
2709 # 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.
2710 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2711 # - &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.
2712 # - &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.
2713 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2714 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2715 # There can be at most 25 attachments per event,
2716 {
2717 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2718 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2719 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2720 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2721 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2722 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2723 # Required when adding an attachment.
2724 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2725 },
2726 ],
2727 &quot;extendedProperties&quot;: { # Extended properties of the event.
2728 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2729 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2730 },
2731 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2732 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2733 },
2734 },
2735 &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.
2736 &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.
2737 &quot;A String&quot;,
2738 ],
2739 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2740 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2741 &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.
2742 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2743 &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.
2744 &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.
2745 &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
2746 },
2747 &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.
2748 &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.
2749 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2750 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2751 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2752 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2753 # The possible values are:
2754 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2755 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2756 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2757 # - &quot;addOn&quot; for 3P conference providers
2758 },
2759 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2760 # 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.
2761 &quot;status&quot;: { # The status of the conference create request.
2762 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2763 # The possible values are:
2764 # - &quot;pending&quot;: the conference create request is still being processed.
2765 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2766 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2767 },
2768 },
2769 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2770 # Can be used by developers to keep track of conferences, should not be displayed to users.
2771 # Values for solution types:
2772 # - &quot;eventHangout&quot;: unset.
2773 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2774 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2775 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2776 &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.
2777 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2778 # Unset for a conference with a failed create request.
2779 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2780 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2781 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2782 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2783 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2784 # The possible values are:
2785 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2786 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2787 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2788 # - &quot;addOn&quot; for 3P conference providers
2789 },
2790 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2791 },
2792 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2793 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2794 # Unset for a conference with a failed create request.
2795 # Optional for a conference with a pending create request.
2796 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2797 # All of them must belong to the same conference.
2798 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2799 {
2800 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2801 # Possible values are:
2802 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2803 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2804 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2805 # - &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.
2806 &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.
2807 &quot;A String&quot;,
2808 ],
2809 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2810 # Examples:
2811 # - for video: meet.google.com/aaa-bbbb-ccc
2812 # - for phone: +1 123 268 2601
2813 # - for sip: 12345678@altostrat.com
2814 # - for more: should not be filled
2815 # Optional.
2816 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2817 # 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.
2818 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2819 # Format:
2820 # - for video, http: or https: schema is required.
2821 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2822 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2823 # - for more, http: or https: schema is required.
2824 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2825 # 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.
2826 # Optional.
2827 &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.
2828 # Calendar backend will populate this field only for EntryPointType.PHONE.
2829 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2830 # 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.
2831 # Optional.
2832 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2833 # 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.
2834 # Optional.
2835 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2836 # 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.
2837 # Optional.
2838 },
2839 ],
2840 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2841 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2842 &quot;parameters&quot;: {
2843 &quot;a_key&quot;: &quot;A String&quot;,
2844 },
2845 },
2846 },
2847 },
2848 &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.
2849 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2850 &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.
2851 &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.
2852 },
2853 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2854 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2855 # - &quot;tentative&quot; - The event is tentatively confirmed.
2856 # - &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.
2857 # A cancelled status represents two different states depending on the event type:
2858 # - 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.
2859 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2860 # - 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.
2861 # 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.
2862 # 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.
2863 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2864 &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.
2865 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2866 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2867 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2868 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2869 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2870 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2871 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2872 &quot;preferences&quot;: { # Preferences.
2873 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2874 },
2875 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2876 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2877 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2878 },
2879 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2880 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2881 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2882 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2883 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2884 &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.
2885 &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.
2886 &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.
2887 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2888 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2889 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2890 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2891 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2892 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2893 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2894 &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.
2895 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2896 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2897 },
2898 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2899 &quot;creator&quot;: { # The creator of the event. Read-only.
2900 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2901 &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.
2902 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2903 &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
2904 },
2905 &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.
2906 # 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.
2907 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2908 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2909 &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.
2910 &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.
2911 },
2912 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2913 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002914</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 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002936 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2937 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2938 &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.
2939 {
2940 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2941 # - &quot;email&quot; - Reminders are sent via email.
2942 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2943 # Required when adding a reminder.
2944 &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).
2945 # Required when adding a reminder.
2946 },
2947 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002948 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002949 &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.
2950 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2951 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2952 &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.
2953 {
2954 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2955 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2956 &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.
2957 # Required when adding an attendee.
2958 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2959 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2960 &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
2961 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2962 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2963 # - &quot;declined&quot; - The attendee has declined the invitation.
2964 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2965 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2966 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2967 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2968 &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.
2969 },
2970 ],
2971 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2972 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2973 &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.
2974 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002975 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002976 &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:
2977 # - 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
2978 # - the length of the ID must be between 5 and 1024 characters
2979 # - 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.
2980 # If you do not specify an ID, it will be automatically generated by the server.
2981 # 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.
2982 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2983 # - &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.
2984 # - &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.
2985 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2986 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2987 # There can be at most 25 attachments per event,
2988 {
2989 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2990 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2991 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2992 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2993 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2994 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2995 # Required when adding an attachment.
2996 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2997 },
2998 ],
2999 &quot;extendedProperties&quot;: { # Extended properties of the event.
3000 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3001 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3002 },
3003 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3004 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3005 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003006 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003007 &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.
3008 &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.
3009 &quot;A String&quot;,
3010 ],
3011 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3012 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3013 &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.
3014 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3015 &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.
3016 &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.
3017 &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
3018 },
3019 &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.
3020 &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.
3021 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3022 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3023 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3024 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3025 # The possible values are:
3026 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3027 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3028 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3029 # - &quot;addOn&quot; for 3P conference providers
3030 },
3031 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3032 # 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.
3033 &quot;status&quot;: { # The status of the conference create request.
3034 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3035 # The possible values are:
3036 # - &quot;pending&quot;: the conference create request is still being processed.
3037 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3038 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3039 },
3040 },
3041 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3042 # Can be used by developers to keep track of conferences, should not be displayed to users.
3043 # Values for solution types:
3044 # - &quot;eventHangout&quot;: unset.
3045 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3046 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3047 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3048 &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.
3049 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3050 # Unset for a conference with a failed create request.
3051 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3052 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3053 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3054 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3055 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3056 # The possible values are:
3057 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3058 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3059 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3060 # - &quot;addOn&quot; for 3P conference providers
3061 },
3062 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3063 },
3064 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3065 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3066 # Unset for a conference with a failed create request.
3067 # Optional for a conference with a pending create request.
3068 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3069 # All of them must belong to the same conference.
3070 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3071 {
3072 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3073 # Possible values are:
3074 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3075 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3076 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3077 # - &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.
3078 &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.
3079 &quot;A String&quot;,
3080 ],
3081 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3082 # Examples:
3083 # - for video: meet.google.com/aaa-bbbb-ccc
3084 # - for phone: +1 123 268 2601
3085 # - for sip: 12345678@altostrat.com
3086 # - for more: should not be filled
3087 # Optional.
3088 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3089 # 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.
3090 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3091 # Format:
3092 # - for video, http: or https: schema is required.
3093 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3094 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3095 # - for more, http: or https: schema is required.
3096 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3097 # 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.
3098 # Optional.
3099 &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.
3100 # Calendar backend will populate this field only for EntryPointType.PHONE.
3101 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3102 # 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.
3103 # Optional.
3104 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3105 # 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.
3106 # Optional.
3107 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3108 # 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.
3109 # Optional.
3110 },
3111 ],
3112 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3113 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3114 &quot;parameters&quot;: {
3115 &quot;a_key&quot;: &quot;A String&quot;,
3116 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003117 },
3118 },
3119 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003120 &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.
3121 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3122 &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.
3123 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003124 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003125 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3126 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3127 # - &quot;tentative&quot; - The event is tentatively confirmed.
3128 # - &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.
3129 # A cancelled status represents two different states depending on the event type:
3130 # - 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.
3131 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3132 # - 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.
3133 # 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.
3134 # 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.
3135 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3136 &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.
3137 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3138 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3139 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3140 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3141 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3142 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3143 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3144 &quot;preferences&quot;: { # Preferences.
3145 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003146 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003147 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3148 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3149 # - &quot;chip&quot; - The gadget displays when the event is clicked.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003150 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003151 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3152 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3153 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3154 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3155 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3156 &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.
3157 &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.
3158 &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.
3159 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3160 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3161 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3162 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3163 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3164 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3165 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3166 &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.
3167 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3168 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
Bu Sun Kim65020912020-05-20 12:08:20 -07003169 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003170 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3171 &quot;creator&quot;: { # The creator of the event. Read-only.
3172 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3173 &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.
3174 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3175 &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
Bu Sun Kim65020912020-05-20 12:08:20 -07003176 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003177 &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.
3178 # 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.
3179 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3180 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3181 &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.
3182 &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.
3183 },
3184 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3185 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04003186</div>
3187
3188<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003189 <code class="details" id="update">update(calendarId, eventId, body=None, conferenceDataVersion=None, supportsAttachments=None, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None, sendUpdates=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{
Bu Sun Kim65020912020-05-20 12:08:20 -07003199 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003200 &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 -07003201 &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 -04003202 {
Bu Sun Kim65020912020-05-20 12:08:20 -07003203 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3204 # - &quot;email&quot; - Reminders are sent via email.
3205 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3206 # Required when adding a reminder.
3207 &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).
3208 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04003209 },
3210 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003211 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003212 &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.
3213 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3214 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3215 &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.
3216 {
3217 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3218 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3219 &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.
3220 # Required when adding an attendee.
3221 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3222 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3223 &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
3224 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3225 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3226 # - &quot;declined&quot; - The attendee has declined the invitation.
3227 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3228 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3229 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3230 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3231 &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.
3232 },
3233 ],
3234 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3235 &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 -07003236 &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 -07003237 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim65020912020-05-20 12:08:20 -07003238 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003239 &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:
3240 # - 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
3241 # - the length of the ID must be between 5 and 1024 characters
3242 # - 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.
3243 # If you do not specify an ID, it will be automatically generated by the server.
3244 # 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.
3245 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3246 # - &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.
3247 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003248 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3249 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3250 # There can be at most 25 attachments per event,
3251 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003252 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003253 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003254 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3255 # 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 -07003256 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3257 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3258 # Required when adding an attachment.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003259 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003260 },
3261 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003262 &quot;extendedProperties&quot;: { # Extended properties of the event.
3263 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3264 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3265 },
3266 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3267 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3268 },
3269 },
3270 &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.
3271 &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.
3272 &quot;A String&quot;,
3273 ],
3274 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3275 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3276 &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.
3277 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3278 &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.
3279 &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.
3280 &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
3281 },
3282 &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.
3283 &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.
3284 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3285 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3286 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3287 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3288 # The possible values are:
3289 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3290 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3291 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3292 # - &quot;addOn&quot; for 3P conference providers
3293 },
3294 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3295 # 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.
3296 &quot;status&quot;: { # The status of the conference create request.
3297 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3298 # The possible values are:
3299 # - &quot;pending&quot;: the conference create request is still being processed.
3300 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3301 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3302 },
3303 },
3304 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3305 # Can be used by developers to keep track of conferences, should not be displayed to users.
3306 # Values for solution types:
3307 # - &quot;eventHangout&quot;: unset.
3308 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3309 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3310 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3311 &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.
3312 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3313 # Unset for a conference with a failed create request.
3314 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3315 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3316 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3317 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3318 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3319 # The possible values are:
3320 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3321 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3322 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3323 # - &quot;addOn&quot; for 3P conference providers
3324 },
3325 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3326 },
3327 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3328 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3329 # Unset for a conference with a failed create request.
3330 # Optional for a conference with a pending create request.
3331 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3332 # All of them must belong to the same conference.
3333 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3334 {
3335 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3336 # Possible values are:
3337 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3338 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3339 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3340 # - &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.
3341 &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.
3342 &quot;A String&quot;,
3343 ],
3344 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3345 # Examples:
3346 # - for video: meet.google.com/aaa-bbbb-ccc
3347 # - for phone: +1 123 268 2601
3348 # - for sip: 12345678@altostrat.com
3349 # - for more: should not be filled
3350 # Optional.
3351 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3352 # 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.
3353 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3354 # Format:
3355 # - for video, http: or https: schema is required.
3356 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3357 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3358 # - for more, http: or https: schema is required.
3359 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3360 # 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.
3361 # Optional.
3362 &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.
3363 # Calendar backend will populate this field only for EntryPointType.PHONE.
3364 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3365 # 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.
3366 # Optional.
3367 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3368 # 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.
3369 # Optional.
3370 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3371 # 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.
3372 # Optional.
3373 },
3374 ],
3375 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3376 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3377 &quot;parameters&quot;: {
3378 &quot;a_key&quot;: &quot;A String&quot;,
3379 },
3380 },
3381 },
3382 },
3383 &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.
3384 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3385 &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.
3386 &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.
3387 },
3388 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3389 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3390 # - &quot;tentative&quot; - The event is tentatively confirmed.
3391 # - &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.
3392 # A cancelled status represents two different states depending on the event type:
3393 # - 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.
3394 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3395 # - 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.
3396 # 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.
3397 # 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.
3398 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3399 &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.
3400 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3401 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3402 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3403 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3404 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3405 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3406 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3407 &quot;preferences&quot;: { # Preferences.
3408 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3409 },
3410 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3411 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3412 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3413 },
3414 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3415 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3416 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3417 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3418 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3419 &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.
3420 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003421 &quot;locked&quot;: false, # Whether this is a locked event copy where no changes can be made to the main event fields &quot;summary&quot;, &quot;description&quot;, &quot;location&quot;, &quot;start&quot;, &quot;end&quot; or &quot;recurrence&quot;. The default is False. Read-Only.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003422 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3423 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3424 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3425 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3426 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3427 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3428 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3429 &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.
3430 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3431 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3432 },
3433 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3434 &quot;creator&quot;: { # The creator of the event. Read-only.
3435 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3436 &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.
3437 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3438 &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
3439 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003440 &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.
3441 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003442 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3443 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3444 &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.
3445 &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.
3446 },
3447 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3448 }
3449
3450 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.
3451 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
3452 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
3453
3454Whether 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.
3455 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).
3456 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.
3457 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
3458 Allowed values
3459 all - Notifications are sent to all guests.
3460 externalOnly - Notifications are sent to non-Google Calendar guests only.
3461 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).
3462
3463Returns:
3464 An object of the form:
3465
3466 {
3467 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3468 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3469 &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.
3470 {
3471 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3472 # - &quot;email&quot; - Reminders are sent via email.
3473 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3474 # Required when adding a reminder.
3475 &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).
3476 # Required when adding a reminder.
3477 },
3478 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07003479 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003480 &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.
3481 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3482 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3483 &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.
3484 {
3485 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3486 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3487 &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.
3488 # Required when adding an attendee.
3489 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3490 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3491 &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
3492 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3493 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3494 # - &quot;declined&quot; - The attendee has declined the invitation.
3495 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3496 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3497 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3498 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3499 &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.
3500 },
3501 ],
3502 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3503 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3504 &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.
3505 &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.
3506 },
3507 &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:
3508 # - 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
3509 # - the length of the ID must be between 5 and 1024 characters
3510 # - 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.
3511 # If you do not specify an ID, it will be automatically generated by the server.
3512 # 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.
3513 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3514 # - &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.
3515 # - &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.
3516 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3517 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3518 # There can be at most 25 attachments per event,
3519 {
3520 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3521 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3522 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3523 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3524 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3525 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3526 # Required when adding an attachment.
3527 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3528 },
3529 ],
3530 &quot;extendedProperties&quot;: { # Extended properties of the event.
3531 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3532 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3533 },
3534 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3535 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3536 },
3537 },
3538 &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.
3539 &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.
3540 &quot;A String&quot;,
3541 ],
3542 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3543 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3544 &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.
3545 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3546 &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.
3547 &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.
3548 &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
3549 },
3550 &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.
3551 &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.
3552 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3553 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3554 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3555 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3556 # The possible values are:
3557 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3558 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3559 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3560 # - &quot;addOn&quot; for 3P conference providers
3561 },
3562 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3563 # 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.
3564 &quot;status&quot;: { # The status of the conference create request.
3565 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3566 # The possible values are:
3567 # - &quot;pending&quot;: the conference create request is still being processed.
3568 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3569 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3570 },
3571 },
3572 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3573 # Can be used by developers to keep track of conferences, should not be displayed to users.
3574 # Values for solution types:
3575 # - &quot;eventHangout&quot;: unset.
3576 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3577 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3578 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3579 &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.
3580 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3581 # Unset for a conference with a failed create request.
3582 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3583 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3584 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3585 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3586 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3587 # The possible values are:
3588 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3589 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3590 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3591 # - &quot;addOn&quot; for 3P conference providers
3592 },
3593 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3594 },
3595 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3596 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3597 # Unset for a conference with a failed create request.
3598 # Optional for a conference with a pending create request.
3599 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3600 # All of them must belong to the same conference.
3601 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3602 {
3603 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3604 # Possible values are:
3605 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3606 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3607 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3608 # - &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.
3609 &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.
3610 &quot;A String&quot;,
3611 ],
3612 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3613 # Examples:
3614 # - for video: meet.google.com/aaa-bbbb-ccc
3615 # - for phone: +1 123 268 2601
3616 # - for sip: 12345678@altostrat.com
3617 # - for more: should not be filled
3618 # Optional.
3619 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3620 # 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.
3621 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3622 # Format:
3623 # - for video, http: or https: schema is required.
3624 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3625 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3626 # - for more, http: or https: schema is required.
3627 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3628 # 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.
3629 # Optional.
3630 &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.
3631 # Calendar backend will populate this field only for EntryPointType.PHONE.
3632 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3633 # 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.
3634 # Optional.
3635 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3636 # 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.
3637 # Optional.
3638 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3639 # 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.
3640 # Optional.
3641 },
3642 ],
3643 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3644 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3645 &quot;parameters&quot;: {
3646 &quot;a_key&quot;: &quot;A String&quot;,
3647 },
3648 },
3649 },
3650 },
3651 &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.
3652 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3653 &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.
3654 &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.
3655 },
3656 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3657 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3658 # - &quot;tentative&quot; - The event is tentatively confirmed.
3659 # - &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.
3660 # A cancelled status represents two different states depending on the event type:
3661 # - 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.
3662 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3663 # - 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.
3664 # 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.
3665 # 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.
3666 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3667 &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.
3668 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3669 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3670 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3671 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3672 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3673 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3674 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3675 &quot;preferences&quot;: { # Preferences.
3676 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3677 },
3678 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3679 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3680 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3681 },
3682 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3683 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3684 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3685 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3686 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3687 &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.
3688 &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.
3689 &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.
3690 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3691 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3692 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3693 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3694 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3695 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3696 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3697 &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.
3698 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3699 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3700 },
3701 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3702 &quot;creator&quot;: { # The creator of the event. Read-only.
3703 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3704 &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.
3705 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3706 &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
3707 },
3708 &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.
3709 # 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.
3710 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3711 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3712 &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.
3713 &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.
3714 },
3715 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3716 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04003717</div>
3718
3719<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003720 <code class="details" id="watch">watch(calendarId, body=None, iCalUID=None, showHiddenInvitations=None, timeZone=None, maxResults=None, singleEvents=None, syncToken=None, timeMin=None, alwaysIncludeEmail=None, orderBy=None, pageToken=None, privateExtendedProperty=None, updatedMin=None, timeMax=None, q=None, maxAttendees=None, showDeleted=None, sharedExtendedProperty=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;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003730 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3731 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003732 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003733 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3734 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
3735 &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;.
3736 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3737 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
Bu Sun Kim65020912020-05-20 12:08:20 -07003738 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3739 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003740 },
John Asmuth614db982014-04-24 15:46:26 -04003741 }
3742
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003743 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
3744 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
3745 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
3746 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.
3747 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.
Craig Citro065b5302014-08-14 00:47:23 -07003748 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.
3749There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
3750
3751These are:
3752- iCalUID
3753- orderBy
3754- privateExtendedProperty
3755- q
3756- sharedExtendedProperty
3757- timeMin
3758- timeMax
3759- 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.
3760Learn more about incremental synchronization.
3761Optional. The default is to return all entries.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003762 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.
3763 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 -07003764 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
3765 Allowed values
3766 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
3767 updated - Order by last modification time (ascending).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003768 pageToken: string, Token specifying which result page to return. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003769 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)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003770 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.
3771 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.
3772 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
3773 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.
3774 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.
3775 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)
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;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003782 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3783 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003784 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003785 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3786 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
3787 &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;.
3788 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3789 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
Bu Sun Kim65020912020-05-20 12:08:20 -07003790 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3791 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003792 },
John Asmuth614db982014-04-24 15:46:26 -04003793 }</pre>
3794</div>
3795
3796</body></html>