blob: b10c2bf30e06a8f12cf169ec586f35a476288ec5 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="calendar_v3.html">Calendar API</a> . <a href="calendar_v3.events.html">events</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -080081 <code><a href="#delete">delete(calendarId, eventId, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Deletes an event.</p>
83<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080084 <code><a href="#get">get(calendarId, eventId, alwaysIncludeEmail=None, maxAttendees=None, timeZone=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Returns an event.</p>
86<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087 <code><a href="#import_">import_(calendarId, body=None, conferenceDataVersion=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Imports an event. This operation is used to add a private copy of an existing event to a calendar.</p>
89<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080090 <code><a href="#insert">insert(calendarId, body=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Creates an event.</p>
92<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080093 <code><a href="#instances">instances(calendarId, eventId, alwaysIncludeEmail=None, maxAttendees=None, maxResults=None, originalStart=None, pageToken=None, showDeleted=None, timeMax=None, timeMin=None, timeZone=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040094<p class="firstline">Returns instances of the specified recurring event.</p>
95<p class="toc_element">
96 <code><a href="#instances_next">instances_next(previous_request, previous_response)</a></code></p>
97<p class="firstline">Retrieves the next page of results.</p>
98<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080099 <code><a href="#list">list(calendarId, alwaysIncludeEmail=None, iCalUID=None, maxAttendees=None, maxResults=None, orderBy=None, pageToken=None, privateExtendedProperty=None, q=None, sharedExtendedProperty=None, showDeleted=None, showHiddenInvitations=None, singleEvents=None, syncToken=None, timeMax=None, timeMin=None, timeZone=None, updatedMin=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400100<p class="firstline">Returns events on the specified calendar.</p>
101<p class="toc_element">
102 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
103<p class="firstline">Retrieves the next page of results.</p>
104<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800105 <code><a href="#move">move(calendarId, eventId, destination, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400106<p class="firstline">Moves an event to another calendar, i.e. changes an event's organizer.</p>
107<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800108 <code><a href="#patch">patch(calendarId, eventId, alwaysIncludeEmail=None, body=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400109<p class="firstline">Updates an event. This method supports patch semantics.</p>
110<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800111 <code><a href="#quickAdd">quickAdd(calendarId, text, sendNotifications=None, sendUpdates=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400112<p class="firstline">Creates an event based on a simple text string.</p>
113<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800114 <code><a href="#update">update(calendarId, eventId, alwaysIncludeEmail=None, body=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400115<p class="firstline">Updates an event.</p>
116<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800117 <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>
John Asmuth614db982014-04-24 15:46:26 -0400118<p class="firstline">Watch for changes to Events resources.</p>
119<h3>Method Details</h3>
120<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121 <code class="details" id="close">close()</code>
122 <pre>Close httplib2 connections.</pre>
123</div>
124
125<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800126 <code class="details" id="delete">delete(calendarId, eventId, sendNotifications=None, sendUpdates=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400127 <pre>Deletes an event.
128
129Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700130 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
John Asmuth614db982014-04-24 15:46:26 -0400131 eventId: string, Event identifier. (required)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800132 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
133
134Whether to send notifications about the deletion of the event. Note that some emails might still be sent even if you set the value to false. The default is false.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700135 sendUpdates: string, Guests who should receive notifications about the deletion of the event.
136 Allowed values
137 all - Notifications are sent to all guests.
138 externalOnly - Notifications are sent to non-Google Calendar guests only.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400139 none - No notifications are sent. For calendar migration tasks, consider using the Events.import method instead.
John Asmuth614db982014-04-24 15:46:26 -0400140</pre>
141</div>
142
143<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800144 <code class="details" id="get">get(calendarId, eventId, alwaysIncludeEmail=None, maxAttendees=None, timeZone=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400145 <pre>Returns an event.
146
147Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700148 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
John Asmuth614db982014-04-24 15:46:26 -0400149 eventId: string, Event identifier. (required)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800150 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800151 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800152 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
John Asmuth614db982014-04-24 15:46:26 -0400153
154Returns:
155 An object of the form:
156
157 {
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700158 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800159 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700180 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800181 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700197 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700198 # - eventHangout: ID is not set. (This conference type is deprecated.)
199 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -0700200 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
201 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700202 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800203 # 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:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700210 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800212 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
213 # - &quot;addOn&quot; for 3P conference providers
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800214 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800215 &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:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700223 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800225 # - &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;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800247 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800248 &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: 12345678@altostrat.com
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:12345678@myprovider.com.
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;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800287 },
288 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800289 },
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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700299 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800300 &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.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800310 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800313 &quot;extendedProperties&quot;: { # Extended properties of the event.
314 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
315 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
316 },
317 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
318 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
319 },
320 },
321 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
322 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
323 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
324 # - &quot;chip&quot; - The gadget displays when the event is clicked.
325 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
326 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
327 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
328 &quot;preferences&quot;: { # Preferences.
329 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
330 },
331 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
332 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
333 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
334 },
335 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
336 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
337 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700338 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800339 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
340 &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.
341 # 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.
342 &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:
343 # - 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
344 # - the length of the ID must be between 5 and 1024 characters
345 # - 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.
346 # If you do not specify an ID, it will be automatically generated by the server.
347 # 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.
348 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
349 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
350 &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.
351 &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.
352 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
353 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700354 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800355 &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.
356 },
357 &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.
358 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
359 &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.
360 &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.
361 },
362 &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.
363 &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.
364 &quot;A String&quot;,
365 ],
366 &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.
367 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
368 &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.
369 {
370 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
371 # - &quot;email&quot; - Reminders are sent via email.
372 # - &quot;popup&quot; - Reminders are sent via a UI popup.
373 # Required when adding a reminder.
374 &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).
375 # Required when adding a reminder.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800376 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800377 ],
378 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
379 },
380 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
381 &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.
382 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
383 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
384 },
385 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
386 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
387 &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.
388 &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.
389 },
390 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
391 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
392 # - &quot;tentative&quot; - The event is tentatively confirmed.
393 # - &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.
394 # A cancelled status represents two different states depending on the event type:
395 # - 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.
396 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
397 # - 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.
398 # 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.
399 # 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.
400 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
401 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
402 # - &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.
403 # - &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.
404 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
405 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
406 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
407 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
408 # - &quot;private&quot; - The event is private and only event attendees may view event details.
409 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
410}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400411</div>
412
413<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700414 <code class="details" id="import_">import_(calendarId, body=None, conferenceDataVersion=None, supportsAttachments=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400415 <pre>Imports an event. This operation is used to add a private copy of an existing event to a calendar.
416
417Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700418 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700419 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400420 The object takes the form of:
421
422{
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700423 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800424 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
425 # In order to modify attachments the supportsAttachments request parameter should be set to true.
426 # There can be at most 25 attachments per event,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800427 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800428 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
429 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
430 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
431 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
432 # Required when adding an attachment.
433 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
434 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
435 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800436 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800437 ],
438 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800439 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800440 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
441 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
442 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
443 &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.
444 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700445 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800446 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
447 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
448 &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.
449 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
450 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
451 # - &quot;declined&quot; - The attendee has declined the invitation.
452 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
453 # - &quot;accepted&quot; - The attendee has accepted the invitation.
454 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
455 },
456 ],
457 &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.
458 &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.
459 &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.
460 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
461 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700462 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700463 # - eventHangout: ID is not set. (This conference type is deprecated.)
464 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -0700465 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
466 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700467 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800468 # Unset for a conference with a failed create request.
469 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
470 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
471 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
472 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
473 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
474 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700475 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
476 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800477 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
478 # - &quot;addOn&quot; for 3P conference providers
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800479 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800480 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
481 },
482 &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.
483 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
484 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
485 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
486 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
487 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700488 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
489 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800490 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
491 # - &quot;addOn&quot; for 3P conference providers
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800492 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800493 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
494 # 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.
495 &quot;status&quot;: { # The status of the conference create request.
496 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
497 # The possible values are:
498 # - &quot;pending&quot;: the conference create request is still being processed.
499 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
500 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800501 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800502 },
503 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
504 # All of them must belong to the same conference.
505 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800506 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800507 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
508 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
509 # Optional.
510 &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.
511 &quot;A String&quot;,
512 ],
513 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
514 # Possible values are:
515 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
516 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
517 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
518 # - &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.
519 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
520 # Examples:
521 # - for video: meet.google.com/aaa-bbbb-ccc
522 # - for phone: +1 123 268 2601
523 # - for sip: 12345678@altostrat.com
524 # - for more: should not be filled
525 # Optional.
526 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
527 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
528 # Optional.
529 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
530 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
531 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
532 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
533 # Optional.
534 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
535 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
536 # Optional.
537 &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.
538 # Calendar backend will populate this field only for EntryPointType.PHONE.
539 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
540 # Format:
541 # - for video, http: or https: schema is required.
542 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
543 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
544 # - for more, http: or https: schema is required.
545 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800546 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800547 &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.
548 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
549 &quot;addOnParameters&quot;: { # Additional add-on specific data.
550 &quot;parameters&quot;: {
551 &quot;a_key&quot;: &quot;A String&quot;,
552 },
553 },
554 },
555 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
556 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
557 # Unset for a conference with a failed create request.
558 # Optional for a conference with a pending create request.
559 },
560 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
561 &quot;creator&quot;: { # The creator of the event. Read-only.
562 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
563 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700564 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800565 &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.
566 },
567 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
568 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
569 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
570 &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.
571 &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.
572 },
573 &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.
574 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800575 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
576 # - &quot;default&quot; - A regular event or not further specified.
577 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800578 &quot;extendedProperties&quot;: { # Extended properties of the event.
579 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
580 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
581 },
582 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
583 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
584 },
585 },
586 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
587 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
588 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
589 # - &quot;chip&quot; - The gadget displays when the event is clicked.
590 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
591 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
592 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
593 &quot;preferences&quot;: { # Preferences.
594 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
595 },
596 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
597 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
598 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
599 },
600 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
601 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
602 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700603 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800604 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
605 &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.
606 # 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.
607 &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:
608 # - 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
609 # - the length of the ID must be between 5 and 1024 characters
610 # - 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.
611 # If you do not specify an ID, it will be automatically generated by the server.
612 # 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.
613 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
614 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
615 &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.
616 &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.
617 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
618 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700619 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800620 &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.
621 },
622 &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.
623 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
624 &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.
625 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
626 },
627 &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.
628 &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.
629 &quot;A String&quot;,
630 ],
631 &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.
632 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
633 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800634 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800635 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
636 # - &quot;email&quot; - Reminders are sent via email.
637 # - &quot;popup&quot; - Reminders are sent via a UI popup.
638 # Required when adding a reminder.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800639 &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).
640 # Required when adding a reminder.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800641 },
642 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800643 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
644 },
645 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
646 &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.
647 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
648 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
649 },
650 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
651 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
652 &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.
653 &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.
654 },
655 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
656 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
657 # - &quot;tentative&quot; - The event is tentatively confirmed.
658 # - &quot;cancelled&quot; - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.
659 # A cancelled status represents two different states depending on the event type:
660 # - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.
661 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
662 # - All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
663 # Deleted events are only guaranteed to have the id field populated. On the organizer&#x27;s calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.
664 # If an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.
665 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
666 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
667 # - &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.
668 # - &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.
669 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
670 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
671 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
672 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
673 # - &quot;private&quot; - The event is private and only event attendees may view event details.
674 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
675}
676
677 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.
678 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
679
680Returns:
681 An object of the form:
682
683 {
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700684 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800685 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
686 # In order to modify attachments the supportsAttachments request parameter should be set to true.
687 # There can be at most 25 attachments per event,
688 {
689 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
690 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
691 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
692 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
693 # Required when adding an attachment.
694 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
695 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
696 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
697 },
698 ],
699 &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.
700 {
701 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
702 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
703 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
704 &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.
705 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700706 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800707 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
708 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
709 &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.
710 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
711 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
712 # - &quot;declined&quot; - The attendee has declined the invitation.
713 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
714 # - &quot;accepted&quot; - The attendee has accepted the invitation.
715 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
716 },
717 ],
718 &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.
719 &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.
720 &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.
721 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
722 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700723 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700724 # - eventHangout: ID is not set. (This conference type is deprecated.)
725 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -0700726 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
727 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700728 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800729 # Unset for a conference with a failed create request.
730 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
731 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
732 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
733 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
734 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
735 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700736 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
737 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800738 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
739 # - &quot;addOn&quot; for 3P conference providers
740 },
741 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
742 },
743 &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.
744 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
745 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
746 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
747 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
748 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700749 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
750 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800751 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
752 # - &quot;addOn&quot; for 3P conference providers
753 },
754 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
755 # 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.
756 &quot;status&quot;: { # The status of the conference create request.
757 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
758 # The possible values are:
759 # - &quot;pending&quot;: the conference create request is still being processed.
760 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
761 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
762 },
763 },
764 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
765 # All of them must belong to the same conference.
766 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
767 {
768 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
769 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
770 # Optional.
771 &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.
772 &quot;A String&quot;,
773 ],
774 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
775 # Possible values are:
776 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
777 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
778 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
779 # - &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.
780 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
781 # Examples:
782 # - for video: meet.google.com/aaa-bbbb-ccc
783 # - for phone: +1 123 268 2601
784 # - for sip: 12345678@altostrat.com
785 # - for more: should not be filled
786 # Optional.
787 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
788 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
789 # Optional.
790 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
791 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
792 &quot;password&quot;: &quot;A String&quot;, # The password 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 # Optional.
795 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
796 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
797 # Optional.
798 &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.
799 # Calendar backend will populate this field only for EntryPointType.PHONE.
800 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
801 # Format:
802 # - for video, http: or https: schema is required.
803 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
804 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
805 # - for more, http: or https: schema is required.
806 },
807 ],
808 &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.
809 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
810 &quot;addOnParameters&quot;: { # Additional add-on specific data.
811 &quot;parameters&quot;: {
812 &quot;a_key&quot;: &quot;A String&quot;,
813 },
814 },
815 },
816 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
817 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
818 # Unset for a conference with a failed create request.
819 # Optional for a conference with a pending create request.
820 },
821 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
822 &quot;creator&quot;: { # The creator of the event. Read-only.
823 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
824 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700825 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800826 &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.
827 },
828 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
829 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
830 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
831 &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.
832 &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.
833 },
834 &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.
835 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800836 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
837 # - &quot;default&quot; - A regular event or not further specified.
838 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800839 &quot;extendedProperties&quot;: { # Extended properties of the event.
840 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
841 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
842 },
843 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
844 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
845 },
846 },
847 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
848 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
849 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
850 # - &quot;chip&quot; - The gadget displays when the event is clicked.
851 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
852 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
853 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
854 &quot;preferences&quot;: { # Preferences.
855 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
856 },
857 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
858 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
859 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
860 },
861 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
862 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
863 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700864 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800865 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
866 &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.
867 # 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.
868 &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:
869 # - 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
870 # - the length of the ID must be between 5 and 1024 characters
871 # - 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.
872 # If you do not specify an ID, it will be automatically generated by the server.
873 # 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.
874 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
875 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
876 &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.
877 &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.
878 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
879 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700880 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800881 &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.
882 },
883 &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.
884 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
885 &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.
886 &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.
887 },
888 &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.
889 &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.
890 &quot;A String&quot;,
891 ],
892 &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.
893 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
894 &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.
895 {
896 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
897 # - &quot;email&quot; - Reminders are sent via email.
898 # - &quot;popup&quot; - Reminders are sent via a UI popup.
899 # Required when adding a reminder.
900 &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).
901 # Required when adding a reminder.
902 },
903 ],
904 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
905 },
906 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
907 &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.
908 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
909 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
910 },
911 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
912 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
913 &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.
914 &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.
915 },
916 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
917 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
918 # - &quot;tentative&quot; - The event is tentatively confirmed.
919 # - &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.
920 # A cancelled status represents two different states depending on the event type:
921 # - 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.
922 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
923 # - 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.
924 # 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.
925 # 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.
926 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
927 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
928 # - &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.
929 # - &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.
930 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
931 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
932 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
933 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
934 # - &quot;private&quot; - The event is private and only event attendees may view event details.
935 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
936}</pre>
937</div>
938
939<div class="method">
940 <code class="details" id="insert">insert(calendarId, body=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</code>
941 <pre>Creates an event.
942
943Args:
944 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)
945 body: object, The request body.
946 The object takes the form of:
947
948{
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700949 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800950 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
951 # In order to modify attachments the supportsAttachments request parameter should be set to true.
952 # There can be at most 25 attachments per event,
953 {
954 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
955 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
956 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
957 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
958 # Required when adding an attachment.
959 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
960 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
961 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
962 },
963 ],
964 &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.
965 {
966 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
967 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
968 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
969 &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.
970 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700971 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800972 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
973 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
974 &quot;resource&quot;: false, # Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
975 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
976 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
977 # - &quot;declined&quot; - The attendee has declined the invitation.
978 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
979 # - &quot;accepted&quot; - The attendee has accepted the invitation.
980 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
981 },
982 ],
983 &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.
984 &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.
985 &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.
986 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
987 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -0700988 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700989 # - eventHangout: ID is not set. (This conference type is deprecated.)
990 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -0700991 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
992 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -0700993 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800994 # Unset for a conference with a failed create request.
995 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
996 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
997 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
998 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
999 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1000 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001001 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
1002 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001003 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1004 # - &quot;addOn&quot; for 3P conference providers
1005 },
1006 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1007 },
1008 &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.
1009 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1010 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1011 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1012 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1013 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001014 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
1015 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001016 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1017 # - &quot;addOn&quot; for 3P conference providers
1018 },
1019 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1020 # 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.
1021 &quot;status&quot;: { # The status of the conference create request.
1022 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1023 # The possible values are:
1024 # - &quot;pending&quot;: the conference create request is still being processed.
1025 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1026 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1027 },
1028 },
1029 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1030 # All of them must belong to the same conference.
1031 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1032 {
1033 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1034 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1035 # Optional.
1036 &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.
1037 &quot;A String&quot;,
1038 ],
1039 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1040 # Possible values are:
1041 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1042 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1043 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1044 # - &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.
1045 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1046 # Examples:
1047 # - for video: meet.google.com/aaa-bbbb-ccc
1048 # - for phone: +1 123 268 2601
1049 # - for sip: 12345678@altostrat.com
1050 # - for more: should not be filled
1051 # Optional.
1052 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1053 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1054 # Optional.
1055 &quot;passcode&quot;: &quot;A String&quot;, # The passcode 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 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1058 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1059 # Optional.
1060 &quot;pin&quot;: &quot;A String&quot;, # The PIN 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;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.
1064 # Calendar backend will populate this field only for EntryPointType.PHONE.
1065 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1066 # Format:
1067 # - for video, http: or https: schema is required.
1068 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1069 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1070 # - for more, http: or https: schema is required.
1071 },
1072 ],
1073 &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.
1074 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1075 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1076 &quot;parameters&quot;: {
1077 &quot;a_key&quot;: &quot;A String&quot;,
1078 },
1079 },
1080 },
1081 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1082 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1083 # Unset for a conference with a failed create request.
1084 # Optional for a conference with a pending create request.
1085 },
1086 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1087 &quot;creator&quot;: { # The creator of the event. Read-only.
1088 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1089 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001090 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001091 &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.
1092 },
1093 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1094 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1095 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1096 &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.
1097 &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.
1098 },
1099 &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.
1100 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001101 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
1102 # - &quot;default&quot; - A regular event or not further specified.
1103 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001104 &quot;extendedProperties&quot;: { # Extended properties of the event.
1105 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1106 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1107 },
1108 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1109 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1110 },
1111 },
1112 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1113 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1114 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1115 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1116 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1117 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1118 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1119 &quot;preferences&quot;: { # Preferences.
1120 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1121 },
1122 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1123 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1124 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1125 },
1126 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1127 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1128 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001129 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001130 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1131 &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.
1132 # 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.
1133 &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:
1134 # - 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
1135 # - the length of the ID must be between 5 and 1024 characters
1136 # - 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.
1137 # If you do not specify an ID, it will be automatically generated by the server.
1138 # 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.
1139 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1140 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1141 &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.
1142 &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.
1143 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1144 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001145 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001146 &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.
1147 },
1148 &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.
1149 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1150 &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.
1151 &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.
1152 },
1153 &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.
1154 &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.
1155 &quot;A String&quot;,
1156 ],
1157 &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.
1158 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1159 &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.
1160 {
1161 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1162 # - &quot;email&quot; - Reminders are sent via email.
1163 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1164 # Required when adding a reminder.
1165 &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).
1166 # Required when adding a reminder.
1167 },
1168 ],
1169 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1170 },
1171 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1172 &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.
1173 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1174 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1175 },
1176 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1177 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1178 &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.
1179 &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.
1180 },
1181 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1182 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1183 # - &quot;tentative&quot; - The event is tentatively confirmed.
1184 # - &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.
1185 # A cancelled status represents two different states depending on the event type:
1186 # - 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.
1187 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1188 # - 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.
1189 # 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.
1190 # 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.
1191 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1192 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1193 # - &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.
1194 # - &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.
1195 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1196 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1197 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1198 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1199 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1200 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1201}
1202
1203 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.
1204 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.
1205 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
1206
1207Whether 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.
1208 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.
1209 Allowed values
1210 all - Notifications are sent to all guests.
1211 externalOnly - Notifications are sent to non-Google Calendar guests only.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001212 none - No notifications are sent. For calendar migration tasks, consider using the Events.import method instead.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001213 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
1214
1215Returns:
1216 An object of the form:
1217
1218 {
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001219 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001220 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1221 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1222 # There can be at most 25 attachments per event,
1223 {
1224 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1225 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1226 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1227 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1228 # Required when adding an attachment.
1229 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1230 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1231 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1232 },
1233 ],
1234 &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.
1235 {
1236 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1237 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1238 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1239 &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.
1240 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001241 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001242 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1243 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1244 &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.
1245 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1246 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1247 # - &quot;declined&quot; - The attendee has declined the invitation.
1248 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1249 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1250 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1251 },
1252 ],
1253 &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.
1254 &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.
1255 &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.
1256 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1257 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001258 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001259 # - eventHangout: ID is not set. (This conference type is deprecated.)
1260 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -07001261 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
1262 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001263 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001264 # Unset for a conference with a failed create request.
1265 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1266 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1267 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1268 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1269 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1270 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001271 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
1272 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001273 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1274 # - &quot;addOn&quot; for 3P conference providers
1275 },
1276 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1277 },
1278 &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.
1279 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1280 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1281 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1282 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1283 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001284 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
1285 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001286 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1287 # - &quot;addOn&quot; for 3P conference providers
1288 },
1289 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1290 # 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.
1291 &quot;status&quot;: { # The status of the conference create request.
1292 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1293 # The possible values are:
1294 # - &quot;pending&quot;: the conference create request is still being processed.
1295 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1296 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1297 },
1298 },
1299 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1300 # All of them must belong to the same conference.
1301 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1302 {
1303 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1304 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1305 # Optional.
1306 &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.
1307 &quot;A String&quot;,
1308 ],
1309 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1310 # Possible values are:
1311 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1312 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1313 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1314 # - &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.
1315 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1316 # Examples:
1317 # - for video: meet.google.com/aaa-bbbb-ccc
1318 # - for phone: +1 123 268 2601
1319 # - for sip: 12345678@altostrat.com
1320 # - for more: should not be filled
1321 # Optional.
1322 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1323 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1324 # Optional.
1325 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1326 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1327 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1328 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1329 # Optional.
1330 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1331 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1332 # Optional.
1333 &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.
1334 # Calendar backend will populate this field only for EntryPointType.PHONE.
1335 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1336 # Format:
1337 # - for video, http: or https: schema is required.
1338 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1339 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1340 # - for more, http: or https: schema is required.
1341 },
1342 ],
1343 &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.
1344 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1345 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1346 &quot;parameters&quot;: {
1347 &quot;a_key&quot;: &quot;A String&quot;,
1348 },
1349 },
1350 },
1351 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1352 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1353 # Unset for a conference with a failed create request.
1354 # Optional for a conference with a pending create request.
1355 },
1356 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1357 &quot;creator&quot;: { # The creator of the event. Read-only.
1358 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1359 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001360 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001361 &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.
1362 },
1363 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1364 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1365 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1366 &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.
1367 &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.
1368 },
1369 &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.
1370 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001371 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
1372 # - &quot;default&quot; - A regular event or not further specified.
1373 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001374 &quot;extendedProperties&quot;: { # Extended properties of the event.
1375 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1376 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1377 },
1378 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1379 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1380 },
1381 },
1382 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1383 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1384 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1385 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1386 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1387 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1388 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1389 &quot;preferences&quot;: { # Preferences.
1390 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1391 },
1392 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1393 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1394 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1395 },
1396 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1397 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1398 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001399 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001400 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1401 &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.
1402 # 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.
1403 &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:
1404 # - 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
1405 # - the length of the ID must be between 5 and 1024 characters
1406 # - 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.
1407 # If you do not specify an ID, it will be automatically generated by the server.
1408 # 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.
1409 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1410 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1411 &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.
1412 &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.
1413 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1414 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001415 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001416 &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.
1417 },
1418 &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.
1419 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1420 &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.
1421 &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.
1422 },
1423 &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.
1424 &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.
1425 &quot;A String&quot;,
1426 ],
1427 &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.
1428 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1429 &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.
1430 {
1431 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1432 # - &quot;email&quot; - Reminders are sent via email.
1433 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1434 # Required when adding a reminder.
1435 &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).
1436 # Required when adding a reminder.
1437 },
1438 ],
1439 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1440 },
1441 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1442 &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.
1443 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1444 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1445 },
1446 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1447 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1448 &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.
1449 &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.
1450 },
1451 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1452 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1453 # - &quot;tentative&quot; - The event is tentatively confirmed.
1454 # - &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.
1455 # A cancelled status represents two different states depending on the event type:
1456 # - 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.
1457 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1458 # - 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.
1459 # 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.
1460 # 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.
1461 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1462 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1463 # - &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.
1464 # - &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.
1465 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1466 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1467 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1468 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1469 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1470 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1471}</pre>
1472</div>
1473
1474<div class="method">
1475 <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>
1476 <pre>Returns instances of the specified recurring event.
1477
1478Args:
1479 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)
1480 eventId: string, Recurring event identifier. (required)
1481 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).
1482 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.
1483 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.
1484 originalStart: string, The original start time of the instance in the result. Optional.
1485 pageToken: string, Token specifying which result page to return. Optional.
1486 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.
1487 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.
1488 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.
1489 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
1490
1491Returns:
1492 An object of the form:
1493
1494 {
1495 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1496 # - &quot;none&quot; - The user has no access.
1497 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1498 # - &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.
1499 # - &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.
1500 # - &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.
1501 &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).
1502 {
1503 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1504 # - &quot;email&quot; - Reminders are sent via email.
1505 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1506 # Required when adding a reminder.
1507 &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).
1508 # Required when adding a reminder.
1509 },
1510 ],
1511 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
1512 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
1513 &quot;items&quot;: [ # List of events on the calendar.
1514 {
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001515 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001516 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1517 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1518 # There can be at most 25 attachments per event,
1519 {
1520 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1521 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1522 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1523 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1524 # Required when adding an attachment.
1525 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1526 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1527 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
1528 },
1529 ],
1530 &quot;attendees&quot;: [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
1531 {
1532 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1533 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1534 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1535 &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.
1536 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001537 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001538 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1539 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1540 &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.
1541 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1542 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1543 # - &quot;declined&quot; - The attendee has declined the invitation.
1544 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1545 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1546 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1547 },
1548 ],
1549 &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.
1550 &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.
1551 &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.
1552 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1553 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001554 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001555 # - eventHangout: ID is not set. (This conference type is deprecated.)
1556 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -07001557 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
1558 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001559 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001560 # Unset for a conference with a failed create request.
1561 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1562 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1563 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1564 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1565 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1566 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001567 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
1568 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001569 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1570 # - &quot;addOn&quot; for 3P conference providers
1571 },
1572 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1573 },
1574 &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.
1575 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1576 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1577 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1578 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1579 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001580 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
1581 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001582 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1583 # - &quot;addOn&quot; for 3P conference providers
1584 },
1585 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1586 # 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.
1587 &quot;status&quot;: { # The status of the conference create request.
1588 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1589 # The possible values are:
1590 # - &quot;pending&quot;: the conference create request is still being processed.
1591 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1592 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1593 },
1594 },
1595 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1596 # All of them must belong to the same conference.
1597 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1598 {
1599 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1600 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1601 # Optional.
1602 &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.
1603 &quot;A String&quot;,
1604 ],
1605 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1606 # Possible values are:
1607 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1608 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1609 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1610 # - &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.
1611 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1612 # Examples:
1613 # - for video: meet.google.com/aaa-bbbb-ccc
1614 # - for phone: +1 123 268 2601
1615 # - for sip: 12345678@altostrat.com
1616 # - for more: should not be filled
1617 # Optional.
1618 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1619 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1620 # Optional.
1621 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1622 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1623 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1624 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1625 # Optional.
1626 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1627 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1628 # Optional.
1629 &quot;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.
1630 # Calendar backend will populate this field only for EntryPointType.PHONE.
1631 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1632 # Format:
1633 # - for video, http: or https: schema is required.
1634 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1635 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1636 # - for more, http: or https: schema is required.
1637 },
1638 ],
1639 &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.
1640 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1641 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1642 &quot;parameters&quot;: {
1643 &quot;a_key&quot;: &quot;A String&quot;,
1644 },
1645 },
1646 },
1647 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1648 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1649 # Unset for a conference with a failed create request.
1650 # Optional for a conference with a pending create request.
1651 },
1652 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1653 &quot;creator&quot;: { # The creator of the event. Read-only.
1654 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1655 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001656 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001657 &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.
1658 },
1659 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
1660 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
1661 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1662 &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.
1663 &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.
1664 },
1665 &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.
1666 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001667 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
1668 # - &quot;default&quot; - A regular event or not further specified.
1669 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001670 &quot;extendedProperties&quot;: { # Extended properties of the event.
1671 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
1672 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
1673 },
1674 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
1675 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
1676 },
1677 },
1678 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
1679 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
1680 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
1681 # - &quot;chip&quot; - The gadget displays when the event is clicked.
1682 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
1683 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
1684 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
1685 &quot;preferences&quot;: { # Preferences.
1686 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
1687 },
1688 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
1689 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
1690 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
1691 },
1692 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
1693 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
1694 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001695 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001696 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
1697 &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.
1698 # 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.
1699 &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:
1700 # - 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
1701 # - the length of the ID must be between 5 and 1024 characters
1702 # - 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.
1703 # If you do not specify an ID, it will be automatically generated by the server.
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;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
1706 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
1707 &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.
1708 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
1709 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
1710 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001711 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001712 &quot;self&quot;: false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
1713 },
1714 &quot;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.
1715 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1716 &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.
1717 &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.
1718 },
1719 &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.
1720 &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.
1721 &quot;A String&quot;,
1722 ],
1723 &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.
1724 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
1725 &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.
1726 {
1727 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1728 # - &quot;email&quot; - Reminders are sent via email.
1729 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1730 # Required when adding a reminder.
1731 &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).
1732 # Required when adding a reminder.
1733 },
1734 ],
1735 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
1736 },
1737 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
1738 &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.
1739 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
1740 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
1741 },
1742 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
1743 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
1744 &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.
1745 &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.
1746 },
1747 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
1748 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
1749 # - &quot;tentative&quot; - The event is tentatively confirmed.
1750 # - &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.
1751 # A cancelled status represents two different states depending on the event type:
1752 # - 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.
1753 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
1754 # - 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.
1755 # 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.
1756 # 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.
1757 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
1758 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
1759 # - &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.
1760 # - &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.
1761 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1762 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
1763 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
1764 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
1765 # - &quot;private&quot; - The event is private and only event attendees may view event details.
1766 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
1767 },
1768 ],
1769 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
1770 &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.
1771 &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.
1772 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
1773 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
1774 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
1775}</pre>
John Asmuth614db982014-04-24 15:46:26 -04001776</div>
1777
1778<div class="method">
1779 <code class="details" id="instances_next">instances_next(previous_request, previous_response)</code>
1780 <pre>Retrieves the next page of results.
1781
1782Args:
1783 previous_request: The request for the previous page. (required)
1784 previous_response: The response from the request for the previous page. (required)
1785
1786Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001787 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04001788 page. Returns None if there are no more items in the collection.
1789 </pre>
1790</div>
1791
1792<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001793 <code class="details" id="list">list(calendarId, alwaysIncludeEmail=None, iCalUID=None, maxAttendees=None, maxResults=None, orderBy=None, pageToken=None, privateExtendedProperty=None, q=None, sharedExtendedProperty=None, showDeleted=None, showHiddenInvitations=None, singleEvents=None, syncToken=None, timeMax=None, timeMin=None, timeZone=None, updatedMin=None)</code>
John Asmuth614db982014-04-24 15:46:26 -04001794 <pre>Returns events on the specified calendar.
1795
1796Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07001797 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001798 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001799 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001800 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
1801 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.
1802 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
1803 Allowed values
1804 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
1805 updated - Order by last modification time (ascending).
1806 pageToken: string, Token specifying which result page to return. Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001807 privateExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001808 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001809 sharedExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001810 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.
1811 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
1812 singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
Craig Citro065b5302014-08-14 00:47:23 -07001813 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.
1814There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1815
1816These are:
1817- iCalUID
1818- orderBy
1819- privateExtendedProperty
1820- q
1821- sharedExtendedProperty
1822- timeMin
1823- timeMax
1824- 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.
1825Learn more about incremental synchronization.
1826Optional. The default is to return all entries.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001827 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.
1828 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001829 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001830 updatedMin: string, Lower bound for an event&#x27;s last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
John Asmuth614db982014-04-24 15:46:26 -04001831
1832Returns:
1833 An object of the form:
1834
1835 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001836 &quot;accessRole&quot;: &quot;A String&quot;, # The user&#x27;s access role for this calendar. Read-only. Possible values are:
1837 # - &quot;none&quot; - The user has no access.
1838 # - &quot;freeBusyReader&quot; - The user has read access to free/busy information.
1839 # - &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.
1840 # - &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.
1841 # - &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.
1842 &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).
1843 {
1844 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
1845 # - &quot;email&quot; - Reminders are sent via email.
1846 # - &quot;popup&quot; - Reminders are sent via a UI popup.
1847 # Required when adding a reminder.
1848 &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).
1849 # Required when adding a reminder.
1850 },
1851 ],
1852 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Read-only.
1853 &quot;etag&quot;: &quot;A String&quot;, # ETag of the collection.
1854 &quot;items&quot;: [ # List of events on the calendar.
1855 {
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001856 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001857 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
1858 # In order to modify attachments the supportsAttachments request parameter should be set to true.
1859 # There can be at most 25 attachments per event,
1860 {
1861 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
1862 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
1863 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
1864 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
1865 # Required when adding an attachment.
1866 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
1867 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
1868 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001869 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001870 ],
1871 &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.
1872 {
1873 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
1874 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
1875 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
1876 &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.
1877 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001878 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001879 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
1880 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
1881 &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.
1882 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
1883 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
1884 # - &quot;declined&quot; - The attendee has declined the invitation.
1885 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
1886 # - &quot;accepted&quot; - The attendee has accepted the invitation.
1887 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
1888 },
1889 ],
1890 &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.
1891 &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.
1892 &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.
1893 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
1894 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001895 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001896 # - eventHangout: ID is not set. (This conference type is deprecated.)
1897 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -07001898 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
1899 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001900 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001901 # Unset for a conference with a failed create request.
1902 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1903 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
1904 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
1905 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1906 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1907 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001908 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
1909 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001910 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1911 # - &quot;addOn&quot; for 3P conference providers
1912 },
1913 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
1914 },
1915 &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.
1916 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1917 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
1918 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
1919 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
1920 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07001921 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
1922 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001923 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
1924 # - &quot;addOn&quot; for 3P conference providers
1925 },
1926 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
1927 # 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.
1928 &quot;status&quot;: { # The status of the conference create request.
1929 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
1930 # The possible values are:
1931 # - &quot;pending&quot;: the conference create request is still being processed.
1932 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
1933 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
1934 },
1935 },
1936 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
1937 # All of them must belong to the same conference.
1938 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
1939 {
1940 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
1941 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1942 # Optional.
1943 &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.
1944 &quot;A String&quot;,
1945 ],
1946 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
1947 # Possible values are:
1948 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
1949 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
1950 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
1951 # - &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.
1952 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
1953 # Examples:
1954 # - for video: meet.google.com/aaa-bbbb-ccc
1955 # - for phone: +1 123 268 2601
1956 # - for sip: 12345678@altostrat.com
1957 # - for more: should not be filled
1958 # Optional.
1959 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
1960 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1961 # Optional.
1962 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
1963 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1964 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
1965 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1966 # Optional.
1967 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
1968 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
1969 # Optional.
1970 &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.
1971 # Calendar backend will populate this field only for EntryPointType.PHONE.
1972 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
1973 # Format:
1974 # - for video, http: or https: schema is required.
1975 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
1976 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
1977 # - for more, http: or https: schema is required.
1978 },
1979 ],
1980 &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.
1981 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
1982 &quot;addOnParameters&quot;: { # Additional add-on specific data.
1983 &quot;parameters&quot;: {
1984 &quot;a_key&quot;: &quot;A String&quot;,
1985 },
1986 },
1987 },
1988 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
1989 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
1990 # Unset for a conference with a failed create request.
1991 # Optional for a conference with a pending create request.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001992 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001993 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
1994 &quot;creator&quot;: { # The creator of the event. Read-only.
1995 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
1996 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07001997 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001998 &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.
1999 },
2000 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2001 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2002 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2003 &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.
2004 &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.
2005 },
2006 &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.
2007 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002008 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
2009 # - &quot;default&quot; - A regular event or not further specified.
2010 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002011 &quot;extendedProperties&quot;: { # Extended properties of the event.
2012 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2013 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2014 },
2015 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2016 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2017 },
2018 },
2019 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2020 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2021 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2022 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2023 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2024 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2025 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2026 &quot;preferences&quot;: { # Preferences.
2027 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2028 },
2029 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2030 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2031 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2032 },
2033 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2034 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2035 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002036 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002037 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2038 &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.
2039 # 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.
2040 &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:
2041 # - 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
2042 # - the length of the ID must be between 5 and 1024 characters
2043 # - 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.
2044 # If you do not specify an ID, it will be automatically generated by the server.
2045 # 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.
2046 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2047 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2048 &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.
2049 &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.
2050 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2051 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002052 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002053 &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.
2054 },
2055 &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.
2056 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2057 &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.
2058 &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.
2059 },
2060 &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.
2061 &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.
2062 &quot;A String&quot;,
2063 ],
2064 &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.
2065 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2066 &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.
2067 {
2068 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2069 # - &quot;email&quot; - Reminders are sent via email.
2070 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2071 # Required when adding a reminder.
2072 &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).
2073 # Required when adding a reminder.
2074 },
2075 ],
2076 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2077 },
2078 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2079 &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.
2080 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2081 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2082 },
2083 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2084 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2085 &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.
2086 &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.
2087 },
2088 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2089 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2090 # - &quot;tentative&quot; - The event is tentatively confirmed.
2091 # - &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.
2092 # A cancelled status represents two different states depending on the event type:
2093 # - 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.
2094 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2095 # - 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.
2096 # 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.
2097 # 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.
2098 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2099 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2100 # - &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.
2101 # - &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.
2102 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2103 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2104 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2105 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2106 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2107 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2108 },
2109 ],
2110 &quot;kind&quot;: &quot;calendar#events&quot;, # Type of the collection (&quot;calendar#events&quot;).
2111 &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.
2112 &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.
2113 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar. Read-only.
2114 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. Read-only.
2115 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
2116}</pre>
John Asmuth614db982014-04-24 15:46:26 -04002117</div>
2118
2119<div class="method">
2120 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
2121 <pre>Retrieves the next page of results.
2122
2123Args:
2124 previous_request: The request for the previous page. (required)
2125 previous_response: The response from the request for the previous page. (required)
2126
2127Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07002128 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -04002129 page. Returns None if there are no more items in the collection.
2130 </pre>
2131</div>
2132
2133<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002134 <code class="details" id="move">move(calendarId, eventId, destination, sendNotifications=None, sendUpdates=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07002135 <pre>Moves an event to another calendar, i.e. changes an event&#x27;s organizer.
John Asmuth614db982014-04-24 15:46:26 -04002136
2137Args:
2138 calendarId: string, Calendar identifier of the source calendar where the event currently is on. (required)
2139 eventId: string, Event identifier. (required)
2140 destination: string, Calendar identifier of the target calendar where the event is to be moved to. (required)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002141 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2142
2143Whether to send notifications about the change of the event&#x27;s organizer. Note that some emails might still be sent even if you set the value to false. The default is false.
Bu Sun Kim65020912020-05-20 12:08:20 -07002144 sendUpdates: string, Guests who should receive notifications about the change of the event&#x27;s organizer.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002145 Allowed values
2146 all - Notifications are sent to all guests.
2147 externalOnly - Notifications are sent to non-Google Calendar guests only.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002148 none - No notifications are sent. For calendar migration tasks, consider using the Events.import method instead.
John Asmuth614db982014-04-24 15:46:26 -04002149
2150Returns:
2151 An object of the form:
2152
2153 {
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002154 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002155 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2156 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2157 # There can be at most 25 attachments per event,
2158 {
2159 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2160 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2161 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2162 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2163 # Required when adding an attachment.
2164 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2165 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2166 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2167 },
2168 ],
2169 &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.
2170 {
2171 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2172 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2173 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2174 &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.
2175 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002176 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002177 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2178 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2179 &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.
2180 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2181 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2182 # - &quot;declined&quot; - The attendee has declined the invitation.
2183 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2184 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2185 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2186 },
2187 ],
2188 &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.
2189 &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.
2190 &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.
2191 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2192 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002193 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002194 # - eventHangout: ID is not set. (This conference type is deprecated.)
2195 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -07002196 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
2197 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002198 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002199 # Unset for a conference with a failed create request.
2200 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2201 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2202 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2203 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2204 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2205 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002206 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
2207 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002208 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2209 # - &quot;addOn&quot; for 3P conference providers
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002210 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002211 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2212 },
2213 &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.
2214 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2215 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2216 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2217 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2218 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002219 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
2220 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002221 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2222 # - &quot;addOn&quot; for 3P conference providers
2223 },
2224 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2225 # 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.
2226 &quot;status&quot;: { # The status of the conference create request.
2227 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2228 # The possible values are:
2229 # - &quot;pending&quot;: the conference create request is still being processed.
2230 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2231 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2232 },
2233 },
2234 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2235 # All of them must belong to the same conference.
2236 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2237 {
2238 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2239 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2240 # Optional.
2241 &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.
2242 &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002243 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002244 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2245 # Possible values are:
2246 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2247 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2248 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2249 # - &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.
2250 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2251 # Examples:
2252 # - for video: meet.google.com/aaa-bbbb-ccc
2253 # - for phone: +1 123 268 2601
2254 # - for sip: 12345678@altostrat.com
2255 # - for more: should not be filled
2256 # Optional.
2257 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2258 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2259 # Optional.
2260 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2261 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2262 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2263 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2264 # Optional.
2265 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2266 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2267 # Optional.
2268 &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.
2269 # Calendar backend will populate this field only for EntryPointType.PHONE.
2270 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2271 # Format:
2272 # - for video, http: or https: schema is required.
2273 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2274 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2275 # - for more, http: or https: schema is required.
2276 },
2277 ],
2278 &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.
2279 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2280 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2281 &quot;parameters&quot;: {
2282 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002283 },
2284 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002285 },
2286 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2287 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2288 # Unset for a conference with a failed create request.
2289 # Optional for a conference with a pending create request.
2290 },
2291 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2292 &quot;creator&quot;: { # The creator of the event. Read-only.
2293 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2294 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002295 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002296 &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.
2297 },
2298 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2299 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2300 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2301 &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.
2302 &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.
2303 },
2304 &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.
2305 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002306 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
2307 # - &quot;default&quot; - A regular event or not further specified.
2308 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002309 &quot;extendedProperties&quot;: { # Extended properties of the event.
2310 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2311 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2312 },
2313 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2314 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2315 },
2316 },
2317 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2318 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2319 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2320 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2321 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2322 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2323 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2324 &quot;preferences&quot;: { # Preferences.
2325 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2326 },
2327 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2328 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2329 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2330 },
2331 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2332 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2333 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002334 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002335 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2336 &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.
2337 # 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.
2338 &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:
2339 # - 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
2340 # - the length of the ID must be between 5 and 1024 characters
2341 # - 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.
2342 # If you do not specify an ID, it will be automatically generated by the server.
2343 # 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.
2344 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2345 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2346 &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.
2347 &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.
2348 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2349 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002350 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002351 &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.
2352 },
2353 &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.
2354 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2355 &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.
2356 &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.
2357 },
2358 &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.
2359 &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.
2360 &quot;A String&quot;,
2361 ],
2362 &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.
2363 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2364 &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.
2365 {
2366 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2367 # - &quot;email&quot; - Reminders are sent via email.
2368 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2369 # Required when adding a reminder.
2370 &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).
2371 # Required when adding a reminder.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002372 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002373 ],
2374 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2375 },
2376 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2377 &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.
2378 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2379 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2380 },
2381 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2382 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2383 &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.
2384 &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.
2385 },
2386 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2387 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2388 # - &quot;tentative&quot; - The event is tentatively confirmed.
2389 # - &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.
2390 # A cancelled status represents two different states depending on the event type:
2391 # - 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.
2392 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2393 # - 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.
2394 # 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.
2395 # 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.
2396 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2397 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2398 # - &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.
2399 # - &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.
2400 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2401 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2402 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2403 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2404 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2405 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2406}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -07002407</div>
John Asmuth614db982014-04-24 15:46:26 -04002408
Bu Sun Kim65020912020-05-20 12:08:20 -07002409<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002410 <code class="details" id="patch">patch(calendarId, eventId, alwaysIncludeEmail=None, body=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07002411 <pre>Updates an event. This method supports patch semantics.
2412
2413Args:
2414 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)
2415 eventId: string, Event identifier. (required)
2416 body: object, The request body.
2417 The object takes the form of:
2418
2419{
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002420 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002421 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2422 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2423 # There can be at most 25 attachments per event,
2424 {
2425 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2426 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2427 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2428 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2429 # Required when adding an attachment.
2430 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2431 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2432 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2433 },
2434 ],
2435 &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.
2436 {
2437 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2438 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2439 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2440 &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.
2441 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002442 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002443 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2444 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2445 &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.
2446 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2447 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2448 # - &quot;declined&quot; - The attendee has declined the invitation.
2449 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2450 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2451 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2452 },
2453 ],
2454 &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.
2455 &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.
2456 &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.
2457 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2458 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002459 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002460 # - eventHangout: ID is not set. (This conference type is deprecated.)
2461 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -07002462 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
2463 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002464 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002465 # Unset for a conference with a failed create request.
2466 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2467 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2468 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2469 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2470 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2471 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002472 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
2473 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002474 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2475 # - &quot;addOn&quot; for 3P conference providers
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002476 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002477 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2478 },
2479 &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.
2480 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2481 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2482 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2483 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2484 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002485 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
2486 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002487 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2488 # - &quot;addOn&quot; for 3P conference providers
2489 },
2490 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2491 # 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.
2492 &quot;status&quot;: { # The status of the conference create request.
2493 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2494 # The possible values are:
2495 # - &quot;pending&quot;: the conference create request is still being processed.
2496 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2497 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002498 },
2499 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002500 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2501 # All of them must belong to the same conference.
2502 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002503 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002504 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2505 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2506 # Optional.
2507 &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.
2508 &quot;A String&quot;,
2509 ],
2510 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2511 # Possible values are:
2512 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2513 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2514 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2515 # - &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.
2516 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2517 # Examples:
2518 # - for video: meet.google.com/aaa-bbbb-ccc
2519 # - for phone: +1 123 268 2601
2520 # - for sip: 12345678@altostrat.com
2521 # - for more: should not be filled
2522 # Optional.
2523 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2524 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2525 # Optional.
2526 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2527 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2528 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2529 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2530 # Optional.
2531 &quot;pin&quot;: &quot;A String&quot;, # The PIN 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;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.
2535 # Calendar backend will populate this field only for EntryPointType.PHONE.
2536 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2537 # Format:
2538 # - for video, http: or https: schema is required.
2539 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2540 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2541 # - for more, http: or https: schema is required.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002542 },
2543 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002544 &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.
2545 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2546 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2547 &quot;parameters&quot;: {
2548 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002549 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002550 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002551 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002552 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2553 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2554 # Unset for a conference with a failed create request.
2555 # Optional for a conference with a pending create request.
2556 },
2557 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2558 &quot;creator&quot;: { # The creator of the event. Read-only.
2559 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2560 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002561 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002562 &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.
2563 },
2564 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2565 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2566 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2567 &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.
2568 &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.
2569 },
2570 &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.
2571 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002572 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
2573 # - &quot;default&quot; - A regular event or not further specified.
2574 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002575 &quot;extendedProperties&quot;: { # Extended properties of the event.
2576 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2577 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2578 },
2579 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2580 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2581 },
2582 },
2583 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2584 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2585 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2586 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2587 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2588 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2589 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2590 &quot;preferences&quot;: { # Preferences.
2591 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2592 },
2593 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2594 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2595 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2596 },
2597 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2598 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2599 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002600 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002601 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2602 &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.
2603 # 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.
2604 &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:
2605 # - 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
2606 # - the length of the ID must be between 5 and 1024 characters
2607 # - 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.
2608 # If you do not specify an ID, it will be automatically generated by the server.
2609 # 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.
2610 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2611 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2612 &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.
2613 &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.
2614 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2615 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002616 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002617 &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.
2618 },
2619 &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.
2620 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2621 &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.
2622 &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.
2623 },
2624 &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.
2625 &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.
2626 &quot;A String&quot;,
2627 ],
2628 &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.
2629 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2630 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002631 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002632 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2633 # - &quot;email&quot; - Reminders are sent via email.
2634 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2635 # Required when adding a reminder.
2636 &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).
2637 # Required when adding a reminder.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002638 },
2639 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002640 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2641 },
2642 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2643 &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.
2644 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2645 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2646 },
2647 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2648 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2649 &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.
2650 &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.
2651 },
2652 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2653 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2654 # - &quot;tentative&quot; - The event is tentatively confirmed.
2655 # - &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.
2656 # A cancelled status represents two different states depending on the event type:
2657 # - 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.
2658 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2659 # - 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.
2660 # 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.
2661 # 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.
2662 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2663 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2664 # - &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.
2665 # - &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.
2666 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2667 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2668 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2669 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2670 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2671 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2672}
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002673
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002674 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002675 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.
2676 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002677 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2678
2679Whether 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002680 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
2681 Allowed values
2682 all - Notifications are sent to all guests.
2683 externalOnly - Notifications are sent to non-Google Calendar guests only.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002684 none - No notifications are sent. For calendar migration tasks, consider using the Events.import method instead.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002685 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002686
2687Returns:
2688 An object of the form:
2689
2690 {
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002691 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002692 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2693 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2694 # There can be at most 25 attachments per event,
2695 {
2696 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2697 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2698 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2699 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2700 # Required when adding an attachment.
2701 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2702 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2703 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2704 },
2705 ],
2706 &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.
2707 {
2708 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2709 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2710 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2711 &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.
2712 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002713 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002714 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2715 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2716 &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.
2717 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2718 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2719 # - &quot;declined&quot; - The attendee has declined the invitation.
2720 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2721 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2722 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2723 },
2724 ],
2725 &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.
2726 &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.
2727 &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.
2728 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
2729 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002730 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002731 # - eventHangout: ID is not set. (This conference type is deprecated.)
2732 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -07002733 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
2734 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002735 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002736 # Unset for a conference with a failed create request.
2737 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2738 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
2739 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
2740 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2741 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2742 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002743 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
2744 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002745 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2746 # - &quot;addOn&quot; for 3P conference providers
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002747 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002748 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
2749 },
2750 &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.
2751 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2752 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
2753 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
2754 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
2755 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07002756 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
2757 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002758 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
2759 # - &quot;addOn&quot; for 3P conference providers
2760 },
2761 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
2762 # 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.
2763 &quot;status&quot;: { # The status of the conference create request.
2764 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
2765 # The possible values are:
2766 # - &quot;pending&quot;: the conference create request is still being processed.
2767 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
2768 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
2769 },
2770 },
2771 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
2772 # All of them must belong to the same conference.
2773 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
2774 {
2775 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
2776 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2777 # Optional.
2778 &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.
2779 &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002780 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002781 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
2782 # Possible values are:
2783 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
2784 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
2785 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
2786 # - &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.
2787 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
2788 # Examples:
2789 # - for video: meet.google.com/aaa-bbbb-ccc
2790 # - for phone: +1 123 268 2601
2791 # - for sip: 12345678@altostrat.com
2792 # - for more: should not be filled
2793 # Optional.
2794 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
2795 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2796 # Optional.
2797 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
2798 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2799 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
2800 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2801 # Optional.
2802 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
2803 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
2804 # Optional.
2805 &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.
2806 # Calendar backend will populate this field only for EntryPointType.PHONE.
2807 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
2808 # Format:
2809 # - for video, http: or https: schema is required.
2810 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
2811 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
2812 # - for more, http: or https: schema is required.
2813 },
2814 ],
2815 &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.
2816 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
2817 &quot;addOnParameters&quot;: { # Additional add-on specific data.
2818 &quot;parameters&quot;: {
2819 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002820 },
2821 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002822 },
2823 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
2824 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
2825 # Unset for a conference with a failed create request.
2826 # Optional for a conference with a pending create request.
2827 },
2828 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
2829 &quot;creator&quot;: { # The creator of the event. Read-only.
2830 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
2831 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002832 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002833 &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.
2834 },
2835 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
2836 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
2837 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2838 &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.
2839 &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.
2840 },
2841 &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.
2842 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002843 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
2844 # - &quot;default&quot; - A regular event or not further specified.
2845 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002846 &quot;extendedProperties&quot;: { # Extended properties of the event.
2847 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
2848 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
2849 },
2850 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
2851 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
2852 },
2853 },
2854 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
2855 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
2856 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
2857 # - &quot;chip&quot; - The gadget displays when the event is clicked.
2858 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
2859 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
2860 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
2861 &quot;preferences&quot;: { # Preferences.
2862 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
2863 },
2864 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
2865 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
2866 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
2867 },
2868 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
2869 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
2870 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002871 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002872 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
2873 &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.
2874 # 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.
2875 &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:
2876 # - 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
2877 # - the length of the ID must be between 5 and 1024 characters
2878 # - 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.
2879 # If you do not specify an ID, it will be automatically generated by the server.
2880 # 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.
2881 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
2882 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
2883 &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.
2884 &quot;organizer&quot;: { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
2885 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
2886 &quot;email&quot;: &quot;A String&quot;, # The organizer&#x27;s email address, if available. It must be a valid email address as per RFC5322.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002887 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002888 &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.
2889 },
2890 &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.
2891 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2892 &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.
2893 &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.
2894 },
2895 &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.
2896 &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.
2897 &quot;A String&quot;,
2898 ],
2899 &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.
2900 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
2901 &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.
2902 {
2903 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
2904 # - &quot;email&quot; - Reminders are sent via email.
2905 # - &quot;popup&quot; - Reminders are sent via a UI popup.
2906 # Required when adding a reminder.
2907 &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).
2908 # Required when adding a reminder.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002909 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002910 ],
2911 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
2912 },
2913 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
2914 &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.
2915 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
2916 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
2917 },
2918 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
2919 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
2920 &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.
2921 &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.
2922 },
2923 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
2924 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
2925 # - &quot;tentative&quot; - The event is tentatively confirmed.
2926 # - &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.
2927 # A cancelled status represents two different states depending on the event type:
2928 # - 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.
2929 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
2930 # - 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.
2931 # 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.
2932 # 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.
2933 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
2934 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
2935 # - &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.
2936 # - &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.
2937 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
2938 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
2939 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
2940 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
2941 # - &quot;private&quot; - The event is private and only event attendees may view event details.
2942 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
2943}</pre>
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002944</div>
2945
2946<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002947 <code class="details" id="quickAdd">quickAdd(calendarId, text, sendNotifications=None, sendUpdates=None)</code>
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002948 <pre>Creates an event based on a simple text string.
2949
2950Args:
2951 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)
2952 text: string, The text describing the event to be created. (required)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002953 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
2954
2955Whether to send notifications about the creation of the event. Note that some emails might still be sent even if you set the value to false. The default is false.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002956 sendUpdates: string, Guests who should receive notifications about the creation of the new event.
2957 Allowed values
2958 all - Notifications are sent to all guests.
2959 externalOnly - Notifications are sent to non-Google Calendar guests only.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04002960 none - No notifications are sent. For calendar migration tasks, consider using the Events.import method instead.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002961
2962Returns:
2963 An object of the form:
2964
2965 {
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002966 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002967 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
2968 # In order to modify attachments the supportsAttachments request parameter should be set to true.
2969 # There can be at most 25 attachments per event,
2970 {
2971 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
2972 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
2973 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
2974 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
2975 # Required when adding an attachment.
2976 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
2977 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
2978 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
2979 },
2980 ],
2981 &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.
2982 {
2983 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
2984 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
2985 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
2986 &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.
2987 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002988 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002989 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
2990 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
2991 &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.
2992 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
2993 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
2994 # - &quot;declined&quot; - The attendee has declined the invitation.
2995 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
2996 # - &quot;accepted&quot; - The attendee has accepted the invitation.
2997 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
2998 },
2999 ],
3000 &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.
3001 &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.
3002 &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.
3003 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3004 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003005 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003006 # - eventHangout: ID is not set. (This conference type is deprecated.)
3007 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -07003008 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
3009 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003010 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003011 # Unset for a conference with a failed create request.
3012 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3013 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3014 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3015 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3016 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3017 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003018 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
3019 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003020 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3021 # - &quot;addOn&quot; for 3P conference providers
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003022 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003023 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3024 },
3025 &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.
3026 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3027 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3028 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3029 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3030 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003031 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
3032 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003033 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3034 # - &quot;addOn&quot; for 3P conference providers
3035 },
3036 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3037 # 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.
3038 &quot;status&quot;: { # The status of the conference create request.
3039 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3040 # The possible values are:
3041 # - &quot;pending&quot;: the conference create request is still being processed.
3042 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3043 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3044 },
3045 },
3046 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3047 # All of them must belong to the same conference.
3048 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3049 {
3050 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3051 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3052 # Optional.
3053 &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.
3054 &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003055 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003056 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3057 # Possible values are:
3058 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3059 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3060 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3061 # - &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.
3062 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3063 # Examples:
3064 # - for video: meet.google.com/aaa-bbbb-ccc
3065 # - for phone: +1 123 268 2601
3066 # - for sip: 12345678@altostrat.com
3067 # - for more: should not be filled
3068 # Optional.
3069 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3070 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3071 # Optional.
3072 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3073 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3074 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3075 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3076 # Optional.
3077 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3078 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3079 # Optional.
3080 &quot;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.
3081 # Calendar backend will populate this field only for EntryPointType.PHONE.
3082 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3083 # Format:
3084 # - for video, http: or https: schema is required.
3085 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3086 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3087 # - for more, http: or https: schema is required.
3088 },
3089 ],
3090 &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.
3091 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3092 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3093 &quot;parameters&quot;: {
3094 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003095 },
3096 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003097 },
3098 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3099 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3100 # Unset for a conference with a failed create request.
3101 # Optional for a conference with a pending create request.
3102 },
3103 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3104 &quot;creator&quot;: { # The creator of the event. Read-only.
3105 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3106 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003107 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003108 &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.
3109 },
3110 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3111 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3112 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3113 &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.
3114 &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.
3115 },
3116 &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.
3117 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08003118 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
3119 # - &quot;default&quot; - A regular event or not further specified.
3120 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003121 &quot;extendedProperties&quot;: { # Extended properties of the event.
3122 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3123 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3124 },
3125 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3126 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3127 },
3128 },
3129 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3130 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3131 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3132 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3133 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3134 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3135 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3136 &quot;preferences&quot;: { # Preferences.
3137 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3138 },
3139 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3140 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3141 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3142 },
3143 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3144 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3145 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003146 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003147 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3148 &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.
3149 # 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.
3150 &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:
3151 # - 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
3152 # - the length of the ID must be between 5 and 1024 characters
3153 # - 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.
3154 # If you do not specify an ID, it will be automatically generated by the server.
3155 # 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.
3156 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3157 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3158 &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.
3159 &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.
3160 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3161 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003162 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003163 &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.
3164 },
3165 &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.
3166 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3167 &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.
3168 &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.
3169 },
3170 &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.
3171 &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.
3172 &quot;A String&quot;,
3173 ],
3174 &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.
3175 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3176 &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.
3177 {
3178 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3179 # - &quot;email&quot; - Reminders are sent via email.
3180 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3181 # Required when adding a reminder.
3182 &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).
3183 # Required when adding a reminder.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003184 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003185 ],
3186 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3187 },
3188 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3189 &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.
3190 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3191 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3192 },
3193 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3194 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3195 &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.
3196 &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.
3197 },
3198 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3199 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3200 # - &quot;tentative&quot; - The event is tentatively confirmed.
3201 # - &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.
3202 # A cancelled status represents two different states depending on the event type:
3203 # - 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.
3204 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3205 # - 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.
3206 # 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.
3207 # 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.
3208 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3209 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3210 # - &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.
3211 # - &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.
3212 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3213 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3214 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3215 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3216 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3217 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3218}</pre>
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003219</div>
3220
3221<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003222 <code class="details" id="update">update(calendarId, eventId, alwaysIncludeEmail=None, body=None, conferenceDataVersion=None, maxAttendees=None, sendNotifications=None, sendUpdates=None, supportsAttachments=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -07003223 <pre>Updates an event.
3224
3225Args:
3226 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)
3227 eventId: string, Event identifier. (required)
3228 body: object, The request body.
3229 The object takes the form of:
3230
3231{
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003232 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003233 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3234 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3235 # There can be at most 25 attachments per event,
3236 {
3237 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3238 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3239 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3240 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3241 # Required when adding an attachment.
3242 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3243 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3244 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3245 },
3246 ],
3247 &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.
3248 {
3249 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3250 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3251 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3252 &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.
3253 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003254 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003255 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3256 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3257 &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.
3258 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3259 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3260 # - &quot;declined&quot; - The attendee has declined the invitation.
3261 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3262 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3263 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3264 },
3265 ],
3266 &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.
3267 &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.
3268 &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.
3269 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3270 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003271 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003272 # - eventHangout: ID is not set. (This conference type is deprecated.)
3273 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -07003274 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
3275 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003276 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003277 # Unset for a conference with a failed create request.
3278 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3279 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3280 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3281 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3282 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3283 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003284 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
3285 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003286 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3287 # - &quot;addOn&quot; for 3P conference providers
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003288 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003289 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3290 },
3291 &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.
3292 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3293 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3294 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3295 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3296 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003297 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
3298 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003299 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3300 # - &quot;addOn&quot; for 3P conference providers
3301 },
3302 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3303 # 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.
3304 &quot;status&quot;: { # The status of the conference create request.
3305 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3306 # The possible values are:
3307 # - &quot;pending&quot;: the conference create request is still being processed.
3308 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3309 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003310 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08003311 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003312 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3313 # All of them must belong to the same conference.
3314 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003315 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003316 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3317 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3318 # Optional.
3319 &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.
3320 &quot;A String&quot;,
3321 ],
3322 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3323 # Possible values are:
3324 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3325 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3326 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3327 # - &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.
3328 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3329 # Examples:
3330 # - for video: meet.google.com/aaa-bbbb-ccc
3331 # - for phone: +1 123 268 2601
3332 # - for sip: 12345678@altostrat.com
3333 # - for more: should not be filled
3334 # Optional.
3335 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3336 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3337 # Optional.
3338 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3339 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3340 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3341 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3342 # Optional.
3343 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3344 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3345 # Optional.
3346 &quot;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.
3347 # Calendar backend will populate this field only for EntryPointType.PHONE.
3348 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3349 # Format:
3350 # - for video, http: or https: schema is required.
3351 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3352 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3353 # - for more, http: or https: schema is required.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003354 },
3355 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003356 &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.
3357 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3358 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3359 &quot;parameters&quot;: {
3360 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003361 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003362 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003363 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003364 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3365 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3366 # Unset for a conference with a failed create request.
3367 # Optional for a conference with a pending create request.
3368 },
3369 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3370 &quot;creator&quot;: { # The creator of the event. Read-only.
3371 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3372 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003373 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003374 &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.
3375 },
3376 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3377 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3378 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3379 &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.
3380 &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.
3381 },
3382 &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.
3383 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08003384 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
3385 # - &quot;default&quot; - A regular event or not further specified.
3386 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003387 &quot;extendedProperties&quot;: { # Extended properties of the event.
3388 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3389 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3390 },
3391 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3392 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3393 },
3394 },
3395 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3396 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3397 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3398 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3399 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3400 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3401 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3402 &quot;preferences&quot;: { # Preferences.
3403 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3404 },
3405 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3406 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3407 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3408 },
3409 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3410 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3411 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003412 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003413 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3414 &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.
3415 # 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.
3416 &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:
3417 # - 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
3418 # - the length of the ID must be between 5 and 1024 characters
3419 # - 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.
3420 # If you do not specify an ID, it will be automatically generated by the server.
3421 # 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.
3422 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3423 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3424 &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.
3425 &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.
3426 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3427 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003428 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003429 &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.
3430 },
3431 &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.
3432 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3433 &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.
3434 &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.
3435 },
3436 &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.
3437 &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.
3438 &quot;A String&quot;,
3439 ],
3440 &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.
3441 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3442 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003443 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003444 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3445 # - &quot;email&quot; - Reminders are sent via email.
3446 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3447 # Required when adding a reminder.
3448 &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).
3449 # Required when adding a reminder.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003450 },
3451 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003452 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3453 },
3454 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3455 &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.
3456 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3457 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3458 },
3459 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3460 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3461 &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.
3462 &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.
3463 },
3464 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3465 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3466 # - &quot;tentative&quot; - The event is tentatively confirmed.
3467 # - &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.
3468 # A cancelled status represents two different states depending on the event type:
3469 # - 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.
3470 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3471 # - 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.
3472 # 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.
3473 # 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.
3474 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3475 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3476 # - &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.
3477 # - &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.
3478 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3479 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3480 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3481 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3482 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3483 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3484}
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003485
3486 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003487 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.
3488 maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003489 sendNotifications: boolean, Deprecated. Please use sendUpdates instead.
3490
3491Whether 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003492 sendUpdates: string, Guests who should receive notifications about the event update (for example, title changes, etc.).
3493 Allowed values
3494 all - Notifications are sent to all guests.
3495 externalOnly - Notifications are sent to non-Google Calendar guests only.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04003496 none - No notifications are sent. For calendar migration tasks, consider using the Events.import method instead.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003497 supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003498
3499Returns:
3500 An object of the form:
3501
3502 {
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003503 &quot;anyoneCanAddSelf&quot;: false, # Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003504 &quot;attachments&quot;: [ # File attachments for the event. Currently only Google Drive attachments are supported.
3505 # In order to modify attachments the supportsAttachments request parameter should be set to true.
3506 # There can be at most 25 attachments per event,
3507 {
3508 &quot;fileId&quot;: &quot;A String&quot;, # ID of the attached file. Read-only.
3509 # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
3510 &quot;fileUrl&quot;: &quot;A String&quot;, # URL link to the attachment.
3511 # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
3512 # Required when adding an attachment.
3513 &quot;iconLink&quot;: &quot;A String&quot;, # URL link to the attachment&#x27;s icon. Read-only.
3514 &quot;mimeType&quot;: &quot;A String&quot;, # Internet media type (MIME type) of the attachment.
3515 &quot;title&quot;: &quot;A String&quot;, # Attachment title.
3516 },
3517 ],
3518 &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.
3519 {
3520 &quot;additionalGuests&quot;: 0, # Number of additional guests. Optional. The default is 0.
3521 &quot;comment&quot;: &quot;A String&quot;, # The attendee&#x27;s response comment. Optional.
3522 &quot;displayName&quot;: &quot;A String&quot;, # The attendee&#x27;s name, if available. Optional.
3523 &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.
3524 # Required when adding an attendee.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003525 &quot;id&quot;: &quot;A String&quot;, # The attendee&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003526 &quot;optional&quot;: false, # Whether this is an optional attendee. Optional. The default is False.
3527 &quot;organizer&quot;: True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False.
3528 &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.
3529 &quot;responseStatus&quot;: &quot;A String&quot;, # The attendee&#x27;s response status. Possible values are:
3530 # - &quot;needsAction&quot; - The attendee has not responded to the invitation.
3531 # - &quot;declined&quot; - The attendee has declined the invitation.
3532 # - &quot;tentative&quot; - The attendee has tentatively accepted the invitation.
3533 # - &quot;accepted&quot; - The attendee has accepted the invitation.
3534 &quot;self&quot;: false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
3535 },
3536 ],
3537 &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.
3538 &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.
3539 &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.
3540 &quot;conferenceId&quot;: &quot;A String&quot;, # The ID of the conference.
3541 # Can be used by developers to keep track of conferences, should not be displayed to users.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003542 # The ID value is formed differently for each conference solution type:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003543 # - eventHangout: ID is not set. (This conference type is deprecated.)
3544 # - eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)
yoshi-code-botc0b883a2021-05-04 06:46:03 -07003545 # - hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.
3546 # - addOn: ID is defined by the third-party provider. Optional.
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003547 &quot;conferenceSolution&quot;: { # The conference solution, such as Google Meet.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003548 # Unset for a conference with a failed create request.
3549 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3550 &quot;iconUri&quot;: &quot;A String&quot;, # The user-visible icon for this solution.
3551 &quot;key&quot;: { # The key which can uniquely identify the conference solution for this event.
3552 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3553 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3554 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003555 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
3556 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003557 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3558 # - &quot;addOn&quot; for 3P conference providers
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003559 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003560 &quot;name&quot;: &quot;A String&quot;, # The user-visible name of this solution. Not localized.
3561 },
3562 &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.
3563 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3564 &quot;conferenceSolutionKey&quot;: { # The conference solution, such as Hangouts or Google Meet.
3565 &quot;type&quot;: &quot;A String&quot;, # The conference solution type.
3566 # If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.
3567 # The possible values are:
yoshi-code-botcdf480e2021-08-17 00:20:40 -07003568 # - &quot;eventHangout&quot; for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)
3569 # - &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)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003570 # - &quot;hangoutsMeet&quot; for Google Meet (http://meet.google.com)
3571 # - &quot;addOn&quot; for 3P conference providers
3572 },
3573 &quot;requestId&quot;: &quot;A String&quot;, # The client-generated unique ID for this request.
3574 # 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.
3575 &quot;status&quot;: { # The status of the conference create request.
3576 &quot;statusCode&quot;: &quot;A String&quot;, # The current status of the conference create request. Read-only.
3577 # The possible values are:
3578 # - &quot;pending&quot;: the conference create request is still being processed.
3579 # - &quot;success&quot;: the conference create request succeeded, the entry points are populated.
3580 # - &quot;failure&quot;: the conference create request failed, there are no entry points.
3581 },
3582 },
3583 &quot;entryPoints&quot;: [ # Information about individual conference entry points, such as URLs or phone numbers.
3584 # All of them must belong to the same conference.
3585 # Either conferenceSolution and at least one entryPoint, or createRequest is required.
3586 {
3587 &quot;accessCode&quot;: &quot;A String&quot;, # The access code to access the conference. The maximum length is 128 characters.
3588 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3589 # Optional.
3590 &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.
3591 &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003592 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003593 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the conference entry point.
3594 # Possible values are:
3595 # - &quot;video&quot; - joining a conference over HTTP. A conference can have zero or one video entry point.
3596 # - &quot;phone&quot; - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.
3597 # - &quot;sip&quot; - joining a conference over SIP. A conference can have zero or one sip entry point.
3598 # - &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.
3599 &quot;label&quot;: &quot;A String&quot;, # The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.
3600 # Examples:
3601 # - for video: meet.google.com/aaa-bbbb-ccc
3602 # - for phone: +1 123 268 2601
3603 # - for sip: 12345678@altostrat.com
3604 # - for more: should not be filled
3605 # Optional.
3606 &quot;meetingCode&quot;: &quot;A String&quot;, # The meeting code to access the conference. The maximum length is 128 characters.
3607 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3608 # Optional.
3609 &quot;passcode&quot;: &quot;A String&quot;, # The passcode to access the conference. The maximum length is 128 characters.
3610 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3611 &quot;password&quot;: &quot;A String&quot;, # The password to access the conference. The maximum length is 128 characters.
3612 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3613 # Optional.
3614 &quot;pin&quot;: &quot;A String&quot;, # The PIN to access the conference. The maximum length is 128 characters.
3615 # When creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.
3616 # Optional.
3617 &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.
3618 # Calendar backend will populate this field only for EntryPointType.PHONE.
3619 &quot;uri&quot;: &quot;A String&quot;, # The URI of the entry point. The maximum length is 1300 characters.
3620 # Format:
3621 # - for video, http: or https: schema is required.
3622 # - for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).
3623 # - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
3624 # - for more, http: or https: schema is required.
3625 },
3626 ],
3627 &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.
3628 &quot;parameters&quot;: { # Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming.
3629 &quot;addOnParameters&quot;: { # Additional add-on specific data.
3630 &quot;parameters&quot;: {
3631 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003632 },
3633 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003634 },
3635 &quot;signature&quot;: &quot;A String&quot;, # The signature of the conference data.
3636 # Generated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.
3637 # Unset for a conference with a failed create request.
3638 # Optional for a conference with a pending create request.
3639 },
3640 &quot;created&quot;: &quot;A String&quot;, # Creation time of the event (as a RFC3339 timestamp). Read-only.
3641 &quot;creator&quot;: { # The creator of the event. Read-only.
3642 &quot;displayName&quot;: &quot;A String&quot;, # The creator&#x27;s name, if available.
3643 &quot;email&quot;: &quot;A String&quot;, # The creator&#x27;s email address, if available.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003644 &quot;id&quot;: &quot;A String&quot;, # The creator&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003645 &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.
3646 },
3647 &quot;description&quot;: &quot;A String&quot;, # Description of the event. Can contain HTML. Optional.
3648 &quot;end&quot;: { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
3649 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3650 &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.
3651 &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.
3652 },
3653 &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.
3654 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08003655 &quot;eventType&quot;: &quot;default&quot;, # Specific type of the event. Read-only. Possible values are:
3656 # - &quot;default&quot; - A regular event or not further specified.
3657 # - &quot;outOfOffice&quot; - An out-of-office event.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003658 &quot;extendedProperties&quot;: { # Extended properties of the event.
3659 &quot;private&quot;: { # Properties that are private to the copy of the event that appears on this calendar.
3660 &quot;a_key&quot;: &quot;A String&quot;, # The name of the private property and the corresponding value.
3661 },
3662 &quot;shared&quot;: { # Properties that are shared between copies of the event on other attendees&#x27; calendars.
3663 &quot;a_key&quot;: &quot;A String&quot;, # The name of the shared property and the corresponding value.
3664 },
3665 },
3666 &quot;gadget&quot;: { # A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
3667 &quot;display&quot;: &quot;A String&quot;, # The gadget&#x27;s display mode. Deprecated. Possible values are:
3668 # - &quot;icon&quot; - The gadget displays next to the event&#x27;s title in the calendar view.
3669 # - &quot;chip&quot; - The gadget displays when the event is clicked.
3670 &quot;height&quot;: 42, # The gadget&#x27;s height in pixels. The height must be an integer greater than 0. Optional. Deprecated.
3671 &quot;iconLink&quot;: &quot;A String&quot;, # The gadget&#x27;s icon URL. The URL scheme must be HTTPS. Deprecated.
3672 &quot;link&quot;: &quot;A String&quot;, # The gadget&#x27;s URL. The URL scheme must be HTTPS. Deprecated.
3673 &quot;preferences&quot;: { # Preferences.
3674 &quot;a_key&quot;: &quot;A String&quot;, # The preference name and corresponding value.
3675 },
3676 &quot;title&quot;: &quot;A String&quot;, # The gadget&#x27;s title. Deprecated.
3677 &quot;type&quot;: &quot;A String&quot;, # The gadget&#x27;s type. Deprecated.
3678 &quot;width&quot;: 42, # The gadget&#x27;s width in pixels. The width must be an integer greater than 0. Optional. Deprecated.
3679 },
3680 &quot;guestsCanInviteOthers&quot;: true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
3681 &quot;guestsCanModify&quot;: false, # Whether attendees other than the organizer can modify the event. Optional. The default is False.
3682 &quot;guestsCanSeeOtherGuests&quot;: true, # Whether attendees other than the organizer can see who the event&#x27;s attendees are. Optional. The default is True.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003683 &quot;hangoutLink&quot;: &quot;A String&quot;, # An absolute link to the Google Hangout associated with this event. Read-only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003684 &quot;htmlLink&quot;: &quot;A String&quot;, # An absolute link to this event in the Google Calendar Web UI. Read-only.
3685 &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.
3686 # 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.
3687 &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:
3688 # - 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
3689 # - the length of the ID must be between 5 and 1024 characters
3690 # - 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.
3691 # If you do not specify an ID, it will be automatically generated by the server.
3692 # 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.
3693 &quot;kind&quot;: &quot;calendar#event&quot;, # Type of the resource (&quot;calendar#event&quot;).
3694 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the event as free-form text. Optional.
3695 &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.
3696 &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.
3697 &quot;displayName&quot;: &quot;A String&quot;, # The organizer&#x27;s name, if available.
3698 &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.
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07003699 &quot;id&quot;: &quot;A String&quot;, # The organizer&#x27;s Profile ID, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003700 &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.
3701 },
3702 &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.
3703 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3704 &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.
3705 &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.
3706 },
3707 &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.
3708 &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.
3709 &quot;A String&quot;,
3710 ],
3711 &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.
3712 &quot;reminders&quot;: { # Information about the event&#x27;s reminders for the authenticated user.
3713 &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.
3714 {
3715 &quot;method&quot;: &quot;A String&quot;, # The method used by this reminder. Possible values are:
3716 # - &quot;email&quot; - Reminders are sent via email.
3717 # - &quot;popup&quot; - Reminders are sent via a UI popup.
3718 # Required when adding a reminder.
3719 &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).
3720 # Required when adding a reminder.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003721 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003722 ],
3723 &quot;useDefault&quot;: True or False, # Whether the default reminders of the calendar apply to the event.
3724 },
3725 &quot;sequence&quot;: 42, # Sequence number as per iCalendar.
3726 &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.
3727 &quot;title&quot;: &quot;A String&quot;, # Title of the source; for example a title of a web page or an email subject.
3728 &quot;url&quot;: &quot;A String&quot;, # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
3729 },
3730 &quot;start&quot;: { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
3731 &quot;date&quot;: &quot;A String&quot;, # The date, in the format &quot;yyyy-mm-dd&quot;, if this is an all-day event.
3732 &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.
3733 &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.
3734 },
3735 &quot;status&quot;: &quot;A String&quot;, # Status of the event. Optional. Possible values are:
3736 # - &quot;confirmed&quot; - The event is confirmed. This is the default status.
3737 # - &quot;tentative&quot; - The event is tentatively confirmed.
3738 # - &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.
3739 # A cancelled status represents two different states depending on the event type:
3740 # - 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.
3741 # Cancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty.
3742 # - 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.
3743 # 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.
3744 # 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.
3745 &quot;summary&quot;: &quot;A String&quot;, # Title of the event.
3746 &quot;transparency&quot;: &quot;opaque&quot;, # Whether the event blocks time on the calendar. Optional. Possible values are:
3747 # - &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.
3748 # - &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.
3749 &quot;updated&quot;: &quot;A String&quot;, # Last modification time of the event (as a RFC3339 timestamp). Read-only.
3750 &quot;visibility&quot;: &quot;default&quot;, # Visibility of the event. Optional. Possible values are:
3751 # - &quot;default&quot; - Uses the default visibility for events on the calendar. This is the default value.
3752 # - &quot;public&quot; - The event is public and event details are visible to all readers of the calendar.
3753 # - &quot;private&quot; - The event is private and only event attendees may view event details.
3754 # - &quot;confidential&quot; - The event is private. This value is provided for compatibility reasons.
3755}</pre>
John Asmuth614db982014-04-24 15:46:26 -04003756</div>
3757
3758<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003759 <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>
John Asmuth614db982014-04-24 15:46:26 -04003760 <pre>Watch for changes to Events resources.
3761
3762Args:
Bu Sun Kim65020912020-05-20 12:08:20 -07003763 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07003764 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -04003765 The object takes the form of:
3766
3767{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003768 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3769 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
3770 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3771 &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;.
3772 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3773 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
3774 },
3775 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
3776 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
3777 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3778 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08003779 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003780}
John Asmuth614db982014-04-24 15:46:26 -04003781
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003782 alwaysIncludeEmail: boolean, Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003783 iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003784 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.
3785 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003786 orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
3787 Allowed values
3788 startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
3789 updated - Order by last modification time (ascending).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003790 pageToken: string, Token specifying which result page to return. Optional.
3791 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)
3792 q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003793 sharedExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003794 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.
3795 showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
3796 singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
Craig Citro065b5302014-08-14 00:47:23 -07003797 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.
3798There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.
3799
3800These are:
3801- iCalUID
3802- orderBy
3803- privateExtendedProperty
3804- q
3805- sharedExtendedProperty
3806- timeMin
3807- timeMax
3808- 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.
3809Learn more about incremental synchronization.
3810Optional. The default is to return all entries.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003811 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.
3812 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.
3813 timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
3814 updatedMin: string, Lower bound for an event&#x27;s last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
John Asmuth614db982014-04-24 15:46:26 -04003815
3816Returns:
3817 An object of the form:
3818
3819 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003820 &quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
3821 &quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
3822 &quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
3823 &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;.
3824 &quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
3825 &quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
3826 },
3827 &quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
3828 &quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
3829 &quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
3830 &quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08003831 &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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003832}</pre>
John Asmuth614db982014-04-24 15:46:26 -04003833</div>
3834
3835</body></html>