blob: 13d77b6fcfa448d353490a7226efd86f6cc51ca0 [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">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070078 <code><a href="#delete">delete(calendarId, eventId, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040079<p class="firstline">Deletes an event.</p>
80<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#get">get(calendarId, eventId, alwaysIncludeEmail=None, maxAttendees=None, timeZone=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Returns an event.</p>
83<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070084 <code><a href="#import_">import_(calendarId, body=None, conferenceDataVersion=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Imports an event. This operation is used to add a private copy of an existing event to a calendar.</p>
86<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#insert">insert(calendarId, body=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Creates an event.</p>
89<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070090 <code><a href="#instances">instances(calendarId, eventId, alwaysIncludeEmail=None, maxAttendees=None, maxResults=None, originalStart=None, pageToken=None, showDeleted=None, timeMax=None, timeMin=None, timeZone=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Returns instances of the specified recurring event.</p>
92<p class="toc_element">
93 <code><a href="#instances_next">instances_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070096 <code><a href="#list">list(calendarId, alwaysIncludeEmail=None, iCalUID=None, maxAttendees=None, maxResults=None, orderBy=None, pageToken=None, privateExtendedProperty=None, q=None, sharedExtendedProperty=None, showDeleted=None, showHiddenInvitations=None, singleEvents=None, syncToken=None, timeMax=None, timeMin=None, timeZone=None, updatedMin=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040097<p class="firstline">Returns events on the specified calendar.</p>
98<p class="toc_element">
99 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700102 <code><a href="#move">move(calendarId, eventId, destination, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400103<p class="firstline">Moves an event to another calendar, i.e. changes an event's organizer.</p>
104<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -0700105 <code><a href="#patch">patch(calendarId, eventId, body=None, alwaysIncludeEmail=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400106<p class="firstline">Updates an event. This method supports patch semantics.</p>
107<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108 <code><a href="#quickAdd">quickAdd(calendarId, text, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400109<p class="firstline">Creates an event based on a simple text string.</p>
110<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 <code><a href="#update">update(calendarId, eventId, body=None, alwaysIncludeEmail=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400112<p class="firstline">Updates an event.</p>
113<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -0700114 <code><a href="#watch">watch(calendarId, body=None, alwaysIncludeEmail=None, iCalUID=None, maxAttendees=None, maxResults=None, orderBy=None, pageToken=None, privateExtendedProperty=None, q=None, sharedExtendedProperty=None, showDeleted=None, showHiddenInvitations=None, singleEvents=None, syncToken=None, timeMax=None, timeMin=None, timeZone=None, updatedMin=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400115<p class="firstline">Watch for changes to Events resources.</p>
116<h3>Method Details</h3>
117<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700118 <code class="details" id="delete">delete(calendarId, eventId, sendNotifications=None, sendUpdates=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400119 <pre>Deletes an event.
120
121Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700122 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 -0400123 eventId: string, Event identifier. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700124 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
125
126Whether 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.
127 sendUpdates: string, Guests who should receive notifications about the deletion of the event.
128 Allowed values
129 all - Notifications are sent to all guests.
130 externalOnly - Notifications are sent to non-Google Calendar guests only.
131 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 -0400132</pre>
133</div>
134
135<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700136 <code class="details" id="get">get(calendarId, eventId, alwaysIncludeEmail=None, maxAttendees=None, timeZone=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400137 <pre>Returns an event.
138
139Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700140 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 -0400141 eventId: string, Event identifier. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700142 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 -0400143 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700144 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
John Asmuth614db982014-04-24 15:46:26 -0400145
146Returns:
147 An object of the form:
148
149 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700150 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
151 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
152 # In order to modify attachments the supportsAttachments request parameter should be set to true.
153 # There can be at most 25 attachments per event,
154 {
155 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
156 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
157 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
158 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
159 # Required when adding an attachment.
160 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
161 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
162 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
163 },
164 ],
165 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
166 {
167 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
168 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
169 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
170 &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.
171 # Required when adding an attendee.
172 &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
173 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
174 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
175 &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.
176 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
177 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
178 # - &quot;declined&quot; - The attendee has declined the invitation.
179 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
180 # - &quot;accepted&quot; - The attendee has accepted the invitation.
181 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
182 },
183 ],
184 &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.
185 &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.
186 &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.
187 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
188 # Can be used by developers to keep track of conferences, should not be displayed to users.
189 # Values for solution types:
190 # - &quot;eventHangout&quot;: unset.
191 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
192 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
193 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
194 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
195 # Unset for a conference with a failed create request.
196 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
197 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
198 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
199 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
200 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
201 # The possible values are:
202 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
203 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700204 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -0700205 # - &quot;addOn&quot; for 3P conference providers
206 },
207 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
208 },
209 &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.
210 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
211 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
212 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
213 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
214 # The possible values are:
215 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
216 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700217 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -0700218 # - &quot;addOn&quot; for 3P conference providers
219 },
220 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
221 # 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.
222 &quot;status&quot;: { # The status of the conference create request.
223 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
224 # The possible values are:
225 # - &quot;pending&quot;: the conference create request is still being processed.
226 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
227 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
228 },
229 },
230 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
231 # All of them must belong to the same conference.
232 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Takashi Matsuo06694102015-09-11 13:55:40 -0700233 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
235 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
236 # Optional.
237 &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.
238 &quot;A String&quot;,
239 ],
240 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
241 # Possible values are:
242 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
243 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
244 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
245 # - &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.
246 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
247 # Examples:
248 # - for video: meet.google.com/aaa-bbbb-ccc
249 # - for phone: +1 123 268 2601
250 # - for sip: 12345678@altostrat.com
251 # - for more: should not be filled
252 # Optional.
253 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
254 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
255 # Optional.
256 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
257 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
258 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
259 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
260 # Optional.
261 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
262 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
263 # Optional.
264 &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.
265 # Calendar backend will populate this field only for EntryPointType.PHONE.
266 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
267 # Format:
268 # - for video, http: or https: schema is required.
269 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
270 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
271 # - for more, http: or https: schema is required.
Takashi Matsuo06694102015-09-11 13:55:40 -0700272 },
273 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700274 &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.
275 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
276 &quot;addOnParameters&quot;: { # Additional add-on specific data.
277 &quot;parameters&quot;: {
278 &quot;a_key&quot;: &quot;A String&quot;,
279 },
280 },
John Asmuth614db982014-04-24 15:46:26 -0400281 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700282 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
283 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
284 # Unset for a conference with a failed create request.
285 # Optional for a conference with a pending create request.
286 },
287 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
288 &quot;creator&quot;: { # The creator of the event. Read-only.
289 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
290 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
291 &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
292 &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.
293 },
294 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
295 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
296 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
297 &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.
298 &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.
299 },
300 &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.
301 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
302 &quot;extendedProperties&quot;: { # Extended properties of the event.
303 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
304 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
John Asmuth614db982014-04-24 15:46:26 -0400305 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700306 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
307 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
308 },
309 },
310 &quot;gadget&quot;: { # A gadget that extends this event.
311 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
312 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
313 # - &quot;chip&quot; - The gadget displays when the event is clicked.
314 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
315 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
316 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
317 &quot;preferences&quot;: { # Preferences.
318 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
319 },
320 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
321 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
322 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
323 },
324 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
325 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
326 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
327 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
328 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
329 &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.
330 # 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.
331 &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:
332 # - 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
333 # - the length of the ID must be between 5 and 1024 characters
334 # - 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.
335 # If you do not specify an ID, it will be automatically generated by the server.
336 # 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.
337 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
338 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
339 &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.
340 &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.
341 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
342 &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.
343 &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
344 &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.
345 },
346 &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.
347 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
348 &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.
349 &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.
350 },
351 &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.
352 &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.
353 &quot;A String&quot;,
354 ],
355 &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.
356 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
357 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
John Asmuth614db982014-04-24 15:46:26 -0400358 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700359 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
360 # - &quot;email&quot; - Reminders are sent via email.
361 # - &quot;popup&quot; - Reminders are sent via a UI popup.
362 # Required when adding a reminder.
363 &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).
364 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -0400365 },
366 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
368 },
369 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
370 &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.
371 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
372 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
373 },
374 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
375 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
376 &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.
377 &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.
378 },
379 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
380 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
381 # - &quot;tentative&quot; - The event is tentatively confirmed.
382 # - &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.
383 # A cancelled status represents two different states depending on the event type:
384 # - 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.
385 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
386 # - 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.
387 # 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.
388 # 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.
389 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
390 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
391 # - &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.
392 # - &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.
393 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
394 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
395 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
396 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
397 # - &quot;private&quot; - The event is private and only event attendees may view event details.
398 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
399 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400400</div>
401
402<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700403 <code class="details" id="import_">import_(calendarId, body=None, conferenceDataVersion=None, supportsAttachments=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400404 <pre>Imports an event. This operation is used to add a private copy of an existing event to a calendar.
405
406Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700407 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 -0700408 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400409 The object takes the form of:
410
411{
Bu Sun Kim65020912020-05-20 12:08:20 -0700412 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
413 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
414 # In order to modify attachments the supportsAttachments request parameter should be set to true.
415 # There can be at most 25 attachments per event,
416 {
417 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
418 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
419 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
420 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
421 # Required when adding an attachment.
422 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
423 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
424 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
425 },
426 ],
427 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
428 {
429 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
430 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
431 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
432 &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.
433 # Required when adding an attendee.
434 &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
435 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
436 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
437 &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.
438 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
439 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
440 # - &quot;declined&quot; - The attendee has declined the invitation.
441 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
442 # - &quot;accepted&quot; - The attendee has accepted the invitation.
443 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
444 },
445 ],
446 &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.
447 &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.
448 &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.
449 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
450 # Can be used by developers to keep track of conferences, should not be displayed to users.
451 # Values for solution types:
452 # - &quot;eventHangout&quot;: unset.
453 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
454 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
455 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
456 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
457 # Unset for a conference with a failed create request.
458 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
459 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
460 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
461 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
462 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
463 # The possible values are:
464 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
465 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700466 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -0700467 # - &quot;addOn&quot; for 3P conference providers
468 },
469 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
470 },
471 &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.
472 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
473 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
474 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
475 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
476 # The possible values are:
477 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
478 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700479 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -0700480 # - &quot;addOn&quot; for 3P conference providers
481 },
482 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
483 # 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.
484 &quot;status&quot;: { # The status of the conference create request.
485 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
486 # The possible values are:
487 # - &quot;pending&quot;: the conference create request is still being processed.
488 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
489 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
490 },
491 },
492 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
493 # All of them must belong to the same conference.
494 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Takashi Matsuo06694102015-09-11 13:55:40 -0700495 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700496 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
497 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
498 # Optional.
499 &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.
500 &quot;A String&quot;,
501 ],
502 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
503 # Possible values are:
504 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
505 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
506 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
507 # - &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.
508 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
509 # Examples:
510 # - for video: meet.google.com/aaa-bbbb-ccc
511 # - for phone: +1 123 268 2601
512 # - for sip: 12345678@altostrat.com
513 # - for more: should not be filled
514 # Optional.
515 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
516 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
517 # Optional.
518 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
519 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
520 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
521 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
522 # Optional.
523 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
524 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
525 # Optional.
526 &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.
527 # Calendar backend will populate this field only for EntryPointType.PHONE.
528 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
529 # Format:
530 # - for video, http: or https: schema is required.
531 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
532 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
533 # - for more, http: or https: schema is required.
Takashi Matsuo06694102015-09-11 13:55:40 -0700534 },
535 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700536 &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.
537 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
538 &quot;addOnParameters&quot;: { # Additional add-on specific data.
539 &quot;parameters&quot;: {
540 &quot;a_key&quot;: &quot;A String&quot;,
541 },
542 },
John Asmuth614db982014-04-24 15:46:26 -0400543 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700544 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
545 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
546 # Unset for a conference with a failed create request.
547 # Optional for a conference with a pending create request.
548 },
549 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
550 &quot;creator&quot;: { # The creator of the event. Read-only.
551 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
552 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
553 &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
554 &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.
555 },
556 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
557 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
558 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
559 &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.
560 &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.
561 },
562 &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.
563 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
564 &quot;extendedProperties&quot;: { # Extended properties of the event.
565 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
566 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
John Asmuth614db982014-04-24 15:46:26 -0400567 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700568 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
569 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
570 },
571 },
572 &quot;gadget&quot;: { # A gadget that extends this event.
573 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
574 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
575 # - &quot;chip&quot; - The gadget displays when the event is clicked.
576 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
577 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
578 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
579 &quot;preferences&quot;: { # Preferences.
580 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
581 },
582 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
583 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
584 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
585 },
586 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
587 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
588 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
589 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
590 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
591 &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.
592 # 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.
593 &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:
594 # - 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
595 # - the length of the ID must be between 5 and 1024 characters
596 # - 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.
597 # If you do not specify an ID, it will be automatically generated by the server.
598 # 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.
599 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
600 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
601 &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.
602 &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.
603 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
604 &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.
605 &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
606 &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.
607 },
608 &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.
609 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
610 &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.
611 &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.
612 },
613 &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.
614 &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.
615 &quot;A String&quot;,
616 ],
617 &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.
618 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
619 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
John Asmuth614db982014-04-24 15:46:26 -0400620 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700621 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
622 # - &quot;email&quot; - Reminders are sent via email.
623 # - &quot;popup&quot; - Reminders are sent via a UI popup.
624 # Required when adding a reminder.
625 &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).
626 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -0400627 },
628 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700629 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
630 },
631 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
632 &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.
633 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
634 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
635 },
636 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
637 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
638 &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.
639 &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.
640 },
641 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
642 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
643 # - &quot;tentative&quot; - The event is tentatively confirmed.
644 # - &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.
645 # A cancelled status represents two different states depending on the event type:
646 # - 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.
647 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
648 # - 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.
649 # 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.
650 # 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.
651 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
652 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
653 # - &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.
654 # - &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.
655 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
656 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
657 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
658 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
659 # - &quot;private&quot; - The event is private and only event attendees may view event details.
660 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
661}
John Asmuth614db982014-04-24 15:46:26 -0400662
Bu Sun Kim65020912020-05-20 12:08:20 -0700663 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.
Takashi Matsuo06694102015-09-11 13:55:40 -0700664 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
John Asmuth614db982014-04-24 15:46:26 -0400665
666Returns:
667 An object of the form:
668
669 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700670 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
671 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
Takashi Matsuo06694102015-09-11 13:55:40 -0700672 # In order to modify attachments the supportsAttachments request parameter should be set to true.
673 # There can be at most 25 attachments per event,
674 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700675 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
676 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
677 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
Takashi Matsuo06694102015-09-11 13:55:40 -0700678 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700679 # Required when adding an attachment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700680 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
681 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
682 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Takashi Matsuo06694102015-09-11 13:55:40 -0700683 },
684 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700685 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
John Asmuth614db982014-04-24 15:46:26 -0400686 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700687 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
688 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
689 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
690 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700691 # Required when adding an attendee.
Bu Sun Kim65020912020-05-20 12:08:20 -0700692 &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
693 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
694 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
695 &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.
696 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
697 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
698 # - &quot;declined&quot; - The attendee has declined the invitation.
699 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
700 # - &quot;accepted&quot; - The attendee has accepted the invitation.
701 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
John Asmuth614db982014-04-24 15:46:26 -0400702 },
703 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700704 &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.
705 &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.
706 &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.
707 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
708 # Can be used by developers to keep track of conferences, should not be displayed to users.
709 # Values for solution types:
710 # - &quot;eventHangout&quot;: unset.
711 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
712 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
713 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
714 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
715 # Unset for a conference with a failed create request.
716 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
717 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
718 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
719 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
720 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
721 # The possible values are:
722 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
723 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700724 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -0700725 # - &quot;addOn&quot; for 3P conference providers
John Asmuth614db982014-04-24 15:46:26 -0400726 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700727 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
728 },
729 &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.
730 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
731 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
732 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
733 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
734 # The possible values are:
735 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
736 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700737 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -0700738 # - &quot;addOn&quot; for 3P conference providers
739 },
740 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
741 # 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.
742 &quot;status&quot;: { # The status of the conference create request.
743 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
744 # The possible values are:
745 # - &quot;pending&quot;: the conference create request is still being processed.
746 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
747 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
748 },
749 },
750 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700751 # All of them must belong to the same conference.
752 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
753 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700754 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700755 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
756 # Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700757 &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.
758 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700759 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700760 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
761 # Possible values are:
762 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
763 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
764 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
765 # - &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.
766 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700767 # Examples:
768 # - for video: meet.google.com/aaa-bbbb-ccc
769 # - for phone: +1 123 268 2601
770 # - for sip: 12345678@altostrat.com
771 # - for more: should not be filled
772 # Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700773 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700774 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
775 # Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -0700776 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
777 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
778 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
779 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
780 # Optional.
781 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
782 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
783 # Optional.
784 &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.
785 # Calendar backend will populate this field only for EntryPointType.PHONE.
786 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
787 # Format:
788 # - for video, http: or https: schema is required.
789 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
790 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
791 # - for more, http: or https: schema is required.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700792 },
793 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700794 &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.
795 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
796 &quot;addOnParameters&quot;: { # Additional add-on specific data.
797 &quot;parameters&quot;: {
798 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700799 },
800 },
801 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700802 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700803 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
804 # Unset for a conference with a failed create request.
805 # Optional for a conference with a pending create request.
806 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700807 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
808 &quot;creator&quot;: { # The creator of the event. Read-only.
809 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
810 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
811 &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
812 &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.
813 },
814 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
815 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
816 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
817 &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.
818 &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.
819 },
820 &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.
821 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
822 &quot;extendedProperties&quot;: { # Extended properties of the event.
823 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
824 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
825 },
826 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
827 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
828 },
829 },
830 &quot;gadget&quot;: { # A gadget that extends this event.
831 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
832 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
833 # - &quot;chip&quot; - The gadget displays when the event is clicked.
834 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
835 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
836 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
837 &quot;preferences&quot;: { # Preferences.
838 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
839 },
840 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
841 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
842 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
843 },
844 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
845 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
846 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
847 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
848 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
849 &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.
850 # 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.
851 &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:
852 # - 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
853 # - the length of the ID must be between 5 and 1024 characters
854 # - 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.
855 # If you do not specify an ID, it will be automatically generated by the server.
856 # 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.
857 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
858 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
859 &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.
860 &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.
861 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
862 &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.
863 &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
864 &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.
865 },
866 &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.
867 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
868 &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.
869 &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.
870 },
871 &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.
872 &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.
873 &quot;A String&quot;,
874 ],
875 &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.
876 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
877 &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.
878 {
879 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
880 # - &quot;email&quot; - Reminders are sent via email.
881 # - &quot;popup&quot; - Reminders are sent via a UI popup.
882 # Required when adding a reminder.
883 &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).
884 # Required when adding a reminder.
885 },
886 ],
887 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
888 },
889 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
890 &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.
891 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
892 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
893 },
894 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
895 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
896 &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.
897 &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.
898 },
899 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
900 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
901 # - &quot;tentative&quot; - The event is tentatively confirmed.
902 # - &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.
903 # A cancelled status represents two different states depending on the event type:
904 # - 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.
905 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
906 # - 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.
907 # 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.
908 # 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.
909 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
910 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
911 # - &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.
912 # - &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.
913 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
914 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
915 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
916 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
917 # - &quot;private&quot; - The event is private and only event attendees may view event details.
918 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
919 }</pre>
920</div>
John Asmuth614db982014-04-24 15:46:26 -0400921
Bu Sun Kim65020912020-05-20 12:08:20 -0700922<div class="method">
923 <code class="details" id="insert">insert(calendarId, body=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</code>
924 <pre>Creates an event.
925
926Args:
927 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)
928 body: object, The request body.
929 The object takes the form of:
930
931{
932 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
933 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
934 # In order to modify attachments the supportsAttachments request parameter should be set to true.
935 # There can be at most 25 attachments per event,
936 {
937 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
938 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
939 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
940 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
941 # Required when adding an attachment.
942 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
943 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
944 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
945 },
946 ],
947 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
948 {
949 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
950 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
951 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
952 &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.
953 # Required when adding an attendee.
954 &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
955 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
956 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
957 &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.
958 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
959 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
960 # - &quot;declined&quot; - The attendee has declined the invitation.
961 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
962 # - &quot;accepted&quot; - The attendee has accepted the invitation.
963 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
964 },
965 ],
966 &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.
967 &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.
968 &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.
969 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
970 # Can be used by developers to keep track of conferences, should not be displayed to users.
971 # Values for solution types:
972 # - &quot;eventHangout&quot;: unset.
973 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
974 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
975 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
976 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
977 # Unset for a conference with a failed create request.
978 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
979 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
980 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
981 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
982 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
983 # The possible values are:
984 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
985 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700986 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -0700987 # - &quot;addOn&quot; for 3P conference providers
988 },
989 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
990 },
991 &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.
992 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
993 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
994 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
995 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
996 # The possible values are:
997 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
998 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700999 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07001000 # - &quot;addOn&quot; for 3P conference providers
1001 },
1002 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1003 # 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.
1004 &quot;status&quot;: { # The status of the conference create request.
1005 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1006 # The possible values are:
1007 # - &quot;pending&quot;: the conference create request is still being processed.
1008 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1009 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1010 },
1011 },
1012 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1013 # All of them must belong to the same conference.
1014 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1015 {
1016 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1017 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1018 # Optional.
1019 &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.
1020 &quot;A String&quot;,
1021 ],
1022 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1023 # Possible values are:
1024 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1025 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1026 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1027 # - &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.
1028 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1029 # Examples:
1030 # - for video: meet.google.com/aaa-bbbb-ccc
1031 # - for phone: +1 123 268 2601
1032 # - for sip: 12345678@altostrat.com
1033 # - for more: should not be filled
1034 # Optional.
1035 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1036 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1037 # Optional.
1038 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1039 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1040 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1041 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1042 # Optional.
1043 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1044 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1045 # Optional.
1046 &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.
1047 # Calendar backend will populate this field only for EntryPointType.PHONE.
1048 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1049 # Format:
1050 # - for video, http: or https: schema is required.
1051 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1052 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1053 # - for more, http: or https: schema is required.
1054 },
1055 ],
1056 &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.
1057 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1058 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1059 &quot;parameters&quot;: {
1060 &quot;a_key&quot;: &quot;A String&quot;,
1061 },
1062 },
1063 },
1064 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1065 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1066 # Unset for a conference with a failed create request.
1067 # Optional for a conference with a pending create request.
1068 },
1069 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1070 &quot;creator&quot;: { # The creator of the event. Read-only.
1071 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1072 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1073 &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
1074 &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.
1075 },
1076 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1077 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1078 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1079 &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.
1080 &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.
1081 },
1082 &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.
1083 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1084 &quot;extendedProperties&quot;: { # Extended properties of the event.
1085 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1086 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1087 },
1088 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1089 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1090 },
1091 },
1092 &quot;gadget&quot;: { # A gadget that extends this event.
1093 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
1094 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1095 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1096 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
1097 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
1098 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
1099 &quot;preferences&quot;: { # Preferences.
1100 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1101 },
1102 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
1103 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
1104 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
1105 },
1106 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1107 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1108 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1109 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1110 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1111 &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.
1112 # 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.
1113 &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:
1114 # - 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
1115 # - the length of the ID must be between 5 and 1024 characters
1116 # - 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.
1117 # If you do not specify an ID, it will be automatically generated by the server.
1118 # 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.
1119 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1120 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1121 &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.
1122 &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.
1123 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1124 &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.
1125 &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
1126 &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.
1127 },
1128 &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.
1129 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1130 &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.
1131 &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.
1132 },
1133 &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.
1134 &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.
1135 &quot;A String&quot;,
1136 ],
1137 &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.
1138 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1139 &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.
1140 {
1141 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1142 # - &quot;email&quot; - Reminders are sent via email.
1143 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1144 # Required when adding a reminder.
1145 &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).
1146 # Required when adding a reminder.
1147 },
1148 ],
1149 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1150 },
1151 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1152 &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.
1153 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1154 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1155 },
1156 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1157 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1158 &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.
1159 &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.
1160 },
1161 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1162 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1163 # - &quot;tentative&quot; - The event is tentatively confirmed.
1164 # - &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.
1165 # A cancelled status represents two different states depending on the event type:
1166 # - 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.
1167 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1168 # - 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.
1169 # 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.
1170 # 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.
1171 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1172 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1173 # - &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.
1174 # - &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.
1175 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1176 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1177 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1178 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1179 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1180 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1181}
1182
1183 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.
1184 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001185 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
1186
1187Whether 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001188 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.
1189 Allowed values
1190 all - Notifications are sent to all guests.
1191 externalOnly - Notifications are sent to non-Google Calendar guests only.
1192 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Bu Sun Kim65020912020-05-20 12:08:20 -07001193 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
John Asmuth614db982014-04-24 15:46:26 -04001194
1195Returns:
1196 An object of the form:
1197
1198 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001199 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1200 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1201 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1202 # There can be at most 25 attachments per event,
1203 {
1204 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1205 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1206 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1207 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1208 # Required when adding an attachment.
1209 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1210 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1211 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1212 },
1213 ],
1214 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
1215 {
1216 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1217 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1218 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1219 &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.
1220 # Required when adding an attendee.
1221 &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
1222 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1223 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1224 &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.
1225 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1226 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1227 # - &quot;declined&quot; - The attendee has declined the invitation.
1228 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1229 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1230 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1231 },
1232 ],
1233 &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.
1234 &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.
1235 &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.
1236 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1237 # Can be used by developers to keep track of conferences, should not be displayed to users.
1238 # Values for solution types:
1239 # - &quot;eventHangout&quot;: unset.
1240 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1241 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1242 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1243 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1244 # Unset for a conference with a failed create request.
1245 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1246 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1247 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1248 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1249 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1250 # The possible values are:
1251 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1252 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001253 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07001254 # - &quot;addOn&quot; for 3P conference providers
1255 },
1256 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1257 },
1258 &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.
1259 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1260 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1261 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1262 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1263 # The possible values are:
1264 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1265 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001266 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07001267 # - &quot;addOn&quot; for 3P conference providers
1268 },
1269 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1270 # 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.
1271 &quot;status&quot;: { # The status of the conference create request.
1272 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1273 # The possible values are:
1274 # - &quot;pending&quot;: the conference create request is still being processed.
1275 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1276 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1277 },
1278 },
1279 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1280 # All of them must belong to the same conference.
1281 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07001282 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001283 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1284 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1285 # Optional.
1286 &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.
1287 &quot;A String&quot;,
1288 ],
1289 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1290 # Possible values are:
1291 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1292 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1293 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1294 # - &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.
1295 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1296 # Examples:
1297 # - for video: meet.google.com/aaa-bbbb-ccc
1298 # - for phone: +1 123 268 2601
1299 # - for sip: 12345678@altostrat.com
1300 # - for more: should not be filled
1301 # Optional.
1302 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1303 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1304 # Optional.
1305 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1306 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1307 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1308 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1309 # Optional.
1310 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1311 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1312 # Optional.
1313 &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.
1314 # Calendar backend will populate this field only for EntryPointType.PHONE.
1315 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1316 # Format:
1317 # - for video, http: or https: schema is required.
1318 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1319 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1320 # - for more, http: or https: schema is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07001321 },
1322 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001323 &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.
1324 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1325 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1326 &quot;parameters&quot;: {
1327 &quot;a_key&quot;: &quot;A String&quot;,
1328 },
1329 },
John Asmuth614db982014-04-24 15:46:26 -04001330 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001331 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1332 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1333 # Unset for a conference with a failed create request.
1334 # Optional for a conference with a pending create request.
1335 },
1336 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1337 &quot;creator&quot;: { # The creator of the event. Read-only.
1338 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1339 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1340 &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
1341 &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.
1342 },
1343 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1344 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1345 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1346 &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.
1347 &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.
1348 },
1349 &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.
1350 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1351 &quot;extendedProperties&quot;: { # Extended properties of the event.
1352 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1353 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
John Asmuth614db982014-04-24 15:46:26 -04001354 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001355 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1356 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1357 },
1358 },
1359 &quot;gadget&quot;: { # A gadget that extends this event.
1360 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
1361 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1362 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1363 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
1364 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
1365 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
1366 &quot;preferences&quot;: { # Preferences.
1367 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1368 },
1369 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
1370 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
1371 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
1372 },
1373 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1374 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1375 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1376 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1377 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1378 &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.
1379 # 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.
1380 &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:
1381 # - 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
1382 # - the length of the ID must be between 5 and 1024 characters
1383 # - 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.
1384 # If you do not specify an ID, it will be automatically generated by the server.
1385 # 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.
1386 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1387 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1388 &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.
1389 &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.
1390 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1391 &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.
1392 &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
1393 &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.
1394 },
1395 &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.
1396 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1397 &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.
1398 &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.
1399 },
1400 &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.
1401 &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.
1402 &quot;A String&quot;,
1403 ],
1404 &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.
1405 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1406 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
John Asmuth614db982014-04-24 15:46:26 -04001407 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001408 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1409 # - &quot;email&quot; - Reminders are sent via email.
1410 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1411 # Required when adding a reminder.
1412 &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).
1413 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04001414 },
1415 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001416 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1417 },
1418 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1419 &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.
1420 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1421 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1422 },
1423 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1424 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1425 &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.
1426 &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.
1427 },
1428 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1429 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1430 # - &quot;tentative&quot; - The event is tentatively confirmed.
1431 # - &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.
1432 # A cancelled status represents two different states depending on the event type:
1433 # - 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.
1434 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1435 # - 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.
1436 # 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.
1437 # 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.
1438 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1439 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1440 # - &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.
1441 # - &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.
1442 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1443 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1444 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1445 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1446 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1447 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1448 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04001449</div>
1450
1451<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -07001452 <code class="details" id="instances">instances(calendarId, eventId, alwaysIncludeEmail=None, maxAttendees=None, maxResults=None, originalStart=None, pageToken=None, showDeleted=None, timeMax=None, timeMin=None, timeZone=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04001453 <pre>Returns instances of the specified recurring event.
1454
1455Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07001456 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 -04001457 eventId: string, Recurring event identifier. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001458 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 -04001459 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Craig Citro065b5302014-08-14 00:47:23 -07001460 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.
John Asmuth614db982014-04-24 15:46:26 -04001461 originalStart: string, The original start time of the instance in the result. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07001462 pageToken: string, Token specifying which result page to return. Optional.
1463 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.
1464 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.
1465 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.
1466 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
John Asmuth614db982014-04-24 15:46:26 -04001467
1468Returns:
1469 An object of the form:
1470
1471 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001472 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1473 # - &quot;none&quot; - The user has no access.
1474 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1475 # - &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.
1476 # - &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.
1477 # - &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.
1478 &quot;defaultReminders&quot;: [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).
John Asmuth614db982014-04-24 15:46:26 -04001479 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001480 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1481 # - &quot;email&quot; - Reminders are sent via email.
1482 # - &quot;popup&quot; - Reminders are sent via a UI popup.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001483 # Required when adding a reminder.
Bu Sun Kim65020912020-05-20 12:08:20 -07001484 &quot;minutes&quot;: 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001485 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04001486 },
1487 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001488 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
1489 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
1490 &quot;items&quot;: [ # List of events on the calendar.
John Asmuth614db982014-04-24 15:46:26 -04001491 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001492 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1493 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1494 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1495 # There can be at most 25 attachments per event,
1496 {
1497 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1498 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1499 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1500 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1501 # Required when adding an attachment.
1502 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1503 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1504 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1505 },
1506 ],
1507 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
1508 {
1509 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1510 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1511 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1512 &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.
1513 # Required when adding an attendee.
1514 &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
1515 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1516 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1517 &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.
1518 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1519 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1520 # - &quot;declined&quot; - The attendee has declined the invitation.
1521 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1522 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1523 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1524 },
1525 ],
1526 &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.
1527 &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.
1528 &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.
1529 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1530 # Can be used by developers to keep track of conferences, should not be displayed to users.
1531 # Values for solution types:
1532 # - &quot;eventHangout&quot;: unset.
1533 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1534 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1535 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1536 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1537 # Unset for a conference with a failed create request.
1538 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1539 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1540 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1541 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1542 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1543 # The possible values are:
1544 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1545 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001546 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07001547 # - &quot;addOn&quot; for 3P conference providers
1548 },
1549 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1550 },
1551 &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.
1552 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1553 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1554 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1555 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1556 # The possible values are:
1557 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1558 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001559 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07001560 # - &quot;addOn&quot; for 3P conference providers
1561 },
1562 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1563 # 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.
1564 &quot;status&quot;: { # The status of the conference create request.
1565 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1566 # The possible values are:
1567 # - &quot;pending&quot;: the conference create request is still being processed.
1568 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1569 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1570 },
1571 },
1572 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1573 # All of them must belong to the same conference.
1574 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07001575 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001576 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1577 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1578 # Optional.
1579 &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.
1580 &quot;A String&quot;,
1581 ],
1582 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1583 # Possible values are:
1584 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1585 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1586 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1587 # - &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.
1588 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1589 # Examples:
1590 # - for video: meet.google.com/aaa-bbbb-ccc
1591 # - for phone: +1 123 268 2601
1592 # - for sip: 12345678@altostrat.com
1593 # - for more: should not be filled
1594 # Optional.
1595 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1596 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1597 # Optional.
1598 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1599 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1600 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1601 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1602 # Optional.
1603 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1604 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1605 # Optional.
1606 &quot;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.
1607 # Calendar backend will populate this field only for EntryPointType.PHONE.
1608 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1609 # Format:
1610 # - for video, http: or https: schema is required.
1611 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1612 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1613 # - for more, http: or https: schema is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07001614 },
1615 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001616 &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.
1617 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1618 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1619 &quot;parameters&quot;: {
1620 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001621 },
1622 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001623 },
1624 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1625 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1626 # Unset for a conference with a failed create request.
1627 # Optional for a conference with a pending create request.
1628 },
1629 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1630 &quot;creator&quot;: { # The creator of the event. Read-only.
1631 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1632 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1633 &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
1634 &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.
1635 },
1636 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1637 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1638 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1639 &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.
1640 &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.
1641 },
1642 &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.
1643 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1644 &quot;extendedProperties&quot;: { # Extended properties of the event.
1645 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1646 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1647 },
1648 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1649 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001650 },
John Asmuth614db982014-04-24 15:46:26 -04001651 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001652 &quot;gadget&quot;: { # A gadget that extends this event.
1653 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
1654 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1655 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1656 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
1657 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
1658 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
1659 &quot;preferences&quot;: { # Preferences.
1660 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1661 },
1662 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
1663 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
1664 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
1665 },
1666 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1667 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1668 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
1669 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
1670 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1671 &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.
1672 # 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.
1673 &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:
1674 # - 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
1675 # - the length of the ID must be between 5 and 1024 characters
1676 # - 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.
1677 # If you do not specify an ID, it will be automatically generated by the server.
1678 # 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.
1679 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1680 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1681 &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.
1682 &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.
1683 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1684 &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.
1685 &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
1686 &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.
1687 },
1688 &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.
1689 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1690 &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.
1691 &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.
1692 },
1693 &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.
1694 &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.
1695 &quot;A String&quot;,
1696 ],
1697 &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.
1698 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1699 &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.
1700 {
1701 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1702 # - &quot;email&quot; - Reminders are sent via email.
1703 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1704 # Required when adding a reminder.
1705 &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).
1706 # Required when adding a reminder.
1707 },
1708 ],
1709 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1710 },
1711 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1712 &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.
1713 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1714 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1715 },
1716 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1717 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1718 &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.
1719 &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.
1720 },
1721 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1722 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1723 # - &quot;tentative&quot; - The event is tentatively confirmed.
1724 # - &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.
1725 # A cancelled status represents two different states depending on the event type:
1726 # - 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.
1727 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1728 # - 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.
1729 # 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.
1730 # 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.
1731 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1732 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1733 # - &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.
1734 # - &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.
1735 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1736 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1737 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1738 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1739 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1740 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1741 },
John Asmuth614db982014-04-24 15:46:26 -04001742 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001743 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1744 &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.
1745 &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.
1746 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
1747 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
1748 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
John Asmuth614db982014-04-24 15:46:26 -04001749 }</pre>
1750</div>
1751
1752<div class="method">
1753 <code class="details" id="instances_next">instances_next(previous_request, previous_response)</code>
1754 <pre>Retrieves the next page of results.
1755
1756Args:
1757 previous_request: The request for the previous page. (required)
1758 previous_response: The response from the request for the previous page. (required)
1759
1760Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001761 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04001762 page. Returns None if there are no more items in the collection.
1763 </pre>
1764</div>
1765
1766<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -07001767 <code class="details" id="list">list(calendarId, alwaysIncludeEmail=None, iCalUID=None, maxAttendees=None, maxResults=None, orderBy=None, pageToken=None, privateExtendedProperty=None, q=None, sharedExtendedProperty=None, showDeleted=None, showHiddenInvitations=None, singleEvents=None, syncToken=None, timeMax=None, timeMin=None, timeZone=None, updatedMin=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04001768 <pre>Returns events on the specified calendar.
1769
1770Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07001771 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)
1772 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).
1773 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
1774 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.
1775 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.
John Asmuth614db982014-04-24 15:46:26 -04001776 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
1777 Allowed values
Craig Citro065b5302014-08-14 00:47:23 -07001778 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
John Asmuth614db982014-04-24 15:46:26 -04001779 updated - Order by last modification time (ascending).
John Asmuth614db982014-04-24 15:46:26 -04001780 pageToken: string, Token specifying which result page to return. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07001781 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)
1782 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
John Asmuth614db982014-04-24 15:46:26 -04001783 sharedExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
Bu Sun Kim65020912020-05-20 12:08:20 -07001784 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.
1785 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
1786 singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
Craig Citro065b5302014-08-14 00:47:23 -07001787 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.
1788There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1789
1790These are:
1791- iCalUID
1792- orderBy
1793- privateExtendedProperty
1794- q
1795- sharedExtendedProperty
1796- timeMin
1797- timeMax
1798- 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.
1799Learn more about incremental synchronization.
1800Optional. The default is to return all entries.
Bu Sun Kim65020912020-05-20 12:08:20 -07001801 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.
1802 timeMin: string, Lower bound (exclusive) for an event&#x27;s end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax.
John Asmuth614db982014-04-24 15:46:26 -04001803 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Bu Sun Kim65020912020-05-20 12:08:20 -07001804 updatedMin: string, Lower bound for an event&#x27;s last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
John Asmuth614db982014-04-24 15:46:26 -04001805
1806Returns:
1807 An object of the form:
1808
1809 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001810 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1811 # - &quot;none&quot; - The user has no access.
1812 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1813 # - &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.
1814 # - &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.
1815 # - &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.
1816 &quot;defaultReminders&quot;: [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).
John Asmuth614db982014-04-24 15:46:26 -04001817 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001818 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1819 # - &quot;email&quot; - Reminders are sent via email.
1820 # - &quot;popup&quot; - Reminders are sent via a UI popup.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001821 # Required when adding a reminder.
Bu Sun Kim65020912020-05-20 12:08:20 -07001822 &quot;minutes&quot;: 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001823 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04001824 },
1825 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001826 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
1827 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
1828 &quot;items&quot;: [ # List of events on the calendar.
John Asmuth614db982014-04-24 15:46:26 -04001829 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001830 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
1831 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1832 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1833 # There can be at most 25 attachments per event,
1834 {
1835 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1836 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1837 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1838 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1839 # Required when adding an attachment.
1840 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1841 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1842 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1843 },
1844 ],
1845 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
1846 {
1847 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1848 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1849 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1850 &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.
1851 # Required when adding an attendee.
1852 &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
1853 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1854 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1855 &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.
1856 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1857 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1858 # - &quot;declined&quot; - The attendee has declined the invitation.
1859 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1860 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1861 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1862 },
1863 ],
1864 &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.
1865 &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.
1866 &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.
1867 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1868 # Can be used by developers to keep track of conferences, should not be displayed to users.
1869 # Values for solution types:
1870 # - &quot;eventHangout&quot;: unset.
1871 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
1872 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
1873 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
1874 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
1875 # Unset for a conference with a failed create request.
1876 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1877 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1878 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1879 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1880 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1881 # The possible values are:
1882 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1883 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001884 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07001885 # - &quot;addOn&quot; for 3P conference providers
1886 },
1887 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1888 },
1889 &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.
1890 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1891 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1892 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1893 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1894 # The possible values are:
1895 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
1896 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001897 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07001898 # - &quot;addOn&quot; for 3P conference providers
1899 },
1900 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1901 # 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.
1902 &quot;status&quot;: { # The status of the conference create request.
1903 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1904 # The possible values are:
1905 # - &quot;pending&quot;: the conference create request is still being processed.
1906 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1907 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1908 },
1909 },
1910 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1911 # All of them must belong to the same conference.
1912 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07001913 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001914 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1915 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1916 # Optional.
1917 &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.
1918 &quot;A String&quot;,
1919 ],
1920 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1921 # Possible values are:
1922 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1923 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1924 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1925 # - &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.
1926 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1927 # Examples:
1928 # - for video: meet.google.com/aaa-bbbb-ccc
1929 # - for phone: +1 123 268 2601
1930 # - for sip: 12345678@altostrat.com
1931 # - for more: should not be filled
1932 # Optional.
1933 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1934 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1935 # Optional.
1936 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1937 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1938 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1939 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1940 # Optional.
1941 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1942 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1943 # Optional.
1944 &quot;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.
1945 # Calendar backend will populate this field only for EntryPointType.PHONE.
1946 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1947 # Format:
1948 # - for video, http: or https: schema is required.
1949 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1950 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1951 # - for more, http: or https: schema is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07001952 },
1953 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001954 &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.
1955 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1956 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1957 &quot;parameters&quot;: {
1958 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001959 },
1960 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001961 },
1962 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1963 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1964 # Unset for a conference with a failed create request.
1965 # Optional for a conference with a pending create request.
1966 },
1967 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1968 &quot;creator&quot;: { # The creator of the event. Read-only.
1969 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1970 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
1971 &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
1972 &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.
1973 },
1974 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1975 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1976 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1977 &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.
1978 &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.
1979 },
1980 &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.
1981 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
1982 &quot;extendedProperties&quot;: { # Extended properties of the event.
1983 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1984 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1985 },
1986 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1987 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001988 },
John Asmuth614db982014-04-24 15:46:26 -04001989 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001990 &quot;gadget&quot;: { # A gadget that extends this event.
1991 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
1992 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1993 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1994 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
1995 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
1996 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
1997 &quot;preferences&quot;: { # Preferences.
1998 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1999 },
2000 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
2001 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
2002 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
2003 },
2004 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2005 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2006 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2007 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2008 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2009 &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.
2010 # 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.
2011 &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:
2012 # - 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
2013 # - the length of the ID must be between 5 and 1024 characters
2014 # - 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.
2015 # If you do not specify an ID, it will be automatically generated by the server.
2016 # 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.
2017 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2018 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2019 &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.
2020 &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.
2021 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2022 &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.
2023 &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
2024 &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.
2025 },
2026 &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.
2027 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2028 &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.
2029 &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.
2030 },
2031 &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.
2032 &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.
2033 &quot;A String&quot;,
2034 ],
2035 &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.
2036 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2037 &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.
2038 {
2039 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2040 # - &quot;email&quot; - Reminders are sent via email.
2041 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2042 # Required when adding a reminder.
2043 &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).
2044 # Required when adding a reminder.
2045 },
2046 ],
2047 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2048 },
2049 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2050 &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.
2051 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2052 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2053 },
2054 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2055 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2056 &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.
2057 &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.
2058 },
2059 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2060 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2061 # - &quot;tentative&quot; - The event is tentatively confirmed.
2062 # - &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.
2063 # A cancelled status represents two different states depending on the event type:
2064 # - 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.
2065 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2066 # - 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.
2067 # 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.
2068 # 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.
2069 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2070 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2071 # - &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.
2072 # - &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.
2073 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2074 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2075 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2076 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2077 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2078 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2079 },
John Asmuth614db982014-04-24 15:46:26 -04002080 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002081 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
2082 &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.
2083 &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.
2084 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
2085 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
2086 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
John Asmuth614db982014-04-24 15:46:26 -04002087 }</pre>
2088</div>
2089
2090<div class="method">
2091 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
2092 <pre>Retrieves the next page of results.
2093
2094Args:
2095 previous_request: The request for the previous page. (required)
2096 previous_response: The response from the request for the previous page. (required)
2097
2098Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07002099 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04002100 page. Returns None if there are no more items in the collection.
2101 </pre>
2102</div>
2103
2104<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002105 <code class="details" id="move">move(calendarId, eventId, destination, sendNotifications=None, sendUpdates=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07002106 <pre>Moves an event to another calendar, i.e. changes an event&#x27;s organizer.
John Asmuth614db982014-04-24 15:46:26 -04002107
2108Args:
2109 calendarId: string, Calendar identifier of the source calendar where the event currently is on. (required)
2110 eventId: string, Event identifier. (required)
2111 destination: string, Calendar identifier of the target calendar where the event is to be moved to. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002112 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2113
Bu Sun Kim65020912020-05-20 12:08:20 -07002114Whether 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.
2115 sendUpdates: string, Guests who should receive notifications about the change of the event&#x27;s organizer.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002116 Allowed values
2117 all - Notifications are sent to all guests.
2118 externalOnly - Notifications are sent to non-Google Calendar guests only.
2119 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 -04002120
2121Returns:
2122 An object of the form:
2123
2124 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002125 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2126 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
Takashi Matsuo06694102015-09-11 13:55:40 -07002127 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2128 # There can be at most 25 attachments per event,
2129 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002130 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2131 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2132 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
Takashi Matsuo06694102015-09-11 13:55:40 -07002133 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002134 # Required when adding an attachment.
Bu Sun Kim65020912020-05-20 12:08:20 -07002135 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2136 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2137 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Takashi Matsuo06694102015-09-11 13:55:40 -07002138 },
2139 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002140 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
John Asmuth614db982014-04-24 15:46:26 -04002141 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002142 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2143 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2144 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2145 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002146 # Required when adding an attendee.
Bu Sun Kim65020912020-05-20 12:08:20 -07002147 &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
2148 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2149 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2150 &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.
2151 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2152 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2153 # - &quot;declined&quot; - The attendee has declined the invitation.
2154 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2155 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2156 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
John Asmuth614db982014-04-24 15:46:26 -04002157 },
2158 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002159 &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.
2160 &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.
2161 &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.
2162 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2163 # Can be used by developers to keep track of conferences, should not be displayed to users.
2164 # Values for solution types:
2165 # - &quot;eventHangout&quot;: unset.
2166 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2167 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2168 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2169 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2170 # Unset for a conference with a failed create request.
2171 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2172 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2173 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2174 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2175 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2176 # The possible values are:
2177 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2178 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002179 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07002180 # - &quot;addOn&quot; for 3P conference providers
John Asmuth614db982014-04-24 15:46:26 -04002181 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002182 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2183 },
2184 &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.
2185 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2186 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2187 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2188 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2189 # The possible values are:
2190 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2191 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002192 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07002193 # - &quot;addOn&quot; for 3P conference providers
2194 },
2195 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2196 # 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.
2197 &quot;status&quot;: { # The status of the conference create request.
2198 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2199 # The possible values are:
2200 # - &quot;pending&quot;: the conference create request is still being processed.
2201 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2202 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2203 },
2204 },
2205 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002206 # All of them must belong to the same conference.
2207 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2208 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002209 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002210 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2211 # Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07002212 &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.
2213 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002214 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002215 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2216 # Possible values are:
2217 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2218 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2219 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2220 # - &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.
2221 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002222 # Examples:
2223 # - for video: meet.google.com/aaa-bbbb-ccc
2224 # - for phone: +1 123 268 2601
2225 # - for sip: 12345678@altostrat.com
2226 # - for more: should not be filled
2227 # Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07002228 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002229 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2230 # Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07002231 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2232 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2233 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2234 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2235 # Optional.
2236 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2237 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2238 # Optional.
2239 &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.
2240 # Calendar backend will populate this field only for EntryPointType.PHONE.
2241 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2242 # Format:
2243 # - for video, http: or https: schema is required.
2244 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2245 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2246 # - for more, http: or https: schema is required.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002247 },
2248 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002249 &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.
2250 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2251 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2252 &quot;parameters&quot;: {
2253 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002254 },
2255 },
2256 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002257 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002258 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2259 # Unset for a conference with a failed create request.
2260 # Optional for a conference with a pending create request.
2261 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002262 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2263 &quot;creator&quot;: { # The creator of the event. Read-only.
2264 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2265 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2266 &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
2267 &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.
2268 },
2269 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2270 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2271 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2272 &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.
2273 &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.
2274 },
2275 &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.
2276 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2277 &quot;extendedProperties&quot;: { # Extended properties of the event.
2278 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2279 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2280 },
2281 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2282 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2283 },
2284 },
2285 &quot;gadget&quot;: { # A gadget that extends this event.
2286 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
2287 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2288 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2289 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
2290 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
2291 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
2292 &quot;preferences&quot;: { # Preferences.
2293 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2294 },
2295 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
2296 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
2297 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
2298 },
2299 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2300 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2301 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2302 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2303 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2304 &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.
2305 # 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.
2306 &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:
2307 # - 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
2308 # - the length of the ID must be between 5 and 1024 characters
2309 # - 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.
2310 # If you do not specify an ID, it will be automatically generated by the server.
2311 # 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.
2312 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2313 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2314 &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.
2315 &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.
2316 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2317 &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.
2318 &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
2319 &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.
2320 },
2321 &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.
2322 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2323 &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.
2324 &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.
2325 },
2326 &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.
2327 &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.
2328 &quot;A String&quot;,
2329 ],
2330 &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.
2331 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2332 &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.
2333 {
2334 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2335 # - &quot;email&quot; - Reminders are sent via email.
2336 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2337 # Required when adding a reminder.
2338 &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).
2339 # Required when adding a reminder.
2340 },
2341 ],
2342 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2343 },
2344 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2345 &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.
2346 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2347 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2348 },
2349 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2350 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2351 &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.
2352 &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.
2353 },
2354 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2355 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2356 # - &quot;tentative&quot; - The event is tentatively confirmed.
2357 # - &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.
2358 # A cancelled status represents two different states depending on the event type:
2359 # - 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.
2360 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2361 # - 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.
2362 # 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.
2363 # 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.
2364 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2365 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2366 # - &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.
2367 # - &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.
2368 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2369 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2370 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2371 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2372 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2373 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2374 }</pre>
2375</div>
John Asmuth614db982014-04-24 15:46:26 -04002376
Bu Sun Kim65020912020-05-20 12:08:20 -07002377<div class="method">
2378 <code class="details" id="patch">patch(calendarId, eventId, body=None, alwaysIncludeEmail=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</code>
2379 <pre>Updates an event. This method supports patch semantics.
2380
2381Args:
2382 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)
2383 eventId: string, Event identifier. (required)
2384 body: object, The request body.
2385 The object takes the form of:
2386
2387{
2388 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2389 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2390 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2391 # There can be at most 25 attachments per event,
2392 {
2393 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2394 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2395 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2396 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2397 # Required when adding an attachment.
2398 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2399 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2400 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2401 },
2402 ],
2403 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
2404 {
2405 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2406 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2407 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2408 &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.
2409 # Required when adding an attendee.
2410 &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
2411 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2412 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2413 &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.
2414 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2415 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2416 # - &quot;declined&quot; - The attendee has declined the invitation.
2417 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2418 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2419 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2420 },
2421 ],
2422 &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.
2423 &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.
2424 &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.
2425 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2426 # Can be used by developers to keep track of conferences, should not be displayed to users.
2427 # Values for solution types:
2428 # - &quot;eventHangout&quot;: unset.
2429 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2430 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2431 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2432 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2433 # Unset for a conference with a failed create request.
2434 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2435 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2436 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2437 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2438 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2439 # The possible values are:
2440 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2441 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002442 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07002443 # - &quot;addOn&quot; for 3P conference providers
2444 },
2445 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2446 },
2447 &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.
2448 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2449 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2450 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2451 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2452 # The possible values are:
2453 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2454 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002455 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07002456 # - &quot;addOn&quot; for 3P conference providers
2457 },
2458 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2459 # 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.
2460 &quot;status&quot;: { # The status of the conference create request.
2461 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2462 # The possible values are:
2463 # - &quot;pending&quot;: the conference create request is still being processed.
2464 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2465 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2466 },
2467 },
2468 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2469 # All of them must belong to the same conference.
2470 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2471 {
2472 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2473 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2474 # Optional.
2475 &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.
2476 &quot;A String&quot;,
2477 ],
2478 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2479 # Possible values are:
2480 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2481 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2482 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2483 # - &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.
2484 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2485 # Examples:
2486 # - for video: meet.google.com/aaa-bbbb-ccc
2487 # - for phone: +1 123 268 2601
2488 # - for sip: 12345678@altostrat.com
2489 # - for more: should not be filled
2490 # Optional.
2491 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2492 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2493 # Optional.
2494 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2495 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2496 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2497 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2498 # Optional.
2499 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2500 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2501 # Optional.
2502 &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.
2503 # Calendar backend will populate this field only for EntryPointType.PHONE.
2504 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2505 # Format:
2506 # - for video, http: or https: schema is required.
2507 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2508 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2509 # - for more, http: or https: schema is required.
2510 },
2511 ],
2512 &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.
2513 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2514 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2515 &quot;parameters&quot;: {
2516 &quot;a_key&quot;: &quot;A String&quot;,
2517 },
2518 },
2519 },
2520 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2521 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2522 # Unset for a conference with a failed create request.
2523 # Optional for a conference with a pending create request.
2524 },
2525 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2526 &quot;creator&quot;: { # The creator of the event. Read-only.
2527 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2528 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2529 &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
2530 &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.
2531 },
2532 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2533 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2534 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2535 &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.
2536 &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.
2537 },
2538 &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.
2539 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2540 &quot;extendedProperties&quot;: { # Extended properties of the event.
2541 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2542 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2543 },
2544 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2545 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2546 },
2547 },
2548 &quot;gadget&quot;: { # A gadget that extends this event.
2549 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
2550 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2551 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2552 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
2553 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
2554 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
2555 &quot;preferences&quot;: { # Preferences.
2556 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2557 },
2558 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
2559 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
2560 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
2561 },
2562 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2563 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2564 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2565 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2566 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2567 &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.
2568 # 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.
2569 &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:
2570 # - 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
2571 # - the length of the ID must be between 5 and 1024 characters
2572 # - 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.
2573 # If you do not specify an ID, it will be automatically generated by the server.
2574 # 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.
2575 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2576 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2577 &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.
2578 &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.
2579 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2580 &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.
2581 &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
2582 &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.
2583 },
2584 &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.
2585 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2586 &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.
2587 &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.
2588 },
2589 &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.
2590 &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.
2591 &quot;A String&quot;,
2592 ],
2593 &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.
2594 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2595 &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.
2596 {
2597 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2598 # - &quot;email&quot; - Reminders are sent via email.
2599 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2600 # Required when adding a reminder.
2601 &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).
2602 # Required when adding a reminder.
2603 },
2604 ],
2605 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2606 },
2607 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2608 &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.
2609 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2610 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2611 },
2612 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2613 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2614 &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.
2615 &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.
2616 },
2617 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2618 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2619 # - &quot;tentative&quot; - The event is tentatively confirmed.
2620 # - &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.
2621 # A cancelled status represents two different states depending on the event type:
2622 # - 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.
2623 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2624 # - 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.
2625 # 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.
2626 # 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.
2627 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2628 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2629 # - &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.
2630 # - &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.
2631 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2632 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2633 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2634 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2635 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2636 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2637}
2638
2639 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).
2640 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.
2641 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002642 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2643
2644Whether 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002645 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
2646 Allowed values
2647 all - Notifications are sent to all guests.
2648 externalOnly - Notifications are sent to non-Google Calendar guests only.
2649 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Bu Sun Kim65020912020-05-20 12:08:20 -07002650 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
John Asmuth614db982014-04-24 15:46:26 -04002651
2652Returns:
2653 An object of the form:
2654
2655 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002656 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2657 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2658 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2659 # There can be at most 25 attachments per event,
2660 {
2661 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2662 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2663 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2664 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2665 # Required when adding an attachment.
2666 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2667 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2668 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2669 },
2670 ],
2671 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
2672 {
2673 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2674 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2675 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2676 &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.
2677 # Required when adding an attendee.
2678 &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
2679 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2680 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2681 &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.
2682 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2683 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2684 # - &quot;declined&quot; - The attendee has declined the invitation.
2685 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2686 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2687 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2688 },
2689 ],
2690 &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.
2691 &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.
2692 &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.
2693 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2694 # Can be used by developers to keep track of conferences, should not be displayed to users.
2695 # Values for solution types:
2696 # - &quot;eventHangout&quot;: unset.
2697 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2698 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2699 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2700 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2701 # Unset for a conference with a failed create request.
2702 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2703 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2704 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2705 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2706 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2707 # The possible values are:
2708 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2709 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002710 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07002711 # - &quot;addOn&quot; for 3P conference providers
2712 },
2713 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2714 },
2715 &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.
2716 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2717 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2718 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2719 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2720 # The possible values are:
2721 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2722 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002723 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07002724 # - &quot;addOn&quot; for 3P conference providers
2725 },
2726 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2727 # 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.
2728 &quot;status&quot;: { # The status of the conference create request.
2729 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2730 # The possible values are:
2731 # - &quot;pending&quot;: the conference create request is still being processed.
2732 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2733 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2734 },
2735 },
2736 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2737 # All of them must belong to the same conference.
2738 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07002739 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002740 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2741 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2742 # Optional.
2743 &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.
2744 &quot;A String&quot;,
2745 ],
2746 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2747 # Possible values are:
2748 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2749 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2750 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2751 # - &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.
2752 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2753 # Examples:
2754 # - for video: meet.google.com/aaa-bbbb-ccc
2755 # - for phone: +1 123 268 2601
2756 # - for sip: 12345678@altostrat.com
2757 # - for more: should not be filled
2758 # Optional.
2759 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2760 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2761 # Optional.
2762 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2763 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2764 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2765 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2766 # Optional.
2767 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2768 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2769 # Optional.
2770 &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.
2771 # Calendar backend will populate this field only for EntryPointType.PHONE.
2772 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2773 # Format:
2774 # - for video, http: or https: schema is required.
2775 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2776 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2777 # - for more, http: or https: schema is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07002778 },
2779 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002780 &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.
2781 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2782 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2783 &quot;parameters&quot;: {
2784 &quot;a_key&quot;: &quot;A String&quot;,
2785 },
2786 },
John Asmuth614db982014-04-24 15:46:26 -04002787 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002788 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2789 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2790 # Unset for a conference with a failed create request.
2791 # Optional for a conference with a pending create request.
2792 },
2793 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2794 &quot;creator&quot;: { # The creator of the event. Read-only.
2795 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2796 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
2797 &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
2798 &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.
2799 },
2800 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2801 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2802 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2803 &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.
2804 &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.
2805 },
2806 &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.
2807 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
2808 &quot;extendedProperties&quot;: { # Extended properties of the event.
2809 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2810 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
John Asmuth614db982014-04-24 15:46:26 -04002811 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002812 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2813 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2814 },
2815 },
2816 &quot;gadget&quot;: { # A gadget that extends this event.
2817 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
2818 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2819 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2820 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
2821 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
2822 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
2823 &quot;preferences&quot;: { # Preferences.
2824 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2825 },
2826 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
2827 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
2828 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
2829 },
2830 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2831 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2832 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
2833 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
2834 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2835 &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.
2836 # 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.
2837 &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:
2838 # - 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
2839 # - the length of the ID must be between 5 and 1024 characters
2840 # - 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.
2841 # If you do not specify an ID, it will be automatically generated by the server.
2842 # 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.
2843 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2844 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2845 &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.
2846 &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.
2847 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2848 &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.
2849 &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
2850 &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.
2851 },
2852 &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.
2853 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2854 &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.
2855 &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.
2856 },
2857 &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.
2858 &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.
2859 &quot;A String&quot;,
2860 ],
2861 &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.
2862 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2863 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
John Asmuth614db982014-04-24 15:46:26 -04002864 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002865 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2866 # - &quot;email&quot; - Reminders are sent via email.
2867 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2868 # Required when adding a reminder.
2869 &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).
2870 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04002871 },
2872 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002873 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2874 },
2875 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2876 &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.
2877 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2878 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2879 },
2880 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2881 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2882 &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.
2883 &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.
2884 },
2885 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2886 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2887 # - &quot;tentative&quot; - The event is tentatively confirmed.
2888 # - &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.
2889 # A cancelled status represents two different states depending on the event type:
2890 # - 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.
2891 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2892 # - 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.
2893 # 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.
2894 # 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.
2895 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2896 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2897 # - &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.
2898 # - &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.
2899 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2900 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2901 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2902 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2903 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2904 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2905 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04002906</div>
2907
2908<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002909 <code class="details" id="quickAdd">quickAdd(calendarId, text, sendNotifications=None, sendUpdates=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04002910 <pre>Creates an event based on a simple text string.
2911
2912Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07002913 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 -04002914 text: string, The text describing the event to be created. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002915 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2916
2917Whether 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.
2918 sendUpdates: string, Guests who should receive notifications about the creation of the new event.
2919 Allowed values
2920 all - Notifications are sent to all guests.
2921 externalOnly - Notifications are sent to non-Google Calendar guests only.
2922 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 -04002923
2924Returns:
2925 An object of the form:
2926
2927 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002928 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
2929 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
Takashi Matsuo06694102015-09-11 13:55:40 -07002930 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2931 # There can be at most 25 attachments per event,
2932 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002933 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2934 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2935 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
Takashi Matsuo06694102015-09-11 13:55:40 -07002936 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002937 # Required when adding an attachment.
Bu Sun Kim65020912020-05-20 12:08:20 -07002938 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2939 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2940 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Takashi Matsuo06694102015-09-11 13:55:40 -07002941 },
2942 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002943 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
John Asmuth614db982014-04-24 15:46:26 -04002944 {
Bu Sun Kim65020912020-05-20 12:08:20 -07002945 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2946 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2947 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2948 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002949 # Required when adding an attendee.
Bu Sun Kim65020912020-05-20 12:08:20 -07002950 &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
2951 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2952 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2953 &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.
2954 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2955 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2956 # - &quot;declined&quot; - The attendee has declined the invitation.
2957 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2958 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2959 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
John Asmuth614db982014-04-24 15:46:26 -04002960 },
2961 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002962 &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.
2963 &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.
2964 &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.
2965 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2966 # Can be used by developers to keep track of conferences, should not be displayed to users.
2967 # Values for solution types:
2968 # - &quot;eventHangout&quot;: unset.
2969 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
2970 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
2971 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
2972 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
2973 # Unset for a conference with a failed create request.
2974 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2975 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2976 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2977 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2978 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2979 # The possible values are:
2980 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2981 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002982 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07002983 # - &quot;addOn&quot; for 3P conference providers
John Asmuth614db982014-04-24 15:46:26 -04002984 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002985 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2986 },
2987 &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.
2988 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2989 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2990 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2991 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2992 # The possible values are:
2993 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
2994 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002995 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07002996 # - &quot;addOn&quot; for 3P conference providers
2997 },
2998 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2999 # 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.
3000 &quot;status&quot;: { # The status of the conference create request.
3001 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3002 # The possible values are:
3003 # - &quot;pending&quot;: the conference create request is still being processed.
3004 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3005 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3006 },
3007 },
3008 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003009 # All of them must belong to the same conference.
3010 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3011 {
Bu Sun Kim65020912020-05-20 12:08:20 -07003012 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003013 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3014 # Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003015 &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.
3016 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003017 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003018 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3019 # Possible values are:
3020 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3021 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3022 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3023 # - &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.
3024 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003025 # Examples:
3026 # - for video: meet.google.com/aaa-bbbb-ccc
3027 # - for phone: +1 123 268 2601
3028 # - for sip: 12345678@altostrat.com
3029 # - for more: should not be filled
3030 # Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003031 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003032 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3033 # Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003034 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3035 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3036 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3037 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3038 # Optional.
3039 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3040 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3041 # Optional.
3042 &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.
3043 # Calendar backend will populate this field only for EntryPointType.PHONE.
3044 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3045 # Format:
3046 # - for video, http: or https: schema is required.
3047 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3048 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3049 # - for more, http: or https: schema is required.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003050 },
3051 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003052 &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.
3053 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3054 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3055 &quot;parameters&quot;: {
3056 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003057 },
3058 },
3059 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003060 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003061 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3062 # Unset for a conference with a failed create request.
3063 # Optional for a conference with a pending create request.
3064 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003065 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3066 &quot;creator&quot;: { # The creator of the event. Read-only.
3067 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3068 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3069 &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
3070 &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.
3071 },
3072 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3073 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3074 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3075 &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.
3076 &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.
3077 },
3078 &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.
3079 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3080 &quot;extendedProperties&quot;: { # Extended properties of the event.
3081 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3082 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3083 },
3084 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3085 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3086 },
3087 },
3088 &quot;gadget&quot;: { # A gadget that extends this event.
3089 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
3090 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3091 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3092 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
3093 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
3094 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
3095 &quot;preferences&quot;: { # Preferences.
3096 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3097 },
3098 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
3099 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
3100 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
3101 },
3102 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3103 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3104 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3105 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3106 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3107 &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.
3108 # 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.
3109 &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:
3110 # - 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
3111 # - the length of the ID must be between 5 and 1024 characters
3112 # - 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.
3113 # If you do not specify an ID, it will be automatically generated by the server.
3114 # 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.
3115 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3116 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3117 &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.
3118 &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.
3119 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3120 &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.
3121 &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
3122 &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.
3123 },
3124 &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.
3125 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3126 &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.
3127 &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.
3128 },
3129 &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.
3130 &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.
3131 &quot;A String&quot;,
3132 ],
3133 &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.
3134 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3135 &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.
3136 {
3137 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3138 # - &quot;email&quot; - Reminders are sent via email.
3139 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3140 # Required when adding a reminder.
3141 &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).
3142 # Required when adding a reminder.
3143 },
3144 ],
3145 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3146 },
3147 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3148 &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.
3149 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3150 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3151 },
3152 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3153 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3154 &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.
3155 &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.
3156 },
3157 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3158 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3159 # - &quot;tentative&quot; - The event is tentatively confirmed.
3160 # - &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.
3161 # A cancelled status represents two different states depending on the event type:
3162 # - 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.
3163 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3164 # - 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.
3165 # 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.
3166 # 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.
3167 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3168 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3169 # - &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.
3170 # - &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.
3171 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3172 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3173 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3174 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3175 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3176 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3177 }</pre>
3178</div>
John Asmuth614db982014-04-24 15:46:26 -04003179
Bu Sun Kim65020912020-05-20 12:08:20 -07003180<div class="method">
3181 <code class="details" id="update">update(calendarId, eventId, body=None, alwaysIncludeEmail=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</code>
3182 <pre>Updates an event.
3183
3184Args:
3185 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)
3186 eventId: string, Event identifier. (required)
3187 body: object, The request body.
3188 The object takes the form of:
3189
3190{
3191 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3192 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3193 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3194 # There can be at most 25 attachments per event,
3195 {
3196 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3197 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3198 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3199 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3200 # Required when adding an attachment.
3201 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3202 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3203 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3204 },
3205 ],
3206 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
3207 {
3208 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3209 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3210 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3211 &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.
3212 # Required when adding an attendee.
3213 &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
3214 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3215 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3216 &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.
3217 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3218 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3219 # - &quot;declined&quot; - The attendee has declined the invitation.
3220 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3221 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3222 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3223 },
3224 ],
3225 &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.
3226 &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.
3227 &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.
3228 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3229 # Can be used by developers to keep track of conferences, should not be displayed to users.
3230 # Values for solution types:
3231 # - &quot;eventHangout&quot;: unset.
3232 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3233 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3234 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3235 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3236 # Unset for a conference with a failed create request.
3237 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3238 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3239 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3240 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3241 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3242 # The possible values are:
3243 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3244 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003245 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07003246 # - &quot;addOn&quot; for 3P conference providers
3247 },
3248 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3249 },
3250 &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.
3251 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3252 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3253 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3254 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3255 # The possible values are:
3256 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3257 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003258 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07003259 # - &quot;addOn&quot; for 3P conference providers
3260 },
3261 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3262 # 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.
3263 &quot;status&quot;: { # The status of the conference create request.
3264 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3265 # The possible values are:
3266 # - &quot;pending&quot;: the conference create request is still being processed.
3267 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3268 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3269 },
3270 },
3271 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3272 # All of them must belong to the same conference.
3273 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3274 {
3275 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3276 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3277 # Optional.
3278 &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.
3279 &quot;A String&quot;,
3280 ],
3281 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3282 # Possible values are:
3283 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3284 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3285 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3286 # - &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.
3287 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3288 # Examples:
3289 # - for video: meet.google.com/aaa-bbbb-ccc
3290 # - for phone: +1 123 268 2601
3291 # - for sip: 12345678@altostrat.com
3292 # - for more: should not be filled
3293 # Optional.
3294 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3295 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3296 # Optional.
3297 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3298 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3299 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3300 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3301 # Optional.
3302 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3303 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3304 # Optional.
3305 &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.
3306 # Calendar backend will populate this field only for EntryPointType.PHONE.
3307 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3308 # Format:
3309 # - for video, http: or https: schema is required.
3310 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3311 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3312 # - for more, http: or https: schema is required.
3313 },
3314 ],
3315 &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.
3316 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3317 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3318 &quot;parameters&quot;: {
3319 &quot;a_key&quot;: &quot;A String&quot;,
3320 },
3321 },
3322 },
3323 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3324 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3325 # Unset for a conference with a failed create request.
3326 # Optional for a conference with a pending create request.
3327 },
3328 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3329 &quot;creator&quot;: { # The creator of the event. Read-only.
3330 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3331 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3332 &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
3333 &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.
3334 },
3335 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3336 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3337 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3338 &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.
3339 &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.
3340 },
3341 &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.
3342 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3343 &quot;extendedProperties&quot;: { # Extended properties of the event.
3344 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3345 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3346 },
3347 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3348 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3349 },
3350 },
3351 &quot;gadget&quot;: { # A gadget that extends this event.
3352 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
3353 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3354 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3355 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
3356 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
3357 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
3358 &quot;preferences&quot;: { # Preferences.
3359 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3360 },
3361 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
3362 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
3363 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
3364 },
3365 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3366 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3367 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3368 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3369 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3370 &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.
3371 # 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.
3372 &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:
3373 # - 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
3374 # - the length of the ID must be between 5 and 1024 characters
3375 # - 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.
3376 # If you do not specify an ID, it will be automatically generated by the server.
3377 # 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.
3378 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3379 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3380 &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.
3381 &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.
3382 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3383 &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.
3384 &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
3385 &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.
3386 },
3387 &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.
3388 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3389 &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.
3390 &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.
3391 },
3392 &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.
3393 &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.
3394 &quot;A String&quot;,
3395 ],
3396 &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.
3397 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3398 &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.
3399 {
3400 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3401 # - &quot;email&quot; - Reminders are sent via email.
3402 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3403 # Required when adding a reminder.
3404 &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).
3405 # Required when adding a reminder.
3406 },
3407 ],
3408 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3409 },
3410 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3411 &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.
3412 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3413 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3414 },
3415 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3416 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3417 &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.
3418 &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.
3419 },
3420 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3421 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3422 # - &quot;tentative&quot; - The event is tentatively confirmed.
3423 # - &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.
3424 # A cancelled status represents two different states depending on the event type:
3425 # - 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.
3426 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3427 # - 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.
3428 # 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.
3429 # 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.
3430 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3431 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3432 # - &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.
3433 # - &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.
3434 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3435 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3436 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3437 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3438 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3439 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3440}
3441
3442 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).
3443 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.
3444 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003445 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
3446
3447Whether 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003448 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
3449 Allowed values
3450 all - Notifications are sent to all guests.
3451 externalOnly - Notifications are sent to non-Google Calendar guests only.
3452 none - No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used).
Bu Sun Kim65020912020-05-20 12:08:20 -07003453 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
John Asmuth614db982014-04-24 15:46:26 -04003454
3455Returns:
3456 An object of the form:
3457
3458 {
Bu Sun Kim65020912020-05-20 12:08:20 -07003459 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
3460 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3461 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3462 # There can be at most 25 attachments per event,
3463 {
3464 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3465 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3466 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3467 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3468 # Required when adding an attachment.
3469 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3470 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3471 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3472 },
3473 ],
3474 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
3475 {
3476 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3477 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3478 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3479 &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.
3480 # Required when adding an attendee.
3481 &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
3482 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3483 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3484 &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.
3485 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3486 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3487 # - &quot;declined&quot; - The attendee has declined the invitation.
3488 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3489 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3490 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3491 },
3492 ],
3493 &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.
3494 &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.
3495 &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.
3496 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3497 # Can be used by developers to keep track of conferences, should not be displayed to users.
3498 # Values for solution types:
3499 # - &quot;eventHangout&quot;: unset.
3500 # - &quot;eventNamedHangout&quot;: the name of the Hangout.
3501 # - &quot;hangoutsMeet&quot;: the 10-letter meeting code, for example &quot;aaa-bbbb-ccc&quot;.
3502 # - &quot;addOn&quot;: defined by 3P conference provider. Optional.
3503 &quot;conferenceSolution&quot;: { # The conference solution, such as Hangouts or Google Meet.
3504 # Unset for a conference with a failed create request.
3505 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3506 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3507 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3508 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3509 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3510 # The possible values are:
3511 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3512 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003513 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07003514 # - &quot;addOn&quot; for 3P conference providers
3515 },
3516 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3517 },
3518 &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.
3519 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3520 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3521 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3522 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3523 # The possible values are:
3524 # - &quot;eventHangout&quot; for Hangouts for consumers (http://hangouts.google.com)
3525 # - &quot;eventNamedHangout&quot; for classic Hangouts for G Suite users (http://hangouts.google.com)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003526 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
Bu Sun Kim65020912020-05-20 12:08:20 -07003527 # - &quot;addOn&quot; for 3P conference providers
3528 },
3529 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3530 # 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.
3531 &quot;status&quot;: { # The status of the conference create request.
3532 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3533 # The possible values are:
3534 # - &quot;pending&quot;: the conference create request is still being processed.
3535 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3536 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3537 },
3538 },
3539 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3540 # All of them must belong to the same conference.
3541 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07003542 {
Bu Sun Kim65020912020-05-20 12:08:20 -07003543 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3544 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3545 # Optional.
3546 &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.
3547 &quot;A String&quot;,
3548 ],
3549 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3550 # Possible values are:
3551 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3552 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3553 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3554 # - &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.
3555 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3556 # Examples:
3557 # - for video: meet.google.com/aaa-bbbb-ccc
3558 # - for phone: +1 123 268 2601
3559 # - for sip: 12345678@altostrat.com
3560 # - for more: should not be filled
3561 # Optional.
3562 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3563 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3564 # Optional.
3565 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3566 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3567 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3568 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3569 # Optional.
3570 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3571 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3572 # Optional.
3573 &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.
3574 # Calendar backend will populate this field only for EntryPointType.PHONE.
3575 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3576 # Format:
3577 # - for video, http: or https: schema is required.
3578 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3579 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3580 # - for more, http: or https: schema is required.
Takashi Matsuo06694102015-09-11 13:55:40 -07003581 },
3582 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003583 &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.
3584 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3585 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3586 &quot;parameters&quot;: {
3587 &quot;a_key&quot;: &quot;A String&quot;,
3588 },
3589 },
John Asmuth614db982014-04-24 15:46:26 -04003590 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003591 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3592 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3593 # Unset for a conference with a failed create request.
3594 # Optional for a conference with a pending create request.
3595 },
3596 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3597 &quot;creator&quot;: { # The creator of the event. Read-only.
3598 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3599 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
3600 &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
3601 &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.
3602 },
3603 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3604 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3605 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3606 &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.
3607 &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.
3608 },
3609 &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.
3610 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
3611 &quot;extendedProperties&quot;: { # Extended properties of the event.
3612 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3613 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
John Asmuth614db982014-04-24 15:46:26 -04003614 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003615 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3616 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3617 },
3618 },
3619 &quot;gadget&quot;: { # A gadget that extends this event.
3620 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Optional. Possible values are:
3621 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3622 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3623 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional.
3624 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS.
3625 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS.
3626 &quot;preferences&quot;: { # Preferences.
3627 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3628 },
3629 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title.
3630 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type.
3631 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional.
3632 },
3633 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3634 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3635 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
3636 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google+ hangout associated with this event. Read-only.
3637 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3638 &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.
3639 # 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.
3640 &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:
3641 # - 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
3642 # - the length of the ID must be between 5 and 1024 characters
3643 # - 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.
3644 # If you do not specify an ID, it will be automatically generated by the server.
3645 # 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.
3646 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3647 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3648 &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.
3649 &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.
3650 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3651 &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.
3652 &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
3653 &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.
3654 },
3655 &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.
3656 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3657 &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.
3658 &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.
3659 },
3660 &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.
3661 &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.
3662 &quot;A String&quot;,
3663 ],
3664 &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.
3665 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3666 &quot;overrides&quot;: [ # If the event doesn&#x27;t use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.
John Asmuth614db982014-04-24 15:46:26 -04003667 {
Bu Sun Kim65020912020-05-20 12:08:20 -07003668 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3669 # - &quot;email&quot; - Reminders are sent via email.
3670 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3671 # Required when adding a reminder.
3672 &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).
3673 # Required when adding a reminder.
John Asmuth614db982014-04-24 15:46:26 -04003674 },
3675 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003676 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3677 },
3678 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3679 &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.
3680 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3681 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3682 },
3683 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3684 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3685 &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.
3686 &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.
3687 },
3688 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3689 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3690 # - &quot;tentative&quot; - The event is tentatively confirmed.
3691 # - &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.
3692 # A cancelled status represents two different states depending on the event type:
3693 # - 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.
3694 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3695 # - 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.
3696 # 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.
3697 # 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.
3698 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3699 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3700 # - &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.
3701 # - &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.
3702 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3703 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3704 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3705 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3706 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3707 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3708 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04003709</div>
3710
3711<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -07003712 <code class="details" id="watch">watch(calendarId, body=None, alwaysIncludeEmail=None, iCalUID=None, maxAttendees=None, maxResults=None, orderBy=None, pageToken=None, privateExtendedProperty=None, q=None, sharedExtendedProperty=None, showDeleted=None, showHiddenInvitations=None, singleEvents=None, syncToken=None, timeMax=None, timeMin=None, timeZone=None, updatedMin=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04003713 <pre>Watch for changes to Events resources.
3714
3715Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07003716 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 -07003717 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -04003718 The object takes the form of:
3719
3720{
Bu Sun Kim65020912020-05-20 12:08:20 -07003721 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3722 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
3723 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3724 &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;.
3725 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3726 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003727 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003728 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
3729 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
3730 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3731 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3732 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
John Asmuth614db982014-04-24 15:46:26 -04003733 }
3734
Bu Sun Kim65020912020-05-20 12:08:20 -07003735 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).
3736 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
3737 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.
3738 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.
John Asmuth614db982014-04-24 15:46:26 -04003739 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
3740 Allowed values
Craig Citro065b5302014-08-14 00:47:23 -07003741 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
John Asmuth614db982014-04-24 15:46:26 -04003742 updated - Order by last modification time (ascending).
John Asmuth614db982014-04-24 15:46:26 -04003743 pageToken: string, Token specifying which result page to return. Optional.
Bu Sun Kim65020912020-05-20 12:08:20 -07003744 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)
3745 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
John Asmuth614db982014-04-24 15:46:26 -04003746 sharedExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
Bu Sun Kim65020912020-05-20 12:08:20 -07003747 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.
3748 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
3749 singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
Craig Citro065b5302014-08-14 00:47:23 -07003750 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.
3751There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
3752
3753These are:
3754- iCalUID
3755- orderBy
3756- privateExtendedProperty
3757- q
3758- sharedExtendedProperty
3759- timeMin
3760- timeMax
3761- 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.
3762Learn more about incremental synchronization.
3763Optional. The default is to return all entries.
Bu Sun Kim65020912020-05-20 12:08:20 -07003764 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.
3765 timeMin: string, Lower bound (exclusive) for an event&#x27;s end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax.
John Asmuth614db982014-04-24 15:46:26 -04003766 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Bu Sun Kim65020912020-05-20 12:08:20 -07003767 updatedMin: string, Lower bound for an event&#x27;s last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
John Asmuth614db982014-04-24 15:46:26 -04003768
3769Returns:
3770 An object of the form:
3771
3772 {
Bu Sun Kim65020912020-05-20 12:08:20 -07003773 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3774 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
3775 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3776 &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;.
3777 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3778 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
John Asmuth614db982014-04-24 15:46:26 -04003779 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003780 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
3781 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
3782 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3783 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
3784 &quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
John Asmuth614db982014-04-24 15:46:26 -04003785 }</pre>
3786</div>
3787
3788</body></html>