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