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