source: vendor/google/apiclient-services/src/Calendar.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 31.0 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for Calendar (v3).
24 *
25 * <p>
26 * Manipulates events and other calendar data.</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://developers.google.com/google-apps/calendar/firstapp" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Calendar extends \Google\Service
36{
37 /** See, edit, share, and permanently delete all the calendars you can access using Google Calendar. */
38 const CALENDAR =
39 "https://www.googleapis.com/auth/calendar";
40 /** View and edit events on all your calendars. */
41 const CALENDAR_EVENTS =
42 "https://www.googleapis.com/auth/calendar.events";
43 /** View events on all your calendars. */
44 const CALENDAR_EVENTS_READONLY =
45 "https://www.googleapis.com/auth/calendar.events.readonly";
46 /** See and download any calendar you can access using your Google Calendar. */
47 const CALENDAR_READONLY =
48 "https://www.googleapis.com/auth/calendar.readonly";
49 /** View your Calendar settings. */
50 const CALENDAR_SETTINGS_READONLY =
51 "https://www.googleapis.com/auth/calendar.settings.readonly";
52
53 public $acl;
54 public $calendarList;
55 public $calendars;
56 public $channels;
57 public $colors;
58 public $events;
59 public $freebusy;
60 public $settings;
61 public $rootUrlTemplate;
62
63 /**
64 * Constructs the internal representation of the Calendar service.
65 *
66 * @param Client|array $clientOrConfig The client used to deliver requests, or a
67 * config array to pass to a new Client instance.
68 * @param string $rootUrl The root URL used for requests to the service.
69 */
70 public function __construct($clientOrConfig = [], $rootUrl = null)
71 {
72 parent::__construct($clientOrConfig);
73 $this->rootUrl = $rootUrl ?: 'https://www.googleapis.com/';
74 $this->rootUrlTemplate = $rootUrl ?: 'https://www.UNIVERSE_DOMAIN/';
75 $this->servicePath = 'calendar/v3/';
76 $this->batchPath = 'batch/calendar/v3';
77 $this->version = 'v3';
78 $this->serviceName = 'calendar';
79
80 $this->acl = new Calendar\Resource\Acl(
81 $this,
82 $this->serviceName,
83 'acl',
84 [
85 'methods' => [
86 'delete' => [
87 'path' => 'calendars/{calendarId}/acl/{ruleId}',
88 'httpMethod' => 'DELETE',
89 'parameters' => [
90 'calendarId' => [
91 'location' => 'path',
92 'type' => 'string',
93 'required' => true,
94 ],
95 'ruleId' => [
96 'location' => 'path',
97 'type' => 'string',
98 'required' => true,
99 ],
100 ],
101 ],'get' => [
102 'path' => 'calendars/{calendarId}/acl/{ruleId}',
103 'httpMethod' => 'GET',
104 'parameters' => [
105 'calendarId' => [
106 'location' => 'path',
107 'type' => 'string',
108 'required' => true,
109 ],
110 'ruleId' => [
111 'location' => 'path',
112 'type' => 'string',
113 'required' => true,
114 ],
115 ],
116 ],'insert' => [
117 'path' => 'calendars/{calendarId}/acl',
118 'httpMethod' => 'POST',
119 'parameters' => [
120 'calendarId' => [
121 'location' => 'path',
122 'type' => 'string',
123 'required' => true,
124 ],
125 'sendNotifications' => [
126 'location' => 'query',
127 'type' => 'boolean',
128 ],
129 ],
130 ],'list' => [
131 'path' => 'calendars/{calendarId}/acl',
132 'httpMethod' => 'GET',
133 'parameters' => [
134 'calendarId' => [
135 'location' => 'path',
136 'type' => 'string',
137 'required' => true,
138 ],
139 'maxResults' => [
140 'location' => 'query',
141 'type' => 'integer',
142 ],
143 'pageToken' => [
144 'location' => 'query',
145 'type' => 'string',
146 ],
147 'showDeleted' => [
148 'location' => 'query',
149 'type' => 'boolean',
150 ],
151 'syncToken' => [
152 'location' => 'query',
153 'type' => 'string',
154 ],
155 ],
156 ],'patch' => [
157 'path' => 'calendars/{calendarId}/acl/{ruleId}',
158 'httpMethod' => 'PATCH',
159 'parameters' => [
160 'calendarId' => [
161 'location' => 'path',
162 'type' => 'string',
163 'required' => true,
164 ],
165 'ruleId' => [
166 'location' => 'path',
167 'type' => 'string',
168 'required' => true,
169 ],
170 'sendNotifications' => [
171 'location' => 'query',
172 'type' => 'boolean',
173 ],
174 ],
175 ],'update' => [
176 'path' => 'calendars/{calendarId}/acl/{ruleId}',
177 'httpMethod' => 'PUT',
178 'parameters' => [
179 'calendarId' => [
180 'location' => 'path',
181 'type' => 'string',
182 'required' => true,
183 ],
184 'ruleId' => [
185 'location' => 'path',
186 'type' => 'string',
187 'required' => true,
188 ],
189 'sendNotifications' => [
190 'location' => 'query',
191 'type' => 'boolean',
192 ],
193 ],
194 ],'watch' => [
195 'path' => 'calendars/{calendarId}/acl/watch',
196 'httpMethod' => 'POST',
197 'parameters' => [
198 'calendarId' => [
199 'location' => 'path',
200 'type' => 'string',
201 'required' => true,
202 ],
203 'maxResults' => [
204 'location' => 'query',
205 'type' => 'integer',
206 ],
207 'pageToken' => [
208 'location' => 'query',
209 'type' => 'string',
210 ],
211 'showDeleted' => [
212 'location' => 'query',
213 'type' => 'boolean',
214 ],
215 'syncToken' => [
216 'location' => 'query',
217 'type' => 'string',
218 ],
219 ],
220 ],
221 ]
222 ]
223 );
224 $this->calendarList = new Calendar\Resource\CalendarList(
225 $this,
226 $this->serviceName,
227 'calendarList',
228 [
229 'methods' => [
230 'delete' => [
231 'path' => 'users/me/calendarList/{calendarId}',
232 'httpMethod' => 'DELETE',
233 'parameters' => [
234 'calendarId' => [
235 'location' => 'path',
236 'type' => 'string',
237 'required' => true,
238 ],
239 ],
240 ],'get' => [
241 'path' => 'users/me/calendarList/{calendarId}',
242 'httpMethod' => 'GET',
243 'parameters' => [
244 'calendarId' => [
245 'location' => 'path',
246 'type' => 'string',
247 'required' => true,
248 ],
249 ],
250 ],'insert' => [
251 'path' => 'users/me/calendarList',
252 'httpMethod' => 'POST',
253 'parameters' => [
254 'colorRgbFormat' => [
255 'location' => 'query',
256 'type' => 'boolean',
257 ],
258 ],
259 ],'list' => [
260 'path' => 'users/me/calendarList',
261 'httpMethod' => 'GET',
262 'parameters' => [
263 'maxResults' => [
264 'location' => 'query',
265 'type' => 'integer',
266 ],
267 'minAccessRole' => [
268 'location' => 'query',
269 'type' => 'string',
270 ],
271 'pageToken' => [
272 'location' => 'query',
273 'type' => 'string',
274 ],
275 'showDeleted' => [
276 'location' => 'query',
277 'type' => 'boolean',
278 ],
279 'showHidden' => [
280 'location' => 'query',
281 'type' => 'boolean',
282 ],
283 'syncToken' => [
284 'location' => 'query',
285 'type' => 'string',
286 ],
287 ],
288 ],'patch' => [
289 'path' => 'users/me/calendarList/{calendarId}',
290 'httpMethod' => 'PATCH',
291 'parameters' => [
292 'calendarId' => [
293 'location' => 'path',
294 'type' => 'string',
295 'required' => true,
296 ],
297 'colorRgbFormat' => [
298 'location' => 'query',
299 'type' => 'boolean',
300 ],
301 ],
302 ],'update' => [
303 'path' => 'users/me/calendarList/{calendarId}',
304 'httpMethod' => 'PUT',
305 'parameters' => [
306 'calendarId' => [
307 'location' => 'path',
308 'type' => 'string',
309 'required' => true,
310 ],
311 'colorRgbFormat' => [
312 'location' => 'query',
313 'type' => 'boolean',
314 ],
315 ],
316 ],'watch' => [
317 'path' => 'users/me/calendarList/watch',
318 'httpMethod' => 'POST',
319 'parameters' => [
320 'maxResults' => [
321 'location' => 'query',
322 'type' => 'integer',
323 ],
324 'minAccessRole' => [
325 'location' => 'query',
326 'type' => 'string',
327 ],
328 'pageToken' => [
329 'location' => 'query',
330 'type' => 'string',
331 ],
332 'showDeleted' => [
333 'location' => 'query',
334 'type' => 'boolean',
335 ],
336 'showHidden' => [
337 'location' => 'query',
338 'type' => 'boolean',
339 ],
340 'syncToken' => [
341 'location' => 'query',
342 'type' => 'string',
343 ],
344 ],
345 ],
346 ]
347 ]
348 );
349 $this->calendars = new Calendar\Resource\Calendars(
350 $this,
351 $this->serviceName,
352 'calendars',
353 [
354 'methods' => [
355 'clear' => [
356 'path' => 'calendars/{calendarId}/clear',
357 'httpMethod' => 'POST',
358 'parameters' => [
359 'calendarId' => [
360 'location' => 'path',
361 'type' => 'string',
362 'required' => true,
363 ],
364 ],
365 ],'delete' => [
366 'path' => 'calendars/{calendarId}',
367 'httpMethod' => 'DELETE',
368 'parameters' => [
369 'calendarId' => [
370 'location' => 'path',
371 'type' => 'string',
372 'required' => true,
373 ],
374 ],
375 ],'get' => [
376 'path' => 'calendars/{calendarId}',
377 'httpMethod' => 'GET',
378 'parameters' => [
379 'calendarId' => [
380 'location' => 'path',
381 'type' => 'string',
382 'required' => true,
383 ],
384 ],
385 ],'insert' => [
386 'path' => 'calendars',
387 'httpMethod' => 'POST',
388 'parameters' => [],
389 ],'patch' => [
390 'path' => 'calendars/{calendarId}',
391 'httpMethod' => 'PATCH',
392 'parameters' => [
393 'calendarId' => [
394 'location' => 'path',
395 'type' => 'string',
396 'required' => true,
397 ],
398 ],
399 ],'update' => [
400 'path' => 'calendars/{calendarId}',
401 'httpMethod' => 'PUT',
402 'parameters' => [
403 'calendarId' => [
404 'location' => 'path',
405 'type' => 'string',
406 'required' => true,
407 ],
408 ],
409 ],
410 ]
411 ]
412 );
413 $this->channels = new Calendar\Resource\Channels(
414 $this,
415 $this->serviceName,
416 'channels',
417 [
418 'methods' => [
419 'stop' => [
420 'path' => 'channels/stop',
421 'httpMethod' => 'POST',
422 'parameters' => [],
423 ],
424 ]
425 ]
426 );
427 $this->colors = new Calendar\Resource\Colors(
428 $this,
429 $this->serviceName,
430 'colors',
431 [
432 'methods' => [
433 'get' => [
434 'path' => 'colors',
435 'httpMethod' => 'GET',
436 'parameters' => [],
437 ],
438 ]
439 ]
440 );
441 $this->events = new Calendar\Resource\Events(
442 $this,
443 $this->serviceName,
444 'events',
445 [
446 'methods' => [
447 'delete' => [
448 'path' => 'calendars/{calendarId}/events/{eventId}',
449 'httpMethod' => 'DELETE',
450 'parameters' => [
451 'calendarId' => [
452 'location' => 'path',
453 'type' => 'string',
454 'required' => true,
455 ],
456 'eventId' => [
457 'location' => 'path',
458 'type' => 'string',
459 'required' => true,
460 ],
461 'sendNotifications' => [
462 'location' => 'query',
463 'type' => 'boolean',
464 ],
465 'sendUpdates' => [
466 'location' => 'query',
467 'type' => 'string',
468 ],
469 ],
470 ],'get' => [
471 'path' => 'calendars/{calendarId}/events/{eventId}',
472 'httpMethod' => 'GET',
473 'parameters' => [
474 'calendarId' => [
475 'location' => 'path',
476 'type' => 'string',
477 'required' => true,
478 ],
479 'eventId' => [
480 'location' => 'path',
481 'type' => 'string',
482 'required' => true,
483 ],
484 'alwaysIncludeEmail' => [
485 'location' => 'query',
486 'type' => 'boolean',
487 ],
488 'maxAttendees' => [
489 'location' => 'query',
490 'type' => 'integer',
491 ],
492 'timeZone' => [
493 'location' => 'query',
494 'type' => 'string',
495 ],
496 ],
497 ],'import' => [
498 'path' => 'calendars/{calendarId}/events/import',
499 'httpMethod' => 'POST',
500 'parameters' => [
501 'calendarId' => [
502 'location' => 'path',
503 'type' => 'string',
504 'required' => true,
505 ],
506 'conferenceDataVersion' => [
507 'location' => 'query',
508 'type' => 'integer',
509 ],
510 'supportsAttachments' => [
511 'location' => 'query',
512 'type' => 'boolean',
513 ],
514 ],
515 ],'insert' => [
516 'path' => 'calendars/{calendarId}/events',
517 'httpMethod' => 'POST',
518 'parameters' => [
519 'calendarId' => [
520 'location' => 'path',
521 'type' => 'string',
522 'required' => true,
523 ],
524 'conferenceDataVersion' => [
525 'location' => 'query',
526 'type' => 'integer',
527 ],
528 'maxAttendees' => [
529 'location' => 'query',
530 'type' => 'integer',
531 ],
532 'sendNotifications' => [
533 'location' => 'query',
534 'type' => 'boolean',
535 ],
536 'sendUpdates' => [
537 'location' => 'query',
538 'type' => 'string',
539 ],
540 'supportsAttachments' => [
541 'location' => 'query',
542 'type' => 'boolean',
543 ],
544 ],
545 ],'instances' => [
546 'path' => 'calendars/{calendarId}/events/{eventId}/instances',
547 'httpMethod' => 'GET',
548 'parameters' => [
549 'calendarId' => [
550 'location' => 'path',
551 'type' => 'string',
552 'required' => true,
553 ],
554 'eventId' => [
555 'location' => 'path',
556 'type' => 'string',
557 'required' => true,
558 ],
559 'alwaysIncludeEmail' => [
560 'location' => 'query',
561 'type' => 'boolean',
562 ],
563 'maxAttendees' => [
564 'location' => 'query',
565 'type' => 'integer',
566 ],
567 'maxResults' => [
568 'location' => 'query',
569 'type' => 'integer',
570 ],
571 'originalStart' => [
572 'location' => 'query',
573 'type' => 'string',
574 ],
575 'pageToken' => [
576 'location' => 'query',
577 'type' => 'string',
578 ],
579 'showDeleted' => [
580 'location' => 'query',
581 'type' => 'boolean',
582 ],
583 'timeMax' => [
584 'location' => 'query',
585 'type' => 'string',
586 ],
587 'timeMin' => [
588 'location' => 'query',
589 'type' => 'string',
590 ],
591 'timeZone' => [
592 'location' => 'query',
593 'type' => 'string',
594 ],
595 ],
596 ],'list' => [
597 'path' => 'calendars/{calendarId}/events',
598 'httpMethod' => 'GET',
599 'parameters' => [
600 'calendarId' => [
601 'location' => 'path',
602 'type' => 'string',
603 'required' => true,
604 ],
605 'alwaysIncludeEmail' => [
606 'location' => 'query',
607 'type' => 'boolean',
608 ],
609 'eventTypes' => [
610 'location' => 'query',
611 'type' => 'string',
612 'repeated' => true,
613 ],
614 'iCalUID' => [
615 'location' => 'query',
616 'type' => 'string',
617 ],
618 'maxAttendees' => [
619 'location' => 'query',
620 'type' => 'integer',
621 ],
622 'maxResults' => [
623 'location' => 'query',
624 'type' => 'integer',
625 ],
626 'orderBy' => [
627 'location' => 'query',
628 'type' => 'string',
629 ],
630 'pageToken' => [
631 'location' => 'query',
632 'type' => 'string',
633 ],
634 'privateExtendedProperty' => [
635 'location' => 'query',
636 'type' => 'string',
637 'repeated' => true,
638 ],
639 'q' => [
640 'location' => 'query',
641 'type' => 'string',
642 ],
643 'sharedExtendedProperty' => [
644 'location' => 'query',
645 'type' => 'string',
646 'repeated' => true,
647 ],
648 'showDeleted' => [
649 'location' => 'query',
650 'type' => 'boolean',
651 ],
652 'showHiddenInvitations' => [
653 'location' => 'query',
654 'type' => 'boolean',
655 ],
656 'singleEvents' => [
657 'location' => 'query',
658 'type' => 'boolean',
659 ],
660 'syncToken' => [
661 'location' => 'query',
662 'type' => 'string',
663 ],
664 'timeMax' => [
665 'location' => 'query',
666 'type' => 'string',
667 ],
668 'timeMin' => [
669 'location' => 'query',
670 'type' => 'string',
671 ],
672 'timeZone' => [
673 'location' => 'query',
674 'type' => 'string',
675 ],
676 'updatedMin' => [
677 'location' => 'query',
678 'type' => 'string',
679 ],
680 ],
681 ],'move' => [
682 'path' => 'calendars/{calendarId}/events/{eventId}/move',
683 'httpMethod' => 'POST',
684 'parameters' => [
685 'calendarId' => [
686 'location' => 'path',
687 'type' => 'string',
688 'required' => true,
689 ],
690 'eventId' => [
691 'location' => 'path',
692 'type' => 'string',
693 'required' => true,
694 ],
695 'destination' => [
696 'location' => 'query',
697 'type' => 'string',
698 'required' => true,
699 ],
700 'sendNotifications' => [
701 'location' => 'query',
702 'type' => 'boolean',
703 ],
704 'sendUpdates' => [
705 'location' => 'query',
706 'type' => 'string',
707 ],
708 ],
709 ],'patch' => [
710 'path' => 'calendars/{calendarId}/events/{eventId}',
711 'httpMethod' => 'PATCH',
712 'parameters' => [
713 'calendarId' => [
714 'location' => 'path',
715 'type' => 'string',
716 'required' => true,
717 ],
718 'eventId' => [
719 'location' => 'path',
720 'type' => 'string',
721 'required' => true,
722 ],
723 'alwaysIncludeEmail' => [
724 'location' => 'query',
725 'type' => 'boolean',
726 ],
727 'conferenceDataVersion' => [
728 'location' => 'query',
729 'type' => 'integer',
730 ],
731 'maxAttendees' => [
732 'location' => 'query',
733 'type' => 'integer',
734 ],
735 'sendNotifications' => [
736 'location' => 'query',
737 'type' => 'boolean',
738 ],
739 'sendUpdates' => [
740 'location' => 'query',
741 'type' => 'string',
742 ],
743 'supportsAttachments' => [
744 'location' => 'query',
745 'type' => 'boolean',
746 ],
747 ],
748 ],'quickAdd' => [
749 'path' => 'calendars/{calendarId}/events/quickAdd',
750 'httpMethod' => 'POST',
751 'parameters' => [
752 'calendarId' => [
753 'location' => 'path',
754 'type' => 'string',
755 'required' => true,
756 ],
757 'text' => [
758 'location' => 'query',
759 'type' => 'string',
760 'required' => true,
761 ],
762 'sendNotifications' => [
763 'location' => 'query',
764 'type' => 'boolean',
765 ],
766 'sendUpdates' => [
767 'location' => 'query',
768 'type' => 'string',
769 ],
770 ],
771 ],'update' => [
772 'path' => 'calendars/{calendarId}/events/{eventId}',
773 'httpMethod' => 'PUT',
774 'parameters' => [
775 'calendarId' => [
776 'location' => 'path',
777 'type' => 'string',
778 'required' => true,
779 ],
780 'eventId' => [
781 'location' => 'path',
782 'type' => 'string',
783 'required' => true,
784 ],
785 'alwaysIncludeEmail' => [
786 'location' => 'query',
787 'type' => 'boolean',
788 ],
789 'conferenceDataVersion' => [
790 'location' => 'query',
791 'type' => 'integer',
792 ],
793 'maxAttendees' => [
794 'location' => 'query',
795 'type' => 'integer',
796 ],
797 'sendNotifications' => [
798 'location' => 'query',
799 'type' => 'boolean',
800 ],
801 'sendUpdates' => [
802 'location' => 'query',
803 'type' => 'string',
804 ],
805 'supportsAttachments' => [
806 'location' => 'query',
807 'type' => 'boolean',
808 ],
809 ],
810 ],'watch' => [
811 'path' => 'calendars/{calendarId}/events/watch',
812 'httpMethod' => 'POST',
813 'parameters' => [
814 'calendarId' => [
815 'location' => 'path',
816 'type' => 'string',
817 'required' => true,
818 ],
819 'alwaysIncludeEmail' => [
820 'location' => 'query',
821 'type' => 'boolean',
822 ],
823 'eventTypes' => [
824 'location' => 'query',
825 'type' => 'string',
826 'repeated' => true,
827 ],
828 'iCalUID' => [
829 'location' => 'query',
830 'type' => 'string',
831 ],
832 'maxAttendees' => [
833 'location' => 'query',
834 'type' => 'integer',
835 ],
836 'maxResults' => [
837 'location' => 'query',
838 'type' => 'integer',
839 ],
840 'orderBy' => [
841 'location' => 'query',
842 'type' => 'string',
843 ],
844 'pageToken' => [
845 'location' => 'query',
846 'type' => 'string',
847 ],
848 'privateExtendedProperty' => [
849 'location' => 'query',
850 'type' => 'string',
851 'repeated' => true,
852 ],
853 'q' => [
854 'location' => 'query',
855 'type' => 'string',
856 ],
857 'sharedExtendedProperty' => [
858 'location' => 'query',
859 'type' => 'string',
860 'repeated' => true,
861 ],
862 'showDeleted' => [
863 'location' => 'query',
864 'type' => 'boolean',
865 ],
866 'showHiddenInvitations' => [
867 'location' => 'query',
868 'type' => 'boolean',
869 ],
870 'singleEvents' => [
871 'location' => 'query',
872 'type' => 'boolean',
873 ],
874 'syncToken' => [
875 'location' => 'query',
876 'type' => 'string',
877 ],
878 'timeMax' => [
879 'location' => 'query',
880 'type' => 'string',
881 ],
882 'timeMin' => [
883 'location' => 'query',
884 'type' => 'string',
885 ],
886 'timeZone' => [
887 'location' => 'query',
888 'type' => 'string',
889 ],
890 'updatedMin' => [
891 'location' => 'query',
892 'type' => 'string',
893 ],
894 ],
895 ],
896 ]
897 ]
898 );
899 $this->freebusy = new Calendar\Resource\Freebusy(
900 $this,
901 $this->serviceName,
902 'freebusy',
903 [
904 'methods' => [
905 'query' => [
906 'path' => 'freeBusy',
907 'httpMethod' => 'POST',
908 'parameters' => [],
909 ],
910 ]
911 ]
912 );
913 $this->settings = new Calendar\Resource\Settings(
914 $this,
915 $this->serviceName,
916 'settings',
917 [
918 'methods' => [
919 'get' => [
920 'path' => 'users/me/settings/{setting}',
921 'httpMethod' => 'GET',
922 'parameters' => [
923 'setting' => [
924 'location' => 'path',
925 'type' => 'string',
926 'required' => true,
927 ],
928 ],
929 ],'list' => [
930 'path' => 'users/me/settings',
931 'httpMethod' => 'GET',
932 'parameters' => [
933 'maxResults' => [
934 'location' => 'query',
935 'type' => 'integer',
936 ],
937 'pageToken' => [
938 'location' => 'query',
939 'type' => 'string',
940 ],
941 'syncToken' => [
942 'location' => 'query',
943 'type' => 'string',
944 ],
945 ],
946 ],'watch' => [
947 'path' => 'users/me/settings/watch',
948 'httpMethod' => 'POST',
949 'parameters' => [
950 'maxResults' => [
951 'location' => 'query',
952 'type' => 'integer',
953 ],
954 'pageToken' => [
955 'location' => 'query',
956 'type' => 'string',
957 ],
958 'syncToken' => [
959 'location' => 'query',
960 'type' => 'string',
961 ],
962 ],
963 ],
964 ]
965 ]
966 );
967 }
968}
969
970// Adding a class alias for backwards compatibility with the previous class name.
971class_alias(Calendar::class, 'Google_Service_Calendar');
Note: See TracBrowser for help on using the repository browser.