3 * Copyright 2010 Google Inc.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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
19 * Service definition for Calendar (v3).
22 * Lets you manipulate events and other calendar data.</p>
25 * For more information about this service, see the API
26 * <a href="https://developers.google.com/google-apps/calendar/firstapp" target="_blank">Documentation</a>
29 * @author Google, Inc.
31 class Google_Service_Calendar
extends Google_Service
33 /** Manage your calendars. */
35 "https://www.googleapis.com/auth/calendar";
36 /** View your calendars. */
37 const CALENDAR_READONLY
=
38 "https://www.googleapis.com/auth/calendar.readonly";
51 * Constructs the internal representation of the Calendar service.
53 * @param Google_Client $client
55 public function __construct(Google_Client
$client)
57 parent
::__construct($client);
58 $this->rootUrl
= 'https://www.googleapis.com/';
59 $this->servicePath
= 'calendar/v3/';
60 $this->version
= 'v3';
61 $this->serviceName
= 'calendar';
63 $this->acl
= new Google_Service_Calendar_Acl_Resource(
70 'path' => 'calendars/{calendarId}/acl/{ruleId}',
71 'httpMethod' => 'DELETE',
72 'parameters' => array(
73 'calendarId' => array(
85 'path' => 'calendars/{calendarId}/acl/{ruleId}',
86 'httpMethod' => 'GET',
87 'parameters' => array(
88 'calendarId' => array(
100 'path' => 'calendars/{calendarId}/acl',
101 'httpMethod' => 'POST',
102 'parameters' => array(
103 'calendarId' => array(
104 'location' => 'path',
110 'path' => 'calendars/{calendarId}/acl',
111 'httpMethod' => 'GET',
112 'parameters' => array(
113 'calendarId' => array(
114 'location' => 'path',
118 'pageToken' => array(
119 'location' => 'query',
122 'syncToken' => array(
123 'location' => 'query',
126 'maxResults' => array(
127 'location' => 'query',
130 'showDeleted' => array(
131 'location' => 'query',
136 'path' => 'calendars/{calendarId}/acl/{ruleId}',
137 'httpMethod' => 'PATCH',
138 'parameters' => array(
139 'calendarId' => array(
140 'location' => 'path',
145 'location' => 'path',
151 'path' => 'calendars/{calendarId}/acl/{ruleId}',
152 'httpMethod' => 'PUT',
153 'parameters' => array(
154 'calendarId' => array(
155 'location' => 'path',
160 'location' => 'path',
166 'path' => 'calendars/{calendarId}/acl/watch',
167 'httpMethod' => 'POST',
168 'parameters' => array(
169 'calendarId' => array(
170 'location' => 'path',
174 'pageToken' => array(
175 'location' => 'query',
178 'syncToken' => array(
179 'location' => 'query',
182 'maxResults' => array(
183 'location' => 'query',
186 'showDeleted' => array(
187 'location' => 'query',
195 $this->calendarList
= new Google_Service_Calendar_CalendarList_Resource(
202 'path' => 'users/me/calendarList/{calendarId}',
203 'httpMethod' => 'DELETE',
204 'parameters' => array(
205 'calendarId' => array(
206 'location' => 'path',
212 'path' => 'users/me/calendarList/{calendarId}',
213 'httpMethod' => 'GET',
214 'parameters' => array(
215 'calendarId' => array(
216 'location' => 'path',
222 'path' => 'users/me/calendarList',
223 'httpMethod' => 'POST',
224 'parameters' => array(
225 'colorRgbFormat' => array(
226 'location' => 'query',
231 'path' => 'users/me/calendarList',
232 'httpMethod' => 'GET',
233 'parameters' => array(
234 'syncToken' => array(
235 'location' => 'query',
238 'showDeleted' => array(
239 'location' => 'query',
242 'minAccessRole' => array(
243 'location' => 'query',
246 'maxResults' => array(
247 'location' => 'query',
250 'pageToken' => array(
251 'location' => 'query',
254 'showHidden' => array(
255 'location' => 'query',
260 'path' => 'users/me/calendarList/{calendarId}',
261 'httpMethod' => 'PATCH',
262 'parameters' => array(
263 'calendarId' => array(
264 'location' => 'path',
268 'colorRgbFormat' => array(
269 'location' => 'query',
274 'path' => 'users/me/calendarList/{calendarId}',
275 'httpMethod' => 'PUT',
276 'parameters' => array(
277 'calendarId' => array(
278 'location' => 'path',
282 'colorRgbFormat' => array(
283 'location' => 'query',
288 'path' => 'users/me/calendarList/watch',
289 'httpMethod' => 'POST',
290 'parameters' => array(
291 'syncToken' => array(
292 'location' => 'query',
295 'showDeleted' => array(
296 'location' => 'query',
299 'minAccessRole' => array(
300 'location' => 'query',
303 'maxResults' => array(
304 'location' => 'query',
307 'pageToken' => array(
308 'location' => 'query',
311 'showHidden' => array(
312 'location' => 'query',
320 $this->calendars
= new Google_Service_Calendar_Calendars_Resource(
327 'path' => 'calendars/{calendarId}/clear',
328 'httpMethod' => 'POST',
329 'parameters' => array(
330 'calendarId' => array(
331 'location' => 'path',
337 'path' => 'calendars/{calendarId}',
338 'httpMethod' => 'DELETE',
339 'parameters' => array(
340 'calendarId' => array(
341 'location' => 'path',
347 'path' => 'calendars/{calendarId}',
348 'httpMethod' => 'GET',
349 'parameters' => array(
350 'calendarId' => array(
351 'location' => 'path',
357 'path' => 'calendars',
358 'httpMethod' => 'POST',
359 'parameters' => array(),
361 'path' => 'calendars/{calendarId}',
362 'httpMethod' => 'PATCH',
363 'parameters' => array(
364 'calendarId' => array(
365 'location' => 'path',
371 'path' => 'calendars/{calendarId}',
372 'httpMethod' => 'PUT',
373 'parameters' => array(
374 'calendarId' => array(
375 'location' => 'path',
384 $this->channels
= new Google_Service_Calendar_Channels_Resource(
391 'path' => 'channels/stop',
392 'httpMethod' => 'POST',
393 'parameters' => array(),
398 $this->colors
= new Google_Service_Calendar_Colors_Resource(
406 'httpMethod' => 'GET',
407 'parameters' => array(),
412 $this->events
= new Google_Service_Calendar_Events_Resource(
419 'path' => 'calendars/{calendarId}/events/{eventId}',
420 'httpMethod' => 'DELETE',
421 'parameters' => array(
422 'calendarId' => array(
423 'location' => 'path',
428 'location' => 'path',
432 'sendNotifications' => array(
433 'location' => 'query',
438 'path' => 'calendars/{calendarId}/events/{eventId}',
439 'httpMethod' => 'GET',
440 'parameters' => array(
441 'calendarId' => array(
442 'location' => 'path',
447 'location' => 'path',
452 'location' => 'query',
455 'alwaysIncludeEmail' => array(
456 'location' => 'query',
459 'maxAttendees' => array(
460 'location' => 'query',
465 'path' => 'calendars/{calendarId}/events/import',
466 'httpMethod' => 'POST',
467 'parameters' => array(
468 'calendarId' => array(
469 'location' => 'path',
473 'supportsAttachments' => array(
474 'location' => 'query',
479 'path' => 'calendars/{calendarId}/events',
480 'httpMethod' => 'POST',
481 'parameters' => array(
482 'calendarId' => array(
483 'location' => 'path',
487 'supportsAttachments' => array(
488 'location' => 'query',
491 'sendNotifications' => array(
492 'location' => 'query',
495 'maxAttendees' => array(
496 'location' => 'query',
500 ),'instances' => array(
501 'path' => 'calendars/{calendarId}/events/{eventId}/instances',
502 'httpMethod' => 'GET',
503 'parameters' => array(
504 'calendarId' => array(
505 'location' => 'path',
510 'location' => 'path',
514 'showDeleted' => array(
515 'location' => 'query',
519 'location' => 'query',
522 'alwaysIncludeEmail' => array(
523 'location' => 'query',
526 'maxResults' => array(
527 'location' => 'query',
530 'pageToken' => array(
531 'location' => 'query',
535 'location' => 'query',
539 'location' => 'query',
542 'originalStart' => array(
543 'location' => 'query',
546 'maxAttendees' => array(
547 'location' => 'query',
552 'path' => 'calendars/{calendarId}/events',
553 'httpMethod' => 'GET',
554 'parameters' => array(
555 'calendarId' => array(
556 'location' => 'path',
561 'location' => 'query',
564 'showHiddenInvitations' => array(
565 'location' => 'query',
568 'syncToken' => array(
569 'location' => 'query',
572 'showDeleted' => array(
573 'location' => 'query',
577 'location' => 'query',
580 'updatedMin' => array(
581 'location' => 'query',
584 'singleEvents' => array(
585 'location' => 'query',
589 'location' => 'query',
592 'alwaysIncludeEmail' => array(
593 'location' => 'query',
596 'maxResults' => array(
597 'location' => 'query',
601 'location' => 'query',
604 'pageToken' => array(
605 'location' => 'query',
609 'location' => 'query',
613 'location' => 'query',
616 'privateExtendedProperty' => array(
617 'location' => 'query',
621 'sharedExtendedProperty' => array(
622 'location' => 'query',
626 'maxAttendees' => array(
627 'location' => 'query',
632 'path' => 'calendars/{calendarId}/events/{eventId}/move',
633 'httpMethod' => 'POST',
634 'parameters' => array(
635 'calendarId' => array(
636 'location' => 'path',
641 'location' => 'path',
645 'destination' => array(
646 'location' => 'query',
650 'sendNotifications' => array(
651 'location' => 'query',
656 'path' => 'calendars/{calendarId}/events/{eventId}',
657 'httpMethod' => 'PATCH',
658 'parameters' => array(
659 'calendarId' => array(
660 'location' => 'path',
665 'location' => 'path',
669 'sendNotifications' => array(
670 'location' => 'query',
673 'alwaysIncludeEmail' => array(
674 'location' => 'query',
677 'supportsAttachments' => array(
678 'location' => 'query',
681 'maxAttendees' => array(
682 'location' => 'query',
686 ),'quickAdd' => array(
687 'path' => 'calendars/{calendarId}/events/quickAdd',
688 'httpMethod' => 'POST',
689 'parameters' => array(
690 'calendarId' => array(
691 'location' => 'path',
696 'location' => 'query',
700 'sendNotifications' => array(
701 'location' => 'query',
706 'path' => 'calendars/{calendarId}/events/{eventId}',
707 'httpMethod' => 'PUT',
708 'parameters' => array(
709 'calendarId' => array(
710 'location' => 'path',
715 'location' => 'path',
719 'sendNotifications' => array(
720 'location' => 'query',
723 'alwaysIncludeEmail' => array(
724 'location' => 'query',
727 'supportsAttachments' => array(
728 'location' => 'query',
731 'maxAttendees' => array(
732 'location' => 'query',
737 'path' => 'calendars/{calendarId}/events/watch',
738 'httpMethod' => 'POST',
739 'parameters' => array(
740 'calendarId' => array(
741 'location' => 'path',
746 'location' => 'query',
749 'showHiddenInvitations' => array(
750 'location' => 'query',
753 'syncToken' => array(
754 'location' => 'query',
757 'showDeleted' => array(
758 'location' => 'query',
762 'location' => 'query',
765 'updatedMin' => array(
766 'location' => 'query',
769 'singleEvents' => array(
770 'location' => 'query',
774 'location' => 'query',
777 'alwaysIncludeEmail' => array(
778 'location' => 'query',
781 'maxResults' => array(
782 'location' => 'query',
786 'location' => 'query',
789 'pageToken' => array(
790 'location' => 'query',
794 'location' => 'query',
798 'location' => 'query',
801 'privateExtendedProperty' => array(
802 'location' => 'query',
806 'sharedExtendedProperty' => array(
807 'location' => 'query',
811 'maxAttendees' => array(
812 'location' => 'query',
820 $this->freebusy
= new Google_Service_Calendar_Freebusy_Resource(
827 'path' => 'freeBusy',
828 'httpMethod' => 'POST',
829 'parameters' => array(),
834 $this->settings
= new Google_Service_Calendar_Settings_Resource(
841 'path' => 'users/me/settings/{setting}',
842 'httpMethod' => 'GET',
843 'parameters' => array(
845 'location' => 'path',
851 'path' => 'users/me/settings',
852 'httpMethod' => 'GET',
853 'parameters' => array(
854 'pageToken' => array(
855 'location' => 'query',
858 'maxResults' => array(
859 'location' => 'query',
862 'syncToken' => array(
863 'location' => 'query',
868 'path' => 'users/me/settings/watch',
869 'httpMethod' => 'POST',
870 'parameters' => array(
871 'pageToken' => array(
872 'location' => 'query',
875 'maxResults' => array(
876 'location' => 'query',
879 'syncToken' => array(
880 'location' => 'query',
893 * The "acl" collection of methods.
896 * $calendarService = new Google_Service_Calendar(...);
897 * $acl = $calendarService->acl;
900 class Google_Service_Calendar_Acl_Resource
extends Google_Service_Resource
904 * Deletes an access control rule. (acl.delete)
906 * @param string $calendarId Calendar identifier.
907 * @param string $ruleId ACL rule identifier.
908 * @param array $optParams Optional parameters.
910 public function delete($calendarId, $ruleId, $optParams = array())
912 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId);
913 $params = array_merge($params, $optParams);
914 return $this->call('delete', array($params));
918 * Returns an access control rule. (acl.get)
920 * @param string $calendarId Calendar identifier.
921 * @param string $ruleId ACL rule identifier.
922 * @param array $optParams Optional parameters.
923 * @return Google_Service_Calendar_AclRule
925 public function get($calendarId, $ruleId, $optParams = array())
927 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId);
928 $params = array_merge($params, $optParams);
929 return $this->call('get', array($params), "Google_Service_Calendar_AclRule");
933 * Creates an access control rule. (acl.insert)
935 * @param string $calendarId Calendar identifier.
936 * @param Google_AclRule $postBody
937 * @param array $optParams Optional parameters.
938 * @return Google_Service_Calendar_AclRule
940 public function insert($calendarId, Google_Service_Calendar_AclRule
$postBody, $optParams = array())
942 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
943 $params = array_merge($params, $optParams);
944 return $this->call('insert', array($params), "Google_Service_Calendar_AclRule");
948 * Returns the rules in the access control list for the calendar. (acl.listAcl)
950 * @param string $calendarId Calendar identifier.
951 * @param array $optParams Optional parameters.
953 * @opt_param string pageToken Token specifying which result page to return.
955 * @opt_param string syncToken Token obtained from the nextSyncToken field
956 * returned on the last page of results from the previous list request. It makes
957 * the result of this list request contain only entries that have changed since
958 * then. All entries deleted since the previous list request will always be in
959 * the result set and it is not allowed to set showDeleted to False. If the
960 * syncToken expires, the server will respond with a 410 GONE response code and
961 * the client should clear its storage and perform a full synchronization
962 * without any syncToken. Learn more about incremental synchronization.
963 * Optional. The default is to return all entries.
964 * @opt_param int maxResults Maximum number of entries returned on one result
965 * page. By default the value is 100 entries. The page size can never be larger
966 * than 250 entries. Optional.
967 * @opt_param bool showDeleted Whether to include deleted ACLs in the result.
968 * Deleted ACLs are represented by role equal to "none". Deleted ACLs will
969 * always be included if syncToken is provided. Optional. The default is False.
970 * @return Google_Service_Calendar_Acl
972 public function listAcl($calendarId, $optParams = array())
974 $params = array('calendarId' => $calendarId);
975 $params = array_merge($params, $optParams);
976 return $this->call('list', array($params), "Google_Service_Calendar_Acl");
980 * Updates an access control rule. This method supports patch semantics.
983 * @param string $calendarId Calendar identifier.
984 * @param string $ruleId ACL rule identifier.
985 * @param Google_AclRule $postBody
986 * @param array $optParams Optional parameters.
987 * @return Google_Service_Calendar_AclRule
989 public function patch($calendarId, $ruleId, Google_Service_Calendar_AclRule
$postBody, $optParams = array())
991 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody);
992 $params = array_merge($params, $optParams);
993 return $this->call('patch', array($params), "Google_Service_Calendar_AclRule");
997 * Updates an access control rule. (acl.update)
999 * @param string $calendarId Calendar identifier.
1000 * @param string $ruleId ACL rule identifier.
1001 * @param Google_AclRule $postBody
1002 * @param array $optParams Optional parameters.
1003 * @return Google_Service_Calendar_AclRule
1005 public function update($calendarId, $ruleId, Google_Service_Calendar_AclRule
$postBody, $optParams = array())
1007 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody);
1008 $params = array_merge($params, $optParams);
1009 return $this->call('update', array($params), "Google_Service_Calendar_AclRule");
1013 * Watch for changes to ACL resources. (acl.watch)
1015 * @param string $calendarId Calendar identifier.
1016 * @param Google_Channel $postBody
1017 * @param array $optParams Optional parameters.
1019 * @opt_param string pageToken Token specifying which result page to return.
1021 * @opt_param string syncToken Token obtained from the nextSyncToken field
1022 * returned on the last page of results from the previous list request. It makes
1023 * the result of this list request contain only entries that have changed since
1024 * then. All entries deleted since the previous list request will always be in
1025 * the result set and it is not allowed to set showDeleted to False. If the
1026 * syncToken expires, the server will respond with a 410 GONE response code and
1027 * the client should clear its storage and perform a full synchronization
1028 * without any syncToken. Learn more about incremental synchronization.
1029 * Optional. The default is to return all entries.
1030 * @opt_param int maxResults Maximum number of entries returned on one result
1031 * page. By default the value is 100 entries. The page size can never be larger
1032 * than 250 entries. Optional.
1033 * @opt_param bool showDeleted Whether to include deleted ACLs in the result.
1034 * Deleted ACLs are represented by role equal to "none". Deleted ACLs will
1035 * always be included if syncToken is provided. Optional. The default is False.
1036 * @return Google_Service_Calendar_Channel
1038 public function watch($calendarId, Google_Service_Calendar_Channel
$postBody, $optParams = array())
1040 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1041 $params = array_merge($params, $optParams);
1042 return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
1047 * The "calendarList" collection of methods.
1050 * $calendarService = new Google_Service_Calendar(...);
1051 * $calendarList = $calendarService->calendarList;
1054 class Google_Service_Calendar_CalendarList_Resource
extends Google_Service_Resource
1058 * Deletes an entry on the user's calendar list. (calendarList.delete)
1060 * @param string $calendarId Calendar identifier.
1061 * @param array $optParams Optional parameters.
1063 public function delete($calendarId, $optParams = array())
1065 $params = array('calendarId' => $calendarId);
1066 $params = array_merge($params, $optParams);
1067 return $this->call('delete', array($params));
1071 * Returns an entry on the user's calendar list. (calendarList.get)
1073 * @param string $calendarId Calendar identifier.
1074 * @param array $optParams Optional parameters.
1075 * @return Google_Service_Calendar_CalendarListEntry
1077 public function get($calendarId, $optParams = array())
1079 $params = array('calendarId' => $calendarId);
1080 $params = array_merge($params, $optParams);
1081 return $this->call('get', array($params), "Google_Service_Calendar_CalendarListEntry");
1085 * Adds an entry to the user's calendar list. (calendarList.insert)
1087 * @param Google_CalendarListEntry $postBody
1088 * @param array $optParams Optional parameters.
1090 * @opt_param bool colorRgbFormat Whether to use the foregroundColor and
1091 * backgroundColor fields to write the calendar colors (RGB). If this feature is
1092 * used, the index-based colorId field will be set to the best matching option
1093 * automatically. Optional. The default is False.
1094 * @return Google_Service_Calendar_CalendarListEntry
1096 public function insert(Google_Service_Calendar_CalendarListEntry
$postBody, $optParams = array())
1098 $params = array('postBody' => $postBody);
1099 $params = array_merge($params, $optParams);
1100 return $this->call('insert', array($params), "Google_Service_Calendar_CalendarListEntry");
1104 * Returns entries on the user's calendar list. (calendarList.listCalendarList)
1106 * @param array $optParams Optional parameters.
1108 * @opt_param string syncToken Token obtained from the nextSyncToken field
1109 * returned on the last page of results from the previous list request. It makes
1110 * the result of this list request contain only entries that have changed since
1111 * then. If only read-only fields such as calendar properties or ACLs have
1112 * changed, the entry won't be returned. All entries deleted and hidden since
1113 * the previous list request will always be in the result set and it is not
1114 * allowed to set showDeleted neither showHidden to False. To ensure client
1115 * state consistency minAccessRole query parameter cannot be specified together
1116 * with nextSyncToken. If the syncToken expires, the server will respond with a
1117 * 410 GONE response code and the client should clear its storage and perform a
1118 * full synchronization without any syncToken. Learn more about incremental
1119 * synchronization. Optional. The default is to return all entries.
1120 * @opt_param bool showDeleted Whether to include deleted calendar list entries
1121 * in the result. Optional. The default is False.
1122 * @opt_param string minAccessRole The minimum access role for the user in the
1123 * returned entries. Optional. The default is no restriction.
1124 * @opt_param int maxResults Maximum number of entries returned on one result
1125 * page. By default the value is 100 entries. The page size can never be larger
1126 * than 250 entries. Optional.
1127 * @opt_param string pageToken Token specifying which result page to return.
1129 * @opt_param bool showHidden Whether to show hidden entries. Optional. The
1131 * @return Google_Service_Calendar_CalendarList
1133 public function listCalendarList($optParams = array())
1136 $params = array_merge($params, $optParams);
1137 return $this->call('list', array($params), "Google_Service_Calendar_CalendarList");
1141 * Updates an entry on the user's calendar list. This method supports patch
1142 * semantics. (calendarList.patch)
1144 * @param string $calendarId Calendar identifier.
1145 * @param Google_CalendarListEntry $postBody
1146 * @param array $optParams Optional parameters.
1148 * @opt_param bool colorRgbFormat Whether to use the foregroundColor and
1149 * backgroundColor fields to write the calendar colors (RGB). If this feature is
1150 * used, the index-based colorId field will be set to the best matching option
1151 * automatically. Optional. The default is False.
1152 * @return Google_Service_Calendar_CalendarListEntry
1154 public function patch($calendarId, Google_Service_Calendar_CalendarListEntry
$postBody, $optParams = array())
1156 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1157 $params = array_merge($params, $optParams);
1158 return $this->call('patch', array($params), "Google_Service_Calendar_CalendarListEntry");
1162 * Updates an entry on the user's calendar list. (calendarList.update)
1164 * @param string $calendarId Calendar identifier.
1165 * @param Google_CalendarListEntry $postBody
1166 * @param array $optParams Optional parameters.
1168 * @opt_param bool colorRgbFormat Whether to use the foregroundColor and
1169 * backgroundColor fields to write the calendar colors (RGB). If this feature is
1170 * used, the index-based colorId field will be set to the best matching option
1171 * automatically. Optional. The default is False.
1172 * @return Google_Service_Calendar_CalendarListEntry
1174 public function update($calendarId, Google_Service_Calendar_CalendarListEntry
$postBody, $optParams = array())
1176 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1177 $params = array_merge($params, $optParams);
1178 return $this->call('update', array($params), "Google_Service_Calendar_CalendarListEntry");
1182 * Watch for changes to CalendarList resources. (calendarList.watch)
1184 * @param Google_Channel $postBody
1185 * @param array $optParams Optional parameters.
1187 * @opt_param string syncToken Token obtained from the nextSyncToken field
1188 * returned on the last page of results from the previous list request. It makes
1189 * the result of this list request contain only entries that have changed since
1190 * then. If only read-only fields such as calendar properties or ACLs have
1191 * changed, the entry won't be returned. All entries deleted and hidden since
1192 * the previous list request will always be in the result set and it is not
1193 * allowed to set showDeleted neither showHidden to False. To ensure client
1194 * state consistency minAccessRole query parameter cannot be specified together
1195 * with nextSyncToken. If the syncToken expires, the server will respond with a
1196 * 410 GONE response code and the client should clear its storage and perform a
1197 * full synchronization without any syncToken. Learn more about incremental
1198 * synchronization. Optional. The default is to return all entries.
1199 * @opt_param bool showDeleted Whether to include deleted calendar list entries
1200 * in the result. Optional. The default is False.
1201 * @opt_param string minAccessRole The minimum access role for the user in the
1202 * returned entries. Optional. The default is no restriction.
1203 * @opt_param int maxResults Maximum number of entries returned on one result
1204 * page. By default the value is 100 entries. The page size can never be larger
1205 * than 250 entries. Optional.
1206 * @opt_param string pageToken Token specifying which result page to return.
1208 * @opt_param bool showHidden Whether to show hidden entries. Optional. The
1210 * @return Google_Service_Calendar_Channel
1212 public function watch(Google_Service_Calendar_Channel
$postBody, $optParams = array())
1214 $params = array('postBody' => $postBody);
1215 $params = array_merge($params, $optParams);
1216 return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
1221 * The "calendars" collection of methods.
1224 * $calendarService = new Google_Service_Calendar(...);
1225 * $calendars = $calendarService->calendars;
1228 class Google_Service_Calendar_Calendars_Resource
extends Google_Service_Resource
1232 * Clears a primary calendar. This operation deletes all events associated with
1233 * the primary calendar of an account. (calendars.clear)
1235 * @param string $calendarId Calendar identifier.
1236 * @param array $optParams Optional parameters.
1238 public function clear($calendarId, $optParams = array())
1240 $params = array('calendarId' => $calendarId);
1241 $params = array_merge($params, $optParams);
1242 return $this->call('clear', array($params));
1246 * Deletes a secondary calendar. Use calendars.clear for clearing all events on
1247 * primary calendars. (calendars.delete)
1249 * @param string $calendarId Calendar identifier.
1250 * @param array $optParams Optional parameters.
1252 public function delete($calendarId, $optParams = array())
1254 $params = array('calendarId' => $calendarId);
1255 $params = array_merge($params, $optParams);
1256 return $this->call('delete', array($params));
1260 * Returns metadata for a calendar. (calendars.get)
1262 * @param string $calendarId Calendar identifier.
1263 * @param array $optParams Optional parameters.
1264 * @return Google_Service_Calendar_Calendar
1266 public function get($calendarId, $optParams = array())
1268 $params = array('calendarId' => $calendarId);
1269 $params = array_merge($params, $optParams);
1270 return $this->call('get', array($params), "Google_Service_Calendar_Calendar");
1274 * Creates a secondary calendar. (calendars.insert)
1276 * @param Google_Calendar $postBody
1277 * @param array $optParams Optional parameters.
1278 * @return Google_Service_Calendar_Calendar
1280 public function insert(Google_Service_Calendar_Calendar
$postBody, $optParams = array())
1282 $params = array('postBody' => $postBody);
1283 $params = array_merge($params, $optParams);
1284 return $this->call('insert', array($params), "Google_Service_Calendar_Calendar");
1288 * Updates metadata for a calendar. This method supports patch semantics.
1291 * @param string $calendarId Calendar identifier.
1292 * @param Google_Calendar $postBody
1293 * @param array $optParams Optional parameters.
1294 * @return Google_Service_Calendar_Calendar
1296 public function patch($calendarId, Google_Service_Calendar_Calendar
$postBody, $optParams = array())
1298 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1299 $params = array_merge($params, $optParams);
1300 return $this->call('patch', array($params), "Google_Service_Calendar_Calendar");
1304 * Updates metadata for a calendar. (calendars.update)
1306 * @param string $calendarId Calendar identifier.
1307 * @param Google_Calendar $postBody
1308 * @param array $optParams Optional parameters.
1309 * @return Google_Service_Calendar_Calendar
1311 public function update($calendarId, Google_Service_Calendar_Calendar
$postBody, $optParams = array())
1313 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1314 $params = array_merge($params, $optParams);
1315 return $this->call('update', array($params), "Google_Service_Calendar_Calendar");
1320 * The "channels" collection of methods.
1323 * $calendarService = new Google_Service_Calendar(...);
1324 * $channels = $calendarService->channels;
1327 class Google_Service_Calendar_Channels_Resource
extends Google_Service_Resource
1331 * Stop watching resources through this channel (channels.stop)
1333 * @param Google_Channel $postBody
1334 * @param array $optParams Optional parameters.
1336 public function stop(Google_Service_Calendar_Channel
$postBody, $optParams = array())
1338 $params = array('postBody' => $postBody);
1339 $params = array_merge($params, $optParams);
1340 return $this->call('stop', array($params));
1345 * The "colors" collection of methods.
1348 * $calendarService = new Google_Service_Calendar(...);
1349 * $colors = $calendarService->colors;
1352 class Google_Service_Calendar_Colors_Resource
extends Google_Service_Resource
1356 * Returns the color definitions for calendars and events. (colors.get)
1358 * @param array $optParams Optional parameters.
1359 * @return Google_Service_Calendar_Colors
1361 public function get($optParams = array())
1364 $params = array_merge($params, $optParams);
1365 return $this->call('get', array($params), "Google_Service_Calendar_Colors");
1370 * The "events" collection of methods.
1373 * $calendarService = new Google_Service_Calendar(...);
1374 * $events = $calendarService->events;
1377 class Google_Service_Calendar_Events_Resource
extends Google_Service_Resource
1381 * Deletes an event. (events.delete)
1383 * @param string $calendarId Calendar identifier.
1384 * @param string $eventId Event identifier.
1385 * @param array $optParams Optional parameters.
1387 * @opt_param bool sendNotifications Whether to send notifications about the
1388 * deletion of the event. Optional. The default is False.
1390 public function delete($calendarId, $eventId, $optParams = array())
1392 $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
1393 $params = array_merge($params, $optParams);
1394 return $this->call('delete', array($params));
1398 * Returns an event. (events.get)
1400 * @param string $calendarId Calendar identifier.
1401 * @param string $eventId Event identifier.
1402 * @param array $optParams Optional parameters.
1404 * @opt_param string timeZone Time zone used in the response. Optional. The
1405 * default is the time zone of the calendar.
1406 * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
1407 * email field for the organizer, creator and attendees, even if no real email
1408 * is available (i.e. a generated, non-working value will be provided). The use
1409 * of this option is discouraged and should only be used by clients which cannot
1410 * handle the absence of an email address value in the mentioned places.
1411 * Optional. The default is False.
1412 * @opt_param int maxAttendees The maximum number of attendees to include in the
1413 * response. If there are more than the specified number of attendees, only the
1414 * participant is returned. Optional.
1415 * @return Google_Service_Calendar_Event
1417 public function get($calendarId, $eventId, $optParams = array())
1419 $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
1420 $params = array_merge($params, $optParams);
1421 return $this->call('get', array($params), "Google_Service_Calendar_Event");
1425 * Imports an event. This operation is used to add a private copy of an existing
1426 * event to a calendar. (events.import)
1428 * @param string $calendarId Calendar identifier.
1429 * @param Google_Event $postBody
1430 * @param array $optParams Optional parameters.
1432 * @opt_param bool supportsAttachments Whether API client performing operation
1433 * supports event attachments. Optional. The default is False.
1434 * @return Google_Service_Calendar_Event
1436 public function import($calendarId, Google_Service_Calendar_Event
$postBody, $optParams = array())
1438 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1439 $params = array_merge($params, $optParams);
1440 return $this->call('import', array($params), "Google_Service_Calendar_Event");
1444 * Creates an event. (events.insert)
1446 * @param string $calendarId Calendar identifier.
1447 * @param Google_Event $postBody
1448 * @param array $optParams Optional parameters.
1450 * @opt_param bool supportsAttachments Whether API client performing operation
1451 * supports event attachments. Optional. The default is False.
1452 * @opt_param bool sendNotifications Whether to send notifications about the
1453 * creation of the new event. Optional. The default is False.
1454 * @opt_param int maxAttendees The maximum number of attendees to include in the
1455 * response. If there are more than the specified number of attendees, only the
1456 * participant is returned. Optional.
1457 * @return Google_Service_Calendar_Event
1459 public function insert($calendarId, Google_Service_Calendar_Event
$postBody, $optParams = array())
1461 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1462 $params = array_merge($params, $optParams);
1463 return $this->call('insert', array($params), "Google_Service_Calendar_Event");
1467 * Returns instances of the specified recurring event. (events.instances)
1469 * @param string $calendarId Calendar identifier.
1470 * @param string $eventId Recurring event identifier.
1471 * @param array $optParams Optional parameters.
1473 * @opt_param bool showDeleted Whether to include deleted events (with status
1474 * equals "cancelled") in the result. Cancelled instances of recurring events
1475 * will still be included if singleEvents is False. Optional. The default is
1477 * @opt_param string timeMax Upper bound (exclusive) for an event's start time
1478 * to filter by. Optional. The default is not to filter by start time.
1479 * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
1480 * email field for the organizer, creator and attendees, even if no real email
1481 * is available (i.e. a generated, non-working value will be provided). The use
1482 * of this option is discouraged and should only be used by clients which cannot
1483 * handle the absence of an email address value in the mentioned places.
1484 * Optional. The default is False.
1485 * @opt_param int maxResults Maximum number of events returned on one result
1486 * page. By default the value is 250 events. The page size can never be larger
1487 * than 2500 events. Optional.
1488 * @opt_param string pageToken Token specifying which result page to return.
1490 * @opt_param string timeMin Lower bound (inclusive) for an event's end time to
1491 * filter by. Optional. The default is not to filter by end time.
1492 * @opt_param string timeZone Time zone used in the response. Optional. The
1493 * default is the time zone of the calendar.
1494 * @opt_param string originalStart The original start time of the instance in
1495 * the result. Optional.
1496 * @opt_param int maxAttendees The maximum number of attendees to include in the
1497 * response. If there are more than the specified number of attendees, only the
1498 * participant is returned. Optional.
1499 * @return Google_Service_Calendar_Events
1501 public function instances($calendarId, $eventId, $optParams = array())
1503 $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
1504 $params = array_merge($params, $optParams);
1505 return $this->call('instances', array($params), "Google_Service_Calendar_Events");
1509 * Returns events on the specified calendar. (events.listEvents)
1511 * @param string $calendarId Calendar identifier.
1512 * @param array $optParams Optional parameters.
1514 * @opt_param string orderBy The order of the events returned in the result.
1515 * Optional. The default is an unspecified, stable order.
1516 * @opt_param bool showHiddenInvitations Whether to include hidden invitations
1517 * in the result. Optional. The default is False.
1518 * @opt_param string syncToken Token obtained from the nextSyncToken field
1519 * returned on the last page of results from the previous list request. It makes
1520 * the result of this list request contain only entries that have changed since
1521 * then. All events deleted since the previous list request will always be in
1522 * the result set and it is not allowed to set showDeleted to False. There are
1523 * several query parameters that cannot be specified together with nextSyncToken
1524 * to ensure consistency of the client state.
1526 * These are: - iCalUID - orderBy - privateExtendedProperty - q -
1527 * sharedExtendedProperty - timeMin - timeMax - updatedMin If the syncToken
1528 * expires, the server will respond with a 410 GONE response code and the client
1529 * should clear its storage and perform a full synchronization without any
1530 * syncToken. Learn more about incremental synchronization. Optional. The
1531 * default is to return all entries.
1532 * @opt_param bool showDeleted Whether to include deleted events (with status
1533 * equals "cancelled") in the result. Cancelled instances of recurring events
1534 * (but not the underlying recurring event) will still be included if
1535 * showDeleted and singleEvents are both False. If showDeleted and singleEvents
1536 * are both True, only single instances of deleted events (but not the
1537 * underlying recurring events) are returned. Optional. The default is False.
1538 * @opt_param string iCalUID Specifies event ID in the iCalendar format to be
1539 * included in the response. Optional.
1540 * @opt_param string updatedMin Lower bound for an event's last modification
1541 * time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted
1542 * since this time will always be included regardless of showDeleted. Optional.
1543 * The default is not to filter by last modification time.
1544 * @opt_param bool singleEvents Whether to expand recurring events into
1545 * instances and only return single one-off events and instances of recurring
1546 * events, but not the underlying recurring events themselves. Optional. The
1548 * @opt_param string timeMax Upper bound (exclusive) for an event's start time
1549 * to filter by. Optional. The default is not to filter by start time.
1550 * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
1551 * email field for the organizer, creator and attendees, even if no real email
1552 * is available (i.e. a generated, non-working value will be provided). The use
1553 * of this option is discouraged and should only be used by clients which cannot
1554 * handle the absence of an email address value in the mentioned places.
1555 * Optional. The default is False.
1556 * @opt_param int maxResults Maximum number of events returned on one result
1557 * page. By default the value is 250 events. The page size can never be larger
1558 * than 2500 events. Optional.
1559 * @opt_param string q Free text search terms to find events that match these
1560 * terms in any field, except for extended properties. Optional.
1561 * @opt_param string pageToken Token specifying which result page to return.
1563 * @opt_param string timeMin Lower bound (inclusive) for an event's end time to
1564 * filter by. Optional. The default is not to filter by end time.
1565 * @opt_param string timeZone Time zone used in the response. Optional. The
1566 * default is the time zone of the calendar.
1567 * @opt_param string privateExtendedProperty Extended properties constraint
1568 * specified as propertyName=value. Matches only private properties. This
1569 * parameter might be repeated multiple times to return events that match all
1570 * given constraints.
1571 * @opt_param string sharedExtendedProperty Extended properties constraint
1572 * specified as propertyName=value. Matches only shared properties. This
1573 * parameter might be repeated multiple times to return events that match all
1574 * given constraints.
1575 * @opt_param int maxAttendees The maximum number of attendees to include in the
1576 * response. If there are more than the specified number of attendees, only the
1577 * participant is returned. Optional.
1578 * @return Google_Service_Calendar_Events
1580 public function listEvents($calendarId, $optParams = array())
1582 $params = array('calendarId' => $calendarId);
1583 $params = array_merge($params, $optParams);
1584 return $this->call('list', array($params), "Google_Service_Calendar_Events");
1588 * Moves an event to another calendar, i.e. changes an event's organizer.
1591 * @param string $calendarId Calendar identifier of the source calendar where
1592 * the event currently is on.
1593 * @param string $eventId Event identifier.
1594 * @param string $destination Calendar identifier of the target calendar where
1595 * the event is to be moved to.
1596 * @param array $optParams Optional parameters.
1598 * @opt_param bool sendNotifications Whether to send notifications about the
1599 * change of the event's organizer. Optional. The default is False.
1600 * @return Google_Service_Calendar_Event
1602 public function move($calendarId, $eventId, $destination, $optParams = array())
1604 $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'destination' => $destination);
1605 $params = array_merge($params, $optParams);
1606 return $this->call('move', array($params), "Google_Service_Calendar_Event");
1610 * Updates an event. This method supports patch semantics. (events.patch)
1612 * @param string $calendarId Calendar identifier.
1613 * @param string $eventId Event identifier.
1614 * @param Google_Event $postBody
1615 * @param array $optParams Optional parameters.
1617 * @opt_param bool sendNotifications Whether to send notifications about the
1618 * event update (e.g. attendee's responses, title changes, etc.). Optional. The
1620 * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
1621 * email field for the organizer, creator and attendees, even if no real email
1622 * is available (i.e. a generated, non-working value will be provided). The use
1623 * of this option is discouraged and should only be used by clients which cannot
1624 * handle the absence of an email address value in the mentioned places.
1625 * Optional. The default is False.
1626 * @opt_param bool supportsAttachments Whether API client performing operation
1627 * supports event attachments. Optional. The default is False.
1628 * @opt_param int maxAttendees The maximum number of attendees to include in the
1629 * response. If there are more than the specified number of attendees, only the
1630 * participant is returned. Optional.
1631 * @return Google_Service_Calendar_Event
1633 public function patch($calendarId, $eventId, Google_Service_Calendar_Event
$postBody, $optParams = array())
1635 $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody);
1636 $params = array_merge($params, $optParams);
1637 return $this->call('patch', array($params), "Google_Service_Calendar_Event");
1641 * Creates an event based on a simple text string. (events.quickAdd)
1643 * @param string $calendarId Calendar identifier.
1644 * @param string $text The text describing the event to be created.
1645 * @param array $optParams Optional parameters.
1647 * @opt_param bool sendNotifications Whether to send notifications about the
1648 * creation of the event. Optional. The default is False.
1649 * @return Google_Service_Calendar_Event
1651 public function quickAdd($calendarId, $text, $optParams = array())
1653 $params = array('calendarId' => $calendarId, 'text' => $text);
1654 $params = array_merge($params, $optParams);
1655 return $this->call('quickAdd', array($params), "Google_Service_Calendar_Event");
1659 * Updates an event. (events.update)
1661 * @param string $calendarId Calendar identifier.
1662 * @param string $eventId Event identifier.
1663 * @param Google_Event $postBody
1664 * @param array $optParams Optional parameters.
1666 * @opt_param bool sendNotifications Whether to send notifications about the
1667 * event update (e.g. attendee's responses, title changes, etc.). Optional. The
1669 * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
1670 * email field for the organizer, creator and attendees, even if no real email
1671 * is available (i.e. a generated, non-working value will be provided). The use
1672 * of this option is discouraged and should only be used by clients which cannot
1673 * handle the absence of an email address value in the mentioned places.
1674 * Optional. The default is False.
1675 * @opt_param bool supportsAttachments Whether API client performing operation
1676 * supports event attachments. Optional. The default is False.
1677 * @opt_param int maxAttendees The maximum number of attendees to include in the
1678 * response. If there are more than the specified number of attendees, only the
1679 * participant is returned. Optional.
1680 * @return Google_Service_Calendar_Event
1682 public function update($calendarId, $eventId, Google_Service_Calendar_Event
$postBody, $optParams = array())
1684 $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody);
1685 $params = array_merge($params, $optParams);
1686 return $this->call('update', array($params), "Google_Service_Calendar_Event");
1690 * Watch for changes to Events resources. (events.watch)
1692 * @param string $calendarId Calendar identifier.
1693 * @param Google_Channel $postBody
1694 * @param array $optParams Optional parameters.
1696 * @opt_param string orderBy The order of the events returned in the result.
1697 * Optional. The default is an unspecified, stable order.
1698 * @opt_param bool showHiddenInvitations Whether to include hidden invitations
1699 * in the result. Optional. The default is False.
1700 * @opt_param string syncToken Token obtained from the nextSyncToken field
1701 * returned on the last page of results from the previous list request. It makes
1702 * the result of this list request contain only entries that have changed since
1703 * then. All events deleted since the previous list request will always be in
1704 * the result set and it is not allowed to set showDeleted to False. There are
1705 * several query parameters that cannot be specified together with nextSyncToken
1706 * to ensure consistency of the client state.
1708 * These are: - iCalUID - orderBy - privateExtendedProperty - q -
1709 * sharedExtendedProperty - timeMin - timeMax - updatedMin If the syncToken
1710 * expires, the server will respond with a 410 GONE response code and the client
1711 * should clear its storage and perform a full synchronization without any
1712 * syncToken. Learn more about incremental synchronization. Optional. The
1713 * default is to return all entries.
1714 * @opt_param bool showDeleted Whether to include deleted events (with status
1715 * equals "cancelled") in the result. Cancelled instances of recurring events
1716 * (but not the underlying recurring event) will still be included if
1717 * showDeleted and singleEvents are both False. If showDeleted and singleEvents
1718 * are both True, only single instances of deleted events (but not the
1719 * underlying recurring events) are returned. Optional. The default is False.
1720 * @opt_param string iCalUID Specifies event ID in the iCalendar format to be
1721 * included in the response. Optional.
1722 * @opt_param string updatedMin Lower bound for an event's last modification
1723 * time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted
1724 * since this time will always be included regardless of showDeleted. Optional.
1725 * The default is not to filter by last modification time.
1726 * @opt_param bool singleEvents Whether to expand recurring events into
1727 * instances and only return single one-off events and instances of recurring
1728 * events, but not the underlying recurring events themselves. Optional. The
1730 * @opt_param string timeMax Upper bound (exclusive) for an event's start time
1731 * to filter by. Optional. The default is not to filter by start time.
1732 * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
1733 * email field for the organizer, creator and attendees, even if no real email
1734 * is available (i.e. a generated, non-working value will be provided). The use
1735 * of this option is discouraged and should only be used by clients which cannot
1736 * handle the absence of an email address value in the mentioned places.
1737 * Optional. The default is False.
1738 * @opt_param int maxResults Maximum number of events returned on one result
1739 * page. By default the value is 250 events. The page size can never be larger
1740 * than 2500 events. Optional.
1741 * @opt_param string q Free text search terms to find events that match these
1742 * terms in any field, except for extended properties. Optional.
1743 * @opt_param string pageToken Token specifying which result page to return.
1745 * @opt_param string timeMin Lower bound (inclusive) for an event's end time to
1746 * filter by. Optional. The default is not to filter by end time.
1747 * @opt_param string timeZone Time zone used in the response. Optional. The
1748 * default is the time zone of the calendar.
1749 * @opt_param string privateExtendedProperty Extended properties constraint
1750 * specified as propertyName=value. Matches only private properties. This
1751 * parameter might be repeated multiple times to return events that match all
1752 * given constraints.
1753 * @opt_param string sharedExtendedProperty Extended properties constraint
1754 * specified as propertyName=value. Matches only shared properties. This
1755 * parameter might be repeated multiple times to return events that match all
1756 * given constraints.
1757 * @opt_param int maxAttendees The maximum number of attendees to include in the
1758 * response. If there are more than the specified number of attendees, only the
1759 * participant is returned. Optional.
1760 * @return Google_Service_Calendar_Channel
1762 public function watch($calendarId, Google_Service_Calendar_Channel
$postBody, $optParams = array())
1764 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1765 $params = array_merge($params, $optParams);
1766 return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
1771 * The "freebusy" collection of methods.
1774 * $calendarService = new Google_Service_Calendar(...);
1775 * $freebusy = $calendarService->freebusy;
1778 class Google_Service_Calendar_Freebusy_Resource
extends Google_Service_Resource
1782 * Returns free/busy information for a set of calendars. (freebusy.query)
1784 * @param Google_FreeBusyRequest $postBody
1785 * @param array $optParams Optional parameters.
1786 * @return Google_Service_Calendar_FreeBusyResponse
1788 public function query(Google_Service_Calendar_FreeBusyRequest
$postBody, $optParams = array())
1790 $params = array('postBody' => $postBody);
1791 $params = array_merge($params, $optParams);
1792 return $this->call('query', array($params), "Google_Service_Calendar_FreeBusyResponse");
1797 * The "settings" collection of methods.
1800 * $calendarService = new Google_Service_Calendar(...);
1801 * $settings = $calendarService->settings;
1804 class Google_Service_Calendar_Settings_Resource
extends Google_Service_Resource
1808 * Returns a single user setting. (settings.get)
1810 * @param string $setting The id of the user setting.
1811 * @param array $optParams Optional parameters.
1812 * @return Google_Service_Calendar_Setting
1814 public function get($setting, $optParams = array())
1816 $params = array('setting' => $setting);
1817 $params = array_merge($params, $optParams);
1818 return $this->call('get', array($params), "Google_Service_Calendar_Setting");
1822 * Returns all user settings for the authenticated user. (settings.listSettings)
1824 * @param array $optParams Optional parameters.
1826 * @opt_param string pageToken Token specifying which result page to return.
1828 * @opt_param int maxResults Maximum number of entries returned on one result
1829 * page. By default the value is 100 entries. The page size can never be larger
1830 * than 250 entries. Optional.
1831 * @opt_param string syncToken Token obtained from the nextSyncToken field
1832 * returned on the last page of results from the previous list request. It makes
1833 * the result of this list request contain only entries that have changed since
1834 * then. If the syncToken expires, the server will respond with a 410 GONE
1835 * response code and the client should clear its storage and perform a full
1836 * synchronization without any syncToken. Learn more about incremental
1837 * synchronization. Optional. The default is to return all entries.
1838 * @return Google_Service_Calendar_Settings
1840 public function listSettings($optParams = array())
1843 $params = array_merge($params, $optParams);
1844 return $this->call('list', array($params), "Google_Service_Calendar_Settings");
1848 * Watch for changes to Settings resources. (settings.watch)
1850 * @param Google_Channel $postBody
1851 * @param array $optParams Optional parameters.
1853 * @opt_param string pageToken Token specifying which result page to return.
1855 * @opt_param int maxResults Maximum number of entries returned on one result
1856 * page. By default the value is 100 entries. The page size can never be larger
1857 * than 250 entries. Optional.
1858 * @opt_param string syncToken Token obtained from the nextSyncToken field
1859 * returned on the last page of results from the previous list request. It makes
1860 * the result of this list request contain only entries that have changed since
1861 * then. If the syncToken expires, the server will respond with a 410 GONE
1862 * response code and the client should clear its storage and perform a full
1863 * synchronization without any syncToken. Learn more about incremental
1864 * synchronization. Optional. The default is to return all entries.
1865 * @return Google_Service_Calendar_Channel
1867 public function watch(Google_Service_Calendar_Channel
$postBody, $optParams = array())
1869 $params = array('postBody' => $postBody);
1870 $params = array_merge($params, $optParams);
1871 return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
1878 class Google_Service_Calendar_Acl
extends Google_Collection
1880 protected $collection_key = 'items';
1881 protected $internal_gapi_mappings = array(
1884 protected $itemsType = 'Google_Service_Calendar_AclRule';
1885 protected $itemsDataType = 'array';
1887 public $nextPageToken;
1888 public $nextSyncToken;
1891 public function setEtag($etag)
1893 $this->etag
= $etag;
1895 public function getEtag()
1899 public function setItems($items)
1901 $this->items
= $items;
1903 public function getItems()
1905 return $this->items
;
1907 public function setKind($kind)
1909 $this->kind
= $kind;
1911 public function getKind()
1915 public function setNextPageToken($nextPageToken)
1917 $this->nextPageToken
= $nextPageToken;
1919 public function getNextPageToken()
1921 return $this->nextPageToken
;
1923 public function setNextSyncToken($nextSyncToken)
1925 $this->nextSyncToken
= $nextSyncToken;
1927 public function getNextSyncToken()
1929 return $this->nextSyncToken
;
1933 class Google_Service_Calendar_AclRule
extends Google_Model
1935 protected $internal_gapi_mappings = array(
1941 protected $scopeType = 'Google_Service_Calendar_AclRuleScope';
1942 protected $scopeDataType = '';
1945 public function setEtag($etag)
1947 $this->etag
= $etag;
1949 public function getEtag()
1953 public function setId($id)
1957 public function getId()
1961 public function setKind($kind)
1963 $this->kind
= $kind;
1965 public function getKind()
1969 public function setRole($role)
1971 $this->role
= $role;
1973 public function getRole()
1977 public function setScope(Google_Service_Calendar_AclRuleScope
$scope)
1979 $this->scope
= $scope;
1981 public function getScope()
1983 return $this->scope
;
1987 class Google_Service_Calendar_AclRuleScope
extends Google_Model
1989 protected $internal_gapi_mappings = array(
1995 public function setType($type)
1997 $this->type
= $type;
1999 public function getType()
2003 public function setValue($value)
2005 $this->value
= $value;
2007 public function getValue()
2009 return $this->value
;
2013 class Google_Service_Calendar_Calendar
extends Google_Model
2015 protected $internal_gapi_mappings = array(
2017 public $description;
2026 public function setDescription($description)
2028 $this->description
= $description;
2030 public function getDescription()
2032 return $this->description
;
2034 public function setEtag($etag)
2036 $this->etag
= $etag;
2038 public function getEtag()
2042 public function setId($id)
2046 public function getId()
2050 public function setKind($kind)
2052 $this->kind
= $kind;
2054 public function getKind()
2058 public function setLocation($location)
2060 $this->location
= $location;
2062 public function getLocation()
2064 return $this->location
;
2066 public function setSummary($summary)
2068 $this->summary
= $summary;
2070 public function getSummary()
2072 return $this->summary
;
2074 public function setTimeZone($timeZone)
2076 $this->timeZone
= $timeZone;
2078 public function getTimeZone()
2080 return $this->timeZone
;
2084 class Google_Service_Calendar_CalendarList
extends Google_Collection
2086 protected $collection_key = 'items';
2087 protected $internal_gapi_mappings = array(
2090 protected $itemsType = 'Google_Service_Calendar_CalendarListEntry';
2091 protected $itemsDataType = 'array';
2093 public $nextPageToken;
2094 public $nextSyncToken;
2097 public function setEtag($etag)
2099 $this->etag
= $etag;
2101 public function getEtag()
2105 public function setItems($items)
2107 $this->items
= $items;
2109 public function getItems()
2111 return $this->items
;
2113 public function setKind($kind)
2115 $this->kind
= $kind;
2117 public function getKind()
2121 public function setNextPageToken($nextPageToken)
2123 $this->nextPageToken
= $nextPageToken;
2125 public function getNextPageToken()
2127 return $this->nextPageToken
;
2129 public function setNextSyncToken($nextSyncToken)
2131 $this->nextSyncToken
= $nextSyncToken;
2133 public function getNextSyncToken()
2135 return $this->nextSyncToken
;
2139 class Google_Service_Calendar_CalendarListEntry
extends Google_Collection
2141 protected $collection_key = 'defaultReminders';
2142 protected $internal_gapi_mappings = array(
2145 public $backgroundColor;
2147 protected $defaultRemindersType = 'Google_Service_Calendar_EventReminder';
2148 protected $defaultRemindersDataType = 'array';
2150 public $description;
2152 public $foregroundColor;
2157 protected $notificationSettingsType = 'Google_Service_Calendar_CalendarListEntryNotificationSettings';
2158 protected $notificationSettingsDataType = '';
2162 public $summaryOverride;
2166 public function setAccessRole($accessRole)
2168 $this->accessRole
= $accessRole;
2170 public function getAccessRole()
2172 return $this->accessRole
;
2174 public function setBackgroundColor($backgroundColor)
2176 $this->backgroundColor
= $backgroundColor;
2178 public function getBackgroundColor()
2180 return $this->backgroundColor
;
2182 public function setColorId($colorId)
2184 $this->colorId
= $colorId;
2186 public function getColorId()
2188 return $this->colorId
;
2190 public function setDefaultReminders($defaultReminders)
2192 $this->defaultReminders
= $defaultReminders;
2194 public function getDefaultReminders()
2196 return $this->defaultReminders
;
2198 public function setDeleted($deleted)
2200 $this->deleted
= $deleted;
2202 public function getDeleted()
2204 return $this->deleted
;
2206 public function setDescription($description)
2208 $this->description
= $description;
2210 public function getDescription()
2212 return $this->description
;
2214 public function setEtag($etag)
2216 $this->etag
= $etag;
2218 public function getEtag()
2222 public function setForegroundColor($foregroundColor)
2224 $this->foregroundColor
= $foregroundColor;
2226 public function getForegroundColor()
2228 return $this->foregroundColor
;
2230 public function setHidden($hidden)
2232 $this->hidden
= $hidden;
2234 public function getHidden()
2236 return $this->hidden
;
2238 public function setId($id)
2242 public function getId()
2246 public function setKind($kind)
2248 $this->kind
= $kind;
2250 public function getKind()
2254 public function setLocation($location)
2256 $this->location
= $location;
2258 public function getLocation()
2260 return $this->location
;
2262 public function setNotificationSettings(Google_Service_Calendar_CalendarListEntryNotificationSettings
$notificationSettings)
2264 $this->notificationSettings
= $notificationSettings;
2266 public function getNotificationSettings()
2268 return $this->notificationSettings
;
2270 public function setPrimary($primary)
2272 $this->primary
= $primary;
2274 public function getPrimary()
2276 return $this->primary
;
2278 public function setSelected($selected)
2280 $this->selected
= $selected;
2282 public function getSelected()
2284 return $this->selected
;
2286 public function setSummary($summary)
2288 $this->summary
= $summary;
2290 public function getSummary()
2292 return $this->summary
;
2294 public function setSummaryOverride($summaryOverride)
2296 $this->summaryOverride
= $summaryOverride;
2298 public function getSummaryOverride()
2300 return $this->summaryOverride
;
2302 public function setTimeZone($timeZone)
2304 $this->timeZone
= $timeZone;
2306 public function getTimeZone()
2308 return $this->timeZone
;
2312 class Google_Service_Calendar_CalendarListEntryNotificationSettings
extends Google_Collection
2314 protected $collection_key = 'notifications';
2315 protected $internal_gapi_mappings = array(
2317 protected $notificationsType = 'Google_Service_Calendar_CalendarNotification';
2318 protected $notificationsDataType = 'array';
2321 public function setNotifications($notifications)
2323 $this->notifications
= $notifications;
2325 public function getNotifications()
2327 return $this->notifications
;
2331 class Google_Service_Calendar_CalendarNotification
extends Google_Model
2333 protected $internal_gapi_mappings = array(
2339 public function setMethod($method)
2341 $this->method
= $method;
2343 public function getMethod()
2345 return $this->method
;
2347 public function setType($type)
2349 $this->type
= $type;
2351 public function getType()
2357 class Google_Service_Calendar_Channel
extends Google_Model
2359 protected $internal_gapi_mappings = array(
2368 public $resourceUri;
2373 public function setAddress($address)
2375 $this->address
= $address;
2377 public function getAddress()
2379 return $this->address
;
2381 public function setExpiration($expiration)
2383 $this->expiration
= $expiration;
2385 public function getExpiration()
2387 return $this->expiration
;
2389 public function setId($id)
2393 public function getId()
2397 public function setKind($kind)
2399 $this->kind
= $kind;
2401 public function getKind()
2405 public function setParams($params)
2407 $this->params
= $params;
2409 public function getParams()
2411 return $this->params
;
2413 public function setPayload($payload)
2415 $this->payload
= $payload;
2417 public function getPayload()
2419 return $this->payload
;
2421 public function setResourceId($resourceId)
2423 $this->resourceId
= $resourceId;
2425 public function getResourceId()
2427 return $this->resourceId
;
2429 public function setResourceUri($resourceUri)
2431 $this->resourceUri
= $resourceUri;
2433 public function getResourceUri()
2435 return $this->resourceUri
;
2437 public function setToken($token)
2439 $this->token
= $token;
2441 public function getToken()
2443 return $this->token
;
2445 public function setType($type)
2447 $this->type
= $type;
2449 public function getType()
2455 class Google_Service_Calendar_ChannelParams
extends Google_Model
2459 class Google_Service_Calendar_ColorDefinition
extends Google_Model
2461 protected $internal_gapi_mappings = array(
2467 public function setBackground($background)
2469 $this->background
= $background;
2471 public function getBackground()
2473 return $this->background
;
2475 public function setForeground($foreground)
2477 $this->foreground
= $foreground;
2479 public function getForeground()
2481 return $this->foreground
;
2485 class Google_Service_Calendar_Colors
extends Google_Model
2487 protected $internal_gapi_mappings = array(
2489 protected $calendarType = 'Google_Service_Calendar_ColorDefinition';
2490 protected $calendarDataType = 'map';
2491 protected $eventType = 'Google_Service_Calendar_ColorDefinition';
2492 protected $eventDataType = 'map';
2497 public function setCalendar($calendar)
2499 $this->calendar
= $calendar;
2501 public function getCalendar()
2503 return $this->calendar
;
2505 public function setEvent($event)
2507 $this->event
= $event;
2509 public function getEvent()
2511 return $this->event
;
2513 public function setKind($kind)
2515 $this->kind
= $kind;
2517 public function getKind()
2521 public function setUpdated($updated)
2523 $this->updated
= $updated;
2525 public function getUpdated()
2527 return $this->updated
;
2531 class Google_Service_Calendar_ColorsCalendar
extends Google_Model
2535 class Google_Service_Calendar_ColorsEvent
extends Google_Model
2539 class Google_Service_Calendar_Error
extends Google_Model
2541 protected $internal_gapi_mappings = array(
2547 public function setDomain($domain)
2549 $this->domain
= $domain;
2551 public function getDomain()
2553 return $this->domain
;
2555 public function setReason($reason)
2557 $this->reason
= $reason;
2559 public function getReason()
2561 return $this->reason
;
2565 class Google_Service_Calendar_Event
extends Google_Collection
2567 protected $collection_key = 'recurrence';
2568 protected $internal_gapi_mappings = array(
2570 public $anyoneCanAddSelf;
2571 protected $attachmentsType = 'Google_Service_Calendar_EventAttachment';
2572 protected $attachmentsDataType = 'array';
2573 protected $attendeesType = 'Google_Service_Calendar_EventAttendee';
2574 protected $attendeesDataType = 'array';
2575 public $attendeesOmitted;
2578 protected $creatorType = 'Google_Service_Calendar_EventCreator';
2579 protected $creatorDataType = '';
2580 public $description;
2581 protected $endType = 'Google_Service_Calendar_EventDateTime';
2582 protected $endDataType = '';
2583 public $endTimeUnspecified;
2585 protected $extendedPropertiesType = 'Google_Service_Calendar_EventExtendedProperties';
2586 protected $extendedPropertiesDataType = '';
2587 protected $gadgetType = 'Google_Service_Calendar_EventGadget';
2588 protected $gadgetDataType = '';
2589 public $guestsCanInviteOthers;
2590 public $guestsCanModify;
2591 public $guestsCanSeeOtherGuests;
2592 public $hangoutLink;
2599 protected $organizerType = 'Google_Service_Calendar_EventOrganizer';
2600 protected $organizerDataType = '';
2601 protected $originalStartTimeType = 'Google_Service_Calendar_EventDateTime';
2602 protected $originalStartTimeDataType = '';
2603 public $privateCopy;
2605 public $recurringEventId;
2606 protected $remindersType = 'Google_Service_Calendar_EventReminders';
2607 protected $remindersDataType = '';
2609 protected $sourceType = 'Google_Service_Calendar_EventSource';
2610 protected $sourceDataType = '';
2611 protected $startType = 'Google_Service_Calendar_EventDateTime';
2612 protected $startDataType = '';
2615 public $transparency;
2620 public function setAnyoneCanAddSelf($anyoneCanAddSelf)
2622 $this->anyoneCanAddSelf
= $anyoneCanAddSelf;
2624 public function getAnyoneCanAddSelf()
2626 return $this->anyoneCanAddSelf
;
2628 public function setAttachments($attachments)
2630 $this->attachments
= $attachments;
2632 public function getAttachments()
2634 return $this->attachments
;
2636 public function setAttendees($attendees)
2638 $this->attendees
= $attendees;
2640 public function getAttendees()
2642 return $this->attendees
;
2644 public function setAttendeesOmitted($attendeesOmitted)
2646 $this->attendeesOmitted
= $attendeesOmitted;
2648 public function getAttendeesOmitted()
2650 return $this->attendeesOmitted
;
2652 public function setColorId($colorId)
2654 $this->colorId
= $colorId;
2656 public function getColorId()
2658 return $this->colorId
;
2660 public function setCreated($created)
2662 $this->created
= $created;
2664 public function getCreated()
2666 return $this->created
;
2668 public function setCreator(Google_Service_Calendar_EventCreator
$creator)
2670 $this->creator
= $creator;
2672 public function getCreator()
2674 return $this->creator
;
2676 public function setDescription($description)
2678 $this->description
= $description;
2680 public function getDescription()
2682 return $this->description
;
2684 public function setEnd(Google_Service_Calendar_EventDateTime
$end)
2688 public function getEnd()
2692 public function setEndTimeUnspecified($endTimeUnspecified)
2694 $this->endTimeUnspecified
= $endTimeUnspecified;
2696 public function getEndTimeUnspecified()
2698 return $this->endTimeUnspecified
;
2700 public function setEtag($etag)
2702 $this->etag
= $etag;
2704 public function getEtag()
2708 public function setExtendedProperties(Google_Service_Calendar_EventExtendedProperties
$extendedProperties)
2710 $this->extendedProperties
= $extendedProperties;
2712 public function getExtendedProperties()
2714 return $this->extendedProperties
;
2716 public function setGadget(Google_Service_Calendar_EventGadget
$gadget)
2718 $this->gadget
= $gadget;
2720 public function getGadget()
2722 return $this->gadget
;
2724 public function setGuestsCanInviteOthers($guestsCanInviteOthers)
2726 $this->guestsCanInviteOthers
= $guestsCanInviteOthers;
2728 public function getGuestsCanInviteOthers()
2730 return $this->guestsCanInviteOthers
;
2732 public function setGuestsCanModify($guestsCanModify)
2734 $this->guestsCanModify
= $guestsCanModify;
2736 public function getGuestsCanModify()
2738 return $this->guestsCanModify
;
2740 public function setGuestsCanSeeOtherGuests($guestsCanSeeOtherGuests)
2742 $this->guestsCanSeeOtherGuests
= $guestsCanSeeOtherGuests;
2744 public function getGuestsCanSeeOtherGuests()
2746 return $this->guestsCanSeeOtherGuests
;
2748 public function setHangoutLink($hangoutLink)
2750 $this->hangoutLink
= $hangoutLink;
2752 public function getHangoutLink()
2754 return $this->hangoutLink
;
2756 public function setHtmlLink($htmlLink)
2758 $this->htmlLink
= $htmlLink;
2760 public function getHtmlLink()
2762 return $this->htmlLink
;
2764 public function setICalUID($iCalUID)
2766 $this->iCalUID
= $iCalUID;
2768 public function getICalUID()
2770 return $this->iCalUID
;
2772 public function setId($id)
2776 public function getId()
2780 public function setKind($kind)
2782 $this->kind
= $kind;
2784 public function getKind()
2788 public function setLocation($location)
2790 $this->location
= $location;
2792 public function getLocation()
2794 return $this->location
;
2796 public function setLocked($locked)
2798 $this->locked
= $locked;
2800 public function getLocked()
2802 return $this->locked
;
2804 public function setOrganizer(Google_Service_Calendar_EventOrganizer
$organizer)
2806 $this->organizer
= $organizer;
2808 public function getOrganizer()
2810 return $this->organizer
;
2812 public function setOriginalStartTime(Google_Service_Calendar_EventDateTime
$originalStartTime)
2814 $this->originalStartTime
= $originalStartTime;
2816 public function getOriginalStartTime()
2818 return $this->originalStartTime
;
2820 public function setPrivateCopy($privateCopy)
2822 $this->privateCopy
= $privateCopy;
2824 public function getPrivateCopy()
2826 return $this->privateCopy
;
2828 public function setRecurrence($recurrence)
2830 $this->recurrence
= $recurrence;
2832 public function getRecurrence()
2834 return $this->recurrence
;
2836 public function setRecurringEventId($recurringEventId)
2838 $this->recurringEventId
= $recurringEventId;
2840 public function getRecurringEventId()
2842 return $this->recurringEventId
;
2844 public function setReminders(Google_Service_Calendar_EventReminders
$reminders)
2846 $this->reminders
= $reminders;
2848 public function getReminders()
2850 return $this->reminders
;
2852 public function setSequence($sequence)
2854 $this->sequence
= $sequence;
2856 public function getSequence()
2858 return $this->sequence
;
2860 public function setSource(Google_Service_Calendar_EventSource
$source)
2862 $this->source
= $source;
2864 public function getSource()
2866 return $this->source
;
2868 public function setStart(Google_Service_Calendar_EventDateTime
$start)
2870 $this->start
= $start;
2872 public function getStart()
2874 return $this->start
;
2876 public function setStatus($status)
2878 $this->status
= $status;
2880 public function getStatus()
2882 return $this->status
;
2884 public function setSummary($summary)
2886 $this->summary
= $summary;
2888 public function getSummary()
2890 return $this->summary
;
2892 public function setTransparency($transparency)
2894 $this->transparency
= $transparency;
2896 public function getTransparency()
2898 return $this->transparency
;
2900 public function setUpdated($updated)
2902 $this->updated
= $updated;
2904 public function getUpdated()
2906 return $this->updated
;
2908 public function setVisibility($visibility)
2910 $this->visibility
= $visibility;
2912 public function getVisibility()
2914 return $this->visibility
;
2918 class Google_Service_Calendar_EventAttachment
extends Google_Model
2920 protected $internal_gapi_mappings = array(
2928 public function setFileUrl($fileUrl)
2930 $this->fileUrl
= $fileUrl;
2932 public function getFileUrl()
2934 return $this->fileUrl
;
2936 public function setIconLink($iconLink)
2938 $this->iconLink
= $iconLink;
2940 public function getIconLink()
2942 return $this->iconLink
;
2944 public function setMimeType($mimeType)
2946 $this->mimeType
= $mimeType;
2948 public function getMimeType()
2950 return $this->mimeType
;
2952 public function setTitle($title)
2954 $this->title
= $title;
2956 public function getTitle()
2958 return $this->title
;
2962 class Google_Service_Calendar_EventAttendee
extends Google_Model
2964 protected $internal_gapi_mappings = array(
2966 public $additionalGuests;
2968 public $displayName;
2974 public $responseStatus;
2978 public function setAdditionalGuests($additionalGuests)
2980 $this->additionalGuests
= $additionalGuests;
2982 public function getAdditionalGuests()
2984 return $this->additionalGuests
;
2986 public function setComment($comment)
2988 $this->comment
= $comment;
2990 public function getComment()
2992 return $this->comment
;
2994 public function setDisplayName($displayName)
2996 $this->displayName
= $displayName;
2998 public function getDisplayName()
3000 return $this->displayName
;
3002 public function setEmail($email)
3004 $this->email
= $email;
3006 public function getEmail()
3008 return $this->email
;
3010 public function setId($id)
3014 public function getId()
3018 public function setOptional($optional)
3020 $this->optional
= $optional;
3022 public function getOptional()
3024 return $this->optional
;
3026 public function setOrganizer($organizer)
3028 $this->organizer
= $organizer;
3030 public function getOrganizer()
3032 return $this->organizer
;
3034 public function setResource($resource)
3036 $this->resource = $resource;
3038 public function getResource()
3040 return $this->resource;
3042 public function setResponseStatus($responseStatus)
3044 $this->responseStatus
= $responseStatus;
3046 public function getResponseStatus()
3048 return $this->responseStatus
;
3050 public function setSelf($self)
3052 $this->self
= $self;
3054 public function getSelf()
3060 class Google_Service_Calendar_EventCreator
extends Google_Model
3062 protected $internal_gapi_mappings = array(
3064 public $displayName;
3070 public function setDisplayName($displayName)
3072 $this->displayName
= $displayName;
3074 public function getDisplayName()
3076 return $this->displayName
;
3078 public function setEmail($email)
3080 $this->email
= $email;
3082 public function getEmail()
3084 return $this->email
;
3086 public function setId($id)
3090 public function getId()
3094 public function setSelf($self)
3096 $this->self
= $self;
3098 public function getSelf()
3104 class Google_Service_Calendar_EventDateTime
extends Google_Model
3106 protected $internal_gapi_mappings = array(
3113 public function setDate($date)
3115 $this->date
= $date;
3117 public function getDate()
3121 public function setDateTime($dateTime)
3123 $this->dateTime
= $dateTime;
3125 public function getDateTime()
3127 return $this->dateTime
;
3129 public function setTimeZone($timeZone)
3131 $this->timeZone
= $timeZone;
3133 public function getTimeZone()
3135 return $this->timeZone
;
3139 class Google_Service_Calendar_EventExtendedProperties
extends Google_Model
3141 protected $internal_gapi_mappings = array(
3147 public function setPrivate($private)
3149 $this->private = $private;
3151 public function getPrivate()
3153 return $this->private;
3155 public function setShared($shared)
3157 $this->shared
= $shared;
3159 public function getShared()
3161 return $this->shared
;
3165 class Google_Service_Calendar_EventExtendedPropertiesPrivate
extends Google_Model
3169 class Google_Service_Calendar_EventExtendedPropertiesShared
extends Google_Model
3173 class Google_Service_Calendar_EventGadget
extends Google_Model
3175 protected $internal_gapi_mappings = array(
3181 public $preferences;
3187 public function setDisplay($display)
3189 $this->display
= $display;
3191 public function getDisplay()
3193 return $this->display
;
3195 public function setHeight($height)
3197 $this->height
= $height;
3199 public function getHeight()
3201 return $this->height
;
3203 public function setIconLink($iconLink)
3205 $this->iconLink
= $iconLink;
3207 public function getIconLink()
3209 return $this->iconLink
;
3211 public function setLink($link)
3213 $this->link
= $link;
3215 public function getLink()
3219 public function setPreferences($preferences)
3221 $this->preferences
= $preferences;
3223 public function getPreferences()
3225 return $this->preferences
;
3227 public function setTitle($title)
3229 $this->title
= $title;
3231 public function getTitle()
3233 return $this->title
;
3235 public function setType($type)
3237 $this->type
= $type;
3239 public function getType()
3243 public function setWidth($width)
3245 $this->width
= $width;
3247 public function getWidth()
3249 return $this->width
;
3253 class Google_Service_Calendar_EventGadgetPreferences
extends Google_Model
3257 class Google_Service_Calendar_EventOrganizer
extends Google_Model
3259 protected $internal_gapi_mappings = array(
3261 public $displayName;
3267 public function setDisplayName($displayName)
3269 $this->displayName
= $displayName;
3271 public function getDisplayName()
3273 return $this->displayName
;
3275 public function setEmail($email)
3277 $this->email
= $email;
3279 public function getEmail()
3281 return $this->email
;
3283 public function setId($id)
3287 public function getId()
3291 public function setSelf($self)
3293 $this->self
= $self;
3295 public function getSelf()
3301 class Google_Service_Calendar_EventReminder
extends Google_Model
3303 protected $internal_gapi_mappings = array(
3309 public function setMethod($method)
3311 $this->method
= $method;
3313 public function getMethod()
3315 return $this->method
;
3317 public function setMinutes($minutes)
3319 $this->minutes
= $minutes;
3321 public function getMinutes()
3323 return $this->minutes
;
3327 class Google_Service_Calendar_EventReminders
extends Google_Collection
3329 protected $collection_key = 'overrides';
3330 protected $internal_gapi_mappings = array(
3332 protected $overridesType = 'Google_Service_Calendar_EventReminder';
3333 protected $overridesDataType = 'array';
3337 public function setOverrides($overrides)
3339 $this->overrides
= $overrides;
3341 public function getOverrides()
3343 return $this->overrides
;
3345 public function setUseDefault($useDefault)
3347 $this->useDefault
= $useDefault;
3349 public function getUseDefault()
3351 return $this->useDefault
;
3355 class Google_Service_Calendar_EventSource
extends Google_Model
3357 protected $internal_gapi_mappings = array(
3363 public function setTitle($title)
3365 $this->title
= $title;
3367 public function getTitle()
3369 return $this->title
;
3371 public function setUrl($url)
3375 public function getUrl()
3381 class Google_Service_Calendar_Events
extends Google_Collection
3383 protected $collection_key = 'items';
3384 protected $internal_gapi_mappings = array(
3387 protected $defaultRemindersType = 'Google_Service_Calendar_EventReminder';
3388 protected $defaultRemindersDataType = 'array';
3389 public $description;
3391 protected $itemsType = 'Google_Service_Calendar_Event';
3392 protected $itemsDataType = 'array';
3394 public $nextPageToken;
3395 public $nextSyncToken;
3401 public function setAccessRole($accessRole)
3403 $this->accessRole
= $accessRole;
3405 public function getAccessRole()
3407 return $this->accessRole
;
3409 public function setDefaultReminders($defaultReminders)
3411 $this->defaultReminders
= $defaultReminders;
3413 public function getDefaultReminders()
3415 return $this->defaultReminders
;
3417 public function setDescription($description)
3419 $this->description
= $description;
3421 public function getDescription()
3423 return $this->description
;
3425 public function setEtag($etag)
3427 $this->etag
= $etag;
3429 public function getEtag()
3433 public function setItems($items)
3435 $this->items
= $items;
3437 public function getItems()
3439 return $this->items
;
3441 public function setKind($kind)
3443 $this->kind
= $kind;
3445 public function getKind()
3449 public function setNextPageToken($nextPageToken)
3451 $this->nextPageToken
= $nextPageToken;
3453 public function getNextPageToken()
3455 return $this->nextPageToken
;
3457 public function setNextSyncToken($nextSyncToken)
3459 $this->nextSyncToken
= $nextSyncToken;
3461 public function getNextSyncToken()
3463 return $this->nextSyncToken
;
3465 public function setSummary($summary)
3467 $this->summary
= $summary;
3469 public function getSummary()
3471 return $this->summary
;
3473 public function setTimeZone($timeZone)
3475 $this->timeZone
= $timeZone;
3477 public function getTimeZone()
3479 return $this->timeZone
;
3481 public function setUpdated($updated)
3483 $this->updated
= $updated;
3485 public function getUpdated()
3487 return $this->updated
;
3491 class Google_Service_Calendar_FreeBusyCalendar
extends Google_Collection
3493 protected $collection_key = 'errors';
3494 protected $internal_gapi_mappings = array(
3496 protected $busyType = 'Google_Service_Calendar_TimePeriod';
3497 protected $busyDataType = 'array';
3498 protected $errorsType = 'Google_Service_Calendar_Error';
3499 protected $errorsDataType = 'array';
3502 public function setBusy($busy)
3504 $this->busy
= $busy;
3506 public function getBusy()
3510 public function setErrors($errors)
3512 $this->errors
= $errors;
3514 public function getErrors()
3516 return $this->errors
;
3520 class Google_Service_Calendar_FreeBusyGroup
extends Google_Collection
3522 protected $collection_key = 'errors';
3523 protected $internal_gapi_mappings = array(
3526 protected $errorsType = 'Google_Service_Calendar_Error';
3527 protected $errorsDataType = 'array';
3530 public function setCalendars($calendars)
3532 $this->calendars
= $calendars;
3534 public function getCalendars()
3536 return $this->calendars
;
3538 public function setErrors($errors)
3540 $this->errors
= $errors;
3542 public function getErrors()
3544 return $this->errors
;
3548 class Google_Service_Calendar_FreeBusyRequest
extends Google_Collection
3550 protected $collection_key = 'items';
3551 protected $internal_gapi_mappings = array(
3553 public $calendarExpansionMax;
3554 public $groupExpansionMax;
3555 protected $itemsType = 'Google_Service_Calendar_FreeBusyRequestItem';
3556 protected $itemsDataType = 'array';
3562 public function setCalendarExpansionMax($calendarExpansionMax)
3564 $this->calendarExpansionMax
= $calendarExpansionMax;
3566 public function getCalendarExpansionMax()
3568 return $this->calendarExpansionMax
;
3570 public function setGroupExpansionMax($groupExpansionMax)
3572 $this->groupExpansionMax
= $groupExpansionMax;
3574 public function getGroupExpansionMax()
3576 return $this->groupExpansionMax
;
3578 public function setItems($items)
3580 $this->items
= $items;
3582 public function getItems()
3584 return $this->items
;
3586 public function setTimeMax($timeMax)
3588 $this->timeMax
= $timeMax;
3590 public function getTimeMax()
3592 return $this->timeMax
;
3594 public function setTimeMin($timeMin)
3596 $this->timeMin
= $timeMin;
3598 public function getTimeMin()
3600 return $this->timeMin
;
3602 public function setTimeZone($timeZone)
3604 $this->timeZone
= $timeZone;
3606 public function getTimeZone()
3608 return $this->timeZone
;
3612 class Google_Service_Calendar_FreeBusyRequestItem
extends Google_Model
3614 protected $internal_gapi_mappings = array(
3619 public function setId($id)
3623 public function getId()
3629 class Google_Service_Calendar_FreeBusyResponse
extends Google_Model
3631 protected $internal_gapi_mappings = array(
3633 protected $calendarsType = 'Google_Service_Calendar_FreeBusyCalendar';
3634 protected $calendarsDataType = 'map';
3635 protected $groupsType = 'Google_Service_Calendar_FreeBusyGroup';
3636 protected $groupsDataType = 'map';
3642 public function setCalendars($calendars)
3644 $this->calendars
= $calendars;
3646 public function getCalendars()
3648 return $this->calendars
;
3650 public function setGroups($groups)
3652 $this->groups
= $groups;
3654 public function getGroups()
3656 return $this->groups
;
3658 public function setKind($kind)
3660 $this->kind
= $kind;
3662 public function getKind()
3666 public function setTimeMax($timeMax)
3668 $this->timeMax
= $timeMax;
3670 public function getTimeMax()
3672 return $this->timeMax
;
3674 public function setTimeMin($timeMin)
3676 $this->timeMin
= $timeMin;
3678 public function getTimeMin()
3680 return $this->timeMin
;
3684 class Google_Service_Calendar_FreeBusyResponseCalendars
extends Google_Model
3688 class Google_Service_Calendar_FreeBusyResponseGroups
extends Google_Model
3692 class Google_Service_Calendar_Setting
extends Google_Model
3694 protected $internal_gapi_mappings = array(
3702 public function setEtag($etag)
3704 $this->etag
= $etag;
3706 public function getEtag()
3710 public function setId($id)
3714 public function getId()
3718 public function setKind($kind)
3720 $this->kind
= $kind;
3722 public function getKind()
3726 public function setValue($value)
3728 $this->value
= $value;
3730 public function getValue()
3732 return $this->value
;
3736 class Google_Service_Calendar_Settings
extends Google_Collection
3738 protected $collection_key = 'items';
3739 protected $internal_gapi_mappings = array(
3742 protected $itemsType = 'Google_Service_Calendar_Setting';
3743 protected $itemsDataType = 'array';
3745 public $nextPageToken;
3746 public $nextSyncToken;
3749 public function setEtag($etag)
3751 $this->etag
= $etag;
3753 public function getEtag()
3757 public function setItems($items)
3759 $this->items
= $items;
3761 public function getItems()
3763 return $this->items
;
3765 public function setKind($kind)
3767 $this->kind
= $kind;
3769 public function getKind()
3773 public function setNextPageToken($nextPageToken)
3775 $this->nextPageToken
= $nextPageToken;
3777 public function getNextPageToken()
3779 return $this->nextPageToken
;
3781 public function setNextSyncToken($nextSyncToken)
3783 $this->nextSyncToken
= $nextSyncToken;
3785 public function getNextSyncToken()
3787 return $this->nextSyncToken
;
3791 class Google_Service_Calendar_TimePeriod
extends Google_Model
3793 protected $internal_gapi_mappings = array(
3799 public function setEnd($end)
3803 public function getEnd()
3807 public function setStart($start)
3809 $this->start
= $start;
3811 public function getStart()
3813 return $this->start
;