blob: d47e6b2c312c3258d0bfeb5c475b94febe4ea59f [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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080081 <code><a href="#delete">delete(calendarId, eventId, sendUpdates=None, sendNotifications=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Deletes an event.</p>
83<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080084 <code><a href="#get">get(calendarId, eventId, timeZone=None, alwaysIncludeEmail=None, maxAttendees=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Returns an event.</p>
86<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087 <code><a href="#import_">import_(calendarId, body=None, conferenceDataVersion=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Imports an event. This operation is used to add a private copy of an existing event to a calendar.</p>
89<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080090 <code><a href="#insert">insert(calendarId, body=None, sendUpdates=None, supportsAttachments=None, maxAttendees=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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080093 <code><a href="#instances">instances(calendarId, eventId, timeZone=None, pageToken=None, alwaysIncludeEmail=None, maxResults=None, timeMax=None, timeMin=None, originalStart=None, showDeleted=None, maxAttendees=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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080099 <code><a href="#list">list(calendarId, sharedExtendedProperty=None, updatedMin=None, showHiddenInvitations=None, orderBy=None, showDeleted=None, iCalUID=None, singleEvents=None, pageToken=None, timeZone=None, timeMax=None, maxResults=None, q=None, alwaysIncludeEmail=None, maxAttendees=None, syncToken=None, timeMin=None, privateExtendedProperty=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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800105 <code><a href="#move">move(calendarId, eventId, destination, sendNotifications=None, sendUpdates=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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800108 <code><a href="#patch">patch(calendarId, eventId, body=None, maxAttendees=None, supportsAttachments=None, alwaysIncludeEmail=None, sendUpdates=None, sendNotifications=None, conferenceDataVersion=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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800111 <code><a href="#quickAdd">quickAdd(calendarId, text, sendUpdates=None, sendNotifications=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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800114 <code><a href="#update">update(calendarId, eventId, body=None, supportsAttachments=None, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None, sendUpdates=None, conferenceDataVersion=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400115<p class="firstline">Updates an event.</p>
116<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800117 <code><a href="#watch">watch(calendarId, body=None, sharedExtendedProperty=None, q=None, timeMin=None, showDeleted=None, privateExtendedProperty=None, iCalUID=None, timeMax=None, updatedMin=None, singleEvents=None, syncToken=None, alwaysIncludeEmail=None, timeZone=None, pageToken=None, showHiddenInvitations=None, orderBy=None, maxResults=None, maxAttendees=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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800126 <code class="details" id="delete">delete(calendarId, eventId, sendUpdates=None, sendNotifications=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400127 <pre>Deletes an event.
128
129Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700130 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
John Asmuth614db982014-04-24 15:46:26 -0400131 eventId: string, Event identifier. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700132 sendUpdates: string, Guests who should receive notifications about the deletion of the event.
133 Allowed values
134 all - Notifications are sent to all guests.
135 externalOnly - Notifications are sent to non-Google Calendar guests only.
136 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800137 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
138
139Whether to send notifications about the deletion of the event. Note that some emails might still be sent even if you set the value to false. The default is false.
John Asmuth614db982014-04-24 15:46:26 -0400140</pre>
141</div>
142
143<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800144 <code class="details" id="get">get(calendarId, eventId, timeZone=None, alwaysIncludeEmail=None, maxAttendees=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400145 <pre>Returns an event.
146
147Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700148 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
John Asmuth614db982014-04-24 15:46:26 -0400149 eventId: string, Event identifier. (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800150 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800151 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).
152 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 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800158 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
159 # In order to modify attachments the supportsAttachments request parameter should be set to true.
160 # There can be at most 25 attachments per event,
161 {
162 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
163 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
164 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
165 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
166 # Required when adding an attachment.
167 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
168 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
169 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
170 },
171 ],
172 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
173 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
174 &quot;preferences&quot;: { # Preferences.
175 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
176 },
177 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
178 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
179 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
180 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
181 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
182 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
183 # - &quot;chip&quot; - The gadget displays when the event is clicked.
184 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
185 },
186 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
187 &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.
188 {
189 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
190 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
191 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
192 &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.
193 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
194 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
195 &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
196 &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.
197 # Required when adding an attendee.
198 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
199 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
200 # - &quot;declined&quot; - The attendee has declined the invitation.
201 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
202 # - &quot;accepted&quot; - The attendee has accepted the invitation.
203 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
204 },
205 ],
206 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
207 &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.
208 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
209 &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.
210 },
211 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
212 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
213 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700214 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800215 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
216 # - &quot;email&quot; - Reminders are sent via email.
217 # - &quot;popup&quot; - Reminders are sent via a UI popup.
218 # Required when adding a reminder.
219 &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).
220 # Required when adding a reminder.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700221 },
222 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800223 },
224 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
225 &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.
226 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
227 &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.
228 },
229 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
230 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
231 &quot;extendedProperties&quot;: { # Extended properties of the event.
232 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
233 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800235 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
236 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
237 },
238 },
239 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
240 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
241 # - &quot;tentative&quot; - The event is tentatively confirmed.
242 # - &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.
243 # A cancelled status represents two different states depending on the event type:
244 # - 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.
245 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
246 # - 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.
247 # 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.
248 # 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.
249 &quot;creator&quot;: { # The creator of the event. Read-only.
250 &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
251 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
252 &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.
253 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
254 },
255 &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.
256 &quot;A String&quot;,
257 ],
258 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
259 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
260 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
261 # - &quot;private&quot; - The event is private and only event attendees may view event details.
262 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
263 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
264 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
265 &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.
266 &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.
267 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
268 &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.
269 },
270 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
271 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
272 &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.
273 &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.
274 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
275 &quot;status&quot;: { # The status of the conference create request.
276 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
277 # The possible values are:
278 # - &quot;pending&quot;: the conference create request is still being processed.
279 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
280 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800281 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800282 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
283 # 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.
284 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
285 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
286 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
287 # The possible values are:
288 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
289 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
290 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
291 # - &quot;addOn&quot; for 3P conference providers
292 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800293 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800294 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
295 &quot;addOnParameters&quot;: { # Additional add-on specific data.
296 &quot;parameters&quot;: {
297 &quot;a_key&quot;: &quot;A String&quot;,
298 },
299 },
300 },
301 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
302 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
303 # Unset for a conference with a failed create request.
304 # Optional for a conference with a pending create request.
305 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
306 # Unset for a conference with a failed create request.
307 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
308 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
309 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
310 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
311 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
312 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
313 # The possible values are:
314 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
315 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
316 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
317 # - &quot;addOn&quot; for 3P conference providers
318 },
319 },
320 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
321 # Can be used by developers to keep track of conferences, should not be displayed to users.
322 # Values for solution types:
323 # - &quot;eventHangout&quot;: unset.
324 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
325 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
326 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
327 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
328 # All of them must belong to the same conference.
329 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700330 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800331 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
332 # 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.
333 # Optional.
334 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
335 # 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.
336 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
337 # 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.
338 # Optional.
339 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
340 # 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.
341 # Optional.
342 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
343 # Examples:
344 # - for video: meet.google.com/aaa-bbbb-ccc
345 # - for phone: +1 123 268 2601
346 # - for sip: 12345678@altostrat.com
347 # - for more: should not be filled
348 # Optional.
349 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
350 # Possible values are:
351 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
352 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
353 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
354 # - &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.
355 &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.
356 &quot;A String&quot;,
357 ],
358 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
359 # 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.
360 # Optional.
361 &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.
362 # Calendar backend will populate this field only for EntryPointType.PHONE.
363 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
364 # Format:
365 # - for video, http: or https: schema is required.
366 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
367 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
368 # - for more, http: or https: schema is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700369 },
370 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800371 &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.
372 },
373 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
374 # - &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.
375 # - &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.
376 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
377 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
378 &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.
379 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
380 &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.
381 &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.
382 &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
383 },
384 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
385 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
386 &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.
387 &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.
388 # 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.
389 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
390 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
391 &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.
392 &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.
393 &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.
394 &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.
395 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
396 &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.
397 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
398 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
399 },
400 &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.
401 &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:
402 # - 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
403 # - the length of the ID must be between 5 and 1024 characters
404 # - 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.
405 # If you do not specify an ID, it will be automatically generated by the server.
406 # 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.
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{
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800420 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
421 # In order to modify attachments the supportsAttachments request parameter should be set to true.
422 # There can be at most 25 attachments per event,
423 {
424 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
425 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
426 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
427 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
428 # Required when adding an attachment.
429 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
430 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
431 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
432 },
433 ],
434 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
435 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
436 &quot;preferences&quot;: { # Preferences.
437 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
438 },
439 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
440 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
441 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
442 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
443 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
444 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
445 # - &quot;chip&quot; - The gadget displays when the event is clicked.
446 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
447 },
448 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
449 &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.
450 {
451 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
452 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
453 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
454 &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.
455 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
456 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
457 &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
458 &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.
459 # Required when adding an attendee.
460 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
461 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
462 # - &quot;declined&quot; - The attendee has declined the invitation.
463 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
464 # - &quot;accepted&quot; - The attendee has accepted the invitation.
465 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
466 },
467 ],
468 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
469 &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.
470 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
471 &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.
472 },
473 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
474 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
475 &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.
476 {
477 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
478 # - &quot;email&quot; - Reminders are sent via email.
479 # - &quot;popup&quot; - Reminders are sent via a UI popup.
480 # Required when adding a reminder.
481 &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).
482 # Required when adding a reminder.
483 },
484 ],
485 },
486 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
487 &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.
488 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
489 &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.
490 },
491 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
492 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
493 &quot;extendedProperties&quot;: { # Extended properties of the event.
494 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
495 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
496 },
497 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
498 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
499 },
500 },
501 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
502 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
503 # - &quot;tentative&quot; - The event is tentatively confirmed.
504 # - &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.
505 # A cancelled status represents two different states depending on the event type:
506 # - 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.
507 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
508 # - 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.
509 # 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.
510 # 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.
511 &quot;creator&quot;: { # The creator of the event. Read-only.
512 &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
513 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
514 &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.
515 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
516 },
517 &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.
518 &quot;A String&quot;,
519 ],
520 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
521 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
522 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
523 # - &quot;private&quot; - The event is private and only event attendees may view event details.
524 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
525 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
526 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
527 &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.
528 &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.
529 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
530 &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.
531 },
532 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
533 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
534 &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.
535 &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.
536 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
537 &quot;status&quot;: { # The status of the conference create request.
538 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
539 # The possible values are:
540 # - &quot;pending&quot;: the conference create request is still being processed.
541 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
542 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
543 },
544 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
545 # 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.
546 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
547 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
548 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
549 # The possible values are:
550 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
551 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
552 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
553 # - &quot;addOn&quot; for 3P conference providers
554 },
555 },
556 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
557 &quot;addOnParameters&quot;: { # Additional add-on specific data.
558 &quot;parameters&quot;: {
559 &quot;a_key&quot;: &quot;A String&quot;,
560 },
561 },
562 },
563 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
564 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
565 # Unset for a conference with a failed create request.
566 # Optional for a conference with a pending create request.
567 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
568 # Unset for a conference with a failed create request.
569 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
570 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
571 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
572 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
573 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
574 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
575 # The possible values are:
576 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
577 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
578 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
579 # - &quot;addOn&quot; for 3P conference providers
580 },
581 },
582 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
583 # Can be used by developers to keep track of conferences, should not be displayed to users.
584 # Values for solution types:
585 # - &quot;eventHangout&quot;: unset.
586 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
587 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
588 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
589 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
590 # All of them must belong to the same conference.
591 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
592 {
593 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
594 # 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.
595 # Optional.
596 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
597 # 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.
598 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
599 # 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.
600 # Optional.
601 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
602 # 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.
603 # Optional.
604 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
605 # Examples:
606 # - for video: meet.google.com/aaa-bbbb-ccc
607 # - for phone: +1 123 268 2601
608 # - for sip: 12345678@altostrat.com
609 # - for more: should not be filled
610 # Optional.
611 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
612 # Possible values are:
613 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
614 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
615 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
616 # - &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.
617 &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.
618 &quot;A String&quot;,
619 ],
620 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
621 # 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.
622 # Optional.
623 &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.
624 # Calendar backend will populate this field only for EntryPointType.PHONE.
625 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
626 # Format:
627 # - for video, http: or https: schema is required.
628 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
629 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
630 # - for more, http: or https: schema is required.
631 },
632 ],
633 &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.
634 },
635 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
636 # - &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.
637 # - &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.
638 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
639 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
640 &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.
641 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
642 &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.
643 &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.
644 &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
645 },
646 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
647 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
648 &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.
649 &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.
650 # 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.
651 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
652 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
653 &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.
654 &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.
655 &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.
656 &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.
657 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
658 &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.
659 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
660 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
661 },
662 &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.
663 &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:
664 # - 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
665 # - the length of the ID must be between 5 and 1024 characters
666 # - 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.
667 # If you do not specify an ID, it will be automatically generated by the server.
668 # 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.
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 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800678 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
679 # In order to modify attachments the supportsAttachments request parameter should be set to true.
680 # There can be at most 25 attachments per event,
681 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800682 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800683 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800684 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
685 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
686 # Required when adding an attachment.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800687 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
688 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
689 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800690 },
691 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800692 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
693 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
694 &quot;preferences&quot;: { # Preferences.
695 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
696 },
697 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
698 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
699 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
700 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
701 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
702 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
703 # - &quot;chip&quot; - The gadget displays when the event is clicked.
704 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
705 },
706 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
707 &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.
708 {
709 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
710 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
711 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
712 &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.
713 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
714 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
715 &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
716 &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.
717 # Required when adding an attendee.
718 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
719 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
720 # - &quot;declined&quot; - The attendee has declined the invitation.
721 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
722 # - &quot;accepted&quot; - The attendee has accepted the invitation.
723 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
724 },
725 ],
726 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
727 &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.
728 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
729 &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.
730 },
731 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
732 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
733 &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.
734 {
735 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
736 # - &quot;email&quot; - Reminders are sent via email.
737 # - &quot;popup&quot; - Reminders are sent via a UI popup.
738 # Required when adding a reminder.
739 &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).
740 # Required when adding a reminder.
741 },
742 ],
743 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800744 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800745 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800746 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800747 &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.
748 },
749 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
750 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
751 &quot;extendedProperties&quot;: { # Extended properties of the event.
752 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
753 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
754 },
755 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
756 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
757 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800758 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800759 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
760 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
761 # - &quot;tentative&quot; - The event is tentatively confirmed.
762 # - &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.
763 # A cancelled status represents two different states depending on the event type:
764 # - 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.
765 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
766 # - 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.
767 # 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.
768 # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800769 &quot;creator&quot;: { # The creator of the event. Read-only.
770 &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
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800771 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
772 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800773 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800774 },
775 &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.
776 &quot;A String&quot;,
777 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800778 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
779 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
780 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
781 # - &quot;private&quot; - The event is private and only event attendees may view event details.
782 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
783 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
784 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
785 &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.
786 &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.
787 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
788 &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.
789 },
790 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
791 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800792 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800793 &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.
794 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800795 &quot;status&quot;: { # The status of the conference create request.
796 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
797 # The possible values are:
798 # - &quot;pending&quot;: the conference create request is still being processed.
799 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
800 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
801 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800802 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
803 # 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.
804 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
805 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
806 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
807 # The possible values are:
808 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
809 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
810 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
811 # - &quot;addOn&quot; for 3P conference providers
812 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800813 },
814 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
815 &quot;addOnParameters&quot;: { # Additional add-on specific data.
816 &quot;parameters&quot;: {
817 &quot;a_key&quot;: &quot;A String&quot;,
818 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800819 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800820 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800821 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
822 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
823 # Unset for a conference with a failed create request.
824 # Optional for a conference with a pending create request.
825 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
826 # Unset for a conference with a failed create request.
827 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
828 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
829 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
830 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
831 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
832 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
833 # The possible values are:
834 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
835 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
836 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
837 # - &quot;addOn&quot; for 3P conference providers
838 },
839 },
840 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
841 # Can be used by developers to keep track of conferences, should not be displayed to users.
842 # Values for solution types:
843 # - &quot;eventHangout&quot;: unset.
844 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
845 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
846 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
847 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
848 # All of them must belong to the same conference.
849 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800850 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800851 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
852 # 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.
853 # Optional.
854 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
855 # 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.
856 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
857 # 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.
858 # Optional.
859 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
860 # 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.
861 # Optional.
862 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
863 # Examples:
864 # - for video: meet.google.com/aaa-bbbb-ccc
865 # - for phone: +1 123 268 2601
866 # - for sip: 12345678@altostrat.com
867 # - for more: should not be filled
868 # Optional.
869 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
870 # Possible values are:
871 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
872 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
873 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
874 # - &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.
875 &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.
876 &quot;A String&quot;,
877 ],
878 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
879 # 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.
880 # Optional.
881 &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.
882 # Calendar backend will populate this field only for EntryPointType.PHONE.
883 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
884 # Format:
885 # - for video, http: or https: schema is required.
886 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
887 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
888 # - for more, http: or https: schema is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800889 },
890 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800891 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800892 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800893 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
894 # - &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.
895 # - &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800896 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800897 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800898 &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.
899 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
900 &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.
901 &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.
902 &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
903 },
904 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
905 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
906 &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.
907 &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.
908 # 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.
909 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
910 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
911 &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.
912 &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.
913 &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.
914 &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.
915 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
916 &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.
917 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
918 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
919 },
920 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800921 &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:
922 # - 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
923 # - the length of the ID must be between 5 and 1024 characters
924 # - 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.
925 # If you do not specify an ID, it will be automatically generated by the server.
926 # 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800927 }</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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800931 <code class="details" id="insert">insert(calendarId, body=None, sendUpdates=None, supportsAttachments=None, maxAttendees=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{
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800940 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
941 # In order to modify attachments the supportsAttachments request parameter should be set to true.
942 # There can be at most 25 attachments per event,
943 {
944 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
945 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
946 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
947 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
948 # Required when adding an attachment.
949 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
950 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
951 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
952 },
953 ],
954 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
955 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
956 &quot;preferences&quot;: { # Preferences.
957 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
958 },
959 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
960 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
961 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
962 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
963 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
964 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
965 # - &quot;chip&quot; - The gadget displays when the event is clicked.
966 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
967 },
968 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
969 &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.
970 {
971 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
972 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
973 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
974 &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.
975 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
976 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
977 &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
978 &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.
979 # Required when adding an attendee.
980 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
981 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
982 # - &quot;declined&quot; - The attendee has declined the invitation.
983 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
984 # - &quot;accepted&quot; - The attendee has accepted the invitation.
985 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
986 },
987 ],
988 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
989 &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.
990 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
991 &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.
992 },
993 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
994 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
995 &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.
996 {
997 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
998 # - &quot;email&quot; - Reminders are sent via email.
999 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1000 # Required when adding a reminder.
1001 &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).
1002 # Required when adding a reminder.
1003 },
1004 ],
1005 },
1006 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1007 &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.
1008 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1009 &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.
1010 },
1011 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1012 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1013 &quot;extendedProperties&quot;: { # Extended properties of the event.
1014 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1015 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1016 },
1017 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1018 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1019 },
1020 },
1021 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1022 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1023 # - &quot;tentative&quot; - The event is tentatively confirmed.
1024 # - &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.
1025 # A cancelled status represents two different states depending on the event type:
1026 # - 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.
1027 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1028 # - 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.
1029 # 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.
1030 # 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.
1031 &quot;creator&quot;: { # The creator of the event. Read-only.
1032 &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
1033 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1034 &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.
1035 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1036 },
1037 &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.
1038 &quot;A String&quot;,
1039 ],
1040 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1041 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1042 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1043 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1044 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1045 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1046 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1047 &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.
1048 &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.
1049 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1050 &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.
1051 },
1052 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1053 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1054 &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.
1055 &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.
1056 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1057 &quot;status&quot;: { # The status of the conference create request.
1058 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1059 # The possible values are:
1060 # - &quot;pending&quot;: the conference create request is still being processed.
1061 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1062 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1063 },
1064 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1065 # 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.
1066 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1067 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1068 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1069 # The possible values are:
1070 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1071 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1072 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1073 # - &quot;addOn&quot; for 3P conference providers
1074 },
1075 },
1076 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1077 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1078 &quot;parameters&quot;: {
1079 &quot;a_key&quot;: &quot;A String&quot;,
1080 },
1081 },
1082 },
1083 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1084 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1085 # Unset for a conference with a failed create request.
1086 # Optional for a conference with a pending create request.
1087 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1088 # Unset for a conference with a failed create request.
1089 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1090 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1091 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1092 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1093 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1094 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1095 # The possible values are:
1096 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1097 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1098 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1099 # - &quot;addOn&quot; for 3P conference providers
1100 },
1101 },
1102 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1103 # Can be used by developers to keep track of conferences, should not be displayed to users.
1104 # Values for solution types:
1105 # - &quot;eventHangout&quot;: unset.
1106 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1107 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1108 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1109 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1110 # All of them must belong to the same conference.
1111 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1112 {
1113 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1114 # 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.
1115 # Optional.
1116 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1117 # 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.
1118 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1119 # 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.
1120 # Optional.
1121 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1122 # 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.
1123 # Optional.
1124 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1125 # Examples:
1126 # - for video: meet.google.com/aaa-bbbb-ccc
1127 # - for phone: +1 123 268 2601
1128 # - for sip: 12345678@altostrat.com
1129 # - for more: should not be filled
1130 # Optional.
1131 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1132 # Possible values are:
1133 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1134 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1135 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1136 # - &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.
1137 &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.
1138 &quot;A String&quot;,
1139 ],
1140 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1141 # 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.
1142 # Optional.
1143 &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.
1144 # Calendar backend will populate this field only for EntryPointType.PHONE.
1145 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1146 # Format:
1147 # - for video, http: or https: schema is required.
1148 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1149 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1150 # - for more, http: or https: schema is required.
1151 },
1152 ],
1153 &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.
1154 },
1155 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1156 # - &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.
1157 # - &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.
1158 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1159 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1160 &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.
1161 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1162 &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.
1163 &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.
1164 &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
1165 },
1166 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1167 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1168 &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.
1169 &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.
1170 # 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.
1171 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1172 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1173 &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.
1174 &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.
1175 &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.
1176 &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.
1177 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1178 &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.
1179 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1180 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1181 },
1182 &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.
1183 &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:
1184 # - 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
1185 # - the length of the ID must be between 5 and 1024 characters
1186 # - 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.
1187 # If you do not specify an ID, it will be automatically generated by the server.
1188 # 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.
1189}
1190
1191 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.
1192 Allowed values
1193 all - Notifications are sent to all guests.
1194 externalOnly - Notifications are sent to non-Google Calendar guests only.
1195 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).
1196 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
1197 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.
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.
1202
1203Returns:
1204 An object of the form:
1205
1206 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001207 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1208 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1209 # There can be at most 25 attachments per event,
1210 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001211 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001212 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001213 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1214 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1215 # Required when adding an attachment.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001216 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1217 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1218 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001219 },
1220 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001221 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1222 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1223 &quot;preferences&quot;: { # Preferences.
1224 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1225 },
1226 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1227 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1228 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1229 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1230 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1231 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1232 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1233 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1234 },
1235 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1236 &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.
1237 {
1238 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1239 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1240 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1241 &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.
1242 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1243 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1244 &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
1245 &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.
1246 # Required when adding an attendee.
1247 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1248 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1249 # - &quot;declined&quot; - The attendee has declined the invitation.
1250 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1251 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1252 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1253 },
1254 ],
1255 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1256 &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.
1257 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1258 &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.
1259 },
1260 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1261 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1262 &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.
1263 {
1264 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1265 # - &quot;email&quot; - Reminders are sent via email.
1266 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1267 # Required when adding a reminder.
1268 &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).
1269 # Required when adding a reminder.
1270 },
1271 ],
1272 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001273 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001274 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001275 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001276 &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.
1277 },
1278 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1279 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1280 &quot;extendedProperties&quot;: { # Extended properties of the event.
1281 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1282 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1283 },
1284 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1285 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1286 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001287 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001288 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1289 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1290 # - &quot;tentative&quot; - The event is tentatively confirmed.
1291 # - &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.
1292 # A cancelled status represents two different states depending on the event type:
1293 # - 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.
1294 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1295 # - 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.
1296 # 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.
1297 # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001298 &quot;creator&quot;: { # The creator of the event. Read-only.
1299 &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
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001300 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1301 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001302 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001303 },
1304 &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.
1305 &quot;A String&quot;,
1306 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001307 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1308 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1309 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1310 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1311 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1312 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1313 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1314 &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.
1315 &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.
1316 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1317 &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.
1318 },
1319 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1320 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001321 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001322 &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.
1323 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001324 &quot;status&quot;: { # The status of the conference create request.
1325 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1326 # The possible values are:
1327 # - &quot;pending&quot;: the conference create request is still being processed.
1328 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1329 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1330 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001331 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1332 # 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.
1333 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1334 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1335 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1336 # The possible values are:
1337 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1338 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1339 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1340 # - &quot;addOn&quot; for 3P conference providers
1341 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001342 },
1343 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1344 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1345 &quot;parameters&quot;: {
1346 &quot;a_key&quot;: &quot;A String&quot;,
1347 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001348 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001349 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001350 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1351 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1352 # Unset for a conference with a failed create request.
1353 # Optional for a conference with a pending create request.
1354 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1355 # Unset for a conference with a failed create request.
1356 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1357 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1358 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1359 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1360 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1361 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1362 # The possible values are:
1363 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1364 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1365 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1366 # - &quot;addOn&quot; for 3P conference providers
1367 },
1368 },
1369 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1370 # Can be used by developers to keep track of conferences, should not be displayed to users.
1371 # Values for solution types:
1372 # - &quot;eventHangout&quot;: unset.
1373 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1374 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1375 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1376 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1377 # All of them must belong to the same conference.
1378 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001379 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001380 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1381 # 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.
1382 # Optional.
1383 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1384 # 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.
1385 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1386 # 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.
1387 # Optional.
1388 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1389 # 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.
1390 # Optional.
1391 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1392 # Examples:
1393 # - for video: meet.google.com/aaa-bbbb-ccc
1394 # - for phone: +1 123 268 2601
1395 # - for sip: 12345678@altostrat.com
1396 # - for more: should not be filled
1397 # Optional.
1398 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1399 # Possible values are:
1400 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1401 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1402 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1403 # - &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.
1404 &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.
1405 &quot;A String&quot;,
1406 ],
1407 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1408 # 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.
1409 # Optional.
1410 &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.
1411 # Calendar backend will populate this field only for EntryPointType.PHONE.
1412 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1413 # Format:
1414 # - for video, http: or https: schema is required.
1415 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1416 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1417 # - for more, http: or https: schema is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001418 },
1419 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001420 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001421 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001422 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1423 # - &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.
1424 # - &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001425 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001426 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001427 &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.
1428 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1429 &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.
1430 &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.
1431 &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
1432 },
1433 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1434 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1435 &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.
1436 &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.
1437 # 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.
1438 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1439 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1440 &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.
1441 &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.
1442 &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.
1443 &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.
1444 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1445 &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.
1446 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1447 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1448 },
1449 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001450 &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:
1451 # - 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
1452 # - the length of the ID must be between 5 and 1024 characters
1453 # - 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.
1454 # If you do not specify an ID, it will be automatically generated by the server.
1455 # 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001456 }</pre>
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001457</div>
1458
1459<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001460 <code class="details" id="instances">instances(calendarId, eventId, timeZone=None, pageToken=None, alwaysIncludeEmail=None, maxResults=None, timeMax=None, timeMin=None, originalStart=None, showDeleted=None, maxAttendees=None)</code>
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001461 <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)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001466 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001467 pageToken: string, Token specifying which result page to return. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001468 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).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001469 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001470 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001471 timeMin: string, Lower bound (inclusive) for an event&#x27;s end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset.
1472 originalStart: string, The original start time of the instance in the result. Optional.
1473 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.
1474 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001475
1476Returns:
1477 An object of the form:
1478
1479 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001480 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1481 # - &quot;none&quot; - The user has no access.
1482 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1483 # - &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.
1484 # - &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.
1485 # - &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001486 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1487 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1488 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001489 &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).
1490 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001491 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1492 # - &quot;email&quot; - Reminders are sent via email.
1493 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1494 # Required when adding a reminder.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001495 &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).
1496 # Required when adding a reminder.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001497 },
1498 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001499 &quot;items&quot;: [ # List of events on the calendar.
1500 {
1501 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1502 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1503 # There can be at most 25 attachments per event,
1504 {
1505 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1506 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1507 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1508 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1509 # Required when adding an attachment.
1510 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1511 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1512 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1513 },
1514 ],
1515 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1516 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1517 &quot;preferences&quot;: { # Preferences.
1518 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1519 },
1520 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1521 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1522 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1523 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1524 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1525 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1526 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1527 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1528 },
1529 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1530 &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.
1531 {
1532 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1533 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1534 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1535 &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.
1536 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1537 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1538 &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
1539 &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.
1540 # Required when adding an attendee.
1541 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1542 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1543 # - &quot;declined&quot; - The attendee has declined the invitation.
1544 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1545 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1546 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1547 },
1548 ],
1549 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1550 &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.
1551 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1552 &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.
1553 },
1554 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1555 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1556 &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.
1557 {
1558 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1559 # - &quot;email&quot; - Reminders are sent via email.
1560 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1561 # Required when adding a reminder.
1562 &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).
1563 # Required when adding a reminder.
1564 },
1565 ],
1566 },
1567 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1568 &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.
1569 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1570 &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.
1571 },
1572 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1573 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1574 &quot;extendedProperties&quot;: { # Extended properties of the event.
1575 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1576 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1577 },
1578 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1579 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1580 },
1581 },
1582 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1583 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1584 # - &quot;tentative&quot; - The event is tentatively confirmed.
1585 # - &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.
1586 # A cancelled status represents two different states depending on the event type:
1587 # - 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.
1588 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1589 # - 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.
1590 # 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.
1591 # 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.
1592 &quot;creator&quot;: { # The creator of the event. Read-only.
1593 &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
1594 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1595 &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.
1596 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1597 },
1598 &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.
1599 &quot;A String&quot;,
1600 ],
1601 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1602 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1603 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1604 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1605 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1606 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1607 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1608 &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.
1609 &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.
1610 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1611 &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.
1612 },
1613 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1614 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1615 &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.
1616 &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.
1617 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1618 &quot;status&quot;: { # The status of the conference create request.
1619 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1620 # The possible values are:
1621 # - &quot;pending&quot;: the conference create request is still being processed.
1622 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1623 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1624 },
1625 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1626 # 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.
1627 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1628 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1629 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1630 # The possible values are:
1631 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1632 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1633 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1634 # - &quot;addOn&quot; for 3P conference providers
1635 },
1636 },
1637 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1638 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1639 &quot;parameters&quot;: {
1640 &quot;a_key&quot;: &quot;A String&quot;,
1641 },
1642 },
1643 },
1644 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1645 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1646 # Unset for a conference with a failed create request.
1647 # Optional for a conference with a pending create request.
1648 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1649 # Unset for a conference with a failed create request.
1650 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1651 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1652 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1653 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1654 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1655 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1656 # The possible values are:
1657 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1658 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1659 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1660 # - &quot;addOn&quot; for 3P conference providers
1661 },
1662 },
1663 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1664 # Can be used by developers to keep track of conferences, should not be displayed to users.
1665 # Values for solution types:
1666 # - &quot;eventHangout&quot;: unset.
1667 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1668 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1669 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1670 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1671 # All of them must belong to the same conference.
1672 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1673 {
1674 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1675 # 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.
1676 # Optional.
1677 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1678 # 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.
1679 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1680 # 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.
1681 # Optional.
1682 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1683 # 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.
1684 # Optional.
1685 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1686 # Examples:
1687 # - for video: meet.google.com/aaa-bbbb-ccc
1688 # - for phone: +1 123 268 2601
1689 # - for sip: 12345678@altostrat.com
1690 # - for more: should not be filled
1691 # Optional.
1692 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1693 # Possible values are:
1694 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1695 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1696 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1697 # - &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.
1698 &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.
1699 &quot;A String&quot;,
1700 ],
1701 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1702 # 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.
1703 # Optional.
1704 &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.
1705 # Calendar backend will populate this field only for EntryPointType.PHONE.
1706 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1707 # Format:
1708 # - for video, http: or https: schema is required.
1709 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1710 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1711 # - for more, http: or https: schema is required.
1712 },
1713 ],
1714 &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.
1715 },
1716 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1717 # - &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.
1718 # - &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.
1719 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1720 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1721 &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.
1722 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1723 &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.
1724 &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.
1725 &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
1726 },
1727 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1728 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1729 &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.
1730 &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.
1731 # 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.
1732 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1733 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1734 &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.
1735 &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.
1736 &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.
1737 &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.
1738 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1739 &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.
1740 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1741 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1742 },
1743 &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.
1744 &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:
1745 # - 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
1746 # - the length of the ID must be between 5 and 1024 characters
1747 # - 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.
1748 # If you do not specify an ID, it will be automatically generated by the server.
1749 # 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.
1750 },
1751 ],
1752 &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.
1753 &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.
1754 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
1755 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
1756 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001775 <code class="details" id="list">list(calendarId, sharedExtendedProperty=None, updatedMin=None, showHiddenInvitations=None, orderBy=None, showDeleted=None, iCalUID=None, singleEvents=None, pageToken=None, timeZone=None, timeMax=None, maxResults=None, q=None, alwaysIncludeEmail=None, maxAttendees=None, syncToken=None, timeMin=None, privateExtendedProperty=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)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001780 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)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001781 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001782 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001783 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
1784 Allowed values
1785 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
1786 updated - Order by last modification time (ascending).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001787 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001788 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
1789 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.
1790 pageToken: string, Token specifying which result page to return. Optional.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001791 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001792 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.
1793 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.
1794 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
1795 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).
1796 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Craig Citro065b5302014-08-14 00:47:23 -07001797 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.
1798There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1799
1800These are:
1801- iCalUID
1802- orderBy
1803- privateExtendedProperty
1804- q
1805- sharedExtendedProperty
1806- timeMin
1807- timeMax
1808- 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.
1809Learn more about incremental synchronization.
1810Optional. The default is to return all entries.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001811 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.
1812 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)
John Asmuth614db982014-04-24 15:46:26 -04001813
1814Returns:
1815 An object of the form:
1816
1817 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001818 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1819 # - &quot;none&quot; - The user has no access.
1820 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1821 # - &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.
1822 # - &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.
1823 # - &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001824 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1825 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1826 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001827 &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).
1828 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001829 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1830 # - &quot;email&quot; - Reminders are sent via email.
1831 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1832 # Required when adding a reminder.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001833 &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).
1834 # Required when adding a reminder.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001835 },
1836 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001837 &quot;items&quot;: [ # List of events on the calendar.
1838 {
1839 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1840 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1841 # There can be at most 25 attachments per event,
1842 {
1843 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1844 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1845 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1846 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1847 # Required when adding an attachment.
1848 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1849 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1850 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1851 },
1852 ],
1853 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1854 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1855 &quot;preferences&quot;: { # Preferences.
1856 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1857 },
1858 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1859 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1860 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1861 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1862 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1863 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1864 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1865 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1866 },
1867 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1868 &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.
1869 {
1870 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1871 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1872 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1873 &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.
1874 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1875 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1876 &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
1877 &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.
1878 # Required when adding an attendee.
1879 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1880 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1881 # - &quot;declined&quot; - The attendee has declined the invitation.
1882 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1883 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1884 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1885 },
1886 ],
1887 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1888 &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.
1889 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1890 &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.
1891 },
1892 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1893 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1894 &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.
1895 {
1896 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1897 # - &quot;email&quot; - Reminders are sent via email.
1898 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1899 # Required when adding a reminder.
1900 &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).
1901 # Required when adding a reminder.
1902 },
1903 ],
1904 },
1905 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1906 &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.
1907 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1908 &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.
1909 },
1910 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1911 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1912 &quot;extendedProperties&quot;: { # Extended properties of the event.
1913 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1914 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1915 },
1916 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1917 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1918 },
1919 },
1920 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1921 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1922 # - &quot;tentative&quot; - The event is tentatively confirmed.
1923 # - &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.
1924 # A cancelled status represents two different states depending on the event type:
1925 # - 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.
1926 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1927 # - 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.
1928 # 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.
1929 # 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.
1930 &quot;creator&quot;: { # The creator of the event. Read-only.
1931 &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
1932 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1933 &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.
1934 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1935 },
1936 &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.
1937 &quot;A String&quot;,
1938 ],
1939 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1940 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1941 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1942 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1943 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1944 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1945 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1946 &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.
1947 &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.
1948 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1949 &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.
1950 },
1951 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1952 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1953 &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.
1954 &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.
1955 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1956 &quot;status&quot;: { # The status of the conference create request.
1957 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1958 # The possible values are:
1959 # - &quot;pending&quot;: the conference create request is still being processed.
1960 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1961 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1962 },
1963 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1964 # 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.
1965 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1966 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1967 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1968 # The possible values are:
1969 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1970 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1971 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1972 # - &quot;addOn&quot; for 3P conference providers
1973 },
1974 },
1975 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1976 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1977 &quot;parameters&quot;: {
1978 &quot;a_key&quot;: &quot;A String&quot;,
1979 },
1980 },
1981 },
1982 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1983 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1984 # Unset for a conference with a failed create request.
1985 # Optional for a conference with a pending create request.
1986 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1987 # Unset for a conference with a failed create request.
1988 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1989 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1990 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1991 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1992 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1993 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1994 # The possible values are:
1995 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1996 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1997 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1998 # - &quot;addOn&quot; for 3P conference providers
1999 },
2000 },
2001 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2002 # Can be used by developers to keep track of conferences, should not be displayed to users.
2003 # Values for solution types:
2004 # - &quot;eventHangout&quot;: unset.
2005 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2006 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2007 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2008 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2009 # All of them must belong to the same conference.
2010 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2011 {
2012 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2013 # 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.
2014 # Optional.
2015 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2016 # 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.
2017 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2018 # 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.
2019 # Optional.
2020 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2021 # 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.
2022 # Optional.
2023 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2024 # Examples:
2025 # - for video: meet.google.com/aaa-bbbb-ccc
2026 # - for phone: +1 123 268 2601
2027 # - for sip: 12345678@altostrat.com
2028 # - for more: should not be filled
2029 # Optional.
2030 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2031 # Possible values are:
2032 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2033 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2034 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2035 # - &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.
2036 &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.
2037 &quot;A String&quot;,
2038 ],
2039 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2040 # 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.
2041 # Optional.
2042 &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.
2043 # Calendar backend will populate this field only for EntryPointType.PHONE.
2044 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2045 # Format:
2046 # - for video, http: or https: schema is required.
2047 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2048 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2049 # - for more, http: or https: schema is required.
2050 },
2051 ],
2052 &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.
2053 },
2054 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2055 # - &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.
2056 # - &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.
2057 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2058 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2059 &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.
2060 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2061 &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.
2062 &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.
2063 &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
2064 },
2065 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2066 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2067 &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.
2068 &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.
2069 # 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.
2070 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2071 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2072 &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.
2073 &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.
2074 &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.
2075 &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.
2076 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2077 &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.
2078 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2079 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2080 },
2081 &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.
2082 &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:
2083 # - 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
2084 # - the length of the ID must be between 5 and 1024 characters
2085 # - 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.
2086 # If you do not specify an ID, it will be automatically generated by the server.
2087 # 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.
2088 },
2089 ],
2090 &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.
2091 &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.
2092 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
2093 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
2094 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002113 <code class="details" id="move">move(calendarId, eventId, destination, sendNotifications=None, sendUpdates=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)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002120 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2121
2122Whether 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.
Bu Sun Kim65020912020-05-20 12:08:20 -07002123 sendUpdates: string, Guests who should receive notifications about the change of the event&#x27;s organizer.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002124 Allowed values
2125 all - Notifications are sent to all guests.
2126 externalOnly - Notifications are sent to non-Google Calendar guests only.
2127 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 -04002128
2129Returns:
2130 An object of the form:
2131
2132 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002133 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2134 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2135 # There can be at most 25 attachments per event,
2136 {
2137 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2138 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2139 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2140 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2141 # Required when adding an attachment.
2142 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2143 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2144 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2145 },
2146 ],
2147 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2148 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2149 &quot;preferences&quot;: { # Preferences.
2150 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2151 },
2152 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2153 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2154 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2155 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2156 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2157 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2158 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2159 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2160 },
2161 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2162 &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.
2163 {
2164 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2165 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2166 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2167 &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.
2168 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2169 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2170 &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
2171 &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.
2172 # Required when adding an attendee.
2173 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2174 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2175 # - &quot;declined&quot; - The attendee has declined the invitation.
2176 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2177 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2178 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2179 },
2180 ],
2181 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2182 &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.
2183 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2184 &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.
2185 },
2186 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2187 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2188 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002189 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002190 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2191 # - &quot;email&quot; - Reminders are sent via email.
2192 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2193 # Required when adding a reminder.
2194 &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).
2195 # Required when adding a reminder.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002196 },
2197 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002198 },
2199 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2200 &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.
2201 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2202 &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.
2203 },
2204 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2205 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2206 &quot;extendedProperties&quot;: { # Extended properties of the event.
2207 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2208 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
John Asmuth614db982014-04-24 15:46:26 -04002209 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002210 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2211 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2212 },
2213 },
2214 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2215 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2216 # - &quot;tentative&quot; - The event is tentatively confirmed.
2217 # - &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.
2218 # A cancelled status represents two different states depending on the event type:
2219 # - 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.
2220 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2221 # - 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.
2222 # 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.
2223 # 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.
2224 &quot;creator&quot;: { # The creator of the event. Read-only.
2225 &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
2226 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2227 &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.
2228 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2229 },
2230 &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.
2231 &quot;A String&quot;,
2232 ],
2233 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2234 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2235 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2236 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2237 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2238 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2239 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2240 &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.
2241 &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.
2242 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2243 &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.
2244 },
2245 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2246 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2247 &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.
2248 &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.
2249 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2250 &quot;status&quot;: { # The status of the conference create request.
2251 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2252 # The possible values are:
2253 # - &quot;pending&quot;: the conference create request is still being processed.
2254 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2255 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002256 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002257 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2258 # 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.
2259 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2260 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2261 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2262 # The possible values are:
2263 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2264 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2265 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2266 # - &quot;addOn&quot; for 3P conference providers
2267 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002268 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002269 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2270 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2271 &quot;parameters&quot;: {
2272 &quot;a_key&quot;: &quot;A String&quot;,
2273 },
2274 },
2275 },
2276 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2277 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2278 # Unset for a conference with a failed create request.
2279 # Optional for a conference with a pending create request.
2280 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2281 # Unset for a conference with a failed create request.
2282 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2283 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2284 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2285 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2286 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2287 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2288 # The possible values are:
2289 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2290 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2291 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2292 # - &quot;addOn&quot; for 3P conference providers
2293 },
2294 },
2295 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2296 # Can be used by developers to keep track of conferences, should not be displayed to users.
2297 # Values for solution types:
2298 # - &quot;eventHangout&quot;: unset.
2299 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2300 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2301 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2302 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2303 # All of them must belong to the same conference.
2304 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002305 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002306 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2307 # 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.
2308 # Optional.
2309 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2310 # 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.
2311 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2312 # 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.
2313 # Optional.
2314 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2315 # 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.
2316 # Optional.
2317 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2318 # Examples:
2319 # - for video: meet.google.com/aaa-bbbb-ccc
2320 # - for phone: +1 123 268 2601
2321 # - for sip: 12345678@altostrat.com
2322 # - for more: should not be filled
2323 # Optional.
2324 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2325 # Possible values are:
2326 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2327 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2328 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2329 # - &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.
2330 &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.
2331 &quot;A String&quot;,
2332 ],
2333 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2334 # 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.
2335 # Optional.
2336 &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.
2337 # Calendar backend will populate this field only for EntryPointType.PHONE.
2338 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2339 # Format:
2340 # - for video, http: or https: schema is required.
2341 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2342 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2343 # - for more, http: or https: schema is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002344 },
2345 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002346 &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.
2347 },
2348 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2349 # - &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.
2350 # - &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.
2351 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2352 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2353 &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.
2354 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2355 &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.
2356 &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.
2357 &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
2358 },
2359 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2360 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2361 &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.
2362 &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.
2363 # 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.
2364 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2365 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2366 &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.
2367 &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.
2368 &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.
2369 &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.
2370 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2371 &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.
2372 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2373 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2374 },
2375 &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.
2376 &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:
2377 # - 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
2378 # - the length of the ID must be between 5 and 1024 characters
2379 # - 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.
2380 # If you do not specify an ID, it will be automatically generated by the server.
2381 # 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.
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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002386 <code class="details" id="patch">patch(calendarId, eventId, body=None, maxAttendees=None, supportsAttachments=None, alwaysIncludeEmail=None, sendUpdates=None, sendNotifications=None, conferenceDataVersion=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{
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002396 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2397 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2398 # There can be at most 25 attachments per event,
2399 {
2400 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2401 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2402 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2403 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2404 # Required when adding an attachment.
2405 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2406 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2407 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2408 },
2409 ],
2410 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2411 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2412 &quot;preferences&quot;: { # Preferences.
2413 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2414 },
2415 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2416 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2417 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2418 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2419 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2420 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2421 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2422 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2423 },
2424 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2425 &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.
2426 {
2427 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2428 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2429 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2430 &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.
2431 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2432 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2433 &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
2434 &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.
2435 # Required when adding an attendee.
2436 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2437 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2438 # - &quot;declined&quot; - The attendee has declined the invitation.
2439 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2440 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2441 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2442 },
2443 ],
2444 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2445 &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.
2446 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2447 &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.
2448 },
2449 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2450 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2451 &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.
2452 {
2453 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2454 # - &quot;email&quot; - Reminders are sent via email.
2455 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2456 # Required when adding a reminder.
2457 &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).
2458 # Required when adding a reminder.
2459 },
2460 ],
2461 },
2462 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2463 &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.
2464 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2465 &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.
2466 },
2467 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2468 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2469 &quot;extendedProperties&quot;: { # Extended properties of the event.
2470 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2471 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2472 },
2473 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2474 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2475 },
2476 },
2477 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2478 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2479 # - &quot;tentative&quot; - The event is tentatively confirmed.
2480 # - &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.
2481 # A cancelled status represents two different states depending on the event type:
2482 # - 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.
2483 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2484 # - 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.
2485 # 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.
2486 # 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.
2487 &quot;creator&quot;: { # The creator of the event. Read-only.
2488 &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
2489 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2490 &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.
2491 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2492 },
2493 &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.
2494 &quot;A String&quot;,
2495 ],
2496 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2497 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2498 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2499 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2500 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2501 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2502 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2503 &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.
2504 &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.
2505 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2506 &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.
2507 },
2508 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2509 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2510 &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.
2511 &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.
2512 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2513 &quot;status&quot;: { # The status of the conference create request.
2514 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2515 # The possible values are:
2516 # - &quot;pending&quot;: the conference create request is still being processed.
2517 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2518 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2519 },
2520 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2521 # 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.
2522 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2523 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2524 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2525 # The possible values are:
2526 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2527 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2528 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2529 # - &quot;addOn&quot; for 3P conference providers
2530 },
2531 },
2532 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2533 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2534 &quot;parameters&quot;: {
2535 &quot;a_key&quot;: &quot;A String&quot;,
2536 },
2537 },
2538 },
2539 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2540 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2541 # Unset for a conference with a failed create request.
2542 # Optional for a conference with a pending create request.
2543 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2544 # Unset for a conference with a failed create request.
2545 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2546 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2547 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2548 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2549 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2550 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2551 # The possible values are:
2552 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2553 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2554 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2555 # - &quot;addOn&quot; for 3P conference providers
2556 },
2557 },
2558 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2559 # Can be used by developers to keep track of conferences, should not be displayed to users.
2560 # Values for solution types:
2561 # - &quot;eventHangout&quot;: unset.
2562 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2563 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2564 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2565 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2566 # All of them must belong to the same conference.
2567 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2568 {
2569 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2570 # 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.
2571 # Optional.
2572 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2573 # 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.
2574 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2575 # 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.
2576 # Optional.
2577 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2578 # 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.
2579 # Optional.
2580 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2581 # Examples:
2582 # - for video: meet.google.com/aaa-bbbb-ccc
2583 # - for phone: +1 123 268 2601
2584 # - for sip: 12345678@altostrat.com
2585 # - for more: should not be filled
2586 # Optional.
2587 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2588 # Possible values are:
2589 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2590 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2591 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2592 # - &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.
2593 &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.
2594 &quot;A String&quot;,
2595 ],
2596 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2597 # 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.
2598 # Optional.
2599 &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.
2600 # Calendar backend will populate this field only for EntryPointType.PHONE.
2601 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2602 # Format:
2603 # - for video, http: or https: schema is required.
2604 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2605 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2606 # - for more, http: or https: schema is required.
2607 },
2608 ],
2609 &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.
2610 },
2611 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2612 # - &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.
2613 # - &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.
2614 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2615 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2616 &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.
2617 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2618 &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.
2619 &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.
2620 &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
2621 },
2622 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2623 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2624 &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.
2625 &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.
2626 # 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.
2627 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2628 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2629 &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.
2630 &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.
2631 &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.
2632 &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.
2633 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2634 &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.
2635 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2636 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2637 },
2638 &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.
2639 &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:
2640 # - 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
2641 # - the length of the ID must be between 5 and 1024 characters
2642 # - 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.
2643 # If you do not specify an ID, it will be automatically generated by the server.
2644 # 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.
2645}
2646
2647 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.
2648 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
2649 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).
2650 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
2651 Allowed values
2652 all - Notifications are sent to all guests.
2653 externalOnly - Notifications are sent to non-Google Calendar guests only.
2654 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).
2655 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2656
2657Whether 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.
2658 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.
2659
2660Returns:
2661 An object of the form:
2662
2663 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002664 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2665 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2666 # There can be at most 25 attachments per event,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002667 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002668 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002669 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002670 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2671 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2672 # Required when adding an attachment.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002673 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2674 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2675 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002676 },
2677 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002678 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2679 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2680 &quot;preferences&quot;: { # Preferences.
2681 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2682 },
2683 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2684 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2685 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2686 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2687 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2688 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2689 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2690 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2691 },
2692 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2693 &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.
2694 {
2695 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2696 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2697 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2698 &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.
2699 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2700 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2701 &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
2702 &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.
2703 # Required when adding an attendee.
2704 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2705 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2706 # - &quot;declined&quot; - The attendee has declined the invitation.
2707 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2708 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2709 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2710 },
2711 ],
2712 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2713 &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.
2714 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2715 &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.
2716 },
2717 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2718 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2719 &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.
2720 {
2721 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2722 # - &quot;email&quot; - Reminders are sent via email.
2723 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2724 # Required when adding a reminder.
2725 &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).
2726 # Required when adding a reminder.
2727 },
2728 ],
2729 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002730 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2731 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002732 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002733 &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.
2734 },
2735 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2736 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2737 &quot;extendedProperties&quot;: { # Extended properties of the event.
2738 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2739 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2740 },
2741 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2742 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2743 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002744 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002745 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2746 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2747 # - &quot;tentative&quot; - The event is tentatively confirmed.
2748 # - &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.
2749 # A cancelled status represents two different states depending on the event type:
2750 # - 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.
2751 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2752 # - 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.
2753 # 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.
2754 # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002755 &quot;creator&quot;: { # The creator of the event. Read-only.
2756 &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
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002757 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2758 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002759 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002760 },
2761 &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.
2762 &quot;A String&quot;,
2763 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002764 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2765 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2766 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2767 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2768 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2769 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2770 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2771 &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.
2772 &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.
2773 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2774 &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.
2775 },
2776 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2777 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002778 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002779 &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.
2780 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002781 &quot;status&quot;: { # The status of the conference create request.
2782 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2783 # The possible values are:
2784 # - &quot;pending&quot;: the conference create request is still being processed.
2785 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2786 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2787 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002788 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2789 # 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.
2790 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2791 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2792 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2793 # The possible values are:
2794 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2795 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2796 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2797 # - &quot;addOn&quot; for 3P conference providers
2798 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002799 },
2800 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2801 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2802 &quot;parameters&quot;: {
2803 &quot;a_key&quot;: &quot;A String&quot;,
2804 },
2805 },
2806 },
2807 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2808 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2809 # Unset for a conference with a failed create request.
2810 # Optional for a conference with a pending create request.
2811 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2812 # Unset for a conference with a failed create request.
2813 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2814 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2815 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2816 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2817 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2818 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2819 # The possible values are:
2820 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2821 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2822 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2823 # - &quot;addOn&quot; for 3P conference providers
2824 },
2825 },
2826 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2827 # Can be used by developers to keep track of conferences, should not be displayed to users.
2828 # Values for solution types:
2829 # - &quot;eventHangout&quot;: unset.
2830 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2831 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2832 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2833 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2834 # All of them must belong to the same conference.
2835 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2836 {
2837 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2838 # 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.
2839 # Optional.
2840 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2841 # 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.
2842 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2843 # 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.
2844 # Optional.
2845 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2846 # 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.
2847 # Optional.
2848 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2849 # Examples:
2850 # - for video: meet.google.com/aaa-bbbb-ccc
2851 # - for phone: +1 123 268 2601
2852 # - for sip: 12345678@altostrat.com
2853 # - for more: should not be filled
2854 # Optional.
2855 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2856 # Possible values are:
2857 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2858 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2859 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2860 # - &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.
2861 &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.
2862 &quot;A String&quot;,
2863 ],
2864 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2865 # 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.
2866 # Optional.
2867 &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.
2868 # Calendar backend will populate this field only for EntryPointType.PHONE.
2869 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2870 # Format:
2871 # - for video, http: or https: schema is required.
2872 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2873 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2874 # - for more, http: or https: schema is required.
2875 },
2876 ],
2877 &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.
2878 },
2879 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2880 # - &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.
2881 # - &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.
2882 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2883 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2884 &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.
2885 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2886 &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.
2887 &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.
2888 &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
2889 },
2890 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2891 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2892 &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.
2893 &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.
2894 # 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.
2895 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2896 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2897 &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.
2898 &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.
2899 &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.
2900 &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.
2901 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2902 &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.
2903 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2904 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2905 },
2906 &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.
2907 &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:
2908 # - 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
2909 # - the length of the ID must be between 5 and 1024 characters
2910 # - 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.
2911 # If you do not specify an ID, it will be automatically generated by the server.
2912 # 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.
2913 }</pre>
2914</div>
2915
2916<div class="method">
2917 <code class="details" id="quickAdd">quickAdd(calendarId, text, sendUpdates=None, sendNotifications=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 sendUpdates: string, Guests who should receive notifications about the creation of the new event.
2924 Allowed values
2925 all - Notifications are sent to all guests.
2926 externalOnly - Notifications are sent to non-Google Calendar guests only.
2927 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).
2928 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2929
2930Whether 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.
2931
2932Returns:
2933 An object of the form:
2934
2935 {
2936 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2937 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2938 # There can be at most 25 attachments per event,
2939 {
2940 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2941 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2942 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2943 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2944 # Required when adding an attachment.
2945 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2946 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2947 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2948 },
2949 ],
2950 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2951 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2952 &quot;preferences&quot;: { # Preferences.
2953 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2954 },
2955 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2956 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2957 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2958 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2959 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2960 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2961 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2962 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2963 },
2964 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2965 &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.
2966 {
2967 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2968 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2969 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2970 &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.
2971 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2972 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2973 &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
2974 &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.
2975 # Required when adding an attendee.
2976 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2977 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2978 # - &quot;declined&quot; - The attendee has declined the invitation.
2979 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2980 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2981 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2982 },
2983 ],
2984 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2985 &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.
2986 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2987 &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.
2988 },
2989 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2990 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2991 &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.
2992 {
2993 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2994 # - &quot;email&quot; - Reminders are sent via email.
2995 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2996 # Required when adding a reminder.
2997 &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).
2998 # Required when adding a reminder.
2999 },
3000 ],
3001 },
3002 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3003 &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.
3004 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3005 &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.
3006 },
3007 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3008 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3009 &quot;extendedProperties&quot;: { # Extended properties of the event.
3010 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3011 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3012 },
3013 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3014 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3015 },
3016 },
3017 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3018 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3019 # - &quot;tentative&quot; - The event is tentatively confirmed.
3020 # - &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.
3021 # A cancelled status represents two different states depending on the event type:
3022 # - 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.
3023 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3024 # - 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.
3025 # 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.
3026 # 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.
3027 &quot;creator&quot;: { # The creator of the event. Read-only.
3028 &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
3029 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3030 &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.
3031 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3032 },
3033 &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.
3034 &quot;A String&quot;,
3035 ],
3036 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3037 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3038 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3039 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3040 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3041 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3042 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3043 &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.
3044 &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.
3045 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3046 &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.
3047 },
3048 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3049 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3050 &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.
3051 &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.
3052 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003053 &quot;status&quot;: { # The status of the conference create request.
3054 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3055 # The possible values are:
3056 # - &quot;pending&quot;: the conference create request is still being processed.
3057 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3058 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003059 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003060 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3061 # 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.
3062 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3063 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3064 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3065 # The possible values are:
3066 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3067 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3068 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3069 # - &quot;addOn&quot; for 3P conference providers
3070 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003071 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003072 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3073 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3074 &quot;parameters&quot;: {
3075 &quot;a_key&quot;: &quot;A String&quot;,
3076 },
3077 },
3078 },
3079 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3080 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3081 # Unset for a conference with a failed create request.
3082 # Optional for a conference with a pending create request.
3083 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3084 # Unset for a conference with a failed create request.
3085 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3086 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3087 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3088 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3089 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3090 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3091 # The possible values are:
3092 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3093 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3094 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3095 # - &quot;addOn&quot; for 3P conference providers
3096 },
3097 },
3098 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3099 # Can be used by developers to keep track of conferences, should not be displayed to users.
3100 # Values for solution types:
3101 # - &quot;eventHangout&quot;: unset.
3102 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3103 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3104 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3105 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3106 # All of them must belong to the same conference.
3107 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003108 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003109 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3110 # 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.
3111 # Optional.
3112 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3113 # 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.
3114 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3115 # 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.
3116 # Optional.
3117 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3118 # 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.
3119 # Optional.
3120 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3121 # Examples:
3122 # - for video: meet.google.com/aaa-bbbb-ccc
3123 # - for phone: +1 123 268 2601
3124 # - for sip: 12345678@altostrat.com
3125 # - for more: should not be filled
3126 # Optional.
3127 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3128 # Possible values are:
3129 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3130 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3131 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3132 # - &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.
3133 &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.
3134 &quot;A String&quot;,
3135 ],
3136 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3137 # 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.
3138 # Optional.
3139 &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.
3140 # Calendar backend will populate this field only for EntryPointType.PHONE.
3141 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3142 # Format:
3143 # - for video, http: or https: schema is required.
3144 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3145 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3146 # - for more, http: or https: schema is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003147 },
3148 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003149 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003150 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003151 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3152 # - &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.
3153 # - &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003154 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003155 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003156 &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.
3157 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3158 &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.
3159 &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.
3160 &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
3161 },
3162 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3163 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3164 &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.
3165 &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.
3166 # 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.
3167 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3168 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3169 &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.
3170 &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.
3171 &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.
3172 &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.
3173 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3174 &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.
3175 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3176 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3177 },
3178 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003179 &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:
3180 # - 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
3181 # - the length of the ID must be between 5 and 1024 characters
3182 # - 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.
3183 # If you do not specify an ID, it will be automatically generated by the server.
3184 # 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003185 }</pre>
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003186</div>
3187
3188<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003189 <code class="details" id="update">update(calendarId, eventId, body=None, supportsAttachments=None, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None, sendUpdates=None, conferenceDataVersion=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{
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003199 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3200 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3201 # There can be at most 25 attachments per event,
3202 {
3203 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3204 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3205 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3206 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3207 # Required when adding an attachment.
3208 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3209 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3210 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3211 },
3212 ],
3213 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3214 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3215 &quot;preferences&quot;: { # Preferences.
3216 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3217 },
3218 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3219 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3220 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3221 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3222 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3223 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3224 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3225 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3226 },
3227 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3228 &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.
3229 {
3230 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3231 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3232 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3233 &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.
3234 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3235 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3236 &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
3237 &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.
3238 # Required when adding an attendee.
3239 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3240 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3241 # - &quot;declined&quot; - The attendee has declined the invitation.
3242 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3243 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3244 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3245 },
3246 ],
3247 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3248 &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.
3249 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3250 &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.
3251 },
3252 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3253 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3254 &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.
3255 {
3256 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3257 # - &quot;email&quot; - Reminders are sent via email.
3258 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3259 # Required when adding a reminder.
3260 &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).
3261 # Required when adding a reminder.
3262 },
3263 ],
3264 },
3265 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3266 &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.
3267 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3268 &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.
3269 },
3270 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3271 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3272 &quot;extendedProperties&quot;: { # Extended properties of the event.
3273 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3274 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3275 },
3276 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3277 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3278 },
3279 },
3280 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3281 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3282 # - &quot;tentative&quot; - The event is tentatively confirmed.
3283 # - &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.
3284 # A cancelled status represents two different states depending on the event type:
3285 # - 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.
3286 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3287 # - 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.
3288 # 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.
3289 # 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.
3290 &quot;creator&quot;: { # The creator of the event. Read-only.
3291 &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
3292 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3293 &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.
3294 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3295 },
3296 &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.
3297 &quot;A String&quot;,
3298 ],
3299 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3300 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3301 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3302 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3303 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3304 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3305 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3306 &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.
3307 &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.
3308 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3309 &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.
3310 },
3311 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3312 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3313 &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.
3314 &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.
3315 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3316 &quot;status&quot;: { # The status of the conference create request.
3317 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3318 # The possible values are:
3319 # - &quot;pending&quot;: the conference create request is still being processed.
3320 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3321 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3322 },
3323 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3324 # 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.
3325 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3326 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3327 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3328 # The possible values are:
3329 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3330 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3331 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3332 # - &quot;addOn&quot; for 3P conference providers
3333 },
3334 },
3335 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3336 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3337 &quot;parameters&quot;: {
3338 &quot;a_key&quot;: &quot;A String&quot;,
3339 },
3340 },
3341 },
3342 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3343 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3344 # Unset for a conference with a failed create request.
3345 # Optional for a conference with a pending create request.
3346 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3347 # Unset for a conference with a failed create request.
3348 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3349 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3350 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3351 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3352 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3353 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3354 # The possible values are:
3355 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3356 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3357 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3358 # - &quot;addOn&quot; for 3P conference providers
3359 },
3360 },
3361 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3362 # Can be used by developers to keep track of conferences, should not be displayed to users.
3363 # Values for solution types:
3364 # - &quot;eventHangout&quot;: unset.
3365 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3366 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3367 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3368 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3369 # All of them must belong to the same conference.
3370 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3371 {
3372 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3373 # 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.
3374 # Optional.
3375 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3376 # 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.
3377 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3378 # 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.
3379 # Optional.
3380 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3381 # 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.
3382 # Optional.
3383 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3384 # Examples:
3385 # - for video: meet.google.com/aaa-bbbb-ccc
3386 # - for phone: +1 123 268 2601
3387 # - for sip: 12345678@altostrat.com
3388 # - for more: should not be filled
3389 # Optional.
3390 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3391 # Possible values are:
3392 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3393 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3394 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3395 # - &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.
3396 &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.
3397 &quot;A String&quot;,
3398 ],
3399 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3400 # 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.
3401 # Optional.
3402 &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.
3403 # Calendar backend will populate this field only for EntryPointType.PHONE.
3404 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3405 # Format:
3406 # - for video, http: or https: schema is required.
3407 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3408 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3409 # - for more, http: or https: schema is required.
3410 },
3411 ],
3412 &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.
3413 },
3414 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3415 # - &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.
3416 # - &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.
3417 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3418 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3419 &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.
3420 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3421 &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.
3422 &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.
3423 &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
3424 },
3425 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3426 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3427 &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.
3428 &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.
3429 # 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.
3430 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3431 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3432 &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.
3433 &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.
3434 &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.
3435 &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.
3436 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3437 &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.
3438 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3439 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3440 },
3441 &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.
3442 &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:
3443 # - 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
3444 # - the length of the ID must be between 5 and 1024 characters
3445 # - 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.
3446 # If you do not specify an ID, it will be automatically generated by the server.
3447 # 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.
3448}
3449
3450 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
3451 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
3452
3453Whether 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.
3454 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).
3455 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.
3456 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
3457 Allowed values
3458 all - Notifications are sent to all guests.
3459 externalOnly - Notifications are sent to non-Google Calendar guests only.
3460 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).
3461 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.
3462
3463Returns:
3464 An object of the form:
3465
3466 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003467 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3468 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3469 # There can be at most 25 attachments per event,
3470 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003471 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003472 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003473 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3474 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3475 # Required when adding an attachment.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003476 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3477 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3478 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003479 },
3480 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003481 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3482 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3483 &quot;preferences&quot;: { # Preferences.
3484 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3485 },
3486 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3487 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3488 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3489 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3490 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3491 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3492 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3493 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3494 },
3495 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3496 &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.
3497 {
3498 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3499 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3500 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3501 &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.
3502 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3503 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3504 &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
3505 &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.
3506 # Required when adding an attendee.
3507 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3508 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3509 # - &quot;declined&quot; - The attendee has declined the invitation.
3510 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3511 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3512 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3513 },
3514 ],
3515 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3516 &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.
3517 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3518 &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.
3519 },
3520 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3521 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3522 &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.
3523 {
3524 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3525 # - &quot;email&quot; - Reminders are sent via email.
3526 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3527 # Required when adding a reminder.
3528 &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).
3529 # Required when adding a reminder.
3530 },
3531 ],
3532 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003533 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003534 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003535 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003536 &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.
3537 },
3538 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3539 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3540 &quot;extendedProperties&quot;: { # Extended properties of the event.
3541 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3542 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3543 },
3544 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3545 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3546 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003547 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003548 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3549 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3550 # - &quot;tentative&quot; - The event is tentatively confirmed.
3551 # - &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.
3552 # A cancelled status represents two different states depending on the event type:
3553 # - 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.
3554 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3555 # - 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.
3556 # 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.
3557 # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003558 &quot;creator&quot;: { # The creator of the event. Read-only.
3559 &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
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003560 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3561 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003562 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003563 },
3564 &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.
3565 &quot;A String&quot;,
3566 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003567 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3568 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3569 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3570 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3571 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3572 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3573 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3574 &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.
3575 &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.
3576 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3577 &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.
3578 },
3579 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3580 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003581 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003582 &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.
3583 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003584 &quot;status&quot;: { # The status of the conference create request.
3585 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3586 # The possible values are:
3587 # - &quot;pending&quot;: the conference create request is still being processed.
3588 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3589 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3590 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003591 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3592 # 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.
3593 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3594 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3595 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3596 # The possible values are:
3597 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3598 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3599 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3600 # - &quot;addOn&quot; for 3P conference providers
3601 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003602 },
3603 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3604 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3605 &quot;parameters&quot;: {
3606 &quot;a_key&quot;: &quot;A String&quot;,
3607 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003608 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003609 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003610 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3611 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3612 # Unset for a conference with a failed create request.
3613 # Optional for a conference with a pending create request.
3614 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3615 # Unset for a conference with a failed create request.
3616 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3617 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3618 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3619 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3620 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3621 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3622 # The possible values are:
3623 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3624 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3625 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3626 # - &quot;addOn&quot; for 3P conference providers
3627 },
3628 },
3629 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3630 # Can be used by developers to keep track of conferences, should not be displayed to users.
3631 # Values for solution types:
3632 # - &quot;eventHangout&quot;: unset.
3633 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3634 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3635 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3636 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3637 # All of them must belong to the same conference.
3638 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003639 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003640 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3641 # 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.
3642 # Optional.
3643 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3644 # 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.
3645 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3646 # 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.
3647 # Optional.
3648 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3649 # 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.
3650 # Optional.
3651 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3652 # Examples:
3653 # - for video: meet.google.com/aaa-bbbb-ccc
3654 # - for phone: +1 123 268 2601
3655 # - for sip: 12345678@altostrat.com
3656 # - for more: should not be filled
3657 # Optional.
3658 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3659 # Possible values are:
3660 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3661 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3662 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3663 # - &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.
3664 &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.
3665 &quot;A String&quot;,
3666 ],
3667 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3668 # 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.
3669 # Optional.
3670 &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.
3671 # Calendar backend will populate this field only for EntryPointType.PHONE.
3672 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3673 # Format:
3674 # - for video, http: or https: schema is required.
3675 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3676 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3677 # - for more, http: or https: schema is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003678 },
3679 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003680 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003681 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003682 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3683 # - &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.
3684 # - &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003685 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003686 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003687 &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.
3688 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3689 &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.
3690 &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.
3691 &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
3692 },
3693 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3694 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3695 &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.
3696 &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.
3697 # 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.
3698 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3699 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3700 &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.
3701 &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.
3702 &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.
3703 &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.
3704 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3705 &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.
3706 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3707 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3708 },
3709 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003710 &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:
3711 # - 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
3712 # - the length of the ID must be between 5 and 1024 characters
3713 # - 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.
3714 # If you do not specify an ID, it will be automatically generated by the server.
3715 # 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003716 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04003717</div>
3718
3719<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003720 <code class="details" id="watch">watch(calendarId, body=None, sharedExtendedProperty=None, q=None, timeMin=None, showDeleted=None, privateExtendedProperty=None, iCalUID=None, timeMax=None, updatedMin=None, singleEvents=None, syncToken=None, alwaysIncludeEmail=None, timeZone=None, pageToken=None, showHiddenInvitations=None, orderBy=None, maxResults=None, maxAttendees=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{
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003729 &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;.
3730 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003731 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3732 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
3733 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
3734 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3735 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3736 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003737 &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
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003743 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)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003744 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003745 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.
3746 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.
3747 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)
3748 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
3749 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.
3750 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.
3751 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 -07003752 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.
3753There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
3754
3755These are:
3756- iCalUID
3757- orderBy
3758- privateExtendedProperty
3759- q
3760- sharedExtendedProperty
3761- timeMin
3762- timeMax
3763- 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.
3764Learn more about incremental synchronization.
3765Optional. The default is to return all entries.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003766 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).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003767 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
3768 pageToken: string, Token specifying which result page to return. Optional.
3769 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003770 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
3771 Allowed values
3772 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
3773 updated - Order by last modification time (ascending).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003774 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.
3775 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 -04003776
3777Returns:
3778 An object of the form:
3779
3780 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003781 &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;.
3782 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003783 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3784 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
3785 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
3786 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3787 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3788 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003789 &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>