blob: 8003fa09b87587b50f963ab212893550094cf87c [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="calendar_v3.html">Calendar API</a> . <a href="calendar_v3.events.html">events</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -080081 <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 Bot0bf565c2020-12-09 08:56: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 Bot0bf565c2020-12-09 08:56:03 -080090 <code><a href="#insert">insert(calendarId, body=None, maxAttendees=None, sendUpdates=None, sendNotifications=None, supportsAttachments=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 Bot0bf565c2020-12-09 08:56:03 -080093 <code><a href="#instances">instances(calendarId, eventId, maxResults=None, timeMin=None, alwaysIncludeEmail=None, timeMax=None, pageToken=None, timeZone=None, showDeleted=None, maxAttendees=None, originalStart=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 Bot0bf565c2020-12-09 08:56:03 -080099 <code><a href="#list">list(calendarId, q=None, pageToken=None, updatedMin=None, timeMin=None, showHiddenInvitations=None, iCalUID=None, privateExtendedProperty=None, timeMax=None, singleEvents=None, sharedExtendedProperty=None, syncToken=None, alwaysIncludeEmail=None, timeZone=None, maxResults=None, showDeleted=None, maxAttendees=None, orderBy=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400100<p class="firstline">Returns events on the specified calendar.</p>
101<p class="toc_element">
102 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
103<p class="firstline">Retrieves the next page of results.</p>
104<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800105 <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 Bot0bf565c2020-12-09 08:56:03 -0800108 <code><a href="#patch">patch(calendarId, eventId, body=None, supportsAttachments=None, alwaysIncludeEmail=None, sendNotifications=None, maxAttendees=None, sendUpdates=None, conferenceDataVersion=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400109<p class="firstline">Updates an event. This method supports patch semantics.</p>
110<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800111 <code><a href="#quickAdd">quickAdd(calendarId, text, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400112<p class="firstline">Creates an event based on a simple text string.</p>
113<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800114 <code><a href="#update">update(calendarId, eventId, body=None, alwaysIncludeEmail=None, sendNotifications=None, conferenceDataVersion=None, supportsAttachments=None, maxAttendees=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400115<p class="firstline">Updates an event.</p>
116<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800117 <code><a href="#watch">watch(calendarId, body=None, showDeleted=None, maxAttendees=None, updatedMin=None, privateExtendedProperty=None, singleEvents=None, timeMax=None, q=None, showHiddenInvitations=None, alwaysIncludeEmail=None, timeZone=None, iCalUID=None, pageToken=None, orderBy=None, maxResults=None, sharedExtendedProperty=None, timeMin=None, syncToken=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400118<p class="firstline">Watch for changes to Events resources.</p>
119<h3>Method Details</h3>
120<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121 <code class="details" id="close">close()</code>
122 <pre>Close httplib2 connections.</pre>
123</div>
124
125<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800126 <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)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800132 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 Bot0bf565c2020-12-09 08:56: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)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800150 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800151 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800152 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 Bot0bf565c2020-12-09 08:56:03 -0800158 &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.
159 # 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.
160 &quot;extendedProperties&quot;: { # Extended properties of the event.
161 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
162 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700163 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800164 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
165 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800166 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800167 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800168 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
169 &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.
170 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
171 # Can be used by developers to keep track of conferences, should not be displayed to users.
172 # Values for solution types:
173 # - &quot;eventHangout&quot;: unset.
174 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
175 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
176 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
177 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
178 # All of them must belong to the same conference.
179 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
180 {
181 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
182 # Possible values are:
183 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
184 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
185 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
186 # - &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.
187 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
188 # Examples:
189 # - for video: meet.google.com/aaa-bbbb-ccc
190 # - for phone: +1 123 268 2601
191 # - for sip: 12345678@altostrat.com
192 # - for more: should not be filled
193 # Optional.
194 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
195 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
196 # Optional.
197 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
198 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
199 # Optional.
200 &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.
201 &quot;A String&quot;,
202 ],
203 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
204 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
205 # Optional.
206 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
207 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
208 # Optional.
209 &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.
210 # Calendar backend will populate this field only for EntryPointType.PHONE.
211 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
212 # Format:
213 # - for video, http: or https: schema is required.
214 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
215 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
216 # - for more, http: or https: schema is required.
217 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
218 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
219 },
220 ],
221 &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.
222 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
223 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
224 # Unset for a conference with a failed create request.
225 # Optional for a conference with a pending create request.
226 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
227 # Unset for a conference with a failed create request.
228 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
229 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
230 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
231 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
232 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
233 # The possible values are:
234 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
235 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
236 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
237 # - &quot;addOn&quot; for 3P conference providers
238 },
239 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
240 },
241 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
242 &quot;addOnParameters&quot;: { # Additional add-on specific data.
243 &quot;parameters&quot;: {
244 &quot;a_key&quot;: &quot;A String&quot;,
245 },
246 },
247 },
248 &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.
249 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
250 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
251 # 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.
252 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
253 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
254 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
255 # The possible values are:
256 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
257 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
258 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
259 # - &quot;addOn&quot; for 3P conference providers
260 },
261 &quot;status&quot;: { # The status of the conference create request.
262 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
263 # The possible values are:
264 # - &quot;pending&quot;: the conference create request is still being processed.
265 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
266 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800267 },
268 },
269 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800270 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
271 &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.
272 &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.
273 &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.
274 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800275 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800276 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
277 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
278 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
279 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
280 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
281 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
282 # - &quot;chip&quot; - The gadget displays when the event is clicked.
283 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
284 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
285 &quot;preferences&quot;: { # Preferences.
286 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
287 },
288 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
289 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
290 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
291 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
292 },
293 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
294 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
295 &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.
296 &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.
297 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
298 },
299 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
300 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
301 # - &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.
302 # - &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.
303 &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.
304 &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.
305 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700306 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800307 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
308 &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.
309 # Required when adding an attendee.
310 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
311 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
312 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
313 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
314 # - &quot;declined&quot; - The attendee has declined the invitation.
315 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
316 # - &quot;accepted&quot; - The attendee has accepted the invitation.
317 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
318 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
319 &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
320 &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.
321 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700322 },
323 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800324 &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:
325 # - 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
326 # - the length of the ID must be between 5 and 1024 characters
327 # - 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.
328 # If you do not specify an ID, it will be automatically generated by the server.
329 # 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.
330 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
331 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
332 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
333 # - &quot;private&quot; - The event is private and only event attendees may view event details.
334 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
335 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
336 &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.
337 {
338 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
339 # - &quot;email&quot; - Reminders are sent via email.
340 # - &quot;popup&quot; - Reminders are sent via a UI popup.
341 # Required when adding a reminder.
342 &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).
343 # Required when adding a reminder.
344 },
345 ],
346 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
347 },
348 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
349 # In order to modify attachments the supportsAttachments request parameter should be set to true.
350 # There can be at most 25 attachments per event,
351 {
352 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
353 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
354 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
355 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
356 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
357 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
358 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
359 # Required when adding an attachment.
360 },
361 ],
362 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
363 &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.
364 &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.
365 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
366 },
367 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
368 &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.
369 &quot;A String&quot;,
370 ],
371 &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.
372 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
373 &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.
374 &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
375 &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.
376 },
377 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
378 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
379 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
380 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
381 &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.
382 &quot;creator&quot;: { # The creator of the event. Read-only.
383 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
384 &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
385 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
386 &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.
387 },
388 &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.
389 &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.
390 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
391 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
392 },
393 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
394 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
395 # - &quot;tentative&quot; - The event is tentatively confirmed.
396 # - &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.
397 # A cancelled status represents two different states depending on the event type:
398 # - 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.
399 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
400 # - 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.
401 # 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.
402 # 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.
403 &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.
404 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
405 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
406 &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.
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 Bot0bf565c2020-12-09 08:56:03 -0800420 &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.
421 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800422 &quot;extendedProperties&quot;: { # Extended properties of the event.
423 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
424 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
425 },
426 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
427 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
428 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800429 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800430 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800431 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800432 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
433 # Can be used by developers to keep track of conferences, should not be displayed to users.
434 # Values for solution types:
435 # - &quot;eventHangout&quot;: unset.
436 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
437 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
438 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
439 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
440 # All of them must belong to the same conference.
441 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800442 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800443 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
444 # Possible values are:
445 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
446 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
447 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
448 # - &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800449 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
450 # Examples:
451 # - for video: meet.google.com/aaa-bbbb-ccc
452 # - for phone: +1 123 268 2601
453 # - for sip: 12345678@altostrat.com
454 # - for more: should not be filled
455 # Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800456 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
457 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
458 # Optional.
459 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
460 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
461 # Optional.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800462 &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.
463 &quot;A String&quot;,
464 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800465 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
466 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
467 # Optional.
468 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800469 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
470 # Optional.
471 &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.
472 # Calendar backend will populate this field only for EntryPointType.PHONE.
473 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
474 # Format:
475 # - for video, http: or https: schema is required.
476 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
477 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
478 # - for more, http: or https: schema is required.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800479 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
480 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800481 },
482 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800483 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800484 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
485 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
486 # Unset for a conference with a failed create request.
487 # Optional for a conference with a pending create request.
488 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
489 # Unset for a conference with a failed create request.
490 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
491 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
492 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
493 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
494 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
495 # The possible values are:
496 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
497 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
498 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
499 # - &quot;addOn&quot; for 3P conference providers
500 },
501 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
502 },
503 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
504 &quot;addOnParameters&quot;: { # Additional add-on specific data.
505 &quot;parameters&quot;: {
506 &quot;a_key&quot;: &quot;A String&quot;,
507 },
508 },
509 },
510 &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.
511 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
512 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
513 # 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.
514 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
515 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
516 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
517 # The possible values are:
518 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
519 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
520 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
521 # - &quot;addOn&quot; for 3P conference providers
522 },
523 &quot;status&quot;: { # The status of the conference create request.
524 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
525 # The possible values are:
526 # - &quot;pending&quot;: the conference create request is still being processed.
527 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
528 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
529 },
530 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800531 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800532 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
533 &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.
534 &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.
535 &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.
536 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
537 },
538 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
539 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
540 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
541 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
542 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
543 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
544 # - &quot;chip&quot; - The gadget displays when the event is clicked.
545 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
546 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
547 &quot;preferences&quot;: { # Preferences.
548 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
549 },
550 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
551 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
552 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
553 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
554 },
555 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
556 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
557 &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.
558 &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.
559 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
560 },
561 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800562 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
563 # - &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.
564 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800565 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800566 &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.
567 &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.
568 {
569 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
570 &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.
571 # Required when adding an attendee.
572 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
573 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
574 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
575 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
576 # - &quot;declined&quot; - The attendee has declined the invitation.
577 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
578 # - &quot;accepted&quot; - The attendee has accepted the invitation.
579 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
580 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
581 &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
582 &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.
583 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
584 },
585 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800586 &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:
587 # - 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
588 # - the length of the ID must be between 5 and 1024 characters
589 # - 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.
590 # If you do not specify an ID, it will be automatically generated by the server.
591 # 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 Bot0bf565c2020-12-09 08:56:03 -0800592 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
593 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
594 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
595 # - &quot;private&quot; - The event is private and only event attendees may view event details.
596 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
597 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
598 &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.
599 {
600 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
601 # - &quot;email&quot; - Reminders are sent via email.
602 # - &quot;popup&quot; - Reminders are sent via a UI popup.
603 # Required when adding a reminder.
604 &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).
605 # Required when adding a reminder.
606 },
607 ],
608 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
609 },
610 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
611 # In order to modify attachments the supportsAttachments request parameter should be set to true.
612 # There can be at most 25 attachments per event,
613 {
614 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
615 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
616 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
617 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
618 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
619 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
620 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
621 # Required when adding an attachment.
622 },
623 ],
624 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
625 &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.
626 &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.
627 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
628 },
629 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
630 &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.
631 &quot;A String&quot;,
632 ],
633 &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.
634 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
635 &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.
636 &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
637 &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.
638 },
639 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
640 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
641 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
642 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
643 &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.
644 &quot;creator&quot;: { # The creator of the event. Read-only.
645 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
646 &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
647 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
648 &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.
649 },
650 &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.
651 &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.
652 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
653 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
654 },
655 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
656 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
657 # - &quot;tentative&quot; - The event is tentatively confirmed.
658 # - &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.
659 # A cancelled status represents two different states depending on the event type:
660 # - 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.
661 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
662 # - 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.
663 # 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.
664 # 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.
665 &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.
666 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
667 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
668 &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.
669 }
670
671 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
672 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
673
674Returns:
675 An object of the form:
676
677 {
678 &quot;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.
679 # 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.
680 &quot;extendedProperties&quot;: { # Extended properties of the event.
681 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
682 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
683 },
684 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
685 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
686 },
687 },
688 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
689 &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.
690 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
691 # Can be used by developers to keep track of conferences, should not be displayed to users.
692 # Values for solution types:
693 # - &quot;eventHangout&quot;: unset.
694 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
695 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
696 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
697 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
698 # All of them must belong to the same conference.
699 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
700 {
701 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
702 # Possible values are:
703 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
704 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
705 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
706 # - &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.
707 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
708 # Examples:
709 # - for video: meet.google.com/aaa-bbbb-ccc
710 # - for phone: +1 123 268 2601
711 # - for sip: 12345678@altostrat.com
712 # - for more: should not be filled
713 # Optional.
714 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
715 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
716 # Optional.
717 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
718 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
719 # Optional.
720 &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.
721 &quot;A String&quot;,
722 ],
723 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
724 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
725 # Optional.
726 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
727 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
728 # Optional.
729 &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.
730 # Calendar backend will populate this field only for EntryPointType.PHONE.
731 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
732 # Format:
733 # - for video, http: or https: schema is required.
734 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
735 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
736 # - for more, http: or https: schema is required.
737 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
738 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
739 },
740 ],
741 &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.
742 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
743 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
744 # Unset for a conference with a failed create request.
745 # Optional for a conference with a pending create request.
746 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
747 # Unset for a conference with a failed create request.
748 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
749 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
750 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
751 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
752 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
753 # The possible values are:
754 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
755 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
756 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
757 # - &quot;addOn&quot; for 3P conference providers
758 },
759 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
760 },
761 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
762 &quot;addOnParameters&quot;: { # Additional add-on specific data.
763 &quot;parameters&quot;: {
764 &quot;a_key&quot;: &quot;A String&quot;,
765 },
766 },
767 },
768 &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.
769 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
770 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
771 # 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.
772 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
773 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
774 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
775 # The possible values are:
776 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
777 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
778 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
779 # - &quot;addOn&quot; for 3P conference providers
780 },
781 &quot;status&quot;: { # The status of the conference create request.
782 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
783 # The possible values are:
784 # - &quot;pending&quot;: the conference create request is still being processed.
785 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
786 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
787 },
788 },
789 },
790 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
791 &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.
792 &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.
793 &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.
794 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
795 },
796 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
797 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
798 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
799 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
800 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
801 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
802 # - &quot;chip&quot; - The gadget displays when the event is clicked.
803 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
804 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
805 &quot;preferences&quot;: { # Preferences.
806 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
807 },
808 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
809 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
810 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
811 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
812 },
813 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
814 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
815 &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.
816 &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.
817 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
818 },
819 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
820 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
821 # - &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.
822 # - &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.
823 &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.
824 &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.
825 &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.
826 {
827 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
828 &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.
829 # Required when adding an attendee.
830 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
831 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
832 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
833 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
834 # - &quot;declined&quot; - The attendee has declined the invitation.
835 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
836 # - &quot;accepted&quot; - The attendee has accepted the invitation.
837 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
838 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
839 &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
840 &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.
841 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
842 },
843 ],
844 &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:
845 # - 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
846 # - the length of the ID must be between 5 and 1024 characters
847 # - 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.
848 # If you do not specify an ID, it will be automatically generated by the server.
849 # 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.
850 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
851 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
852 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
853 # - &quot;private&quot; - The event is private and only event attendees may view event details.
854 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
855 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
856 &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.
857 {
858 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
859 # - &quot;email&quot; - Reminders are sent via email.
860 # - &quot;popup&quot; - Reminders are sent via a UI popup.
861 # Required when adding a reminder.
862 &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).
863 # Required when adding a reminder.
864 },
865 ],
866 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
867 },
868 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
869 # In order to modify attachments the supportsAttachments request parameter should be set to true.
870 # There can be at most 25 attachments per event,
871 {
872 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
873 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
874 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
875 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
876 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
877 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
878 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
879 # Required when adding an attachment.
880 },
881 ],
882 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
883 &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.
884 &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.
885 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
886 },
887 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
888 &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.
889 &quot;A String&quot;,
890 ],
891 &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.
892 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
893 &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.
894 &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
895 &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.
896 },
897 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
898 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
899 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
900 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
901 &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.
902 &quot;creator&quot;: { # The creator of the event. Read-only.
903 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
904 &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
905 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
906 &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.
907 },
908 &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.
909 &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.
910 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
911 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
912 },
913 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
914 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
915 # - &quot;tentative&quot; - The event is tentatively confirmed.
916 # - &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.
917 # A cancelled status represents two different states depending on the event type:
918 # - 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.
919 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
920 # - 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.
921 # 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.
922 # 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.
923 &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.
924 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
925 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
926 &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.
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 Bot0bf565c2020-12-09 08:56:03 -0800931 <code class="details" id="insert">insert(calendarId, body=None, maxAttendees=None, sendUpdates=None, sendNotifications=None, supportsAttachments=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 Bot0bf565c2020-12-09 08:56:03 -0800940 &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.
941 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800942 &quot;extendedProperties&quot;: { # Extended properties of the event.
943 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
944 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
945 },
946 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
947 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
948 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800949 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800950 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800951 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800952 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
953 # Can be used by developers to keep track of conferences, should not be displayed to users.
954 # Values for solution types:
955 # - &quot;eventHangout&quot;: unset.
956 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
957 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
958 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
959 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
960 # All of them must belong to the same conference.
961 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800962 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800963 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
964 # Possible values are:
965 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
966 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
967 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
968 # - &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800969 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
970 # Examples:
971 # - for video: meet.google.com/aaa-bbbb-ccc
972 # - for phone: +1 123 268 2601
973 # - for sip: 12345678@altostrat.com
974 # - for more: should not be filled
975 # Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800976 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
977 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
978 # Optional.
979 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
980 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
981 # Optional.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800982 &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.
983 &quot;A String&quot;,
984 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800985 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
986 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
987 # Optional.
988 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800989 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
990 # Optional.
991 &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.
992 # Calendar backend will populate this field only for EntryPointType.PHONE.
993 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
994 # Format:
995 # - for video, http: or https: schema is required.
996 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
997 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
998 # - for more, http: or https: schema is required.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800999 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1000 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001001 },
1002 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001003 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001004 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1005 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1006 # Unset for a conference with a failed create request.
1007 # Optional for a conference with a pending create request.
1008 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1009 # Unset for a conference with a failed create request.
1010 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1011 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1012 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1013 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1014 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1015 # The possible values are:
1016 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1017 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1018 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1019 # - &quot;addOn&quot; for 3P conference providers
1020 },
1021 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1022 },
1023 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1024 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1025 &quot;parameters&quot;: {
1026 &quot;a_key&quot;: &quot;A String&quot;,
1027 },
1028 },
1029 },
1030 &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.
1031 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1032 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1033 # 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.
1034 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1035 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1036 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1037 # The possible values are:
1038 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1039 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1040 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1041 # - &quot;addOn&quot; for 3P conference providers
1042 },
1043 &quot;status&quot;: { # The status of the conference create request.
1044 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1045 # The possible values are:
1046 # - &quot;pending&quot;: the conference create request is still being processed.
1047 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1048 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1049 },
1050 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001051 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001052 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1053 &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.
1054 &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.
1055 &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.
1056 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1057 },
1058 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1059 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1060 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1061 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1062 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1063 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1064 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1065 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1066 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1067 &quot;preferences&quot;: { # Preferences.
1068 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1069 },
1070 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1071 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1072 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1073 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1074 },
1075 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1076 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1077 &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.
1078 &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.
1079 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1080 },
1081 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001082 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1083 # - &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.
1084 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001085 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001086 &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.
1087 &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.
1088 {
1089 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1090 &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.
1091 # Required when adding an attendee.
1092 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1093 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1094 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1095 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1096 # - &quot;declined&quot; - The attendee has declined the invitation.
1097 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1098 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1099 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1100 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1101 &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
1102 &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.
1103 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1104 },
1105 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001106 &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:
1107 # - 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
1108 # - the length of the ID must be between 5 and 1024 characters
1109 # - 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.
1110 # If you do not specify an ID, it will be automatically generated by the server.
1111 # 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 Bot0bf565c2020-12-09 08:56:03 -08001112 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1113 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1114 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1115 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1116 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1117 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1118 &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.
1119 {
1120 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1121 # - &quot;email&quot; - Reminders are sent via email.
1122 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1123 # Required when adding a reminder.
1124 &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).
1125 # Required when adding a reminder.
1126 },
1127 ],
1128 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1129 },
1130 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1131 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1132 # There can be at most 25 attachments per event,
1133 {
1134 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1135 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1136 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1137 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1138 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1139 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1140 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1141 # Required when adding an attachment.
1142 },
1143 ],
1144 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1145 &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.
1146 &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.
1147 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1148 },
1149 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1150 &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.
1151 &quot;A String&quot;,
1152 ],
1153 &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.
1154 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1155 &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.
1156 &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
1157 &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.
1158 },
1159 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1160 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1161 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1162 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1163 &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.
1164 &quot;creator&quot;: { # The creator of the event. Read-only.
1165 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1166 &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
1167 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1168 &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.
1169 },
1170 &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.
1171 &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.
1172 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1173 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1174 },
1175 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1176 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1177 # - &quot;tentative&quot; - The event is tentatively confirmed.
1178 # - &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.
1179 # A cancelled status represents two different states depending on the event type:
1180 # - 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.
1181 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1182 # - 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.
1183 # 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.
1184 # 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.
1185 &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.
1186 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1187 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1188 &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.
1189 }
1190
1191 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.
1192 sendUpdates: string, Whether to send notifications about the creation of the new event. Note that some emails might still be sent. The default is false.
1193 Allowed values
1194 all - Notifications are sent to all guests.
1195 externalOnly - Notifications are sent to non-Google Calendar guests only.
1196 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
1197 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
1198
1199Whether 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.
1200 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
1201 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
1202
1203Returns:
1204 An object of the form:
1205
1206 {
1207 &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.
1208 # 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.
1209 &quot;extendedProperties&quot;: { # Extended properties of the event.
1210 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1211 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1212 },
1213 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1214 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1215 },
1216 },
1217 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1218 &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.
1219 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1220 # Can be used by developers to keep track of conferences, should not be displayed to users.
1221 # Values for solution types:
1222 # - &quot;eventHangout&quot;: unset.
1223 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1224 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1225 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1226 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1227 # All of them must belong to the same conference.
1228 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1229 {
1230 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1231 # Possible values are:
1232 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1233 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1234 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1235 # - &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.
1236 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1237 # Examples:
1238 # - for video: meet.google.com/aaa-bbbb-ccc
1239 # - for phone: +1 123 268 2601
1240 # - for sip: 12345678@altostrat.com
1241 # - for more: should not be filled
1242 # Optional.
1243 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1244 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1245 # Optional.
1246 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1247 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1248 # Optional.
1249 &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.
1250 &quot;A String&quot;,
1251 ],
1252 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1253 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1254 # Optional.
1255 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1256 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1257 # Optional.
1258 &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.
1259 # Calendar backend will populate this field only for EntryPointType.PHONE.
1260 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1261 # Format:
1262 # - for video, http: or https: schema is required.
1263 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1264 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1265 # - for more, http: or https: schema is required.
1266 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1267 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1268 },
1269 ],
1270 &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.
1271 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1272 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1273 # Unset for a conference with a failed create request.
1274 # Optional for a conference with a pending create request.
1275 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1276 # Unset for a conference with a failed create request.
1277 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1278 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1279 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1280 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1281 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1282 # The possible values are:
1283 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1284 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1285 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1286 # - &quot;addOn&quot; for 3P conference providers
1287 },
1288 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1289 },
1290 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1291 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1292 &quot;parameters&quot;: {
1293 &quot;a_key&quot;: &quot;A String&quot;,
1294 },
1295 },
1296 },
1297 &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.
1298 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1299 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1300 # 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.
1301 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1302 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1303 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1304 # The possible values are:
1305 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1306 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1307 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1308 # - &quot;addOn&quot; for 3P conference providers
1309 },
1310 &quot;status&quot;: { # The status of the conference create request.
1311 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1312 # The possible values are:
1313 # - &quot;pending&quot;: the conference create request is still being processed.
1314 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1315 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1316 },
1317 },
1318 },
1319 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1320 &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.
1321 &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.
1322 &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.
1323 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1324 },
1325 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1326 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1327 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1328 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1329 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1330 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1331 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1332 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1333 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1334 &quot;preferences&quot;: { # Preferences.
1335 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1336 },
1337 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1338 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1339 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1340 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1341 },
1342 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1343 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1344 &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.
1345 &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.
1346 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1347 },
1348 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1349 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1350 # - &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.
1351 # - &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.
1352 &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.
1353 &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.
1354 &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.
1355 {
1356 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1357 &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.
1358 # Required when adding an attendee.
1359 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1360 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1361 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1362 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1363 # - &quot;declined&quot; - The attendee has declined the invitation.
1364 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1365 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1366 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1367 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1368 &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
1369 &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.
1370 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1371 },
1372 ],
1373 &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:
1374 # - 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
1375 # - the length of the ID must be between 5 and 1024 characters
1376 # - 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.
1377 # If you do not specify an ID, it will be automatically generated by the server.
1378 # 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.
1379 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1380 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1381 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1382 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1383 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1384 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1385 &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.
1386 {
1387 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1388 # - &quot;email&quot; - Reminders are sent via email.
1389 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1390 # Required when adding a reminder.
1391 &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).
1392 # Required when adding a reminder.
1393 },
1394 ],
1395 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1396 },
1397 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1398 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1399 # There can be at most 25 attachments per event,
1400 {
1401 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1402 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1403 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1404 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1405 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1406 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1407 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1408 # Required when adding an attachment.
1409 },
1410 ],
1411 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1412 &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.
1413 &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.
1414 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1415 },
1416 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1417 &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.
1418 &quot;A String&quot;,
1419 ],
1420 &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.
1421 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1422 &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.
1423 &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
1424 &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.
1425 },
1426 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1427 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1428 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1429 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1430 &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.
1431 &quot;creator&quot;: { # The creator of the event. Read-only.
1432 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1433 &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
1434 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1435 &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.
1436 },
1437 &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.
1438 &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.
1439 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1440 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1441 },
1442 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1443 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1444 # - &quot;tentative&quot; - The event is tentatively confirmed.
1445 # - &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.
1446 # A cancelled status represents two different states depending on the event type:
1447 # - 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.
1448 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1449 # - 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.
1450 # 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.
1451 # 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.
1452 &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.
1453 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1454 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1455 &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.
1456 }</pre>
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001457</div>
1458
1459<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001460 <code class="details" id="instances">instances(calendarId, eventId, maxResults=None, timeMin=None, alwaysIncludeEmail=None, timeMax=None, pageToken=None, timeZone=None, showDeleted=None, maxAttendees=None, originalStart=None)</code>
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001461 <pre>Returns instances of the specified recurring event.
1462
1463Args:
1464 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
1465 eventId: string, Recurring event identifier. (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001466 maxResults: integer, Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001467 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001468 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
1469 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.
1470 pageToken: string, Token specifying which result page to return. Optional.
1471 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001472 showDeleted: boolean, Whether to include deleted events (with status equals &quot;cancelled&quot;) in the result. Cancelled instances of recurring events will still be included if singleEvents is False. Optional. The default is False.
1473 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 Bot0bf565c2020-12-09 08:56:03 -08001474 originalStart: string, The original start time of the instance in the result. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001475
1476Returns:
1477 An object of the form:
1478
1479 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001480 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1481 # - &quot;none&quot; - The user has no access.
1482 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1483 # - &quot;reader&quot; - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
1484 # - &quot;writer&quot; - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
1485 # - &quot;owner&quot; - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001486 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001487 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001488 &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.
1489 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
1490 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1491 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1492 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
1493 &quot;items&quot;: [ # List of events on the calendar.
1494 {
1495 &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.
1496 # 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.
1497 &quot;extendedProperties&quot;: { # Extended properties of the event.
1498 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1499 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1500 },
1501 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1502 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1503 },
1504 },
1505 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1506 &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.
1507 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1508 # Can be used by developers to keep track of conferences, should not be displayed to users.
1509 # Values for solution types:
1510 # - &quot;eventHangout&quot;: unset.
1511 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1512 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1513 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1514 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1515 # All of them must belong to the same conference.
1516 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1517 {
1518 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1519 # Possible values are:
1520 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1521 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1522 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1523 # - &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.
1524 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1525 # Examples:
1526 # - for video: meet.google.com/aaa-bbbb-ccc
1527 # - for phone: +1 123 268 2601
1528 # - for sip: 12345678@altostrat.com
1529 # - for more: should not be filled
1530 # Optional.
1531 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1532 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1533 # Optional.
1534 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1535 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1536 # Optional.
1537 &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.
1538 &quot;A String&quot;,
1539 ],
1540 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1541 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1542 # Optional.
1543 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1544 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1545 # Optional.
1546 &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.
1547 # Calendar backend will populate this field only for EntryPointType.PHONE.
1548 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1549 # Format:
1550 # - for video, http: or https: schema is required.
1551 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1552 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1553 # - for more, http: or https: schema is required.
1554 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1555 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1556 },
1557 ],
1558 &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.
1559 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1560 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1561 # Unset for a conference with a failed create request.
1562 # Optional for a conference with a pending create request.
1563 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1564 # Unset for a conference with a failed create request.
1565 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1566 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1567 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1568 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1569 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1570 # The possible values are:
1571 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1572 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1573 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1574 # - &quot;addOn&quot; for 3P conference providers
1575 },
1576 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1577 },
1578 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1579 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1580 &quot;parameters&quot;: {
1581 &quot;a_key&quot;: &quot;A String&quot;,
1582 },
1583 },
1584 },
1585 &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.
1586 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1587 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1588 # 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.
1589 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1590 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1591 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1592 # The possible values are:
1593 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1594 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1595 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1596 # - &quot;addOn&quot; for 3P conference providers
1597 },
1598 &quot;status&quot;: { # The status of the conference create request.
1599 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1600 # The possible values are:
1601 # - &quot;pending&quot;: the conference create request is still being processed.
1602 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1603 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1604 },
1605 },
1606 },
1607 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1608 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
1609 &quot;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.
1610 &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.
1611 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1612 },
1613 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1614 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1615 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1616 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1617 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1618 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1619 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1620 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1621 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1622 &quot;preferences&quot;: { # Preferences.
1623 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1624 },
1625 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1626 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1627 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1628 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1629 },
1630 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1631 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1632 &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.
1633 &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.
1634 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1635 },
1636 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1637 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1638 # - &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.
1639 # - &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.
1640 &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.
1641 &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.
1642 &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.
1643 {
1644 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1645 &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.
1646 # Required when adding an attendee.
1647 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1648 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1649 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1650 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1651 # - &quot;declined&quot; - The attendee has declined the invitation.
1652 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1653 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1654 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1655 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1656 &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
1657 &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.
1658 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1659 },
1660 ],
1661 &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:
1662 # - 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
1663 # - the length of the ID must be between 5 and 1024 characters
1664 # - 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.
1665 # If you do not specify an ID, it will be automatically generated by the server.
1666 # 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.
1667 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1668 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1669 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1670 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1671 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1672 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1673 &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.
1674 {
1675 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1676 # - &quot;email&quot; - Reminders are sent via email.
1677 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1678 # Required when adding a reminder.
1679 &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).
1680 # Required when adding a reminder.
1681 },
1682 ],
1683 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1684 },
1685 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1686 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1687 # There can be at most 25 attachments per event,
1688 {
1689 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1690 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1691 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1692 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1693 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1694 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1695 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1696 # Required when adding an attachment.
1697 },
1698 ],
1699 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1700 &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.
1701 &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.
1702 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1703 },
1704 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1705 &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.
1706 &quot;A String&quot;,
1707 ],
1708 &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.
1709 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1710 &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.
1711 &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
1712 &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.
1713 },
1714 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1715 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1716 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1717 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1718 &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.
1719 &quot;creator&quot;: { # The creator of the event. Read-only.
1720 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1721 &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
1722 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1723 &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.
1724 },
1725 &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.
1726 &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.
1727 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1728 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1729 },
1730 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1731 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1732 # - &quot;tentative&quot; - The event is tentatively confirmed.
1733 # - &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.
1734 # A cancelled status represents two different states depending on the event type:
1735 # - 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.
1736 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1737 # - 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.
1738 # 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.
1739 # 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.
1740 &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.
1741 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1742 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1743 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
1744 },
1745 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001746 &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).
1747 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001748 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1749 # - &quot;email&quot; - Reminders are sent via email.
1750 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1751 # Required when adding a reminder.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001752 &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).
1753 # Required when adding a reminder.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001754 },
1755 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001756 &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.
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 Bot0bf565c2020-12-09 08:56:03 -08001775 <code class="details" id="list">list(calendarId, q=None, pageToken=None, updatedMin=None, timeMin=None, showHiddenInvitations=None, iCalUID=None, privateExtendedProperty=None, timeMax=None, singleEvents=None, sharedExtendedProperty=None, syncToken=None, alwaysIncludeEmail=None, timeZone=None, maxResults=None, showDeleted=None, maxAttendees=None, orderBy=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04001776 <pre>Returns events on the specified calendar.
1777
1778Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07001779 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001780 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001781 pageToken: string, Token specifying which result page to return. Optional.
1782 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.
1783 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.
1784 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
1785 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
1786 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)
1787 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.
1788 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.
1789 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)
Craig Citro065b5302014-08-14 00:47:23 -07001790 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.
1791There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1792
1793These are:
1794- iCalUID
1795- orderBy
1796- privateExtendedProperty
1797- q
1798- sharedExtendedProperty
1799- timeMin
1800- timeMax
1801- 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.
1802Learn more about incremental synchronization.
1803Optional. The default is to return all entries.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001804 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).
1805 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
1806 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.
1807 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.
1808 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.
1809 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
1810 Allowed values
1811 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
1812 updated - Order by last modification time (ascending).
John Asmuth614db982014-04-24 15:46:26 -04001813
1814Returns:
1815 An object of the form:
1816
1817 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001818 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1819 # - &quot;none&quot; - The user has no access.
1820 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1821 # - &quot;reader&quot; - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
1822 # - &quot;writer&quot; - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
1823 # - &quot;owner&quot; - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001824 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001825 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001826 &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.
1827 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
1828 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1829 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1830 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
1831 &quot;items&quot;: [ # List of events on the calendar.
1832 {
1833 &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.
1834 # 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.
1835 &quot;extendedProperties&quot;: { # Extended properties of the event.
1836 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1837 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1838 },
1839 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1840 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1841 },
1842 },
1843 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1844 &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.
1845 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1846 # Can be used by developers to keep track of conferences, should not be displayed to users.
1847 # Values for solution types:
1848 # - &quot;eventHangout&quot;: unset.
1849 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1850 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1851 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1852 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1853 # All of them must belong to the same conference.
1854 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1855 {
1856 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1857 # Possible values are:
1858 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1859 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1860 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1861 # - &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.
1862 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1863 # Examples:
1864 # - for video: meet.google.com/aaa-bbbb-ccc
1865 # - for phone: +1 123 268 2601
1866 # - for sip: 12345678@altostrat.com
1867 # - for more: should not be filled
1868 # Optional.
1869 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1870 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1871 # Optional.
1872 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1873 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1874 # Optional.
1875 &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.
1876 &quot;A String&quot;,
1877 ],
1878 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1879 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1880 # Optional.
1881 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1882 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1883 # Optional.
1884 &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.
1885 # Calendar backend will populate this field only for EntryPointType.PHONE.
1886 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1887 # Format:
1888 # - for video, http: or https: schema is required.
1889 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1890 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1891 # - for more, http: or https: schema is required.
1892 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1893 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1894 },
1895 ],
1896 &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.
1897 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1898 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1899 # Unset for a conference with a failed create request.
1900 # Optional for a conference with a pending create request.
1901 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1902 # Unset for a conference with a failed create request.
1903 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1904 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1905 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1906 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1907 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1908 # The possible values are:
1909 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1910 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1911 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1912 # - &quot;addOn&quot; for 3P conference providers
1913 },
1914 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1915 },
1916 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1917 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1918 &quot;parameters&quot;: {
1919 &quot;a_key&quot;: &quot;A String&quot;,
1920 },
1921 },
1922 },
1923 &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.
1924 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1925 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1926 # 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.
1927 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1928 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1929 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1930 # The possible values are:
1931 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1932 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
1933 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1934 # - &quot;addOn&quot; for 3P conference providers
1935 },
1936 &quot;status&quot;: { # The status of the conference create request.
1937 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1938 # The possible values are:
1939 # - &quot;pending&quot;: the conference create request is still being processed.
1940 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1941 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1942 },
1943 },
1944 },
1945 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1946 &quot;originalStartTime&quot;: { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
1947 &quot;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.
1948 &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.
1949 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1950 },
1951 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1952 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1953 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1954 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1955 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1956 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1957 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1958 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1959 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1960 &quot;preferences&quot;: { # Preferences.
1961 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1962 },
1963 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1964 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1965 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1966 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1967 },
1968 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1969 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1970 &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.
1971 &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.
1972 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1973 },
1974 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1975 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1976 # - &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.
1977 # - &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.
1978 &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.
1979 &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.
1980 &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.
1981 {
1982 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1983 &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.
1984 # Required when adding an attendee.
1985 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1986 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1987 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1988 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1989 # - &quot;declined&quot; - The attendee has declined the invitation.
1990 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1991 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1992 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1993 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1994 &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
1995 &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.
1996 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1997 },
1998 ],
1999 &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:
2000 # - 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
2001 # - the length of the ID must be between 5 and 1024 characters
2002 # - 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.
2003 # If you do not specify an ID, it will be automatically generated by the server.
2004 # 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.
2005 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2006 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2007 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2008 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2009 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2010 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2011 &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.
2012 {
2013 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2014 # - &quot;email&quot; - Reminders are sent via email.
2015 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2016 # Required when adding a reminder.
2017 &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).
2018 # Required when adding a reminder.
2019 },
2020 ],
2021 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2022 },
2023 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2024 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2025 # There can be at most 25 attachments per event,
2026 {
2027 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2028 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2029 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2030 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2031 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2032 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2033 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2034 # Required when adding an attachment.
2035 },
2036 ],
2037 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2038 &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.
2039 &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.
2040 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2041 },
2042 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2043 &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.
2044 &quot;A String&quot;,
2045 ],
2046 &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.
2047 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2048 &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.
2049 &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
2050 &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.
2051 },
2052 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2053 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2054 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2055 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2056 &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.
2057 &quot;creator&quot;: { # The creator of the event. Read-only.
2058 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2059 &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
2060 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2061 &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.
2062 },
2063 &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.
2064 &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.
2065 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2066 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2067 },
2068 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2069 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2070 # - &quot;tentative&quot; - The event is tentatively confirmed.
2071 # - &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.
2072 # A cancelled status represents two different states depending on the event type:
2073 # - 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.
2074 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2075 # - 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.
2076 # 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.
2077 # 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.
2078 &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.
2079 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2080 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2081 &quot;privateCopy&quot;: false, # If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
2082 },
2083 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002084 &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).
2085 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002086 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2087 # - &quot;email&quot; - Reminders are sent via email.
2088 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2089 # Required when adding a reminder.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002090 &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).
2091 # Required when adding a reminder.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002092 },
2093 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002094 &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.
John Asmuth614db982014-04-24 15:46:26 -04002095 }</pre>
2096</div>
2097
2098<div class="method">
2099 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
2100 <pre>Retrieves the next page of results.
2101
2102Args:
2103 previous_request: The request for the previous page. (required)
2104 previous_response: The response from the request for the previous page. (required)
2105
2106Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07002107 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04002108 page. Returns None if there are no more items in the collection.
2109 </pre>
2110</div>
2111
2112<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002113 <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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002125 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 Bot0bf565c2020-12-09 08:56:03 -08002133 &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.
2134 # 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.
2135 &quot;extendedProperties&quot;: { # Extended properties of the event.
2136 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2137 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002138 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002139 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2140 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002141 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002142 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002143 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2144 &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.
2145 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2146 # Can be used by developers to keep track of conferences, should not be displayed to users.
2147 # Values for solution types:
2148 # - &quot;eventHangout&quot;: unset.
2149 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2150 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2151 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2152 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2153 # All of them must belong to the same conference.
2154 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2155 {
2156 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2157 # Possible values are:
2158 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2159 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2160 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2161 # - &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.
2162 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2163 # Examples:
2164 # - for video: meet.google.com/aaa-bbbb-ccc
2165 # - for phone: +1 123 268 2601
2166 # - for sip: 12345678@altostrat.com
2167 # - for more: should not be filled
2168 # Optional.
2169 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2170 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2171 # Optional.
2172 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2173 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2174 # Optional.
2175 &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.
2176 &quot;A String&quot;,
2177 ],
2178 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2179 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2180 # Optional.
2181 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2182 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2183 # Optional.
2184 &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.
2185 # Calendar backend will populate this field only for EntryPointType.PHONE.
2186 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2187 # Format:
2188 # - for video, http: or https: schema is required.
2189 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2190 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2191 # - for more, http: or https: schema is required.
2192 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2193 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2194 },
2195 ],
2196 &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.
2197 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2198 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2199 # Unset for a conference with a failed create request.
2200 # Optional for a conference with a pending create request.
2201 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2202 # Unset for a conference with a failed create request.
2203 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2204 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2205 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2206 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2207 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2208 # The possible values are:
2209 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2210 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2211 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2212 # - &quot;addOn&quot; for 3P conference providers
2213 },
2214 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2215 },
2216 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2217 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2218 &quot;parameters&quot;: {
2219 &quot;a_key&quot;: &quot;A String&quot;,
2220 },
2221 },
2222 },
2223 &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.
2224 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2225 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2226 # 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.
2227 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2228 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2229 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2230 # The possible values are:
2231 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2232 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2233 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2234 # - &quot;addOn&quot; for 3P conference providers
2235 },
2236 &quot;status&quot;: { # The status of the conference create request.
2237 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2238 # The possible values are:
2239 # - &quot;pending&quot;: the conference create request is still being processed.
2240 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2241 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002242 },
2243 },
2244 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002245 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2246 &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.
2247 &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.
2248 &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.
2249 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002250 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002251 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2252 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2253 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2254 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2255 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2256 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2257 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2258 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2259 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2260 &quot;preferences&quot;: { # Preferences.
2261 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2262 },
2263 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2264 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2265 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2266 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2267 },
2268 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2269 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2270 &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.
2271 &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.
2272 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2273 },
2274 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2275 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2276 # - &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.
2277 # - &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.
2278 &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.
2279 &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.
2280 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002281 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002282 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2283 &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.
2284 # Required when adding an attendee.
2285 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2286 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2287 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2288 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2289 # - &quot;declined&quot; - The attendee has declined the invitation.
2290 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2291 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2292 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2293 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2294 &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
2295 &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.
2296 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002297 },
2298 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002299 &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:
2300 # - 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
2301 # - the length of the ID must be between 5 and 1024 characters
2302 # - 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.
2303 # If you do not specify an ID, it will be automatically generated by the server.
2304 # 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.
2305 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2306 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2307 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2308 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2309 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2310 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2311 &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.
2312 {
2313 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2314 # - &quot;email&quot; - Reminders are sent via email.
2315 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2316 # Required when adding a reminder.
2317 &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).
2318 # Required when adding a reminder.
2319 },
2320 ],
2321 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2322 },
2323 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2324 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2325 # There can be at most 25 attachments per event,
2326 {
2327 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2328 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2329 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2330 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2331 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2332 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2333 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2334 # Required when adding an attachment.
2335 },
2336 ],
2337 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2338 &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.
2339 &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.
2340 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2341 },
2342 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2343 &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.
2344 &quot;A String&quot;,
2345 ],
2346 &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.
2347 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2348 &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.
2349 &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
2350 &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.
2351 },
2352 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2353 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2354 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2355 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2356 &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.
2357 &quot;creator&quot;: { # The creator of the event. Read-only.
2358 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2359 &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
2360 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2361 &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.
2362 },
2363 &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.
2364 &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.
2365 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2366 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2367 },
2368 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2369 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2370 # - &quot;tentative&quot; - The event is tentatively confirmed.
2371 # - &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.
2372 # A cancelled status represents two different states depending on the event type:
2373 # - 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.
2374 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2375 # - 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.
2376 # 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.
2377 # 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.
2378 &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.
2379 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2380 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2381 &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.
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 Bot0bf565c2020-12-09 08:56:03 -08002386 <code class="details" id="patch">patch(calendarId, eventId, body=None, supportsAttachments=None, alwaysIncludeEmail=None, sendNotifications=None, maxAttendees=None, sendUpdates=None, conferenceDataVersion=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07002387 <pre>Updates an event. This method supports patch semantics.
2388
2389Args:
2390 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
2391 eventId: string, Event identifier. (required)
2392 body: object, The request body.
2393 The object takes the form of:
2394
2395{
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002396 &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.
2397 # 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.
2398 &quot;extendedProperties&quot;: { # Extended properties of the event.
2399 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2400 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002401 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002402 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2403 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002404 },
2405 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002406 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2407 &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.
2408 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2409 # Can be used by developers to keep track of conferences, should not be displayed to users.
2410 # Values for solution types:
2411 # - &quot;eventHangout&quot;: unset.
2412 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2413 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2414 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2415 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2416 # All of them must belong to the same conference.
2417 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2418 {
2419 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2420 # Possible values are:
2421 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2422 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2423 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2424 # - &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.
2425 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2426 # Examples:
2427 # - for video: meet.google.com/aaa-bbbb-ccc
2428 # - for phone: +1 123 268 2601
2429 # - for sip: 12345678@altostrat.com
2430 # - for more: should not be filled
2431 # Optional.
2432 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2433 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2434 # Optional.
2435 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2436 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2437 # Optional.
2438 &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.
2439 &quot;A String&quot;,
2440 ],
2441 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2442 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2443 # Optional.
2444 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2445 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2446 # Optional.
2447 &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.
2448 # Calendar backend will populate this field only for EntryPointType.PHONE.
2449 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2450 # Format:
2451 # - for video, http: or https: schema is required.
2452 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2453 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2454 # - for more, http: or https: schema is required.
2455 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2456 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2457 },
2458 ],
2459 &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.
2460 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2461 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2462 # Unset for a conference with a failed create request.
2463 # Optional for a conference with a pending create request.
2464 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2465 # Unset for a conference with a failed create request.
2466 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2467 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2468 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2469 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2470 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2471 # The possible values are:
2472 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2473 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2474 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2475 # - &quot;addOn&quot; for 3P conference providers
2476 },
2477 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2478 },
2479 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2480 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2481 &quot;parameters&quot;: {
2482 &quot;a_key&quot;: &quot;A String&quot;,
2483 },
2484 },
2485 },
2486 &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.
2487 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2488 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2489 # 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.
2490 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2491 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2492 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2493 # The possible values are:
2494 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2495 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2496 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2497 # - &quot;addOn&quot; for 3P conference providers
2498 },
2499 &quot;status&quot;: { # The status of the conference create request.
2500 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2501 # The possible values are:
2502 # - &quot;pending&quot;: the conference create request is still being processed.
2503 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2504 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002505 },
2506 },
2507 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002508 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2509 &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.
2510 &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.
2511 &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.
2512 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002513 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002514 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2515 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2516 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2517 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2518 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2519 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2520 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2521 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2522 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2523 &quot;preferences&quot;: { # Preferences.
2524 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2525 },
2526 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2527 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2528 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2529 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2530 },
2531 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2532 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2533 &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.
2534 &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.
2535 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2536 },
2537 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2538 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2539 # - &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.
2540 # - &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.
2541 &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.
2542 &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.
2543 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002544 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002545 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2546 &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.
2547 # Required when adding an attendee.
2548 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2549 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2550 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2551 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2552 # - &quot;declined&quot; - The attendee has declined the invitation.
2553 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2554 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2555 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2556 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2557 &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
2558 &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.
2559 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002560 },
2561 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002562 &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:
2563 # - 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
2564 # - the length of the ID must be between 5 and 1024 characters
2565 # - 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.
2566 # If you do not specify an ID, it will be automatically generated by the server.
2567 # 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.
2568 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2569 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2570 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2571 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2572 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2573 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2574 &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.
2575 {
2576 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2577 # - &quot;email&quot; - Reminders are sent via email.
2578 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2579 # Required when adding a reminder.
2580 &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).
2581 # Required when adding a reminder.
2582 },
2583 ],
2584 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2585 },
2586 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2587 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2588 # There can be at most 25 attachments per event,
2589 {
2590 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2591 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2592 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2593 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2594 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2595 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2596 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2597 # Required when adding an attachment.
2598 },
2599 ],
2600 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2601 &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.
2602 &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.
2603 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2604 },
2605 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2606 &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.
2607 &quot;A String&quot;,
2608 ],
2609 &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.
2610 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2611 &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.
2612 &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
2613 &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.
2614 },
2615 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2616 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2617 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2618 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2619 &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.
2620 &quot;creator&quot;: { # The creator of the event. Read-only.
2621 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2622 &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
2623 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2624 &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.
2625 },
2626 &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.
2627 &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.
2628 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2629 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2630 },
2631 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2632 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2633 # - &quot;tentative&quot; - The event is tentatively confirmed.
2634 # - &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.
2635 # A cancelled status represents two different states depending on the event type:
2636 # - 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.
2637 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2638 # - 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.
2639 # 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.
2640 # 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.
2641 &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.
2642 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2643 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2644 &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.
2645 }
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002646
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002647 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
2648 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 Bot0bf565c2020-12-09 08:56:03 -08002649 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2650
2651Whether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.
2652 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 Botb6971b02020-11-26 17:16:03 -08002653 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
2654 Allowed values
2655 all - Notifications are sent to all guests.
2656 externalOnly - Notifications are sent to non-Google Calendar guests only.
2657 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002658 conferenceDataVersion: integer, Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event&#x27;s body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
2659
2660Returns:
2661 An object of the form:
2662
2663 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002664 &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.
2665 # 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.
2666 &quot;extendedProperties&quot;: { # Extended properties of the event.
2667 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2668 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002669 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002670 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2671 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002672 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002673 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002674 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2675 &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.
2676 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2677 # Can be used by developers to keep track of conferences, should not be displayed to users.
2678 # Values for solution types:
2679 # - &quot;eventHangout&quot;: unset.
2680 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2681 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2682 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2683 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2684 # All of them must belong to the same conference.
2685 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2686 {
2687 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2688 # Possible values are:
2689 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2690 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2691 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2692 # - &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.
2693 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2694 # Examples:
2695 # - for video: meet.google.com/aaa-bbbb-ccc
2696 # - for phone: +1 123 268 2601
2697 # - for sip: 12345678@altostrat.com
2698 # - for more: should not be filled
2699 # Optional.
2700 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2701 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2702 # Optional.
2703 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2704 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2705 # Optional.
2706 &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.
2707 &quot;A String&quot;,
2708 ],
2709 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2710 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2711 # Optional.
2712 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2713 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2714 # Optional.
2715 &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.
2716 # Calendar backend will populate this field only for EntryPointType.PHONE.
2717 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2718 # Format:
2719 # - for video, http: or https: schema is required.
2720 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2721 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2722 # - for more, http: or https: schema is required.
2723 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2724 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2725 },
2726 ],
2727 &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.
2728 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2729 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2730 # Unset for a conference with a failed create request.
2731 # Optional for a conference with a pending create request.
2732 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2733 # Unset for a conference with a failed create request.
2734 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2735 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2736 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2737 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2738 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2739 # The possible values are:
2740 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2741 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2742 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2743 # - &quot;addOn&quot; for 3P conference providers
2744 },
2745 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2746 },
2747 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2748 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2749 &quot;parameters&quot;: {
2750 &quot;a_key&quot;: &quot;A String&quot;,
2751 },
2752 },
2753 },
2754 &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.
2755 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2756 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2757 # 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.
2758 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2759 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2760 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2761 # The possible values are:
2762 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2763 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
2764 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2765 # - &quot;addOn&quot; for 3P conference providers
2766 },
2767 &quot;status&quot;: { # The status of the conference create request.
2768 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2769 # The possible values are:
2770 # - &quot;pending&quot;: the conference create request is still being processed.
2771 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2772 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002773 },
2774 },
2775 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002776 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2777 &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.
2778 &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.
2779 &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.
2780 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002781 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002782 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2783 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2784 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2785 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2786 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2787 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2788 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2789 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2790 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2791 &quot;preferences&quot;: { # Preferences.
2792 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2793 },
2794 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2795 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2796 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2797 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2798 },
2799 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2800 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2801 &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.
2802 &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.
2803 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2804 },
2805 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2806 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2807 # - &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.
2808 # - &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.
2809 &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.
2810 &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.
2811 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002812 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002813 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2814 &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.
2815 # Required when adding an attendee.
2816 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2817 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2818 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2819 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2820 # - &quot;declined&quot; - The attendee has declined the invitation.
2821 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2822 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2823 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2824 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2825 &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
2826 &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.
2827 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002828 },
2829 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002830 &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:
2831 # - 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
2832 # - the length of the ID must be between 5 and 1024 characters
2833 # - 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.
2834 # If you do not specify an ID, it will be automatically generated by the server.
2835 # 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.
2836 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2837 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2838 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2839 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2840 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2841 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2842 &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.
2843 {
2844 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2845 # - &quot;email&quot; - Reminders are sent via email.
2846 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2847 # Required when adding a reminder.
2848 &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).
2849 # Required when adding a reminder.
2850 },
2851 ],
2852 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2853 },
2854 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2855 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2856 # There can be at most 25 attachments per event,
2857 {
2858 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2859 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2860 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2861 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2862 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2863 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2864 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2865 # Required when adding an attachment.
2866 },
2867 ],
2868 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2869 &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.
2870 &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.
2871 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2872 },
2873 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2874 &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.
2875 &quot;A String&quot;,
2876 ],
2877 &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.
2878 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2879 &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.
2880 &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
2881 &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.
2882 },
2883 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2884 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2885 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2886 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2887 &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.
2888 &quot;creator&quot;: { # The creator of the event. Read-only.
2889 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2890 &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
2891 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2892 &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.
2893 },
2894 &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.
2895 &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.
2896 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2897 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2898 },
2899 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2900 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2901 # - &quot;tentative&quot; - The event is tentatively confirmed.
2902 # - &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.
2903 # A cancelled status represents two different states depending on the event type:
2904 # - 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.
2905 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2906 # - 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.
2907 # 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.
2908 # 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.
2909 &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.
2910 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2911 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2912 &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.
2913 }</pre>
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002914</div>
2915
2916<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002917 <code class="details" id="quickAdd">quickAdd(calendarId, text, sendNotifications=None, sendUpdates=None)</code>
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002918 <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)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002923 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2924
2925Whether to send notifications about the creation of the event. Note that some emails might still be sent even if you set the value to false. The default is false.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002926 sendUpdates: string, Guests who should receive notifications about the creation of the new event.
2927 Allowed values
2928 all - Notifications are sent to all guests.
2929 externalOnly - Notifications are sent to non-Google Calendar guests only.
2930 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002931
2932Returns:
2933 An object of the form:
2934
2935 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002936 &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.
2937 # 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.
2938 &quot;extendedProperties&quot;: { # Extended properties of the event.
2939 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2940 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002941 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002942 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2943 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002944 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002945 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002946 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2947 &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.
2948 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2949 # Can be used by developers to keep track of conferences, should not be displayed to users.
2950 # Values for solution types:
2951 # - &quot;eventHangout&quot;: unset.
2952 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2953 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2954 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2955 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2956 # All of them must belong to the same conference.
2957 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2958 {
2959 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2960 # Possible values are:
2961 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2962 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2963 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2964 # - &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.
2965 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2966 # Examples:
2967 # - for video: meet.google.com/aaa-bbbb-ccc
2968 # - for phone: +1 123 268 2601
2969 # - for sip: 12345678@altostrat.com
2970 # - for more: should not be filled
2971 # Optional.
2972 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2973 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2974 # Optional.
2975 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2976 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2977 # Optional.
2978 &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.
2979 &quot;A String&quot;,
2980 ],
2981 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2982 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2983 # Optional.
2984 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2985 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2986 # Optional.
2987 &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.
2988 # Calendar backend will populate this field only for EntryPointType.PHONE.
2989 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2990 # Format:
2991 # - for video, http: or https: schema is required.
2992 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2993 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2994 # - for more, http: or https: schema is required.
2995 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2996 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2997 },
2998 ],
2999 &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.
3000 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3001 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3002 # Unset for a conference with a failed create request.
3003 # Optional for a conference with a pending create request.
3004 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3005 # Unset for a conference with a failed create request.
3006 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3007 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3008 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3009 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3010 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3011 # The possible values are:
3012 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3013 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3014 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3015 # - &quot;addOn&quot; for 3P conference providers
3016 },
3017 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3018 },
3019 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3020 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3021 &quot;parameters&quot;: {
3022 &quot;a_key&quot;: &quot;A String&quot;,
3023 },
3024 },
3025 },
3026 &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.
3027 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3028 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3029 # 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.
3030 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3031 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3032 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3033 # The possible values are:
3034 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3035 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3036 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3037 # - &quot;addOn&quot; for 3P conference providers
3038 },
3039 &quot;status&quot;: { # The status of the conference create request.
3040 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3041 # The possible values are:
3042 # - &quot;pending&quot;: the conference create request is still being processed.
3043 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3044 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003045 },
3046 },
3047 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003048 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3049 &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.
3050 &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.
3051 &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.
3052 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003053 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003054 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3055 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3056 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3057 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3058 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3059 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3060 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3061 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3062 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3063 &quot;preferences&quot;: { # Preferences.
3064 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3065 },
3066 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3067 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3068 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3069 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3070 },
3071 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3072 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3073 &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.
3074 &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.
3075 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3076 },
3077 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3078 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3079 # - &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.
3080 # - &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.
3081 &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.
3082 &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.
3083 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003084 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003085 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3086 &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.
3087 # Required when adding an attendee.
3088 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3089 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3090 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3091 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3092 # - &quot;declined&quot; - The attendee has declined the invitation.
3093 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3094 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3095 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3096 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3097 &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
3098 &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.
3099 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003100 },
3101 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003102 &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:
3103 # - 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
3104 # - the length of the ID must be between 5 and 1024 characters
3105 # - 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.
3106 # If you do not specify an ID, it will be automatically generated by the server.
3107 # 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.
3108 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3109 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3110 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3111 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3112 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3113 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3114 &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.
3115 {
3116 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3117 # - &quot;email&quot; - Reminders are sent via email.
3118 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3119 # Required when adding a reminder.
3120 &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).
3121 # Required when adding a reminder.
3122 },
3123 ],
3124 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3125 },
3126 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3127 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3128 # There can be at most 25 attachments per event,
3129 {
3130 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3131 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3132 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3133 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3134 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3135 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3136 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3137 # Required when adding an attachment.
3138 },
3139 ],
3140 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3141 &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.
3142 &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.
3143 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3144 },
3145 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3146 &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.
3147 &quot;A String&quot;,
3148 ],
3149 &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.
3150 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3151 &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.
3152 &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
3153 &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.
3154 },
3155 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3156 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3157 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3158 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3159 &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.
3160 &quot;creator&quot;: { # The creator of the event. Read-only.
3161 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3162 &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
3163 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3164 &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.
3165 },
3166 &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.
3167 &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.
3168 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3169 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3170 },
3171 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3172 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3173 # - &quot;tentative&quot; - The event is tentatively confirmed.
3174 # - &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.
3175 # A cancelled status represents two different states depending on the event type:
3176 # - 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.
3177 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3178 # - 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.
3179 # 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.
3180 # 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.
3181 &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.
3182 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3183 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3184 &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.
3185 }</pre>
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003186</div>
3187
3188<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003189 <code class="details" id="update">update(calendarId, eventId, body=None, alwaysIncludeEmail=None, sendNotifications=None, conferenceDataVersion=None, supportsAttachments=None, maxAttendees=None, sendUpdates=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07003190 <pre>Updates an event.
3191
3192Args:
3193 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
3194 eventId: string, Event identifier. (required)
3195 body: object, The request body.
3196 The object takes the form of:
3197
3198{
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003199 &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.
3200 # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003201 &quot;extendedProperties&quot;: { # Extended properties of the event.
3202 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3203 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3204 },
3205 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3206 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3207 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003208 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003209 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003210 &quot;conferenceData&quot;: { # The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003211 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3212 # Can be used by developers to keep track of conferences, should not be displayed to users.
3213 # Values for solution types:
3214 # - &quot;eventHangout&quot;: unset.
3215 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3216 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3217 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3218 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3219 # All of them must belong to the same conference.
3220 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003221 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003222 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3223 # Possible values are:
3224 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3225 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3226 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3227 # - &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003228 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3229 # Examples:
3230 # - for video: meet.google.com/aaa-bbbb-ccc
3231 # - for phone: +1 123 268 2601
3232 # - for sip: 12345678@altostrat.com
3233 # - for more: should not be filled
3234 # Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003235 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3236 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3237 # Optional.
3238 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3239 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3240 # Optional.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003241 &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.
3242 &quot;A String&quot;,
3243 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003244 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3245 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3246 # Optional.
3247 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003248 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3249 # Optional.
3250 &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.
3251 # Calendar backend will populate this field only for EntryPointType.PHONE.
3252 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3253 # Format:
3254 # - for video, http: or https: schema is required.
3255 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3256 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3257 # - for more, http: or https: schema is required.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003258 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3259 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003260 },
3261 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003262 &quot;notes&quot;: &quot;A String&quot;, # Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003263 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3264 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3265 # Unset for a conference with a failed create request.
3266 # Optional for a conference with a pending create request.
3267 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3268 # Unset for a conference with a failed create request.
3269 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3270 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3271 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3272 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3273 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3274 # The possible values are:
3275 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3276 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3277 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3278 # - &quot;addOn&quot; for 3P conference providers
3279 },
3280 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3281 },
3282 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3283 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3284 &quot;parameters&quot;: {
3285 &quot;a_key&quot;: &quot;A String&quot;,
3286 },
3287 },
3288 },
3289 &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.
3290 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3291 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3292 # 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.
3293 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3294 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3295 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3296 # The possible values are:
3297 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3298 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3299 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3300 # - &quot;addOn&quot; for 3P conference providers
3301 },
3302 &quot;status&quot;: { # The status of the conference create request.
3303 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3304 # The possible values are:
3305 # - &quot;pending&quot;: the conference create request is still being processed.
3306 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3307 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3308 },
3309 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003310 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003311 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3312 &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.
3313 &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.
3314 &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.
3315 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3316 },
3317 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3318 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3319 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3320 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3321 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3322 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3323 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3324 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3325 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3326 &quot;preferences&quot;: { # Preferences.
3327 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3328 },
3329 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3330 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3331 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3332 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3333 },
3334 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3335 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3336 &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.
3337 &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.
3338 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3339 },
3340 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003341 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3342 # - &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.
3343 # - &quot;transparent&quot; - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003344 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003345 &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.
3346 &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.
3347 {
3348 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3349 &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.
3350 # Required when adding an attendee.
3351 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3352 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3353 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3354 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3355 # - &quot;declined&quot; - The attendee has declined the invitation.
3356 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3357 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3358 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3359 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3360 &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
3361 &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.
3362 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3363 },
3364 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003365 &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:
3366 # - 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
3367 # - the length of the ID must be between 5 and 1024 characters
3368 # - 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.
3369 # If you do not specify an ID, it will be automatically generated by the server.
3370 # 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 Bot0bf565c2020-12-09 08:56:03 -08003371 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3372 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3373 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3374 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3375 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3376 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3377 &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.
3378 {
3379 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3380 # - &quot;email&quot; - Reminders are sent via email.
3381 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3382 # Required when adding a reminder.
3383 &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).
3384 # Required when adding a reminder.
3385 },
3386 ],
3387 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3388 },
3389 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3390 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3391 # There can be at most 25 attachments per event,
3392 {
3393 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3394 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3395 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3396 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3397 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3398 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3399 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3400 # Required when adding an attachment.
3401 },
3402 ],
3403 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3404 &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.
3405 &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.
3406 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3407 },
3408 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3409 &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.
3410 &quot;A String&quot;,
3411 ],
3412 &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.
3413 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3414 &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.
3415 &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
3416 &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.
3417 },
3418 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3419 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3420 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3421 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3422 &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.
3423 &quot;creator&quot;: { # The creator of the event. Read-only.
3424 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3425 &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
3426 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3427 &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.
3428 },
3429 &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.
3430 &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.
3431 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3432 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3433 },
3434 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3435 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3436 # - &quot;tentative&quot; - The event is tentatively confirmed.
3437 # - &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.
3438 # A cancelled status represents two different states depending on the event type:
3439 # - 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.
3440 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3441 # - 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.
3442 # 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.
3443 # 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.
3444 &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.
3445 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3446 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3447 &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.
3448 }
3449
3450 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).
3451 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
3452
3453Whether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.
3454 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.
3455 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
3456 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
3457 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
3458 Allowed values
3459 all - Notifications are sent to all guests.
3460 externalOnly - Notifications are sent to non-Google Calendar guests only.
3461 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
3462
3463Returns:
3464 An object of the form:
3465
3466 {
3467 &quot;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.
3468 # 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.
3469 &quot;extendedProperties&quot;: { # Extended properties of the event.
3470 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3471 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3472 },
3473 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3474 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3475 },
3476 },
3477 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3478 &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.
3479 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3480 # Can be used by developers to keep track of conferences, should not be displayed to users.
3481 # Values for solution types:
3482 # - &quot;eventHangout&quot;: unset.
3483 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3484 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3485 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3486 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3487 # All of them must belong to the same conference.
3488 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3489 {
3490 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3491 # Possible values are:
3492 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3493 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3494 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3495 # - &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.
3496 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3497 # Examples:
3498 # - for video: meet.google.com/aaa-bbbb-ccc
3499 # - for phone: +1 123 268 2601
3500 # - for sip: 12345678@altostrat.com
3501 # - for more: should not be filled
3502 # Optional.
3503 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3504 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3505 # Optional.
3506 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3507 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3508 # Optional.
3509 &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.
3510 &quot;A String&quot;,
3511 ],
3512 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3513 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3514 # Optional.
3515 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3516 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3517 # Optional.
3518 &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.
3519 # Calendar backend will populate this field only for EntryPointType.PHONE.
3520 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3521 # Format:
3522 # - for video, http: or https: schema is required.
3523 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3524 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3525 # - for more, http: or https: schema is required.
3526 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3527 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3528 },
3529 ],
3530 &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.
3531 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3532 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3533 # Unset for a conference with a failed create request.
3534 # Optional for a conference with a pending create request.
3535 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3536 # Unset for a conference with a failed create request.
3537 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3538 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3539 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3540 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3541 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3542 # The possible values are:
3543 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3544 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3545 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3546 # - &quot;addOn&quot; for 3P conference providers
3547 },
3548 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3549 },
3550 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3551 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3552 &quot;parameters&quot;: {
3553 &quot;a_key&quot;: &quot;A String&quot;,
3554 },
3555 },
3556 },
3557 &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.
3558 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3559 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3560 # 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.
3561 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3562 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3563 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3564 # The possible values are:
3565 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3566 # - &quot;eventNamedHangout&quot; for classic Hangouts for Google Workspace users (http://hangouts.google.com)
3567 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3568 # - &quot;addOn&quot; for 3P conference providers
3569 },
3570 &quot;status&quot;: { # The status of the conference create request.
3571 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3572 # The possible values are:
3573 # - &quot;pending&quot;: the conference create request is still being processed.
3574 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3575 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3576 },
3577 },
3578 },
3579 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3580 &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.
3581 &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.
3582 &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.
3583 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3584 },
3585 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3586 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3587 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3588 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3589 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3590 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3591 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3592 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3593 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3594 &quot;preferences&quot;: { # Preferences.
3595 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3596 },
3597 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3598 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3599 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3600 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3601 },
3602 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3603 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3604 &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.
3605 &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.
3606 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3607 },
3608 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3609 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3610 # - &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.
3611 # - &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.
3612 &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.
3613 &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.
3614 &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.
3615 {
3616 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3617 &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.
3618 # Required when adding an attendee.
3619 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3620 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3621 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3622 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3623 # - &quot;declined&quot; - The attendee has declined the invitation.
3624 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3625 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3626 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3627 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3628 &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
3629 &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.
3630 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3631 },
3632 ],
3633 &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:
3634 # - 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
3635 # - the length of the ID must be between 5 and 1024 characters
3636 # - 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.
3637 # If you do not specify an ID, it will be automatically generated by the server.
3638 # 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.
3639 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3640 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3641 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3642 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3643 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3644 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3645 &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.
3646 {
3647 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3648 # - &quot;email&quot; - Reminders are sent via email.
3649 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3650 # Required when adding a reminder.
3651 &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).
3652 # Required when adding a reminder.
3653 },
3654 ],
3655 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3656 },
3657 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3658 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3659 # There can be at most 25 attachments per event,
3660 {
3661 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3662 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3663 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3664 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3665 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3666 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3667 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3668 # Required when adding an attachment.
3669 },
3670 ],
3671 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3672 &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.
3673 &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.
3674 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3675 },
3676 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3677 &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.
3678 &quot;A String&quot;,
3679 ],
3680 &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.
3681 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3682 &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.
3683 &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
3684 &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.
3685 },
3686 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3687 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3688 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3689 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3690 &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.
3691 &quot;creator&quot;: { # The creator of the event. Read-only.
3692 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3693 &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
3694 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3695 &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.
3696 },
3697 &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.
3698 &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.
3699 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3700 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3701 },
3702 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3703 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3704 # - &quot;tentative&quot; - The event is tentatively confirmed.
3705 # - &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.
3706 # A cancelled status represents two different states depending on the event type:
3707 # - 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.
3708 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3709 # - 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.
3710 # 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.
3711 # 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.
3712 &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.
3713 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3714 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3715 &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.
3716 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04003717</div>
3718
3719<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003720 <code class="details" id="watch">watch(calendarId, body=None, showDeleted=None, maxAttendees=None, updatedMin=None, privateExtendedProperty=None, singleEvents=None, timeMax=None, q=None, showHiddenInvitations=None, alwaysIncludeEmail=None, timeZone=None, iCalUID=None, pageToken=None, orderBy=None, maxResults=None, sharedExtendedProperty=None, timeMin=None, syncToken=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 Botb6971b02020-11-26 17:16:03 -08003729 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003730 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003731 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3732 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003733 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
Bu Sun Kim65020912020-05-20 12:08:20 -07003734 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3735 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003736 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003737 &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;.
3738 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
3739 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3740 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
John Asmuth614db982014-04-24 15:46:26 -04003741 }
3742
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003743 showDeleted: boolean, Whether to include deleted events (with status equals &quot;cancelled&quot;) in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003744 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 Botb6971b02020-11-26 17:16:03 -08003745 updatedMin: string, Lower bound for an event&#x27;s last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003746 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)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003747 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 Bot0bf565c2020-12-09 08:56:03 -08003748 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.
3749 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
3750 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
3751 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).
3752 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
3753 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
3754 pageToken: string, Token specifying which result page to return. Optional.
3755 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
3756 Allowed values
3757 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
3758 updated - Order by last modification time (ascending).
3759 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.
3760 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)
3761 timeMin: string, Lower bound (exclusive) for an event&#x27;s end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax.
Craig Citro065b5302014-08-14 00:47:23 -07003762 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.
3763There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
3764
3765These are:
3766- iCalUID
3767- orderBy
3768- privateExtendedProperty
3769- q
3770- sharedExtendedProperty
3771- timeMin
3772- timeMax
3773- 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.
3774Learn more about incremental synchronization.
3775Optional. The default is to return all entries.
John Asmuth614db982014-04-24 15:46:26 -04003776
3777Returns:
3778 An object of the form:
3779
3780 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003781 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003782 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003783 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3784 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003785 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
Bu Sun Kim65020912020-05-20 12:08:20 -07003786 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3787 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003788 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003789 &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;.
3790 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
3791 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3792 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
John Asmuth614db982014-04-24 15:46:26 -04003793 }</pre>
3794</div>
3795
3796</body></html>