36 "desc":
"Google calendar events list API data provider",
37 "type":
"GoogleCalendarEventsListDataProvider",
39 "id": <DataProviderOptionInfo>{
40 "type": AbstractDataProviderTypeMap.
"string",
41 "desc":
"The calendar ID",
44 "supports_request": True,
49 AbstractDataProvider::DataProviderSummaryInfoKeys
124 "type": AbstractDataProviderType::get(
new Type(
"*softlist<string>")),
125 "desc":
"Event types to return. Optional. Possible values are:\n"
129 "- `workingLocation`\n"
130 "Currently, these are the only allowed values for this field:\n"
131 "- `default`, `focusTime`, `outOfOffice`\n"
132 "- `default`, `focusTime`, `outOfOffice`, `workingLocation`\n"
133 "- `workingLocation`",
140 "default_value": (
"default",
"focusTime",
"outOfOffice"),
143 "type": AbstractDataProviderTypeMap.
"*string",
144 "desc":
"Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use "
145 "this if you want to search for an event by its iCalendar ID",
148 "type": AbstractDataProviderTypeMap.
"*int",
149 "desc":
"The maximum number of attendees to include in the response. If there are more than the "
150 "specified number of attendees, only the participant is returned",
153 "type": AbstractDataProviderTypeMap.
"*int",
154 "desc":
"Maximum number of events returned on one result page. The number of events in the resulting "
155 "page may be less than this value, or none at all, even if there are more events matching the "
156 "query. Incomplete pages can be detected by a non-empty `nextPageToken` field in the response. By "
157 "default the value is `250` events. The page size can never be larger than `2500` events",
160 "type": AbstractDataProviderTypeMap.
"*string",
161 "desc":
"The order of the events returned in the result. The default is an unspecified, stable "
163 "Acceptable values are:\n"
164 "- `startTime`: Order by the start date/time (ascending). This is only available when querying "
165 "single events (i.e. the parameter `singleEvents` is `True`)\n"
166 "- `updated`: Order by last modification time (ascending)",
173 "type": AbstractDataProviderTypeMap.
"*string",
174 "desc":
"Token specifying which result page to return",
176 "privateExtendedProperty": {
177 "type": AbstractDataProviderType::get(
new Type(
"*softlist<string>")),
178 "desc":
"Extended properties constraint specified as propertyName=value. Matches only private "
179 "properties. This parameter might be repeated multiple times to return events that match all "
183 "type": AbstractDataProviderTypeMap.
"*string",
184 "desc":
"Free text search terms to find events that match these terms in the following fields: "
185 "`summary`, `description`, `location`, attendee's `displayName`, attendee's `email`",
187 "sharedExtendedProperty": {
188 "type": AbstractDataProviderType::get(
new Type(
"*softlist<string>")),
189 "desc":
"Extended properties constraint specified as propertyName=value. Matches only shared "
190 "properties. This parameter might be repeated multiple times to return events that match all "
195 "desc":
"Whether to include deleted events (with status equals `cancelled`) in the result. Cancelled "
196 "instances of recurring events (but not the underlying recurring event) will still be included "
197 "if `showDeleted` and `singleEvents` are both `False`. If `showDeleted` and `singleEvents` are "
198 "both `True`, only single instances of deleted events (but not the underlying recurring events) "
200 "default_value": False,
202 "showHiddenInvitations": {
204 "desc":
"Whether to include hidden invitations in the result",
205 "default_value": False,
209 "desc":
"Whether to expand recurring events into instances and only return single one-off events and "
210 "instances of recurring events, but not the underlying recurring events themselves",
211 "default_value": False,
214 "type": AbstractDataProviderTypeMap.
"*string",
215 "desc":
"Token obtained from the `nextSyncToken` field returned on the last page of results from the "
216 "previous list request. It makes the result of this list request contain only entries that have "
217 "changed since then. All events deleted since the previous list request will always be in the "
218 "result set and it is not allowed to set `showDeleted` to False.\n\n"
219 "There are several query parameters that cannot be specified together with `nextSyncToken` to "
220 "ensure consistency of the client state.\n\n"
224 "- `privateExtendedProperty`\n"
226 "- `sharedExtendedProperty`\n"
230 "All other query parameters should be the same as for the initial synchronization to avoid "
231 "undefined behavior. If the `syncToken` expires, the server will respond with a `410 GONE` "
232 "response code and the client should clear its storage and perform a full synchronization "
233 "without any syncToken.\n"
234 "The default is to return all entries",
238 "desc":
"Upper bound (exclusive) for an event's start time to filter by. The default is not to "
239 "filter by start time. Resolution to the second. If `timeMin` is set, `timeMax` must be greater "
244 "desc":
"Lower bound (exclusive) for an event's end time to filter by. The default is not to filter "
245 "by end time. Resolution to the second. If `timeMax` is set, `timeMin` must be smaller than "
249 "type": AbstractDataProviderTypeMap.
"*string",
250 "desc":
"Time zone used in the response. The default is the time zone of the calendar",
254 "desc":
"Lower bound for an event's last modification time to filter by. When specified, entries "
255 "deleted since this time will always be included regardless of `showDeleted`. The default is not "
256 "to filter by last modification time",
275 "type": AbstractDataProviderTypeMap.
"*softdate",
276 "desc":
"The date, in the format `yyyy-mm-dd`, if this is an all-day event",
279 "type": AbstractDataProviderTypeMap.
"*softdate",
280 "desc":
"The time, as a combined date-time value",
283 "type": AbstractDataProviderTypeMap.
"*string",
284 "desc":
"The time zone in which the time is specified, formatted as an IANA Time Zone Database name, "
285 "e.g. `Europe/Zurich`",
299class GoogleCalendarSourceHashBaseType :
public HashDataType {
306 "type": AbstractDataProviderTypeMap.
"*string",
307 "desc":
"Title of the source; for example a title of a web page or an email subject",
311 "type": AbstractDataProviderTypeMap.
"*string",
312 "desc":
"URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS",
319 constructor(
bool or_nothing) ;
352 "desc":
"The date, in the format `yyyy-mm-dd`, if this is an all-day event",
357 "desc":
"The time, as a combined date-time value (formatted according to RFC3339). A time zone "
358 "offset is required unless a time zone is explicitly specified in `timeZone`",
361 "type": AbstractDataProviderTypeMap.
"*string",
362 "desc":
"The time zone in which the time is specified. (Formatted as an IANA Time Zone Database "
363 "name, e.g. `Europe/Zurich`.) For recurring events this field is required and specifies the time "
364 "zone in which the recurrence is expanded. For single events this field is optional and "
365 "indicates a custom time zone for the event start/end",
383class GoogleCalendarTimeHashOrNothingType :
public GoogleCalendarTimeHashBaseType {
403 "type": AbstractDataProviderTypeMap.
"string",
404 "desc":
"The type of the collection",
407 "type": AbstractDataProviderTypeMap.
"string",
408 "desc":
"A hash that indicates a specific version of the object definition",
411 "type": AbstractDataProviderTypeMap.
"string",
412 "desc":
"Opaque identifier of the event. When creating new single or recurring events, you can "
413 "specify their IDs. Provided IDs must follow these rules:\n"
414 "- characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v "
415 "and digits 0-9, see section 3.1.2 in RFC2938\n"
416 "- the length of the ID must be between 5 and 1024 characters\n"
417 "- the ID must be unique per calendar\n"
418 "Due to the globally distributed nature of the system, we cannot guarantee that ID collisions "
419 "will be detected at event creation time. To minimize the risk of collisions we recommend using "
420 "an established UUID algorithm such as one described in RFC4122.\n"
421 "If you do not specify an ID, it will be automatically generated by the server.\n\n"
422 "Note that the `icalUID` and the `id` are not identical and only one of them should be supplied "
423 "at event creation time. One difference in their semantics is that in recurring events, all "
424 "occurrences of one event have different `id`s while they all share the same `icalUID`",
428 "type": AbstractDataProviderTypeMap.
"string",
429 "desc":
"Status of the event. Possible values are:\n"
430 "- `confirmed`: The event is confirmed. This is the default status\n"
431 "- `tentative`: The event is tentatively confirmed\n"
432 " - `cancelled`: The event is cancelled (deleted). The list method returns cancelled events only "
433 "on incremental sync (when `syncToken` or `updatedMin` are specified) or if the "
434 "`showDeleted` flag is set to `True`. The get method always returns them.\n"
435 "A cancelled status represents two different states depending on the event type:\n"
436 "- Cancelled exceptions of an uncancelled recurring event indicate that this instance should "
437 "no longer be presented to the user. Clients should store these events for the lifetime "
438 "of the parent recurring event.\n"
439 "- Cancelled exceptions are only guaranteed to have values for the `id`, `recurringEventId` "
440 "and `originalStartTime` fields populated. The other fields might be empty.\n\n"
441 "All other cancelled events represent deleted events. Clients should remove their locally "
442 "synced copies. Such cancelled events will eventually disappear, so do not rely on them "
443 "being available indefinitely.\n"
444 "Deleted events are only guaranteed to have the `id` field populated.\n\n"
445 "On the organizer's calendar, cancelled events continue to expose event details (`summary`, "
446 "`location`, etc.) so that they can be restored (undeleted). Similarly, the events to which "
447 "the user was invited and that they manually removed continue to provide details. However, "
448 "incremental sync requests with `showDeleted` set to `False` will not return these details.\n"
449 "If an event changes its organizer (for example via the move operation) and the original "
450 "organizer is not on the attendee list, it will leave behind a cancelled event where only "
451 "the `id` field is guaranteed to be populated",
455 "type": AbstractDataProviderTypeMap.
"*string",
456 "desc":
"An absolute link to this event in the Google Calendar Web UI",
459 "type": AbstractDataProviderTypeMap.
"*softdate",
460 "desc":
"Creation time of the event",
463 "type": AbstractDataProviderTypeMap.
"*softdate",
464 "desc":
"Last modification time of the even self.rest = rest;
468 "type": AbstractDataProviderTypeMap.
"*string",
469 "desc":
"Title of the event",
473 "type": AbstractDataProviderTypeMap.
"*string",
474 "desc":
"Description of the event. Can contain HTML",
478 "type": AbstractDataProviderTypeMap.
"*string",
479 "desc":
"Geographic location of the event as free-form text",
483 "type": AbstractDataProviderTypeMap.
"*string",
484 "desc":
"The color of the event. This is an ID referring to an entry in the event section of the "
485 "`colors` definition",
489 "type": AbstractDataProviderTypeMap.
"*hash",
490 "desc":
"The creator of the event",
493 "type": AbstractDataProviderTypeMap.
"*hash",
494 "desc":
"The organizer of the event. If the organizer is also an attendee, this is indicated with a "
495 "separate entry in attendees with the `organizer` field set to `True`. To change the "
496 "`organizer`, use the move operation. Read-only, except when importing an event",
501 "desc":
"The (inclusive) start time of the event. For a recurring event, this is the start time of "
502 "the first instance",
507 "desc":
"The (exclusive) end time of the event. For a recurring event, this is the end time of the "
511 "endTimeUnspecified": {
512 "type": AbstractDataProviderTypeMap.
"*bool",
513 "desc":
"Whether the end time is actually unspecified. An end time is still provided for "
514 "compatibility reasons, even if this attribute is set to `True`. The default is `False`",
517 "type": AbstractDataProviderTypeMap.
"*string",
518 "desc":
"Event unique identifier as defined in RFC5545. It is used to uniquely identify events "
519 "across calendaring systems and must be supplied when importing events via the import method.\n"
520 "Note that `iCalUID` and `id` are not identical and only one of them should be supplied at event "
521 "creation time. One difference in their semantics is that in recurring events, all occurrences "
522 "of one event have different ids while they all share the same `iCalUID`. To retrieve an event "
523 "using its `iCalUID`, call the `events.list` method using the `iCalUID` parameter. To retrieve "
524 "an event using its `id`, call the `events.get` method",
527 "type": AbstractDataProviderTypeMap.
"*bool",
528 "desc":
"Whether this is a locked event copy where no changes can be made to the main event fields "
529 "`summary`, `description`, `location`, `start`, `end` or `recurrence`. Read-Only. The default is "
533 "type": AbstractDataProviderTypeMap.
"*int",
534 "desc":
"Sequence number as per iCalendar",
538 "type": AbstractDataProviderTypeMap.
"*hash",
539 "desc":
"Information about the event's reminders for the authenticated user",
543 "type": AbstractDataProviderTypeMap.
"*string",
544 "desc":
"Specific type of the event. This cannot be modified after the event is created. Possible "
546 "- `default`: A regular event or not further specified\n"
547 "- `outOfOffice`: An out-of-office event\n"
548 "- `focusTime`: A focus-time event\n"
549 "- `workingLocation`: A working location event\n"
550 "Currently, only `default` and `workingLocation` events can be created using the API. Extended "
551 "support for other event types will be made available in later releases",
555 "type": AbstractDataProviderTypeMap.
"*string",
556 "desc":
"Whether the event blocks time on the calendar. Optional. Possible values are:\n"
557 "- `opaque`:Default value. The event does block time on the calendar. This is equivalent to "
558 "setting `Show me as` to `Busy` in the Calendar UI\n"
559 "- `transparent`: The event does not block time on the calendar. This is equivalent to setting "
560 "`Show me as` to `Available` in the Calendar UI",
564 "type": AbstractDataProviderTypeMap.
"*string",
565 "desc":
"Visibility of the event. Optional. Possible values are:\n"
566 "- `default`: Uses the default visibility for events on the calendar. This is the default value\n"
567 "- `public`: The event is public and event details are visible to all readers of the calendar\n"
568 "- `private`: The event is private and only event attendees may view event details\n"
569 "- `confidential`: The event is private. This value is provided for compatibility reasons",
573 "type": AbstractDataProviderTypeMap.
"*list",
574 "desc":
"The attendees of the event. See the 'Events with attendees' guide for more information on "
575 "scheduling events with other calendar users. Service accounts need to use domain-wide "
576 "delegation of authority to populate the attendee list",
580 "type": AbstractDataProviderTypeMap.
"*bool",
581 "desc":
"If set to `True`, Event propagation is disabled. Note that it is not the same thing as "
582 "Private event properties. Optional. Immutable. The default is `False`",
584 "recurringEventId": {
585 "type": AbstractDataProviderTypeMap.
"*string",
586 "desc":
"For an instance of a recurring event, this is the id of the recurring event to which this "
587 "instance belongs. Immutable",
589 "originalStartTime": {
591 "desc":
"For an instance of a recurring event, this is the time at which this event would start "
592 "according to the recurrence data in the recurring event identified by `recurringEventId`. It "
593 "uniquely identifies the instance within the recurring event series even if the instance was "
594 "moved to a different time. Immutable",
598 "type": AbstractDataProviderTypeMap.
"*hash",
599 "desc":
"A gadget that extends this event. Gadgets are deprecated; this structure is instead only "
600 "used for returning birthday calendar metadata",
602 "guestsCanInviteOthers": {
603 "type": AbstractDataProviderTypeMap.
"*bool",
604 "desc":
"Whether attendees other than the organizer can invite others to the event. Optional. The "
609 "type": AbstractDataProviderTypeMap.
"*bool",
610 "desc":
"Whether attendees other than the organizer can modify the event. Optional. The default is "
614 "guestsCanSeeOtherGuests": {
615 "type": AbstractDataProviderTypeMap.
"*bool",
616 "desc":
"Whether attendees other than the organizer can see who the event's attendees are. Optional. "
617 "The default is `True`",
622 "desc":
"Source from which the event was created. For example, a web page, an email message or any "
623 "document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the "
624 "creator of the event",
628 "type":
new ListDataType(
"GoogleCalendarRecurrence", StringType, True),
629 "desc":
"List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in "
630 "RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end "
631 "times are specified in the `start` and `end` fields. This field is omitted for single events or "
632 "instances of recurring events",
635 "extendedProperties": {
636 "type": AbstractDataProviderTypeMap.
"*hash",
637 "desc":
"Extended properties of the event",
641 "type": AbstractDataProviderTypeMap.
"*string",
642 "desc":
"An absolute link to the Google Hangout associated with this event. Read-only",
645 "type": AbstractDataProviderTypeMap.
"*hash",
646 "desc":
"An absolute link to the Google Hangout associated with this event. Read-only",
649 "type":
new ListDataType(
"GoogleCalendarAttachment", AutoHashType, True),
650 "desc":
"File attachments for the event.\n"
651 "In order to modify attachments the `supportsAttachments` request parameter should be set to "
653 "There can be at most 25 attachments per event",
656 "workingLocationProperties": {
657 "type": AbstractDataProviderTypeMap.
"*hash",
658 "desc":
"Working location event data",
682 "type": AbstractDataProviderTypeMap.
"string",
683 "desc":
"The type of the collection",
686 "type": AbstractDataProviderTypeMap.
"string",
687 "desc":
"A hash that indicates a specific version of the object definition",
690 "type": AbstractDataProviderTypeMap.
"string",
691 "desc":
"Title of the calendar",
694 "type": AbstractDataProviderTypeMap.
"string",
695 "desc":
"Description of the calendar",
698 "type": AbstractDataProviderTypeMap.
"softdate",
699 "desc":
"Last modification time of the calendar",
702 "type": AbstractDataProviderTypeMap.
"string",
703 "desc":
"The time zone of the calendar",
706 "type": AbstractDataProviderTypeMap.
"string",
707 "desc":
"The user's access role for this calendar. Read-only. Possible values are:\n"
708 "- `none`: The user has no access\n"
709 "- `freeBusyReader`: The user has read access to free/busy information\n"
710 "- `reader`: The user has read access to the calendar. Private events will appear to users with "
711 "reader access, but event details will be hidden\n"
712 "- `writer`: The user has read and write access to the calendar. Private events will appear to "
713 "users with writer access, and event details will be visible\n"
714 "- `owner`: The user has ownership of the calendar. This role has all of the permissions of the "
715 "writer role with the additional ability to see and manipulate ACLs",
718 "type": AbstractDataProviderTypeMap.
"list",
719 "desc":
"The default reminders on the calendar for the authenticated user. These reminders apply to "
720 "all events on this calendar that do not explicitly override them (i.e. do not have "
721 "`reminders.useDefault` set to `True`)",
724 "type": AbstractDataProviderTypeMap.
"*string",
725 "desc":
"Token used to access the next page of this result. Omitted if no further results are "
726 "available, in which case `nextSyncToken` is provided",
729 "type": AbstractDataProviderTypeMap.
"*string",
730 "desc":
"A synchronization token for the data",
735 "desc":
"response items",
Google date/time object.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:268
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:273
constructor()
Creates the object.
Google calendar event data type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:397
constructor()
Creates the object.
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:401
The Google calendar events list API data provider.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:30
const RequestType
Request type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:53
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*hash< auto > cal
The calendar's metadata.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:63
constructor(*hash< auto > options)
Creates the object from constructor options.
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:48
string id
The calendar's ID.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:60
constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash< auto > cal)
Creates the object from a REST connection.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
*string getDesc()
Returns the data provider description.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ResponseType
Response type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:56
const ProviderInfo
Provider info.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:34
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
string getName()
Returns the data provider name.
Google calender events list request data type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:116
constructor()
Creates the object.
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:121
Create calendar events request data type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:675
constructor()
Creates the object.
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:680
Base type for Google calendar time hash types.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:344
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:349
constructor(bool or_nothing)
Creates the object.
The Google data provider base class.
Definition: GoogleDataProviderBase.qc.dox.h:28
*GoogleRestClient::GoogleRestClient rest
The REST client object for API calls.
Definition: GoogleDataProviderBase.qc.dox.h:33
const ConstructorOptions
Constructor options.
Definition: GoogleDataProvider.qc.dox.h:40
Date string type.
Definition: GoogleDataProvider.qc.dox.h:166
Timestamp string type.
Definition: GoogleDataProvider.qc.dox.h:150
Qore GoogleDataProvider module definition.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:26
const GoogleCalendarTimeHashType
Google calendar time hash type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:391
const GoogleCalendarSourceHashOrNothingType
Google calendar source "or nothing" type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:341
const GoogleCalendarTimeHashOrNothingType
Google calendar time hash "or nothing" type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:394
const GoogleCalendarSourceHashType
Google calendar source type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:338
const SoftBoolDataProviderStringType
Boolean data provider string type for query parameters.
Definition: GoogleDataProvider.qc.dox.h:127