blob: 8efd17bdc04edecf73163a068c2df22b14f0352f [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="calendar_v3.html">Calendar API</a> . <a href="calendar_v3.events.html">events</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070081 <code><a href="#delete">delete(calendarId, eventId, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Deletes an event.</p>
83<p class="toc_element">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -080084 <code><a href="#get">get(calendarId, eventId, maxAttendees=None, timeZone=None, alwaysIncludeEmail=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 Botc2228be2020-11-24 15:48:03 -080090 <code><a href="#insert">insert(calendarId, body=None, sendNotifications=None, supportsAttachments=None, maxAttendees=None, sendUpdates=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 Botc2228be2020-11-24 15:48:03 -080093 <code><a href="#instances">instances(calendarId, eventId, alwaysIncludeEmail=None, originalStart=None, timeMin=None, maxResults=None, pageToken=None, showDeleted=None, timeZone=None, timeMax=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 Botc2228be2020-11-24 15:48:03 -080099 <code><a href="#list">list(calendarId, timeZone=None, syncToken=None, orderBy=None, timeMax=None, maxAttendees=None, showDeleted=None, iCalUID=None, updatedMin=None, privateExtendedProperty=None, sharedExtendedProperty=None, alwaysIncludeEmail=None, showHiddenInvitations=None, timeMin=None, singleEvents=None, q=None, maxResults=None, pageToken=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400100<p class="firstline">Returns events on the specified calendar.</p>
101<p class="toc_element">
102 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
103<p class="firstline">Retrieves the next page of results.</p>
104<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700105 <code><a href="#move">move(calendarId, eventId, destination, sendUpdates=None, sendNotifications=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400106<p class="firstline">Moves an event to another calendar, i.e. changes an event's organizer.</p>
107<p class="toc_element">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800108 <code><a href="#patch">patch(calendarId, eventId, body=None, maxAttendees=None, conferenceDataVersion=None, alwaysIncludeEmail=None, sendUpdates=None, sendNotifications=None, supportsAttachments=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 Botc2228be2020-11-24 15:48: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 Botc2228be2020-11-24 15:48:03 -0800114 <code><a href="#update">update(calendarId, eventId, body=None, conferenceDataVersion=None, supportsAttachments=None, maxAttendees=None, sendUpdates=None, alwaysIncludeEmail=None, sendNotifications=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 Botc2228be2020-11-24 15:48:03 -0800117 <code><a href="#watch">watch(calendarId, body=None, timeMax=None, q=None, iCalUID=None, singleEvents=None, pageToken=None, timeZone=None, timeMin=None, maxAttendees=None, sharedExtendedProperty=None, maxResults=None, privateExtendedProperty=None, alwaysIncludeEmail=None, syncToken=None, showDeleted=None, orderBy=None, showHiddenInvitations=None, updatedMin=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400118<p class="firstline">Watch for changes to Events resources.</p>
119<h3>Method Details</h3>
120<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121 <code class="details" id="close">close()</code>
122 <pre>Close httplib2 connections.</pre>
123</div>
124
125<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700126 <code class="details" id="delete">delete(calendarId, eventId, sendNotifications=None, sendUpdates=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400127 <pre>Deletes an event.
128
129Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700130 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
John Asmuth614db982014-04-24 15:46:26 -0400131 eventId: string, Event identifier. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700132 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
133
134Whether to send notifications about the deletion of the event. Note that some emails might still be sent even if you set the value to false. The default is false.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700135 sendUpdates: string, Guests who should receive notifications about the deletion of the event.
136 Allowed values
137 all - Notifications are sent to all guests.
138 externalOnly - Notifications are sent to non-Google Calendar guests only.
139 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
John Asmuth614db982014-04-24 15:46:26 -0400140</pre>
141</div>
142
143<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800144 <code class="details" id="get">get(calendarId, eventId, maxAttendees=None, timeZone=None, alwaysIncludeEmail=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400145 <pre>Returns an event.
146
147Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700148 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
John Asmuth614db982014-04-24 15:46:26 -0400149 eventId: string, Event identifier. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 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 Botc2228be2020-11-24 15:48:03 -0800151 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
152 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
John Asmuth614db982014-04-24 15:46:26 -0400153
154Returns:
155 An object of the form:
156
157 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800158 &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.
159 {
160 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
161 &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.
162 # Required when adding an attendee.
163 &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
164 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
165 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
166 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
167 # - &quot;declined&quot; - The attendee has declined the invitation.
168 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
169 # - &quot;accepted&quot; - The attendee has accepted the invitation.
170 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
171 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
172 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
173 &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.
174 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700175 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800176 ],
177 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
178 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
179 # In order to modify attachments the supportsAttachments request parameter should be set to true.
180 # There can be at most 25 attachments per event,
181 {
182 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
183 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
184 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
185 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
186 # Required when adding an attachment.
187 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
188 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
189 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
190 },
191 ],
192 &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.
193 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
194 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
195 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
196 &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:
197 # - 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
198 # - the length of the ID must be between 5 and 1024 characters
199 # - 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.
200 # If you do not specify an ID, it will be automatically generated by the server.
201 # 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.
202 &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.
203 &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.
204 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
205 &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.
206 },
207 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
208 &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.
209 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
210 &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.
211 },
212 &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.
213 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
214 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
215 # - &quot;tentative&quot; - The event is tentatively confirmed.
216 # - &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.
217 # A cancelled status represents two different states depending on the event type:
218 # - 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.
219 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
220 # - 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.
221 # 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.
222 # 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.
223 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
224 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
225 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
226 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
227 &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 -0700228 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800229 &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).
230 # Required when adding a reminder.
231 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
232 # - &quot;email&quot; - Reminders are sent via email.
233 # - &quot;popup&quot; - Reminders are sent via a UI popup.
234 # Required when adding a reminder.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700235 },
236 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800237 },
238 &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.
239 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
240 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
241 },
242 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
243 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
244 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
245 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
246 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
247 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
248 # - &quot;chip&quot; - The gadget displays when the event is clicked.
249 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
250 &quot;preferences&quot;: { # Preferences.
251 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
Bu Sun Kim65020912020-05-20 12:08:20 -0700252 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800253 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
254 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
255 },
256 &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.
257 &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.
258 &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.
259 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
260 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
261 &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.
262 &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.
263 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
264 &quot;status&quot;: { # The status of the conference create request.
265 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
266 # The possible values are:
267 # - &quot;pending&quot;: the conference create request is still being processed.
268 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
269 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
270 },
271 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
272 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
273 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
274 # The possible values are:
275 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
276 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
277 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
278 # - &quot;addOn&quot; for 3P conference providers
279 },
280 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
281 # 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.
282 },
283 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
284 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
285 # Unset for a conference with a failed create request.
286 # Optional for a conference with a pending create request.
287 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
288 # All of them must belong to the same conference.
289 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700290 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800291 &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.
292 # Calendar backend will populate this field only for EntryPointType.PHONE.
293 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
294 # Format:
295 # - for video, http: or https: schema is required.
296 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
297 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
298 # - for more, http: or https: schema is required.
299 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
300 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
301 # Optional.
302 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
303 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
304 # Optional.
305 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
306 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
307 &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.
308 &quot;A String&quot;,
309 ],
310 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
311 # Possible values are:
312 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
313 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
314 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
315 # - &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.
316 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
317 # Examples:
318 # - for video: meet.google.com/aaa-bbbb-ccc
319 # - for phone: +1 123 268 2601
320 # - for sip: 12345678@altostrat.com
321 # - for more: should not be filled
322 # Optional.
323 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
324 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
325 # Optional.
326 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
327 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
328 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700329 },
330 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800331 &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.
332 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
333 # Can be used by developers to keep track of conferences, should not be displayed to users.
334 # Values for solution types:
335 # - &quot;eventHangout&quot;: unset.
336 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
337 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
338 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
339 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
340 &quot;addOnParameters&quot;: { # Additional add-on specific data.
341 &quot;parameters&quot;: {
342 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700343 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700344 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800346 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
347 # Unset for a conference with a failed create request.
348 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
349 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
350 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
351 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
352 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
353 # The possible values are:
354 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
355 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
356 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
357 # - &quot;addOn&quot; for 3P conference providers
Takashi Matsuo06694102015-09-11 13:55:40 -0700358 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800359 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700360 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800361 },
362 &quot;extendedProperties&quot;: { # Extended properties of the event.
363 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
364 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700365 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800366 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
367 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700368 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800369 },
370 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
371 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
372 &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.
373 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
374 &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.
375 },
376 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
377 # - &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.
378 # - &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.
379 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
380 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
381 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
382 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
383 # - &quot;private&quot; - The event is private and only event attendees may view event details.
384 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
385 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
386 &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.
387 &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.
388 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
389 &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.
390 &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
391 },
392 &quot;creator&quot;: { # The creator of the event. Read-only.
393 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
394 &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
395 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
396 &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.
397 },
398 &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.
399 &quot;A String&quot;,
400 ],
401 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
402 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
403 &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.
404 # 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.
405 &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.
406 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
407 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400408</div>
409
410<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700411 <code class="details" id="import_">import_(calendarId, body=None, conferenceDataVersion=None, supportsAttachments=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400412 <pre>Imports an event. This operation is used to add a private copy of an existing event to a calendar.
413
414Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700415 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700416 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400417 The object takes the form of:
418
419{
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800420 &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.
421 {
422 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
423 &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.
424 # Required when adding an attendee.
425 &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
426 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
427 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
428 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
429 # - &quot;declined&quot; - The attendee has declined the invitation.
430 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
431 # - &quot;accepted&quot; - The attendee has accepted the invitation.
432 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
433 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
434 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
435 &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.
436 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700437 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800438 ],
439 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
440 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
441 # In order to modify attachments the supportsAttachments request parameter should be set to true.
442 # There can be at most 25 attachments per event,
443 {
444 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
445 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
446 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
447 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
448 # Required when adding an attachment.
449 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
450 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
451 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
452 },
453 ],
454 &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.
455 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
456 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
457 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
458 &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:
459 # - 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
460 # - the length of the ID must be between 5 and 1024 characters
461 # - 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.
462 # If you do not specify an ID, it will be automatically generated by the server.
463 # 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.
464 &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.
465 &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.
466 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
467 &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.
468 },
469 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
470 &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.
471 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
472 &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.
473 },
474 &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.
475 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
476 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
477 # - &quot;tentative&quot; - The event is tentatively confirmed.
478 # - &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.
479 # A cancelled status represents two different states depending on the event type:
480 # - 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.
481 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
482 # - 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.
483 # 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.
484 # 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.
485 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
486 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
487 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
488 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
489 &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.
490 {
491 &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).
492 # Required when adding a reminder.
493 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
494 # - &quot;email&quot; - Reminders are sent via email.
495 # - &quot;popup&quot; - Reminders are sent via a UI popup.
496 # Required when adding a reminder.
497 },
498 ],
499 },
500 &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.
501 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
502 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
503 },
504 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
505 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
506 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
507 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
508 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
509 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
510 # - &quot;chip&quot; - The gadget displays when the event is clicked.
511 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
512 &quot;preferences&quot;: { # Preferences.
513 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
514 },
515 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
516 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
517 },
518 &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.
519 &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.
520 &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.
521 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
522 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
523 &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.
524 &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.
525 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
526 &quot;status&quot;: { # The status of the conference create request.
527 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
528 # The possible values are:
529 # - &quot;pending&quot;: the conference create request is still being processed.
530 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
531 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
532 },
533 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
534 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
535 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
536 # The possible values are:
537 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
538 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
539 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
540 # - &quot;addOn&quot; for 3P conference providers
541 },
542 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
543 # 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.
544 },
545 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
546 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
547 # Unset for a conference with a failed create request.
548 # Optional for a conference with a pending create request.
549 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
550 # All of them must belong to the same conference.
551 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
552 {
553 &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.
554 # Calendar backend will populate this field only for EntryPointType.PHONE.
555 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
556 # Format:
557 # - for video, http: or https: schema is required.
558 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
559 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
560 # - for more, http: or https: schema is required.
561 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
562 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
563 # Optional.
564 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
565 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
566 # Optional.
567 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
568 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
569 &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.
570 &quot;A String&quot;,
571 ],
572 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
573 # Possible values are:
574 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
575 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
576 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
577 # - &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.
578 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
579 # Examples:
580 # - for video: meet.google.com/aaa-bbbb-ccc
581 # - for phone: +1 123 268 2601
582 # - for sip: 12345678@altostrat.com
583 # - for more: should not be filled
584 # Optional.
585 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
586 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
587 # Optional.
588 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
589 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
590 # Optional.
591 },
592 ],
593 &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.
594 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
595 # Can be used by developers to keep track of conferences, should not be displayed to users.
596 # Values for solution types:
597 # - &quot;eventHangout&quot;: unset.
598 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
599 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
600 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
601 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
602 &quot;addOnParameters&quot;: { # Additional add-on specific data.
603 &quot;parameters&quot;: {
604 &quot;a_key&quot;: &quot;A String&quot;,
605 },
606 },
607 },
608 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
609 # Unset for a conference with a failed create request.
610 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
611 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
612 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
613 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
614 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
615 # The possible values are:
616 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
617 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
618 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
619 # - &quot;addOn&quot; for 3P conference providers
620 },
621 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
622 },
623 },
624 &quot;extendedProperties&quot;: { # Extended properties of the event.
625 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
626 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
627 },
628 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
629 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
630 },
631 },
632 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
633 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
634 &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.
635 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
636 &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.
637 },
638 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
639 # - &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.
640 # - &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.
641 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
642 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
643 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
644 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
645 # - &quot;private&quot; - The event is private and only event attendees may view event details.
646 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
647 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
648 &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.
649 &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.
650 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
651 &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.
652 &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
653 },
654 &quot;creator&quot;: { # The creator of the event. Read-only.
655 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
656 &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
657 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
658 &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.
659 },
660 &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.
661 &quot;A String&quot;,
662 ],
663 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
664 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
665 &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.
666 # 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.
667 &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.
668 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
669}
670
671 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
672 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
673
674Returns:
675 An object of the form:
676
677 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700678 &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.
679 {
680 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700681 &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.
682 # Required when adding an attendee.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700683 &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
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800684 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700685 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
686 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
687 # - &quot;declined&quot; - The attendee has declined the invitation.
688 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
689 # - &quot;accepted&quot; - The attendee has accepted the invitation.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800690 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
691 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700692 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700693 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800694 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700695 },
696 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800697 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
698 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
699 # In order to modify attachments the supportsAttachments request parameter should be set to true.
700 # There can be at most 25 attachments per event,
701 {
702 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
703 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
704 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
705 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
706 # Required when adding an attachment.
707 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
708 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
709 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
710 },
711 ],
712 &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.
713 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
714 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
715 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700716 &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:
717 # - 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
718 # - the length of the ID must be between 5 and 1024 characters
719 # - 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.
720 # If you do not specify an ID, it will be automatically generated by the server.
721 # 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 Botc2228be2020-11-24 15:48:03 -0800722 &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.
723 &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.
724 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
725 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700726 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800727 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
728 &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.
729 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
730 &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.
731 },
732 &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.
733 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
734 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
735 # - &quot;tentative&quot; - The event is tentatively confirmed.
736 # - &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.
737 # A cancelled status represents two different states depending on the event type:
738 # - 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.
739 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
740 # - 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.
741 # 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.
742 # 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.
743 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
744 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
745 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
746 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
747 &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.
748 {
749 &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).
750 # Required when adding a reminder.
751 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
752 # - &quot;email&quot; - Reminders are sent via email.
753 # - &quot;popup&quot; - Reminders are sent via a UI popup.
754 # Required when adding a reminder.
755 },
756 ],
757 },
758 &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.
759 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
760 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
761 },
762 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
763 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
764 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
765 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
766 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
767 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
768 # - &quot;chip&quot; - The gadget displays when the event is clicked.
769 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
770 &quot;preferences&quot;: { # Preferences.
771 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
772 },
773 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
774 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
775 },
776 &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.
777 &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.
778 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700779 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800780 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700781 &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.
782 &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.
783 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800784 &quot;status&quot;: { # The status of the conference create request.
785 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
786 # The possible values are:
787 # - &quot;pending&quot;: the conference create request is still being processed.
788 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
789 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
790 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700791 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
792 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
793 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
794 # The possible values are:
795 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
796 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
797 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
798 # - &quot;addOn&quot; for 3P conference providers
799 },
800 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
801 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700802 },
803 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
804 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
805 # Unset for a conference with a failed create request.
806 # Optional for a conference with a pending create request.
807 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
808 # All of them must belong to the same conference.
809 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
810 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800811 &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.
812 # Calendar backend will populate this field only for EntryPointType.PHONE.
813 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
814 # Format:
815 # - for video, http: or https: schema is required.
816 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
817 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
818 # - for more, http: or https: schema is required.
819 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
820 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
821 # Optional.
822 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
823 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
824 # Optional.
825 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
826 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
827 &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.
828 &quot;A String&quot;,
829 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700830 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
831 # Possible values are:
832 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
833 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
834 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
835 # - &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700836 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
837 # Examples:
838 # - for video: meet.google.com/aaa-bbbb-ccc
839 # - for phone: +1 123 268 2601
840 # - for sip: 12345678@altostrat.com
841 # - for more: should not be filled
842 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700843 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
844 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
845 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700846 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
847 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
848 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700849 },
850 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800851 &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.
852 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
853 # Can be used by developers to keep track of conferences, should not be displayed to users.
854 # Values for solution types:
855 # - &quot;eventHangout&quot;: unset.
856 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
857 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
858 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700859 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
860 &quot;addOnParameters&quot;: { # Additional add-on specific data.
861 &quot;parameters&quot;: {
862 &quot;a_key&quot;: &quot;A String&quot;,
863 },
864 },
865 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800866 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
867 # Unset for a conference with a failed create request.
868 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
869 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
870 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
871 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
872 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
873 # The possible values are:
874 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
875 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
876 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
877 # - &quot;addOn&quot; for 3P conference providers
878 },
879 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
880 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700881 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800882 &quot;extendedProperties&quot;: { # Extended properties of the event.
883 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
884 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
885 },
886 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
887 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
888 },
889 },
890 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
891 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
892 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700893 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
894 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700895 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800896 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
897 # - &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.
898 # - &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.
899 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700900 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
901 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
902 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
903 # - &quot;private&quot; - The event is private and only event attendees may view event details.
904 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700905 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800906 &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.
907 &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.
908 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
909 &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.
910 &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
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700911 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700912 &quot;creator&quot;: { # The creator of the event. Read-only.
913 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700914 &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 Botc2228be2020-11-24 15:48:03 -0800915 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
916 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700917 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800918 &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.
919 &quot;A String&quot;,
920 ],
921 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
922 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700923 &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.
924 # 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 Botc2228be2020-11-24 15:48:03 -0800925 &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.
926 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
927 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700928</div>
John Asmuth614db982014-04-24 15:46:26 -0400929
Bu Sun Kim65020912020-05-20 12:08:20 -0700930<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800931 <code class="details" id="insert">insert(calendarId, body=None, sendNotifications=None, supportsAttachments=None, maxAttendees=None, sendUpdates=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 Botc2228be2020-11-24 15:48:03 -0800940 &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.
941 {
942 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
943 &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.
944 # Required when adding an attendee.
945 &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
946 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
947 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
948 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
949 # - &quot;declined&quot; - The attendee has declined the invitation.
950 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
951 # - &quot;accepted&quot; - The attendee has accepted the invitation.
952 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
953 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
954 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
955 &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.
956 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700957 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800958 ],
959 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
960 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
961 # In order to modify attachments the supportsAttachments request parameter should be set to true.
962 # There can be at most 25 attachments per event,
963 {
964 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
965 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
966 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
967 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
968 # Required when adding an attachment.
969 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
970 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
971 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
972 },
973 ],
974 &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.
975 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
976 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
977 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
978 &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:
979 # - 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
980 # - the length of the ID must be between 5 and 1024 characters
981 # - 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.
982 # If you do not specify an ID, it will be automatically generated by the server.
983 # 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.
984 &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.
985 &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.
986 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
987 &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.
988 },
989 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
990 &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.
991 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
992 &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.
993 },
994 &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.
995 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
996 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
997 # - &quot;tentative&quot; - The event is tentatively confirmed.
998 # - &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.
999 # A cancelled status represents two different states depending on the event type:
1000 # - 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.
1001 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1002 # - 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.
1003 # 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.
1004 # 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.
1005 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1006 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1007 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1008 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1009 &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.
1010 {
1011 &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).
1012 # Required when adding a reminder.
1013 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1014 # - &quot;email&quot; - Reminders are sent via email.
1015 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1016 # Required when adding a reminder.
1017 },
1018 ],
1019 },
1020 &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.
1021 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1022 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1023 },
1024 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1025 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1026 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1027 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1028 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1029 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1030 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1031 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1032 &quot;preferences&quot;: { # Preferences.
1033 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1034 },
1035 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1036 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1037 },
1038 &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.
1039 &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.
1040 &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.
1041 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1042 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1043 &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.
1044 &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.
1045 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1046 &quot;status&quot;: { # The status of the conference create request.
1047 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1048 # The possible values are:
1049 # - &quot;pending&quot;: the conference create request is still being processed.
1050 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1051 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1052 },
1053 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1054 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1055 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1056 # The possible values are:
1057 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1058 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1059 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1060 # - &quot;addOn&quot; for 3P conference providers
1061 },
1062 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1063 # 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.
1064 },
1065 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1066 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1067 # Unset for a conference with a failed create request.
1068 # Optional for a conference with a pending create request.
1069 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1070 # All of them must belong to the same conference.
1071 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1072 {
1073 &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.
1074 # Calendar backend will populate this field only for EntryPointType.PHONE.
1075 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1076 # Format:
1077 # - for video, http: or https: schema is required.
1078 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1079 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1080 # - for more, http: or https: schema is required.
1081 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1082 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1083 # Optional.
1084 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1085 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1086 # Optional.
1087 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1088 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1089 &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.
1090 &quot;A String&quot;,
1091 ],
1092 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1093 # Possible values are:
1094 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1095 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1096 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1097 # - &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.
1098 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1099 # Examples:
1100 # - for video: meet.google.com/aaa-bbbb-ccc
1101 # - for phone: +1 123 268 2601
1102 # - for sip: 12345678@altostrat.com
1103 # - for more: should not be filled
1104 # Optional.
1105 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1106 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1107 # Optional.
1108 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1109 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1110 # Optional.
1111 },
1112 ],
1113 &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.
1114 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1115 # Can be used by developers to keep track of conferences, should not be displayed to users.
1116 # Values for solution types:
1117 # - &quot;eventHangout&quot;: unset.
1118 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1119 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1120 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1121 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1122 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1123 &quot;parameters&quot;: {
1124 &quot;a_key&quot;: &quot;A String&quot;,
1125 },
1126 },
1127 },
1128 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1129 # Unset for a conference with a failed create request.
1130 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1131 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1132 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1133 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1134 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1135 # The possible values are:
1136 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1137 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1138 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1139 # - &quot;addOn&quot; for 3P conference providers
1140 },
1141 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1142 },
1143 },
1144 &quot;extendedProperties&quot;: { # Extended properties of the event.
1145 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1146 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1147 },
1148 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1149 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1150 },
1151 },
1152 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1153 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1154 &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.
1155 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1156 &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.
1157 },
1158 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1159 # - &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.
1160 # - &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.
1161 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1162 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1163 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1164 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1165 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1166 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1167 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1168 &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.
1169 &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.
1170 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1171 &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.
1172 &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
1173 },
1174 &quot;creator&quot;: { # The creator of the event. Read-only.
1175 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1176 &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
1177 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1178 &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.
1179 },
1180 &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.
1181 &quot;A String&quot;,
1182 ],
1183 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1184 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1185 &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.
1186 # 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.
1187 &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.
1188 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1189}
1190
1191 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
1192
1193Whether 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.
1194 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
1195 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.
1196 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.
1197 Allowed values
1198 all - Notifications are sent to all guests.
1199 externalOnly - Notifications are sent to non-Google Calendar guests only.
1200 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).
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 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001207 &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.
1208 {
1209 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001210 &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.
1211 # Required when adding an attendee.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001212 &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
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001213 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001214 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1215 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1216 # - &quot;declined&quot; - The attendee has declined the invitation.
1217 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1218 # - &quot;accepted&quot; - The attendee has accepted the invitation.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001219 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1220 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001221 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001222 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001223 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001224 },
1225 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001226 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1227 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1228 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1229 # There can be at most 25 attachments per event,
1230 {
1231 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1232 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1233 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1234 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1235 # Required when adding an attachment.
1236 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1237 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1238 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1239 },
1240 ],
1241 &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.
1242 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1243 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1244 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001245 &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:
1246 # - 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
1247 # - the length of the ID must be between 5 and 1024 characters
1248 # - 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.
1249 # If you do not specify an ID, it will be automatically generated by the server.
1250 # 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 Botc2228be2020-11-24 15:48:03 -08001251 &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.
1252 &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.
1253 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1254 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001255 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001256 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1257 &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.
1258 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1259 &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.
1260 },
1261 &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.
1262 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1263 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1264 # - &quot;tentative&quot; - The event is tentatively confirmed.
1265 # - &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.
1266 # A cancelled status represents two different states depending on the event type:
1267 # - 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.
1268 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1269 # - 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.
1270 # 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.
1271 # 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.
1272 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1273 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1274 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1275 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1276 &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.
1277 {
1278 &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).
1279 # Required when adding a reminder.
1280 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1281 # - &quot;email&quot; - Reminders are sent via email.
1282 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1283 # Required when adding a reminder.
1284 },
1285 ],
1286 },
1287 &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.
1288 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1289 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1290 },
1291 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1292 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1293 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1294 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1295 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1296 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1297 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1298 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1299 &quot;preferences&quot;: { # Preferences.
1300 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1301 },
1302 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1303 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1304 },
1305 &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.
1306 &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.
1307 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001308 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001309 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001310 &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.
1311 &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.
1312 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001313 &quot;status&quot;: { # The status of the conference create request.
1314 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1315 # The possible values are:
1316 # - &quot;pending&quot;: the conference create request is still being processed.
1317 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1318 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1319 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001320 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1321 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1322 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1323 # The possible values are:
1324 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1325 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1326 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1327 # - &quot;addOn&quot; for 3P conference providers
1328 },
1329 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1330 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001331 },
1332 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1333 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1334 # Unset for a conference with a failed create request.
1335 # Optional for a conference with a pending create request.
1336 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1337 # All of them must belong to the same conference.
1338 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1339 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001340 &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.
1341 # Calendar backend will populate this field only for EntryPointType.PHONE.
1342 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1343 # Format:
1344 # - for video, http: or https: schema is required.
1345 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1346 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1347 # - for more, http: or https: schema is required.
1348 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1349 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1350 # Optional.
1351 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1352 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1353 # Optional.
1354 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1355 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1356 &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.
1357 &quot;A String&quot;,
1358 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001359 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1360 # Possible values are:
1361 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1362 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1363 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1364 # - &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001365 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1366 # Examples:
1367 # - for video: meet.google.com/aaa-bbbb-ccc
1368 # - for phone: +1 123 268 2601
1369 # - for sip: 12345678@altostrat.com
1370 # - for more: should not be filled
1371 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001372 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1373 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1374 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001375 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1376 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1377 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001378 },
1379 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001380 &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.
1381 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1382 # Can be used by developers to keep track of conferences, should not be displayed to users.
1383 # Values for solution types:
1384 # - &quot;eventHangout&quot;: unset.
1385 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1386 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1387 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001388 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1389 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1390 &quot;parameters&quot;: {
1391 &quot;a_key&quot;: &quot;A String&quot;,
1392 },
1393 },
1394 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001395 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1396 # Unset for a conference with a failed create request.
1397 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1398 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1399 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1400 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1401 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1402 # The possible values are:
1403 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1404 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1405 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1406 # - &quot;addOn&quot; for 3P conference providers
1407 },
1408 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1409 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001410 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001411 &quot;extendedProperties&quot;: { # Extended properties of the event.
1412 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1413 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1414 },
1415 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1416 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1417 },
1418 },
1419 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1420 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1421 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001422 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1423 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001424 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001425 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1426 # - &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.
1427 # - &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.
1428 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001429 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1430 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1431 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1432 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1433 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001434 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001435 &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.
1436 &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.
1437 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1438 &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.
1439 &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
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001440 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001441 &quot;creator&quot;: { # The creator of the event. Read-only.
1442 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001443 &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 Botc2228be2020-11-24 15:48:03 -08001444 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1445 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001446 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001447 &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.
1448 &quot;A String&quot;,
1449 ],
1450 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1451 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001452 &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.
1453 # 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 Botc2228be2020-11-24 15:48:03 -08001454 &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.
1455 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1456 }</pre>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001457</div>
1458
1459<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001460 <code class="details" id="instances">instances(calendarId, eventId, alwaysIncludeEmail=None, originalStart=None, timeMin=None, maxResults=None, pageToken=None, showDeleted=None, timeZone=None, timeMax=None, maxAttendees=None)</code>
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001461 <pre>Returns instances of the specified recurring event.
1462
1463Args:
1464 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
1465 eventId: string, Recurring event identifier. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001466 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001467 originalStart: string, The original start time of the instance in the result. Optional.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001468 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.
1469 maxResults: integer, Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001470 pageToken: string, Token specifying which result page to return. Optional.
1471 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001472 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
1473 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.
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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001475
1476Returns:
1477 An object of the form:
1478
1479 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001480 &quot;items&quot;: [ # List of events on the calendar.
1481 {
1482 &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.
1483 {
1484 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1485 &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.
1486 # Required when adding an attendee.
1487 &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
1488 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1489 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1490 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1491 # - &quot;declined&quot; - The attendee has declined the invitation.
1492 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1493 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1494 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1495 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1496 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1497 &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.
1498 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1499 },
1500 ],
1501 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1502 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1503 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1504 # There can be at most 25 attachments per event,
1505 {
1506 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1507 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1508 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1509 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1510 # Required when adding an attachment.
1511 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1512 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1513 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1514 },
1515 ],
1516 &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.
1517 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1518 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1519 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1520 &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:
1521 # - 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
1522 # - the length of the ID must be between 5 and 1024 characters
1523 # - 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.
1524 # If you do not specify an ID, it will be automatically generated by the server.
1525 # 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.
1526 &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.
1527 &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.
1528 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1529 &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.
1530 },
1531 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1532 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1533 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1534 &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.
1535 },
1536 &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.
1537 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1538 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1539 # - &quot;tentative&quot; - The event is tentatively confirmed.
1540 # - &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.
1541 # A cancelled status represents two different states depending on the event type:
1542 # - 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.
1543 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1544 # - 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.
1545 # 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.
1546 # 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.
1547 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1548 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1549 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1550 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1551 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
1552 {
1553 &quot;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).
1554 # Required when adding a reminder.
1555 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1556 # - &quot;email&quot; - Reminders are sent via email.
1557 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1558 # Required when adding a reminder.
1559 },
1560 ],
1561 },
1562 &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.
1563 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1564 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1565 },
1566 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1567 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1568 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1569 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1570 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1571 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1572 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1573 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1574 &quot;preferences&quot;: { # Preferences.
1575 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1576 },
1577 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1578 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1579 },
1580 &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.
1581 &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.
1582 &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.
1583 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1584 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1585 &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.
1586 &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.
1587 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1588 &quot;status&quot;: { # The status of the conference create request.
1589 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1590 # The possible values are:
1591 # - &quot;pending&quot;: the conference create request is still being processed.
1592 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1593 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1594 },
1595 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1596 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1597 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1598 # The possible values are:
1599 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1600 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1601 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1602 # - &quot;addOn&quot; for 3P conference providers
1603 },
1604 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1605 # 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.
1606 },
1607 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1608 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1609 # Unset for a conference with a failed create request.
1610 # Optional for a conference with a pending create request.
1611 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1612 # All of them must belong to the same conference.
1613 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1614 {
1615 &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.
1616 # Calendar backend will populate this field only for EntryPointType.PHONE.
1617 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1618 # Format:
1619 # - for video, http: or https: schema is required.
1620 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1621 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1622 # - for more, http: or https: schema is required.
1623 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1624 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1625 # Optional.
1626 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1627 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1628 # Optional.
1629 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1630 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1631 &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.
1632 &quot;A String&quot;,
1633 ],
1634 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1635 # Possible values are:
1636 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1637 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1638 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1639 # - &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.
1640 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1641 # Examples:
1642 # - for video: meet.google.com/aaa-bbbb-ccc
1643 # - for phone: +1 123 268 2601
1644 # - for sip: 12345678@altostrat.com
1645 # - for more: should not be filled
1646 # Optional.
1647 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1648 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1649 # Optional.
1650 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1651 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1652 # Optional.
1653 },
1654 ],
1655 &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.
1656 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1657 # Can be used by developers to keep track of conferences, should not be displayed to users.
1658 # Values for solution types:
1659 # - &quot;eventHangout&quot;: unset.
1660 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1661 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1662 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1663 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1664 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1665 &quot;parameters&quot;: {
1666 &quot;a_key&quot;: &quot;A String&quot;,
1667 },
1668 },
1669 },
1670 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1671 # Unset for a conference with a failed create request.
1672 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1673 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1674 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1675 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1676 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1677 # The possible values are:
1678 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1679 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1680 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1681 # - &quot;addOn&quot; for 3P conference providers
1682 },
1683 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1684 },
1685 },
1686 &quot;extendedProperties&quot;: { # Extended properties of the event.
1687 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1688 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1689 },
1690 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1691 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1692 },
1693 },
1694 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1695 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1696 &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.
1697 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1698 &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.
1699 },
1700 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1701 # - &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.
1702 # - &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.
1703 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1704 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1705 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1706 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1707 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1708 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1709 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1710 &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.
1711 &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.
1712 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1713 &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.
1714 &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
1715 },
1716 &quot;creator&quot;: { # The creator of the event. Read-only.
1717 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1718 &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
1719 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1720 &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.
1721 },
1722 &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.
1723 &quot;A String&quot;,
1724 ],
1725 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1726 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1727 &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.
1728 # 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.
1729 &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.
1730 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1731 },
1732 ],
1733 &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).
1734 {
1735 &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).
1736 # Required when adding a reminder.
1737 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1738 # - &quot;email&quot; - Reminders are sent via email.
1739 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1740 # Required when adding a reminder.
1741 },
1742 ],
1743 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
Bu Sun Kim65020912020-05-20 12:08:20 -07001744 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1745 # - &quot;none&quot; - The user has no access.
1746 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1747 # - &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.
1748 # - &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.
1749 # - &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 Botc2228be2020-11-24 15:48:03 -08001750 &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.
1751 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001752 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001753 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
1754 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1755 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
1756 &quot;description&quot;: &quot;A String&quot;, # Description 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 Botc2228be2020-11-24 15:48:03 -08001775 <code class="details" id="list">list(calendarId, timeZone=None, syncToken=None, orderBy=None, timeMax=None, maxAttendees=None, showDeleted=None, iCalUID=None, updatedMin=None, privateExtendedProperty=None, sharedExtendedProperty=None, alwaysIncludeEmail=None, showHiddenInvitations=None, timeMin=None, singleEvents=None, q=None, maxResults=None, pageToken=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04001776 <pre>Returns events on the specified calendar.
1777
1778Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07001779 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001780 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Craig Citro065b5302014-08-14 00:47:23 -07001781 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.
1782There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1783
1784These are:
1785- iCalUID
1786- orderBy
1787- privateExtendedProperty
1788- q
1789- sharedExtendedProperty
1790- timeMin
1791- timeMax
1792- 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.
1793Learn more about incremental synchronization.
1794Optional. The default is to return all entries.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001795 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
1796 Allowed values
1797 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
1798 updated - Order by last modification time (ascending).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001799 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001800 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.
1801 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.
1802 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
1803 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.
1804 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)
1805 sharedExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001806 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 Botc2228be2020-11-24 15:48:03 -08001807 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
1808 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.
1809 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.
1810 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
1811 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.
1812 pageToken: string, Token specifying which result page to return. Optional.
John Asmuth614db982014-04-24 15:46:26 -04001813
1814Returns:
1815 An object of the form:
1816
1817 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001818 &quot;items&quot;: [ # List of events on the calendar.
1819 {
1820 &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.
1821 {
1822 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1823 &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.
1824 # Required when adding an attendee.
1825 &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
1826 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1827 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1828 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1829 # - &quot;declined&quot; - The attendee has declined the invitation.
1830 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1831 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1832 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1833 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1834 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1835 &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.
1836 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1837 },
1838 ],
1839 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1840 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1841 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1842 # There can be at most 25 attachments per event,
1843 {
1844 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1845 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1846 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1847 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1848 # Required when adding an attachment.
1849 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1850 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1851 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1852 },
1853 ],
1854 &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.
1855 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1856 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1857 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1858 &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:
1859 # - 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
1860 # - the length of the ID must be between 5 and 1024 characters
1861 # - 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.
1862 # If you do not specify an ID, it will be automatically generated by the server.
1863 # 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.
1864 &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.
1865 &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.
1866 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1867 &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.
1868 },
1869 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1870 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
1871 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1872 &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.
1873 },
1874 &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.
1875 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1876 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1877 # - &quot;tentative&quot; - The event is tentatively confirmed.
1878 # - &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.
1879 # A cancelled status represents two different states depending on the event type:
1880 # - 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.
1881 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1882 # - 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.
1883 # 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.
1884 # 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.
1885 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1886 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1887 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1888 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1889 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
1890 {
1891 &quot;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).
1892 # Required when adding a reminder.
1893 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1894 # - &quot;email&quot; - Reminders are sent via email.
1895 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1896 # Required when adding a reminder.
1897 },
1898 ],
1899 },
1900 &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.
1901 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1902 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1903 },
1904 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1905 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1906 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1907 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1908 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1909 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1910 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1911 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1912 &quot;preferences&quot;: { # Preferences.
1913 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1914 },
1915 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1916 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1917 },
1918 &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.
1919 &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.
1920 &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.
1921 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1922 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1923 &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.
1924 &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.
1925 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1926 &quot;status&quot;: { # The status of the conference create request.
1927 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1928 # The possible values are:
1929 # - &quot;pending&quot;: the conference create request is still being processed.
1930 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1931 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1932 },
1933 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1934 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1935 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1936 # The possible values are:
1937 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1938 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1939 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1940 # - &quot;addOn&quot; for 3P conference providers
1941 },
1942 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1943 # 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.
1944 },
1945 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1946 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1947 # Unset for a conference with a failed create request.
1948 # Optional for a conference with a pending create request.
1949 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1950 # All of them must belong to the same conference.
1951 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1952 {
1953 &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.
1954 # Calendar backend will populate this field only for EntryPointType.PHONE.
1955 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1956 # Format:
1957 # - for video, http: or https: schema is required.
1958 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1959 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1960 # - for more, http: or https: schema is required.
1961 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1962 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1963 # Optional.
1964 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1965 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1966 # Optional.
1967 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1968 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1969 &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.
1970 &quot;A String&quot;,
1971 ],
1972 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1973 # Possible values are:
1974 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1975 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1976 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1977 # - &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.
1978 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1979 # Examples:
1980 # - for video: meet.google.com/aaa-bbbb-ccc
1981 # - for phone: +1 123 268 2601
1982 # - for sip: 12345678@altostrat.com
1983 # - for more: should not be filled
1984 # Optional.
1985 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1986 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1987 # Optional.
1988 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1989 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1990 # Optional.
1991 },
1992 ],
1993 &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.
1994 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1995 # Can be used by developers to keep track of conferences, should not be displayed to users.
1996 # Values for solution types:
1997 # - &quot;eventHangout&quot;: unset.
1998 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1999 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2000 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2001 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2002 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2003 &quot;parameters&quot;: {
2004 &quot;a_key&quot;: &quot;A String&quot;,
2005 },
2006 },
2007 },
2008 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2009 # Unset for a conference with a failed create request.
2010 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2011 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2012 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2013 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2014 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2015 # The possible values are:
2016 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2017 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2018 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2019 # - &quot;addOn&quot; for 3P conference providers
2020 },
2021 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2022 },
2023 },
2024 &quot;extendedProperties&quot;: { # Extended properties of the event.
2025 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2026 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2027 },
2028 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2029 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2030 },
2031 },
2032 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2033 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2034 &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.
2035 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2036 &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.
2037 },
2038 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2039 # - &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.
2040 # - &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.
2041 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2042 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2043 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2044 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2045 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2046 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2047 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2048 &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.
2049 &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.
2050 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2051 &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.
2052 &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
2053 },
2054 &quot;creator&quot;: { # The creator of the event. Read-only.
2055 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2056 &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
2057 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2058 &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.
2059 },
2060 &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.
2061 &quot;A String&quot;,
2062 ],
2063 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2064 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2065 &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.
2066 # 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.
2067 &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.
2068 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2069 },
2070 ],
2071 &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).
2072 {
2073 &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).
2074 # Required when adding a reminder.
2075 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2076 # - &quot;email&quot; - Reminders are sent via email.
2077 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2078 # Required when adding a reminder.
2079 },
2080 ],
2081 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
Bu Sun Kim65020912020-05-20 12:08:20 -07002082 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
2083 # - &quot;none&quot; - The user has no access.
2084 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
2085 # - &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.
2086 # - &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.
2087 # - &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 Botc2228be2020-11-24 15:48:03 -08002088 &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.
2089 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002090 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002091 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
2092 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
2093 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
2094 &quot;description&quot;: &quot;A String&quot;, # Description 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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002113 <code class="details" id="move">move(calendarId, eventId, destination, sendUpdates=None, sendNotifications=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07002114 <pre>Moves an event to another calendar, i.e. changes an event&#x27;s organizer.
John Asmuth614db982014-04-24 15:46:26 -04002115
2116Args:
2117 calendarId: string, Calendar identifier of the source calendar where the event currently is on. (required)
2118 eventId: string, Event identifier. (required)
2119 destination: string, Calendar identifier of the target calendar where the event is to be moved to. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -07002120 sendUpdates: string, Guests who should receive notifications about the change of the event&#x27;s organizer.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002121 Allowed values
2122 all - Notifications are sent to all guests.
2123 externalOnly - Notifications are sent to non-Google Calendar guests only.
2124 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002125 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2126
2127Whether to send notifications about the change of the event&#x27;s organizer. Note that some emails might still be sent even if you set the value to false. The default is false.
John Asmuth614db982014-04-24 15:46:26 -04002128
2129Returns:
2130 An object of the form:
2131
2132 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002133 &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.
2134 {
2135 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2136 &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.
2137 # Required when adding an attendee.
2138 &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
2139 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2140 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2141 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2142 # - &quot;declined&quot; - The attendee has declined the invitation.
2143 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2144 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2145 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2146 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2147 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2148 &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.
2149 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Takashi Matsuo06694102015-09-11 13:55:40 -07002150 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002151 ],
2152 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2153 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2154 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2155 # There can be at most 25 attachments per event,
2156 {
2157 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2158 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2159 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2160 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2161 # Required when adding an attachment.
2162 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2163 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2164 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2165 },
2166 ],
2167 &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.
2168 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2169 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2170 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2171 &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:
2172 # - 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
2173 # - the length of the ID must be between 5 and 1024 characters
2174 # - 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.
2175 # If you do not specify an ID, it will be automatically generated by the server.
2176 # 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.
2177 &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.
2178 &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.
2179 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2180 &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.
2181 },
2182 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2183 &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.
2184 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2185 &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.
2186 },
2187 &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.
2188 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2189 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2190 # - &quot;tentative&quot; - The event is tentatively confirmed.
2191 # - &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.
2192 # A cancelled status represents two different states depending on the event type:
2193 # - 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.
2194 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2195 # - 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.
2196 # 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.
2197 # 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.
2198 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2199 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2200 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2201 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2202 &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 -07002203 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002204 &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).
2205 # Required when adding a reminder.
2206 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2207 # - &quot;email&quot; - Reminders are sent via email.
2208 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2209 # Required when adding a reminder.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002210 },
2211 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002212 },
2213 &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.
2214 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2215 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2216 },
2217 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2218 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2219 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2220 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2221 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2222 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2223 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2224 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2225 &quot;preferences&quot;: { # Preferences.
2226 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
John Asmuth614db982014-04-24 15:46:26 -04002227 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002228 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2229 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2230 },
2231 &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.
2232 &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.
2233 &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.
2234 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2235 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2236 &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.
2237 &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.
2238 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2239 &quot;status&quot;: { # The status of the conference create request.
2240 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2241 # The possible values are:
2242 # - &quot;pending&quot;: the conference create request is still being processed.
2243 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2244 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2245 },
2246 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2247 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2248 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2249 # The possible values are:
2250 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2251 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2252 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2253 # - &quot;addOn&quot; for 3P conference providers
2254 },
2255 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2256 # 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.
2257 },
2258 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2259 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2260 # Unset for a conference with a failed create request.
2261 # Optional for a conference with a pending create request.
2262 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2263 # All of them must belong to the same conference.
2264 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002265 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002266 &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.
2267 # Calendar backend will populate this field only for EntryPointType.PHONE.
2268 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2269 # Format:
2270 # - for video, http: or https: schema is required.
2271 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2272 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2273 # - for more, http: or https: schema is required.
2274 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2275 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2276 # Optional.
2277 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2278 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2279 # Optional.
2280 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2281 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2282 &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.
2283 &quot;A String&quot;,
2284 ],
2285 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2286 # Possible values are:
2287 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2288 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2289 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2290 # - &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.
2291 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2292 # Examples:
2293 # - for video: meet.google.com/aaa-bbbb-ccc
2294 # - for phone: +1 123 268 2601
2295 # - for sip: 12345678@altostrat.com
2296 # - for more: should not be filled
2297 # Optional.
2298 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2299 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2300 # Optional.
2301 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2302 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2303 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002304 },
2305 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002306 &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.
2307 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2308 # Can be used by developers to keep track of conferences, should not be displayed to users.
2309 # Values for solution types:
2310 # - &quot;eventHangout&quot;: unset.
2311 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2312 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2313 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2314 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2315 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2316 &quot;parameters&quot;: {
2317 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002318 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002319 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002320 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002321 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2322 # Unset for a conference with a failed create request.
2323 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2324 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2325 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2326 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2327 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2328 # The possible values are:
2329 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2330 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2331 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2332 # - &quot;addOn&quot; for 3P conference providers
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002333 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002334 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002335 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002336 },
2337 &quot;extendedProperties&quot;: { # Extended properties of the event.
2338 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2339 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002340 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002341 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2342 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07002343 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002344 },
2345 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2346 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2347 &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.
2348 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2349 &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.
2350 },
2351 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2352 # - &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.
2353 # - &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.
2354 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2355 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2356 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2357 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2358 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2359 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2360 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2361 &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.
2362 &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.
2363 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2364 &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.
2365 &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
2366 },
2367 &quot;creator&quot;: { # The creator of the event. Read-only.
2368 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2369 &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
2370 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2371 &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.
2372 },
2373 &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.
2374 &quot;A String&quot;,
2375 ],
2376 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2377 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2378 &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.
2379 # 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.
2380 &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.
2381 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2382 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -07002383</div>
John Asmuth614db982014-04-24 15:46:26 -04002384
Bu Sun Kim65020912020-05-20 12:08:20 -07002385<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002386 <code class="details" id="patch">patch(calendarId, eventId, body=None, maxAttendees=None, conferenceDataVersion=None, alwaysIncludeEmail=None, sendUpdates=None, sendNotifications=None, supportsAttachments=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 Botc2228be2020-11-24 15:48:03 -08002396 &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.
2397 {
2398 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2399 &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.
2400 # Required when adding an attendee.
2401 &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
2402 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2403 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2404 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2405 # - &quot;declined&quot; - The attendee has declined the invitation.
2406 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2407 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2408 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2409 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2410 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2411 &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.
2412 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07002413 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002414 ],
2415 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2416 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2417 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2418 # There can be at most 25 attachments per event,
2419 {
2420 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2421 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2422 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2423 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2424 # Required when adding an attachment.
2425 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2426 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2427 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2428 },
2429 ],
2430 &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.
2431 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2432 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2433 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2434 &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:
2435 # - 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
2436 # - the length of the ID must be between 5 and 1024 characters
2437 # - 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.
2438 # If you do not specify an ID, it will be automatically generated by the server.
2439 # 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.
2440 &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.
2441 &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.
2442 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2443 &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.
2444 },
2445 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2446 &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.
2447 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2448 &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.
2449 },
2450 &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.
2451 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2452 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2453 # - &quot;tentative&quot; - The event is tentatively confirmed.
2454 # - &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.
2455 # A cancelled status represents two different states depending on the event type:
2456 # - 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.
2457 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2458 # - 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.
2459 # 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.
2460 # 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.
2461 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2462 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2463 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2464 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2465 &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.
2466 {
2467 &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).
2468 # Required when adding a reminder.
2469 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2470 # - &quot;email&quot; - Reminders are sent via email.
2471 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2472 # Required when adding a reminder.
2473 },
2474 ],
2475 },
2476 &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.
2477 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2478 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2479 },
2480 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2481 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2482 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2483 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2484 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2485 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2486 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2487 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2488 &quot;preferences&quot;: { # Preferences.
2489 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2490 },
2491 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2492 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2493 },
2494 &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.
2495 &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.
2496 &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.
2497 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2498 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2499 &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.
2500 &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.
2501 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2502 &quot;status&quot;: { # The status of the conference create request.
2503 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2504 # The possible values are:
2505 # - &quot;pending&quot;: the conference create request is still being processed.
2506 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2507 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2508 },
2509 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2510 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2511 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2512 # The possible values are:
2513 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2514 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2515 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2516 # - &quot;addOn&quot; for 3P conference providers
2517 },
2518 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2519 # 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.
2520 },
2521 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2522 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2523 # Unset for a conference with a failed create request.
2524 # Optional for a conference with a pending create request.
2525 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2526 # All of them must belong to the same conference.
2527 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2528 {
2529 &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.
2530 # Calendar backend will populate this field only for EntryPointType.PHONE.
2531 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2532 # Format:
2533 # - for video, http: or https: schema is required.
2534 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2535 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2536 # - for more, http: or https: schema is required.
2537 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2538 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2539 # Optional.
2540 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2541 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2542 # Optional.
2543 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2544 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2545 &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.
2546 &quot;A String&quot;,
2547 ],
2548 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2549 # Possible values are:
2550 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2551 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2552 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2553 # - &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.
2554 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2555 # Examples:
2556 # - for video: meet.google.com/aaa-bbbb-ccc
2557 # - for phone: +1 123 268 2601
2558 # - for sip: 12345678@altostrat.com
2559 # - for more: should not be filled
2560 # Optional.
2561 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2562 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2563 # Optional.
2564 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2565 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2566 # Optional.
2567 },
2568 ],
2569 &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.
2570 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2571 # Can be used by developers to keep track of conferences, should not be displayed to users.
2572 # Values for solution types:
2573 # - &quot;eventHangout&quot;: unset.
2574 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2575 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2576 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2577 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2578 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2579 &quot;parameters&quot;: {
2580 &quot;a_key&quot;: &quot;A String&quot;,
2581 },
2582 },
2583 },
2584 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2585 # Unset for a conference with a failed create request.
2586 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2587 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2588 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2589 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2590 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2591 # The possible values are:
2592 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2593 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2594 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2595 # - &quot;addOn&quot; for 3P conference providers
2596 },
2597 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2598 },
2599 },
2600 &quot;extendedProperties&quot;: { # Extended properties of the event.
2601 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2602 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2603 },
2604 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2605 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2606 },
2607 },
2608 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2609 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2610 &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.
2611 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2612 &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.
2613 },
2614 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2615 # - &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.
2616 # - &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.
2617 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2618 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2619 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2620 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2621 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2622 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2623 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2624 &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.
2625 &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.
2626 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2627 &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.
2628 &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
2629 },
2630 &quot;creator&quot;: { # The creator of the event. Read-only.
2631 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2632 &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
2633 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2634 &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.
2635 },
2636 &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.
2637 &quot;A String&quot;,
2638 ],
2639 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2640 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2641 &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.
2642 # 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.
2643 &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.
2644 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2645}
2646
2647 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 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
2649 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 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
2659
2660Returns:
2661 An object of the form:
2662
2663 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002664 &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.
2665 {
2666 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002667 &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.
2668 # Required when adding an attendee.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002669 &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
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002670 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002671 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2672 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2673 # - &quot;declined&quot; - The attendee has declined the invitation.
2674 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2675 # - &quot;accepted&quot; - The attendee has accepted the invitation.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002676 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2677 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002678 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002679 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002680 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002681 },
2682 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002683 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2684 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2685 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2686 # There can be at most 25 attachments per event,
2687 {
2688 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2689 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2690 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2691 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2692 # Required when adding an attachment.
2693 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2694 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2695 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2696 },
2697 ],
2698 &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.
2699 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2700 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2701 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002702 &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:
2703 # - 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
2704 # - the length of the ID must be between 5 and 1024 characters
2705 # - 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.
2706 # If you do not specify an ID, it will be automatically generated by the server.
2707 # 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 Botc2228be2020-11-24 15:48:03 -08002708 &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.
2709 &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.
2710 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2711 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002712 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002713 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2714 &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.
2715 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2716 &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.
2717 },
2718 &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.
2719 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2720 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2721 # - &quot;tentative&quot; - The event is tentatively confirmed.
2722 # - &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.
2723 # A cancelled status represents two different states depending on the event type:
2724 # - 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.
2725 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2726 # - 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.
2727 # 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.
2728 # 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.
2729 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2730 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2731 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2732 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2733 &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.
2734 {
2735 &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).
2736 # Required when adding a reminder.
2737 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2738 # - &quot;email&quot; - Reminders are sent via email.
2739 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2740 # Required when adding a reminder.
2741 },
2742 ],
2743 },
2744 &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.
2745 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2746 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2747 },
2748 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2749 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2750 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2751 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2752 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2753 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2754 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2755 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2756 &quot;preferences&quot;: { # Preferences.
2757 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2758 },
2759 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2760 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2761 },
2762 &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.
2763 &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.
2764 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002765 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002766 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002767 &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.
2768 &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.
2769 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002770 &quot;status&quot;: { # The status of the conference create request.
2771 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2772 # The possible values are:
2773 # - &quot;pending&quot;: the conference create request is still being processed.
2774 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2775 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2776 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002777 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2778 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2779 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2780 # The possible values are:
2781 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2782 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2783 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2784 # - &quot;addOn&quot; for 3P conference providers
2785 },
2786 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2787 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002788 },
2789 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2790 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2791 # Unset for a conference with a failed create request.
2792 # Optional for a conference with a pending create request.
2793 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2794 # All of them must belong to the same conference.
2795 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2796 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002797 &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.
2798 # Calendar backend will populate this field only for EntryPointType.PHONE.
2799 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2800 # Format:
2801 # - for video, http: or https: schema is required.
2802 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2803 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2804 # - for more, http: or https: schema is required.
2805 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2806 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2807 # Optional.
2808 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2809 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2810 # Optional.
2811 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2812 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2813 &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.
2814 &quot;A String&quot;,
2815 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002816 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2817 # Possible values are:
2818 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2819 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2820 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2821 # - &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002822 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2823 # Examples:
2824 # - for video: meet.google.com/aaa-bbbb-ccc
2825 # - for phone: +1 123 268 2601
2826 # - for sip: 12345678@altostrat.com
2827 # - for more: should not be filled
2828 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002829 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2830 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2831 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002832 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2833 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2834 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002835 },
2836 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002837 &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.
2838 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2839 # Can be used by developers to keep track of conferences, should not be displayed to users.
2840 # Values for solution types:
2841 # - &quot;eventHangout&quot;: unset.
2842 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2843 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2844 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002845 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2846 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2847 &quot;parameters&quot;: {
2848 &quot;a_key&quot;: &quot;A String&quot;,
2849 },
2850 },
2851 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002852 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2853 # Unset for a conference with a failed create request.
2854 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2855 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2856 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2857 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2858 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2859 # The possible values are:
2860 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2861 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2862 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2863 # - &quot;addOn&quot; for 3P conference providers
2864 },
2865 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2866 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002867 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002868 &quot;extendedProperties&quot;: { # Extended properties of the event.
2869 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2870 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2871 },
2872 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2873 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2874 },
2875 },
2876 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2877 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2878 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002879 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2880 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002881 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002882 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2883 # - &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.
2884 # - &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.
2885 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2886 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2887 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2888 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2889 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2890 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2891 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2892 &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.
2893 &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.
2894 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2895 &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.
2896 &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
2897 },
2898 &quot;creator&quot;: { # The creator of the event. Read-only.
2899 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2900 &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
2901 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2902 &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.
2903 },
2904 &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.
2905 &quot;A String&quot;,
2906 ],
2907 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2908 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2909 &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.
2910 # 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.
2911 &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.
2912 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2913 }</pre>
2914</div>
2915
2916<div class="method">
2917 <code class="details" id="quickAdd">quickAdd(calendarId, text, 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;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.
2937 {
2938 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2939 &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.
2940 # Required when adding an attendee.
2941 &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
2942 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2943 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2944 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2945 # - &quot;declined&quot; - The attendee has declined the invitation.
2946 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2947 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2948 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2949 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2950 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2951 &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.
2952 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2953 },
2954 ],
2955 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2956 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2957 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2958 # There can be at most 25 attachments per event,
2959 {
2960 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2961 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2962 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2963 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2964 # Required when adding an attachment.
2965 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2966 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2967 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2968 },
2969 ],
2970 &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.
2971 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2972 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2973 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2974 &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:
2975 # - 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
2976 # - the length of the ID must be between 5 and 1024 characters
2977 # - 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.
2978 # If you do not specify an ID, it will be automatically generated by the server.
2979 # 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.
2980 &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.
2981 &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.
2982 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2983 &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.
2984 },
2985 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2986 &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.
2987 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2988 &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.
2989 },
2990 &quot;attendeesOmitted&quot;: false, # Whether attendees may have been omitted from the event&#x27;s representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant&#x27;s response. Optional. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002991 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2992 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2993 # - &quot;tentative&quot; - The event is tentatively confirmed.
2994 # - &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.
2995 # A cancelled status represents two different states depending on the event type:
2996 # - 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.
2997 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2998 # - 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.
2999 # 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.
3000 # 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 Botc2228be2020-11-24 15:48:03 -08003001 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3002 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3003 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3004 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3005 &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.
3006 {
3007 &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).
3008 # Required when adding a reminder.
3009 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3010 # - &quot;email&quot; - Reminders are sent via email.
3011 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3012 # Required when adding a reminder.
3013 },
3014 ],
3015 },
3016 &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.
3017 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3018 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3019 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003020 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003021 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003022 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003023 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003024 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3025 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3026 # - &quot;chip&quot; - The gadget displays when the event is clicked.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003027 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3028 &quot;preferences&quot;: { # Preferences.
3029 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3030 },
3031 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3032 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003033 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003034 &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.
3035 &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.
3036 &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.
3037 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3038 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3039 &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.
3040 &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.
3041 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3042 &quot;status&quot;: { # The status of the conference create request.
3043 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3044 # The possible values are:
3045 # - &quot;pending&quot;: the conference create request is still being processed.
3046 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3047 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3048 },
3049 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3050 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3051 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3052 # The possible values are:
3053 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3054 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3055 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3056 # - &quot;addOn&quot; for 3P conference providers
3057 },
3058 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3059 # 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.
3060 },
3061 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3062 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3063 # Unset for a conference with a failed create request.
3064 # Optional for a conference with a pending create request.
3065 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3066 # All of them must belong to the same conference.
3067 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3068 {
3069 &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.
3070 # Calendar backend will populate this field only for EntryPointType.PHONE.
3071 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3072 # Format:
3073 # - for video, http: or https: schema is required.
3074 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3075 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3076 # - for more, http: or https: schema is required.
3077 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3078 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3079 # Optional.
3080 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3081 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3082 # Optional.
3083 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3084 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3085 &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.
3086 &quot;A String&quot;,
3087 ],
3088 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3089 # Possible values are:
3090 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3091 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3092 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3093 # - &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.
3094 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3095 # Examples:
3096 # - for video: meet.google.com/aaa-bbbb-ccc
3097 # - for phone: +1 123 268 2601
3098 # - for sip: 12345678@altostrat.com
3099 # - for more: should not be filled
3100 # Optional.
3101 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3102 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3103 # Optional.
3104 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3105 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3106 # Optional.
3107 },
3108 ],
3109 &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.
3110 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3111 # Can be used by developers to keep track of conferences, should not be displayed to users.
3112 # Values for solution types:
3113 # - &quot;eventHangout&quot;: unset.
3114 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3115 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3116 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3117 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3118 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3119 &quot;parameters&quot;: {
3120 &quot;a_key&quot;: &quot;A String&quot;,
3121 },
3122 },
3123 },
3124 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3125 # Unset for a conference with a failed create request.
3126 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3127 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3128 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3129 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3130 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3131 # The possible values are:
3132 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3133 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3134 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3135 # - &quot;addOn&quot; for 3P conference providers
3136 },
3137 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3138 },
3139 },
3140 &quot;extendedProperties&quot;: { # Extended properties of the event.
3141 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3142 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3143 },
3144 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3145 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3146 },
3147 },
3148 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3149 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3150 &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.
3151 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3152 &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.
3153 },
3154 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3155 # - &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.
3156 # - &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.
3157 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003158 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3159 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3160 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3161 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3162 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003163 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003164 &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.
3165 &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.
3166 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3167 &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.
3168 &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
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003169 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003170 &quot;creator&quot;: { # The creator of the event. Read-only.
3171 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003172 &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 Botc2228be2020-11-24 15:48:03 -08003173 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3174 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003175 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003176 &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.
3177 &quot;A String&quot;,
3178 ],
3179 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3180 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003181 &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.
3182 # 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 Botc2228be2020-11-24 15:48:03 -08003183 &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.
3184 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3185 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003186</div>
3187
3188<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003189 <code class="details" id="update">update(calendarId, eventId, body=None, conferenceDataVersion=None, supportsAttachments=None, maxAttendees=None, sendUpdates=None, alwaysIncludeEmail=None, sendNotifications=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 Botc2228be2020-11-24 15:48:03 -08003199 &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.
3200 {
3201 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3202 &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.
3203 # Required when adding an attendee.
3204 &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
3205 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3206 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3207 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3208 # - &quot;declined&quot; - The attendee has declined the invitation.
3209 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3210 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3211 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3212 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3213 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3214 &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.
3215 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003216 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003217 ],
3218 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3219 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3220 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3221 # There can be at most 25 attachments per event,
3222 {
3223 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3224 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3225 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3226 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3227 # Required when adding an attachment.
3228 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3229 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3230 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3231 },
3232 ],
3233 &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.
3234 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3235 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3236 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3237 &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:
3238 # - 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
3239 # - the length of the ID must be between 5 and 1024 characters
3240 # - 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.
3241 # If you do not specify an ID, it will be automatically generated by the server.
3242 # 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.
3243 &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.
3244 &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.
3245 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3246 &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.
3247 },
3248 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3249 &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.
3250 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3251 &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.
3252 },
3253 &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.
3254 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3255 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3256 # - &quot;tentative&quot; - The event is tentatively confirmed.
3257 # - &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.
3258 # A cancelled status represents two different states depending on the event type:
3259 # - 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.
3260 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3261 # - 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.
3262 # 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.
3263 # 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.
3264 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3265 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3266 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3267 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3268 &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.
3269 {
3270 &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).
3271 # Required when adding a reminder.
3272 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3273 # - &quot;email&quot; - Reminders are sent via email.
3274 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3275 # Required when adding a reminder.
3276 },
3277 ],
3278 },
3279 &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.
3280 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3281 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3282 },
3283 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3284 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3285 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3286 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3287 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3288 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3289 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3290 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3291 &quot;preferences&quot;: { # Preferences.
3292 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3293 },
3294 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3295 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3296 },
3297 &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.
3298 &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.
3299 &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.
3300 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3301 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3302 &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.
3303 &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.
3304 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3305 &quot;status&quot;: { # The status of the conference create request.
3306 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3307 # The possible values are:
3308 # - &quot;pending&quot;: the conference create request is still being processed.
3309 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3310 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3311 },
3312 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3313 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3314 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3315 # The possible values are:
3316 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3317 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3318 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3319 # - &quot;addOn&quot; for 3P conference providers
3320 },
3321 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3322 # 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.
3323 },
3324 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3325 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3326 # Unset for a conference with a failed create request.
3327 # Optional for a conference with a pending create request.
3328 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3329 # All of them must belong to the same conference.
3330 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3331 {
3332 &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.
3333 # Calendar backend will populate this field only for EntryPointType.PHONE.
3334 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3335 # Format:
3336 # - for video, http: or https: schema is required.
3337 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3338 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3339 # - for more, http: or https: schema is required.
3340 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3341 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3342 # Optional.
3343 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3344 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3345 # Optional.
3346 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3347 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3348 &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.
3349 &quot;A String&quot;,
3350 ],
3351 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3352 # Possible values are:
3353 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3354 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3355 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3356 # - &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.
3357 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3358 # Examples:
3359 # - for video: meet.google.com/aaa-bbbb-ccc
3360 # - for phone: +1 123 268 2601
3361 # - for sip: 12345678@altostrat.com
3362 # - for more: should not be filled
3363 # Optional.
3364 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3365 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3366 # Optional.
3367 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3368 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3369 # Optional.
3370 },
3371 ],
3372 &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.
3373 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3374 # Can be used by developers to keep track of conferences, should not be displayed to users.
3375 # Values for solution types:
3376 # - &quot;eventHangout&quot;: unset.
3377 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3378 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3379 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3380 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3381 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3382 &quot;parameters&quot;: {
3383 &quot;a_key&quot;: &quot;A String&quot;,
3384 },
3385 },
3386 },
3387 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3388 # Unset for a conference with a failed create request.
3389 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3390 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3391 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3392 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3393 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3394 # The possible values are:
3395 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3396 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3397 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3398 # - &quot;addOn&quot; for 3P conference providers
3399 },
3400 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3401 },
3402 },
3403 &quot;extendedProperties&quot;: { # Extended properties of the event.
3404 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3405 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3406 },
3407 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3408 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3409 },
3410 },
3411 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3412 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3413 &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.
3414 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3415 &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.
3416 },
3417 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3418 # - &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.
3419 # - &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.
3420 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3421 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3422 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3423 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3424 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3425 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3426 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3427 &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.
3428 &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.
3429 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3430 &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.
3431 &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
3432 },
3433 &quot;creator&quot;: { # The creator of the event. Read-only.
3434 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3435 &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
3436 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3437 &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.
3438 },
3439 &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.
3440 &quot;A String&quot;,
3441 ],
3442 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3443 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3444 &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.
3445 # 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.
3446 &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.
3447 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3448}
3449
3450 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
3451 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
3452 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
3453 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
3454 Allowed values
3455 all - Notifications are sent to all guests.
3456 externalOnly - Notifications are sent to non-Google Calendar guests only.
3457 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).
3458 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).
3459 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
3460
3461Whether 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.
3462
3463Returns:
3464 An object of the form:
3465
3466 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003467 &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.
3468 {
3469 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003470 &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.
3471 # Required when adding an attendee.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003472 &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
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003473 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003474 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3475 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3476 # - &quot;declined&quot; - The attendee has declined the invitation.
3477 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3478 # - &quot;accepted&quot; - The attendee has accepted the invitation.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003479 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3480 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003481 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003482 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003483 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003484 },
3485 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003486 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3487 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3488 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3489 # There can be at most 25 attachments per event,
3490 {
3491 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3492 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3493 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3494 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3495 # Required when adding an attachment.
3496 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3497 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3498 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3499 },
3500 ],
3501 &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.
3502 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3503 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3504 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003505 &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:
3506 # - 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
3507 # - the length of the ID must be between 5 and 1024 characters
3508 # - 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.
3509 # If you do not specify an ID, it will be automatically generated by the server.
3510 # 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 Botc2228be2020-11-24 15:48:03 -08003511 &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.
3512 &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.
3513 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3514 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003515 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003516 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3517 &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.
3518 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3519 &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.
3520 },
3521 &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.
3522 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3523 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3524 # - &quot;tentative&quot; - The event is tentatively confirmed.
3525 # - &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.
3526 # A cancelled status represents two different states depending on the event type:
3527 # - 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.
3528 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3529 # - 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.
3530 # 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.
3531 # 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.
3532 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3533 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3534 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3535 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3536 &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.
3537 {
3538 &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).
3539 # Required when adding a reminder.
3540 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3541 # - &quot;email&quot; - Reminders are sent via email.
3542 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3543 # Required when adding a reminder.
3544 },
3545 ],
3546 },
3547 &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.
3548 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3549 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3550 },
3551 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3552 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3553 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3554 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3555 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3556 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3557 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3558 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3559 &quot;preferences&quot;: { # Preferences.
3560 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3561 },
3562 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3563 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3564 },
3565 &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.
3566 &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.
3567 &quot;recurringEventId&quot;: &quot;A String&quot;, # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003568 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003569 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003570 &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.
3571 &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.
3572 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003573 &quot;status&quot;: { # The status of the conference create request.
3574 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3575 # The possible values are:
3576 # - &quot;pending&quot;: the conference create request is still being processed.
3577 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3578 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3579 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003580 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3581 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3582 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3583 # The possible values are:
3584 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3585 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3586 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3587 # - &quot;addOn&quot; for 3P conference providers
3588 },
3589 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3590 # Clients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003591 },
3592 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3593 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3594 # Unset for a conference with a failed create request.
3595 # Optional for a conference with a pending create request.
3596 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3597 # All of them must belong to the same conference.
3598 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3599 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003600 &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.
3601 # Calendar backend will populate this field only for EntryPointType.PHONE.
3602 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3603 # Format:
3604 # - for video, http: or https: schema is required.
3605 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3606 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3607 # - for more, http: or https: schema is required.
3608 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3609 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3610 # Optional.
3611 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3612 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3613 # Optional.
3614 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3615 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3616 &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.
3617 &quot;A String&quot;,
3618 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003619 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3620 # Possible values are:
3621 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3622 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3623 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3624 # - &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003625 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3626 # Examples:
3627 # - for video: meet.google.com/aaa-bbbb-ccc
3628 # - for phone: +1 123 268 2601
3629 # - for sip: 12345678@altostrat.com
3630 # - for more: should not be filled
3631 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003632 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3633 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3634 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003635 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3636 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3637 # Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003638 },
3639 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003640 &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.
3641 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3642 # Can be used by developers to keep track of conferences, should not be displayed to users.
3643 # Values for solution types:
3644 # - &quot;eventHangout&quot;: unset.
3645 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3646 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3647 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003648 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3649 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3650 &quot;parameters&quot;: {
3651 &quot;a_key&quot;: &quot;A String&quot;,
3652 },
3653 },
3654 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003655 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3656 # Unset for a conference with a failed create request.
3657 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3658 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3659 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3660 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3661 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3662 # The possible values are:
3663 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3664 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3665 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3666 # - &quot;addOn&quot; for 3P conference providers
3667 },
3668 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3669 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003670 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003671 &quot;extendedProperties&quot;: { # Extended properties of the event.
3672 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3673 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3674 },
3675 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3676 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3677 },
3678 },
3679 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3680 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3681 &quot;dateTime&quot;: &quot;A String&quot;, # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003682 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3683 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003684 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003685 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3686 # - &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.
3687 # - &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.
3688 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003689 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3690 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3691 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3692 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3693 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003694 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003695 &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.
3696 &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.
3697 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3698 &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.
3699 &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
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003700 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003701 &quot;creator&quot;: { # The creator of the event. Read-only.
3702 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003703 &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 Botc2228be2020-11-24 15:48:03 -08003704 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3705 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003706 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003707 &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.
3708 &quot;A String&quot;,
3709 ],
3710 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3711 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003712 &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.
3713 # 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 Botc2228be2020-11-24 15:48:03 -08003714 &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.
3715 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3716 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04003717</div>
3718
3719<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003720 <code class="details" id="watch">watch(calendarId, body=None, timeMax=None, q=None, iCalUID=None, singleEvents=None, pageToken=None, timeZone=None, timeMin=None, maxAttendees=None, sharedExtendedProperty=None, maxResults=None, privateExtendedProperty=None, alwaysIncludeEmail=None, syncToken=None, showDeleted=None, orderBy=None, showHiddenInvitations=None, updatedMin=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 Botc2228be2020-11-24 15:48:03 -08003729 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003730 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3731 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003732 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003733 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003734 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3735 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
Bu Sun Kim65020912020-05-20 12:08:20 -07003736 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3737 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003738 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003739 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
3740 &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;.
John Asmuth614db982014-04-24 15:46:26 -04003741 }
3742
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003743 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.
3744 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003745 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003746 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003747 pageToken: string, Token specifying which result page to return. Optional.
3748 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
3749 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.
3750 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.
3751 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)
3752 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.
3753 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)
3754 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).
Craig Citro065b5302014-08-14 00:47:23 -07003755 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.
3756There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
3757
3758These are:
3759- iCalUID
3760- orderBy
3761- privateExtendedProperty
3762- q
3763- sharedExtendedProperty
3764- timeMin
3765- timeMax
3766- 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.
3767Learn more about incremental synchronization.
3768Optional. The default is to return all entries.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003769 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.
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 Botc2228be2020-11-24 15:48:03 -08003774 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003775 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.
John Asmuth614db982014-04-24 15:46:26 -04003776
3777Returns:
3778 An object of the form:
3779
3780 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003781 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003782 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3783 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003784 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07003785 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003786 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3787 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
Bu Sun Kim65020912020-05-20 12:08:20 -07003788 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3789 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003790 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003791 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
3792 &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;.
John Asmuth614db982014-04-24 15:46:26 -04003793 }</pre>
3794</div>
3795
3796</body></html>