PluginProbe
UpdraftPlus: WP Backup & Migration Plugin / 1.16.5
UpdraftPlus: WP Backup & Migration Plugin v1.16.5
1.26.7 1.26.6 1.26.5 1.26.4 1.26.3 1.9.19 1.9.25 1.9.26 1.9.30 1.9.31 1.9.32 1.9.4 1.9.40 1.9.41 1.9.42 1.9.43 1.9.44 1.9.45 1.9.46 1.9.5 1.9.50 1.9.51 1.9.60 1.9.62 1.9.63 All 371 releases
updraftplus / includes / Google / Service / Directory.php

Directory.php in UpdraftPlus: WP Backup & Migration Plugin 1.16.5, at includes/Google/Service/Directory.php

5,565 lines 146.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 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
18 /**
19 * Service definition for Directory (directory_v1).
20 *
21 * <p>
22 * The Admin SDK Directory API lets you view and manage enterprise resources
23 * such as users and groups, administrative notifications, security features,
24 * and more.</p>
25 *
26 * <p>
27 * For more information about this service, see the API
28 * <a href="https://developers.google.com/admin-sdk/directory/" target="_blank">Documentation</a>
29 * </p>
30 *
31 * @author Google, Inc.
32 */
33 class Google_Service_Directory extends Google_Service
34 {
35 /** View and manage your Chrome OS devices' metadata. */
36 const ADMIN_DIRECTORY_DEVICE_CHROMEOS =
37 "https://www.googleapis.com/auth/admin.directory.device.chromeos";
38 /** View your Chrome OS devices' metadata. */
39 const ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY =
40 "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly";
41 /** View and manage your mobile devices' metadata. */
42 const ADMIN_DIRECTORY_DEVICE_MOBILE =
43 "https://www.googleapis.com/auth/admin.directory.device.mobile";
44 /** Manage your mobile devices by performing administrative tasks. */
45 const ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION =
46 "https://www.googleapis.com/auth/admin.directory.device.mobile.action";
47 /** View your mobile devices' metadata. */
48 const ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY =
49 "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly";
50 /** View and manage the provisioning of groups on your domain. */
51 const ADMIN_DIRECTORY_GROUP =
52 "https://www.googleapis.com/auth/admin.directory.group";
53 /** View and manage group subscriptions on your domain. */
54 const ADMIN_DIRECTORY_GROUP_MEMBER =
55 "https://www.googleapis.com/auth/admin.directory.group.member";
56 /** View group subscriptions on your domain. */
57 const ADMIN_DIRECTORY_GROUP_MEMBER_READONLY =
58 "https://www.googleapis.com/auth/admin.directory.group.member.readonly";
59 /** View groups on your domain. */
60 const ADMIN_DIRECTORY_GROUP_READONLY =
61 "https://www.googleapis.com/auth/admin.directory.group.readonly";
62 /** View and manage notifications received on your domain. */
63 const ADMIN_DIRECTORY_NOTIFICATIONS =
64 "https://www.googleapis.com/auth/admin.directory.notifications";
65 /** View and manage organization units on your domain. */
66 const ADMIN_DIRECTORY_ORGUNIT =
67 "https://www.googleapis.com/auth/admin.directory.orgunit";
68 /** View organization units on your domain. */
69 const ADMIN_DIRECTORY_ORGUNIT_READONLY =
70 "https://www.googleapis.com/auth/admin.directory.orgunit.readonly";
71 /** View and manage the provisioning of users on your domain. */
72 const ADMIN_DIRECTORY_USER =
73 "https://www.googleapis.com/auth/admin.directory.user";
74 /** View and manage user aliases on your domain. */
75 const ADMIN_DIRECTORY_USER_ALIAS =
76 "https://www.googleapis.com/auth/admin.directory.user.alias";
77 /** View user aliases on your domain. */
78 const ADMIN_DIRECTORY_USER_ALIAS_READONLY =
79 "https://www.googleapis.com/auth/admin.directory.user.alias.readonly";
80 /** View users on your domain. */
81 const ADMIN_DIRECTORY_USER_READONLY =
82 "https://www.googleapis.com/auth/admin.directory.user.readonly";
83 /** Manage data access permissions for users on your domain. */
84 const ADMIN_DIRECTORY_USER_SECURITY =
85 "https://www.googleapis.com/auth/admin.directory.user.security";
86 /** View and manage the provisioning of user schemas on your domain. */
87 const ADMIN_DIRECTORY_USERSCHEMA =
88 "https://www.googleapis.com/auth/admin.directory.userschema";
89 /** View user schemas on your domain. */
90 const ADMIN_DIRECTORY_USERSCHEMA_READONLY =
91 "https://www.googleapis.com/auth/admin.directory.userschema.readonly";
92
93 public $asps;
94 public $channels;
95 public $chromeosdevices;
96 public $groups;
97 public $groups_aliases;
98 public $members;
99 public $mobiledevices;
100 public $notifications;
101 public $orgunits;
102 public $schemas;
103 public $tokens;
104 public $users;
105 public $users_aliases;
106 public $users_photos;
107 public $verificationCodes;
108
109
110 /**
111 * Constructs the internal representation of the Directory service.
112 *
113 * @param Google_Client $client
114 */
115 public function __construct(Google_Client $client)
116 {
117 parent::__construct($client);
118 $this->servicePath = 'admin/directory/v1/';
119 $this->version = 'directory_v1';
120 $this->serviceName = 'admin';
121
122 $this->asps = new Google_Service_Directory_Asps_Resource(
123 $this,
124 $this->serviceName,
125 'asps',
126 array(
127 'methods' => array(
128 'delete' => array(
129 'path' => 'users/{userKey}/asps/{codeId}',
130 'httpMethod' => 'DELETE',
131 'parameters' => array(
132 'userKey' => array(
133 'location' => 'path',
134 'type' => 'string',
135 'required' => true,
136 ),
137 'codeId' => array(
138 'location' => 'path',
139 'type' => 'integer',
140 'required' => true,
141 ),
142 ),
143 ),'get' => array(
144 'path' => 'users/{userKey}/asps/{codeId}',
145 'httpMethod' => 'GET',
146 'parameters' => array(
147 'userKey' => array(
148 'location' => 'path',
149 'type' => 'string',
150 'required' => true,
151 ),
152 'codeId' => array(
153 'location' => 'path',
154 'type' => 'integer',
155 'required' => true,
156 ),
157 ),
158 ),'list' => array(
159 'path' => 'users/{userKey}/asps',
160 'httpMethod' => 'GET',
161 'parameters' => array(
162 'userKey' => array(
163 'location' => 'path',
164 'type' => 'string',
165 'required' => true,
166 ),
167 ),
168 ),
169 )
170 )
171 );
172 $this->channels = new Google_Service_Directory_Channels_Resource(
173 $this,
174 $this->serviceName,
175 'channels',
176 array(
177 'methods' => array(
178 'stop' => array(
179 'path' => '/admin/directory_v1/channels/stop',
180 'httpMethod' => 'POST',
181 'parameters' => array(),
182 ),
183 )
184 )
185 );
186 $this->chromeosdevices = new Google_Service_Directory_Chromeosdevices_Resource(
187 $this,
188 $this->serviceName,
189 'chromeosdevices',
190 array(
191 'methods' => array(
192 'get' => array(
193 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}',
194 'httpMethod' => 'GET',
195 'parameters' => array(
196 'customerId' => array(
197 'location' => 'path',
198 'type' => 'string',
199 'required' => true,
200 ),
201 'deviceId' => array(
202 'location' => 'path',
203 'type' => 'string',
204 'required' => true,
205 ),
206 'projection' => array(
207 'location' => 'query',
208 'type' => 'string',
209 ),
210 ),
211 ),'list' => array(
212 'path' => 'customer/{customerId}/devices/chromeos',
213 'httpMethod' => 'GET',
214 'parameters' => array(
215 'customerId' => array(
216 'location' => 'path',
217 'type' => 'string',
218 'required' => true,
219 ),
220 'orderBy' => array(
221 'location' => 'query',
222 'type' => 'string',
223 ),
224 'projection' => array(
225 'location' => 'query',
226 'type' => 'string',
227 ),
228 'maxResults' => array(
229 'location' => 'query',
230 'type' => 'integer',
231 ),
232 'pageToken' => array(
233 'location' => 'query',
234 'type' => 'string',
235 ),
236 'sortOrder' => array(
237 'location' => 'query',
238 'type' => 'string',
239 ),
240 'query' => array(
241 'location' => 'query',
242 'type' => 'string',
243 ),
244 ),
245 ),'patch' => array(
246 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}',
247 'httpMethod' => 'PATCH',
248 'parameters' => array(
249 'customerId' => array(
250 'location' => 'path',
251 'type' => 'string',
252 'required' => true,
253 ),
254 'deviceId' => array(
255 'location' => 'path',
256 'type' => 'string',
257 'required' => true,
258 ),
259 'projection' => array(
260 'location' => 'query',
261 'type' => 'string',
262 ),
263 ),
264 ),'update' => array(
265 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}',
266 'httpMethod' => 'PUT',
267 'parameters' => array(
268 'customerId' => array(
269 'location' => 'path',
270 'type' => 'string',
271 'required' => true,
272 ),
273 'deviceId' => array(
274 'location' => 'path',
275 'type' => 'string',
276 'required' => true,
277 ),
278 'projection' => array(
279 'location' => 'query',
280 'type' => 'string',
281 ),
282 ),
283 ),
284 )
285 )
286 );
287 $this->groups = new Google_Service_Directory_Groups_Resource(
288 $this,
289 $this->serviceName,
290 'groups',
291 array(
292 'methods' => array(
293 'delete' => array(
294 'path' => 'groups/{groupKey}',
295 'httpMethod' => 'DELETE',
296 'parameters' => array(
297 'groupKey' => array(
298 'location' => 'path',
299 'type' => 'string',
300 'required' => true,
301 ),
302 ),
303 ),'get' => array(
304 'path' => 'groups/{groupKey}',
305 'httpMethod' => 'GET',
306 'parameters' => array(
307 'groupKey' => array(
308 'location' => 'path',
309 'type' => 'string',
310 'required' => true,
311 ),
312 ),
313 ),'insert' => array(
314 'path' => 'groups',
315 'httpMethod' => 'POST',
316 'parameters' => array(),
317 ),'list' => array(
318 'path' => 'groups',
319 'httpMethod' => 'GET',
320 'parameters' => array(
321 'customer' => array(
322 'location' => 'query',
323 'type' => 'string',
324 ),
325 'pageToken' => array(
326 'location' => 'query',
327 'type' => 'string',
328 ),
329 'domain' => array(
330 'location' => 'query',
331 'type' => 'string',
332 ),
333 'maxResults' => array(
334 'location' => 'query',
335 'type' => 'integer',
336 ),
337 'userKey' => array(
338 'location' => 'query',
339 'type' => 'string',
340 ),
341 ),
342 ),'patch' => array(
343 'path' => 'groups/{groupKey}',
344 'httpMethod' => 'PATCH',
345 'parameters' => array(
346 'groupKey' => array(
347 'location' => 'path',
348 'type' => 'string',
349 'required' => true,
350 ),
351 ),
352 ),'update' => array(
353 'path' => 'groups/{groupKey}',
354 'httpMethod' => 'PUT',
355 'parameters' => array(
356 'groupKey' => array(
357 'location' => 'path',
358 'type' => 'string',
359 'required' => true,
360 ),
361 ),
362 ),
363 )
364 )
365 );
366 $this->groups_aliases = new Google_Service_Directory_GroupsAliases_Resource(
367 $this,
368 $this->serviceName,
369 'aliases',
370 array(
371 'methods' => array(
372 'delete' => array(
373 'path' => 'groups/{groupKey}/aliases/{alias}',
374 'httpMethod' => 'DELETE',
375 'parameters' => array(
376 'groupKey' => array(
377 'location' => 'path',
378 'type' => 'string',
379 'required' => true,
380 ),
381 'alias' => array(
382 'location' => 'path',
383 'type' => 'string',
384 'required' => true,
385 ),
386 ),
387 ),'insert' => array(
388 'path' => 'groups/{groupKey}/aliases',
389 'httpMethod' => 'POST',
390 'parameters' => array(
391 'groupKey' => array(
392 'location' => 'path',
393 'type' => 'string',
394 'required' => true,
395 ),
396 ),
397 ),'list' => array(
398 'path' => 'groups/{groupKey}/aliases',
399 'httpMethod' => 'GET',
400 'parameters' => array(
401 'groupKey' => array(
402 'location' => 'path',
403 'type' => 'string',
404 'required' => true,
405 ),
406 ),
407 ),
408 )
409 )
410 );
411 $this->members = new Google_Service_Directory_Members_Resource(
412 $this,
413 $this->serviceName,
414 'members',
415 array(
416 'methods' => array(
417 'delete' => array(
418 'path' => 'groups/{groupKey}/members/{memberKey}',
419 'httpMethod' => 'DELETE',
420 'parameters' => array(
421 'groupKey' => array(
422 'location' => 'path',
423 'type' => 'string',
424 'required' => true,
425 ),
426 'memberKey' => array(
427 'location' => 'path',
428 'type' => 'string',
429 'required' => true,
430 ),
431 ),
432 ),'get' => array(
433 'path' => 'groups/{groupKey}/members/{memberKey}',
434 'httpMethod' => 'GET',
435 'parameters' => array(
436 'groupKey' => array(
437 'location' => 'path',
438 'type' => 'string',
439 'required' => true,
440 ),
441 'memberKey' => array(
442 'location' => 'path',
443 'type' => 'string',
444 'required' => true,
445 ),
446 ),
447 ),'insert' => array(
448 'path' => 'groups/{groupKey}/members',
449 'httpMethod' => 'POST',
450 'parameters' => array(
451 'groupKey' => array(
452 'location' => 'path',
453 'type' => 'string',
454 'required' => true,
455 ),
456 ),
457 ),'list' => array(
458 'path' => 'groups/{groupKey}/members',
459 'httpMethod' => 'GET',
460 'parameters' => array(
461 'groupKey' => array(
462 'location' => 'path',
463 'type' => 'string',
464 'required' => true,
465 ),
466 'pageToken' => array(
467 'location' => 'query',
468 'type' => 'string',
469 ),
470 'roles' => array(
471 'location' => 'query',
472 'type' => 'string',
473 ),
474 'maxResults' => array(
475 'location' => 'query',
476 'type' => 'integer',
477 ),
478 ),
479 ),'patch' => array(
480 'path' => 'groups/{groupKey}/members/{memberKey}',
481 'httpMethod' => 'PATCH',
482 'parameters' => array(
483 'groupKey' => array(
484 'location' => 'path',
485 'type' => 'string',
486 'required' => true,
487 ),
488 'memberKey' => array(
489 'location' => 'path',
490 'type' => 'string',
491 'required' => true,
492 ),
493 ),
494 ),'update' => array(
495 'path' => 'groups/{groupKey}/members/{memberKey}',
496 'httpMethod' => 'PUT',
497 'parameters' => array(
498 'groupKey' => array(
499 'location' => 'path',
500 'type' => 'string',
501 'required' => true,
502 ),
503 'memberKey' => array(
504 'location' => 'path',
505 'type' => 'string',
506 'required' => true,
507 ),
508 ),
509 ),
510 )
511 )
512 );
513 $this->mobiledevices = new Google_Service_Directory_Mobiledevices_Resource(
514 $this,
515 $this->serviceName,
516 'mobiledevices',
517 array(
518 'methods' => array(
519 'action' => array(
520 'path' => 'customer/{customerId}/devices/mobile/{resourceId}/action',
521 'httpMethod' => 'POST',
522 'parameters' => array(
523 'customerId' => array(
524 'location' => 'path',
525 'type' => 'string',
526 'required' => true,
527 ),
528 'resourceId' => array(
529 'location' => 'path',
530 'type' => 'string',
531 'required' => true,
532 ),
533 ),
534 ),'delete' => array(
535 'path' => 'customer/{customerId}/devices/mobile/{resourceId}',
536 'httpMethod' => 'DELETE',
537 'parameters' => array(
538 'customerId' => array(
539 'location' => 'path',
540 'type' => 'string',
541 'required' => true,
542 ),
543 'resourceId' => array(
544 'location' => 'path',
545 'type' => 'string',
546 'required' => true,
547 ),
548 ),
549 ),'get' => array(
550 'path' => 'customer/{customerId}/devices/mobile/{resourceId}',
551 'httpMethod' => 'GET',
552 'parameters' => array(
553 'customerId' => array(
554 'location' => 'path',
555 'type' => 'string',
556 'required' => true,
557 ),
558 'resourceId' => array(
559 'location' => 'path',
560 'type' => 'string',
561 'required' => true,
562 ),
563 'projection' => array(
564 'location' => 'query',
565 'type' => 'string',
566 ),
567 ),
568 ),'list' => array(
569 'path' => 'customer/{customerId}/devices/mobile',
570 'httpMethod' => 'GET',
571 'parameters' => array(
572 'customerId' => array(
573 'location' => 'path',
574 'type' => 'string',
575 'required' => true,
576 ),
577 'orderBy' => array(
578 'location' => 'query',
579 'type' => 'string',
580 ),
581 'projection' => array(
582 'location' => 'query',
583 'type' => 'string',
584 ),
585 'maxResults' => array(
586 'location' => 'query',
587 'type' => 'integer',
588 ),
589 'pageToken' => array(
590 'location' => 'query',
591 'type' => 'string',
592 ),
593 'sortOrder' => array(
594 'location' => 'query',
595 'type' => 'string',
596 ),
597 'query' => array(
598 'location' => 'query',
599 'type' => 'string',
600 ),
601 ),
602 ),
603 )
604 )
605 );
606 $this->notifications = new Google_Service_Directory_Notifications_Resource(
607 $this,
608 $this->serviceName,
609 'notifications',
610 array(
611 'methods' => array(
612 'delete' => array(
613 'path' => 'customer/{customer}/notifications/{notificationId}',
614 'httpMethod' => 'DELETE',
615 'parameters' => array(
616 'customer' => array(
617 'location' => 'path',
618 'type' => 'string',
619 'required' => true,
620 ),
621 'notificationId' => array(
622 'location' => 'path',
623 'type' => 'string',
624 'required' => true,
625 ),
626 ),
627 ),'get' => array(
628 'path' => 'customer/{customer}/notifications/{notificationId}',
629 'httpMethod' => 'GET',
630 'parameters' => array(
631 'customer' => array(
632 'location' => 'path',
633 'type' => 'string',
634 'required' => true,
635 ),
636 'notificationId' => array(
637 'location' => 'path',
638 'type' => 'string',
639 'required' => true,
640 ),
641 ),
642 ),'list' => array(
643 'path' => 'customer/{customer}/notifications',
644 'httpMethod' => 'GET',
645 'parameters' => array(
646 'customer' => array(
647 'location' => 'path',
648 'type' => 'string',
649 'required' => true,
650 ),
651 'pageToken' => array(
652 'location' => 'query',
653 'type' => 'string',
654 ),
655 'maxResults' => array(
656 'location' => 'query',
657 'type' => 'integer',
658 ),
659 'language' => array(
660 'location' => 'query',
661 'type' => 'string',
662 ),
663 ),
664 ),'patch' => array(
665 'path' => 'customer/{customer}/notifications/{notificationId}',
666 'httpMethod' => 'PATCH',
667 'parameters' => array(
668 'customer' => array(
669 'location' => 'path',
670 'type' => 'string',
671 'required' => true,
672 ),
673 'notificationId' => array(
674 'location' => 'path',
675 'type' => 'string',
676 'required' => true,
677 ),
678 ),
679 ),'update' => array(
680 'path' => 'customer/{customer}/notifications/{notificationId}',
681 'httpMethod' => 'PUT',
682 'parameters' => array(
683 'customer' => array(
684 'location' => 'path',
685 'type' => 'string',
686 'required' => true,
687 ),
688 'notificationId' => array(
689 'location' => 'path',
690 'type' => 'string',
691 'required' => true,
692 ),
693 ),
694 ),
695 )
696 )
697 );
698 $this->orgunits = new Google_Service_Directory_Orgunits_Resource(
699 $this,
700 $this->serviceName,
701 'orgunits',
702 array(
703 'methods' => array(
704 'delete' => array(
705 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
706 'httpMethod' => 'DELETE',
707 'parameters' => array(
708 'customerId' => array(
709 'location' => 'path',
710 'type' => 'string',
711 'required' => true,
712 ),
713 'orgUnitPath' => array(
714 'location' => 'path',
715 'type' => 'string',
716 'repeated' => true,
717 'required' => true,
718 ),
719 ),
720 ),'get' => array(
721 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
722 'httpMethod' => 'GET',
723 'parameters' => array(
724 'customerId' => array(
725 'location' => 'path',
726 'type' => 'string',
727 'required' => true,
728 ),
729 'orgUnitPath' => array(
730 'location' => 'path',
731 'type' => 'string',
732 'repeated' => true,
733 'required' => true,
734 ),
735 ),
736 ),'insert' => array(
737 'path' => 'customer/{customerId}/orgunits',
738 'httpMethod' => 'POST',
739 'parameters' => array(
740 'customerId' => array(
741 'location' => 'path',
742 'type' => 'string',
743 'required' => true,
744 ),
745 ),
746 ),'list' => array(
747 'path' => 'customer/{customerId}/orgunits',
748 'httpMethod' => 'GET',
749 'parameters' => array(
750 'customerId' => array(
751 'location' => 'path',
752 'type' => 'string',
753 'required' => true,
754 ),
755 'type' => array(
756 'location' => 'query',
757 'type' => 'string',
758 ),
759 'orgUnitPath' => array(
760 'location' => 'query',
761 'type' => 'string',
762 ),
763 ),
764 ),'patch' => array(
765 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
766 'httpMethod' => 'PATCH',
767 'parameters' => array(
768 'customerId' => array(
769 'location' => 'path',
770 'type' => 'string',
771 'required' => true,
772 ),
773 'orgUnitPath' => array(
774 'location' => 'path',
775 'type' => 'string',
776 'repeated' => true,
777 'required' => true,
778 ),
779 ),
780 ),'update' => array(
781 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
782 'httpMethod' => 'PUT',
783 'parameters' => array(
784 'customerId' => array(
785 'location' => 'path',
786 'type' => 'string',
787 'required' => true,
788 ),
789 'orgUnitPath' => array(
790 'location' => 'path',
791 'type' => 'string',
792 'repeated' => true,
793 'required' => true,
794 ),
795 ),
796 ),
797 )
798 )
799 );
800 $this->schemas = new Google_Service_Directory_Schemas_Resource(
801 $this,
802 $this->serviceName,
803 'schemas',
804 array(
805 'methods' => array(
806 'delete' => array(
807 'path' => 'customer/{customerId}/schemas/{schemaKey}',
808 'httpMethod' => 'DELETE',
809 'parameters' => array(
810 'customerId' => array(
811 'location' => 'path',
812 'type' => 'string',
813 'required' => true,
814 ),
815 'schemaKey' => array(
816 'location' => 'path',
817 'type' => 'string',
818 'required' => true,
819 ),
820 ),
821 ),'get' => array(
822 'path' => 'customer/{customerId}/schemas/{schemaKey}',
823 'httpMethod' => 'GET',
824 'parameters' => array(
825 'customerId' => array(
826 'location' => 'path',
827 'type' => 'string',
828 'required' => true,
829 ),
830 'schemaKey' => array(
831 'location' => 'path',
832 'type' => 'string',
833 'required' => true,
834 ),
835 ),
836 ),'insert' => array(
837 'path' => 'customer/{customerId}/schemas',
838 'httpMethod' => 'POST',
839 'parameters' => array(
840 'customerId' => array(
841 'location' => 'path',
842 'type' => 'string',
843 'required' => true,
844 ),
845 ),
846 ),'list' => array(
847 'path' => 'customer/{customerId}/schemas',
848 'httpMethod' => 'GET',
849 'parameters' => array(
850 'customerId' => array(
851 'location' => 'path',
852 'type' => 'string',
853 'required' => true,
854 ),
855 ),
856 ),'patch' => array(
857 'path' => 'customer/{customerId}/schemas/{schemaKey}',
858 'httpMethod' => 'PATCH',
859 'parameters' => array(
860 'customerId' => array(
861 'location' => 'path',
862 'type' => 'string',
863 'required' => true,
864 ),
865 'schemaKey' => array(
866 'location' => 'path',
867 'type' => 'string',
868 'required' => true,
869 ),
870 ),
871 ),'update' => array(
872 'path' => 'customer/{customerId}/schemas/{schemaKey}',
873 'httpMethod' => 'PUT',
874 'parameters' => array(
875 'customerId' => array(
876 'location' => 'path',
877 'type' => 'string',
878 'required' => true,
879 ),
880 'schemaKey' => array(
881 'location' => 'path',
882 'type' => 'string',
883 'required' => true,
884 ),
885 ),
886 ),
887 )
888 )
889 );
890 $this->tokens = new Google_Service_Directory_Tokens_Resource(
891 $this,
892 $this->serviceName,
893 'tokens',
894 array(
895 'methods' => array(
896 'delete' => array(
897 'path' => 'users/{userKey}/tokens/{clientId}',
898 'httpMethod' => 'DELETE',
899 'parameters' => array(
900 'userKey' => array(
901 'location' => 'path',
902 'type' => 'string',
903 'required' => true,
904 ),
905 'clientId' => array(
906 'location' => 'path',
907 'type' => 'string',
908 'required' => true,
909 ),
910 ),
911 ),'get' => array(
912 'path' => 'users/{userKey}/tokens/{clientId}',
913 'httpMethod' => 'GET',
914 'parameters' => array(
915 'userKey' => array(
916 'location' => 'path',
917 'type' => 'string',
918 'required' => true,
919 ),
920 'clientId' => array(
921 'location' => 'path',
922 'type' => 'string',
923 'required' => true,
924 ),
925 ),
926 ),'list' => array(
927 'path' => 'users/{userKey}/tokens',
928 'httpMethod' => 'GET',
929 'parameters' => array(
930 'userKey' => array(
931 'location' => 'path',
932 'type' => 'string',
933 'required' => true,
934 ),
935 ),
936 ),
937 )
938 )
939 );
940 $this->users = new Google_Service_Directory_Users_Resource(
941 $this,
942 $this->serviceName,
943 'users',
944 array(
945 'methods' => array(
946 'delete' => array(
947 'path' => 'users/{userKey}',
948 'httpMethod' => 'DELETE',
949 'parameters' => array(
950 'userKey' => array(
951 'location' => 'path',
952 'type' => 'string',
953 'required' => true,
954 ),
955 ),
956 ),'get' => array(
957 'path' => 'users/{userKey}',
958 'httpMethod' => 'GET',
959 'parameters' => array(
960 'userKey' => array(
961 'location' => 'path',
962 'type' => 'string',
963 'required' => true,
964 ),
965 'viewType' => array(
966 'location' => 'query',
967 'type' => 'string',
968 ),
969 'customFieldMask' => array(
970 'location' => 'query',
971 'type' => 'string',
972 ),
973 'projection' => array(
974 'location' => 'query',
975 'type' => 'string',
976 ),
977 ),
978 ),'insert' => array(
979 'path' => 'users',
980 'httpMethod' => 'POST',
981 'parameters' => array(),
982 ),'list' => array(
983 'path' => 'users',
984 'httpMethod' => 'GET',
985 'parameters' => array(
986 'customer' => array(
987 'location' => 'query',
988 'type' => 'string',
989 ),
990 'orderBy' => array(
991 'location' => 'query',
992 'type' => 'string',
993 ),
994 'domain' => array(
995 'location' => 'query',
996 'type' => 'string',
997 ),
998 'projection' => array(
999 'location' => 'query',
1000 'type' => 'string',
1001 ),
1002 'showDeleted' => array(
1003 'location' => 'query',
1004 'type' => 'string',
1005 ),
1006 'customFieldMask' => array(
1007 'location' => 'query',
1008 'type' => 'string',
1009 ),
1010 'maxResults' => array(
1011 'location' => 'query',
1012 'type' => 'integer',
1013 ),
1014 'pageToken' => array(
1015 'location' => 'query',
1016 'type' => 'string',
1017 ),
1018 'sortOrder' => array(
1019 'location' => 'query',
1020 'type' => 'string',
1021 ),
1022 'query' => array(
1023 'location' => 'query',
1024 'type' => 'string',
1025 ),
1026 'viewType' => array(
1027 'location' => 'query',
1028 'type' => 'string',
1029 ),
1030 'event' => array(
1031 'location' => 'query',
1032 'type' => 'string',
1033 ),
1034 ),
1035 ),'makeAdmin' => array(
1036 'path' => 'users/{userKey}/makeAdmin',
1037 'httpMethod' => 'POST',
1038 'parameters' => array(
1039 'userKey' => array(
1040 'location' => 'path',
1041 'type' => 'string',
1042 'required' => true,
1043 ),
1044 ),
1045 ),'patch' => array(
1046 'path' => 'users/{userKey}',
1047 'httpMethod' => 'PATCH',
1048 'parameters' => array(
1049 'userKey' => array(
1050 'location' => 'path',
1051 'type' => 'string',
1052 'required' => true,
1053 ),
1054 ),
1055 ),'undelete' => array(
1056 'path' => 'users/{userKey}/undelete',
1057 'httpMethod' => 'POST',
1058 'parameters' => array(
1059 'userKey' => array(
1060 'location' => 'path',
1061 'type' => 'string',
1062 'required' => true,
1063 ),
1064 ),
1065 ),'update' => array(
1066 'path' => 'users/{userKey}',
1067 'httpMethod' => 'PUT',
1068 'parameters' => array(
1069 'userKey' => array(
1070 'location' => 'path',
1071 'type' => 'string',
1072 'required' => true,
1073 ),
1074 ),
1075 ),'watch' => array(
1076 'path' => 'users/watch',
1077 'httpMethod' => 'POST',
1078 'parameters' => array(
1079 'customer' => array(
1080 'location' => 'query',
1081 'type' => 'string',
1082 ),
1083 'orderBy' => array(
1084 'location' => 'query',
1085 'type' => 'string',
1086 ),
1087 'domain' => array(
1088 'location' => 'query',
1089 'type' => 'string',
1090 ),
1091 'projection' => array(
1092 'location' => 'query',
1093 'type' => 'string',
1094 ),
1095 'showDeleted' => array(
1096 'location' => 'query',
1097 'type' => 'string',
1098 ),
1099 'customFieldMask' => array(
1100 'location' => 'query',
1101 'type' => 'string',
1102 ),
1103 'maxResults' => array(
1104 'location' => 'query',
1105 'type' => 'integer',
1106 ),
1107 'pageToken' => array(
1108 'location' => 'query',
1109 'type' => 'string',
1110 ),
1111 'sortOrder' => array(
1112 'location' => 'query',
1113 'type' => 'string',
1114 ),
1115 'query' => array(
1116 'location' => 'query',
1117 'type' => 'string',
1118 ),
1119 'viewType' => array(
1120 'location' => 'query',
1121 'type' => 'string',
1122 ),
1123 'event' => array(
1124 'location' => 'query',
1125 'type' => 'string',
1126 ),
1127 ),
1128 ),
1129 )
1130 )
1131 );
1132 $this->users_aliases = new Google_Service_Directory_UsersAliases_Resource(
1133 $this,
1134 $this->serviceName,
1135 'aliases',
1136 array(
1137 'methods' => array(
1138 'delete' => array(
1139 'path' => 'users/{userKey}/aliases/{alias}',
1140 'httpMethod' => 'DELETE',
1141 'parameters' => array(
1142 'userKey' => array(
1143 'location' => 'path',
1144 'type' => 'string',
1145 'required' => true,
1146 ),
1147 'alias' => array(
1148 'location' => 'path',
1149 'type' => 'string',
1150 'required' => true,
1151 ),
1152 ),
1153 ),'insert' => array(
1154 'path' => 'users/{userKey}/aliases',
1155 'httpMethod' => 'POST',
1156 'parameters' => array(
1157 'userKey' => array(
1158 'location' => 'path',
1159 'type' => 'string',
1160 'required' => true,
1161 ),
1162 ),
1163 ),'list' => array(
1164 'path' => 'users/{userKey}/aliases',
1165 'httpMethod' => 'GET',
1166 'parameters' => array(
1167 'userKey' => array(
1168 'location' => 'path',
1169 'type' => 'string',
1170 'required' => true,
1171 ),
1172 'event' => array(
1173 'location' => 'query',
1174 'type' => 'string',
1175 ),
1176 ),
1177 ),'watch' => array(
1178 'path' => 'users/{userKey}/aliases/watch',
1179 'httpMethod' => 'POST',
1180 'parameters' => array(
1181 'userKey' => array(
1182 'location' => 'path',
1183 'type' => 'string',
1184 'required' => true,
1185 ),
1186 'event' => array(
1187 'location' => 'query',
1188 'type' => 'string',
1189 ),
1190 ),
1191 ),
1192 )
1193 )
1194 );
1195 $this->users_photos = new Google_Service_Directory_UsersPhotos_Resource(
1196 $this,
1197 $this->serviceName,
1198 'photos',
1199 array(
1200 'methods' => array(
1201 'delete' => array(
1202 'path' => 'users/{userKey}/photos/thumbnail',
1203 'httpMethod' => 'DELETE',
1204 'parameters' => array(
1205 'userKey' => array(
1206 'location' => 'path',
1207 'type' => 'string',
1208 'required' => true,
1209 ),
1210 ),
1211 ),'get' => array(
1212 'path' => 'users/{userKey}/photos/thumbnail',
1213 'httpMethod' => 'GET',
1214 'parameters' => array(
1215 'userKey' => array(
1216 'location' => 'path',
1217 'type' => 'string',
1218 'required' => true,
1219 ),
1220 ),
1221 ),'patch' => array(
1222 'path' => 'users/{userKey}/photos/thumbnail',
1223 'httpMethod' => 'PATCH',
1224 'parameters' => array(
1225 'userKey' => array(
1226 'location' => 'path',
1227 'type' => 'string',
1228 'required' => true,
1229 ),
1230 ),
1231 ),'update' => array(
1232 'path' => 'users/{userKey}/photos/thumbnail',
1233 'httpMethod' => 'PUT',
1234 'parameters' => array(
1235 'userKey' => array(
1236 'location' => 'path',
1237 'type' => 'string',
1238 'required' => true,
1239 ),
1240 ),
1241 ),
1242 )
1243 )
1244 );
1245 $this->verificationCodes = new Google_Service_Directory_VerificationCodes_Resource(
1246 $this,
1247 $this->serviceName,
1248 'verificationCodes',
1249 array(
1250 'methods' => array(
1251 'generate' => array(
1252 'path' => 'users/{userKey}/verificationCodes/generate',
1253 'httpMethod' => 'POST',
1254 'parameters' => array(
1255 'userKey' => array(
1256 'location' => 'path',
1257 'type' => 'string',
1258 'required' => true,
1259 ),
1260 ),
1261 ),'invalidate' => array(
1262 'path' => 'users/{userKey}/verificationCodes/invalidate',
1263 'httpMethod' => 'POST',
1264 'parameters' => array(
1265 'userKey' => array(
1266 'location' => 'path',
1267 'type' => 'string',
1268 'required' => true,
1269 ),
1270 ),
1271 ),'list' => array(
1272 'path' => 'users/{userKey}/verificationCodes',
1273 'httpMethod' => 'GET',
1274 'parameters' => array(
1275 'userKey' => array(
1276 'location' => 'path',
1277 'type' => 'string',
1278 'required' => true,
1279 ),
1280 ),
1281 ),
1282 )
1283 )
1284 );
1285 }
1286 }
1287
1288
1289 /**
1290 * The "asps" collection of methods.
1291 * Typical usage is:
1292 * <code>
1293 * $adminService = new Google_Service_Directory(...);
1294 * $asps = $adminService->asps;
1295 * </code>
1296 */
1297 class Google_Service_Directory_Asps_Resource extends Google_Service_Resource
1298 {
1299
1300 /**
1301 * Delete an ASP issued by a user. (asps.delete)
1302 *
1303 * @param string $userKey Identifies the user in the API request. The value can
1304 * be the user's primary email address, alias email address, or unique user ID.
1305 * @param int $codeId The unique ID of the ASP to be deleted.
1306 * @param array $optParams Optional parameters.
1307 */
1308 public function delete($userKey, $codeId, $optParams = array())
1309 {
1310 $params = array('userKey' => $userKey, 'codeId' => $codeId);
1311 $params = array_merge($params, $optParams);
1312 return $this->call('delete', array($params));
1313 }
1314
1315 /**
1316 * Get information about an ASP issued by a user. (asps.get)
1317 *
1318 * @param string $userKey Identifies the user in the API request. The value can
1319 * be the user's primary email address, alias email address, or unique user ID.
1320 * @param int $codeId The unique ID of the ASP.
1321 * @param array $optParams Optional parameters.
1322 * @return Google_Service_Directory_Asp
1323 */
1324 public function get($userKey, $codeId, $optParams = array())
1325 {
1326 $params = array('userKey' => $userKey, 'codeId' => $codeId);
1327 $params = array_merge($params, $optParams);
1328 return $this->call('get', array($params), "Google_Service_Directory_Asp");
1329 }
1330
1331 /**
1332 * List the ASPs issued by a user. (asps.listAsps)
1333 *
1334 * @param string $userKey Identifies the user in the API request. The value can
1335 * be the user's primary email address, alias email address, or unique user ID.
1336 * @param array $optParams Optional parameters.
1337 * @return Google_Service_Directory_Asps
1338 */
1339 public function listAsps($userKey, $optParams = array())
1340 {
1341 $params = array('userKey' => $userKey);
1342 $params = array_merge($params, $optParams);
1343 return $this->call('list', array($params), "Google_Service_Directory_Asps");
1344 }
1345 }
1346
1347 /**
1348 * The "channels" collection of methods.
1349 * Typical usage is:
1350 * <code>
1351 * $adminService = new Google_Service_Directory(...);
1352 * $channels = $adminService->channels;
1353 * </code>
1354 */
1355 class Google_Service_Directory_Channels_Resource extends Google_Service_Resource
1356 {
1357
1358 /**
1359 * Stop watching resources through this channel (channels.stop)
1360 *
1361 * @param Google_Channel $postBody
1362 * @param array $optParams Optional parameters.
1363 */
1364 public function stop(Google_Service_Directory_Channel $postBody, $optParams = array())
1365 {
1366 $params = array('postBody' => $postBody);
1367 $params = array_merge($params, $optParams);
1368 return $this->call('stop', array($params));
1369 }
1370 }
1371
1372 /**
1373 * The "chromeosdevices" collection of methods.
1374 * Typical usage is:
1375 * <code>
1376 * $adminService = new Google_Service_Directory(...);
1377 * $chromeosdevices = $adminService->chromeosdevices;
1378 * </code>
1379 */
1380 class Google_Service_Directory_Chromeosdevices_Resource extends Google_Service_Resource
1381 {
1382
1383 /**
1384 * Retrieve Chrome OS Device (chromeosdevices.get)
1385 *
1386 * @param string $customerId Immutable id of the Google Apps account
1387 * @param string $deviceId Immutable id of Chrome OS Device
1388 * @param array $optParams Optional parameters.
1389 *
1390 * @opt_param string projection Restrict information returned to a set of
1391 * selected fields.
1392 * @return Google_Service_Directory_ChromeOsDevice
1393 */
1394 public function get($customerId, $deviceId, $optParams = array())
1395 {
1396 $params = array('customerId' => $customerId, 'deviceId' => $deviceId);
1397 $params = array_merge($params, $optParams);
1398 return $this->call('get', array($params), "Google_Service_Directory_ChromeOsDevice");
1399 }
1400
1401 /**
1402 * Retrieve all Chrome OS Devices of a customer (paginated)
1403 * (chromeosdevices.listChromeosdevices)
1404 *
1405 * @param string $customerId Immutable id of the Google Apps account
1406 * @param array $optParams Optional parameters.
1407 *
1408 * @opt_param string orderBy Column to use for sorting results
1409 * @opt_param string projection Restrict information returned to a set of
1410 * selected fields.
1411 * @opt_param int maxResults Maximum number of results to return. Default is 100
1412 * @opt_param string pageToken Token to specify next page in the list
1413 * @opt_param string sortOrder Whether to return results in ascending or
1414 * descending order. Only of use when orderBy is also used
1415 * @opt_param string query Search string in the format given at
1416 * http://support.google.com/chromeos/a/bin/answer.py?hl=en=1698333
1417 * @return Google_Service_Directory_ChromeOsDevices
1418 */
1419 public function listChromeosdevices($customerId, $optParams = array())
1420 {
1421 $params = array('customerId' => $customerId);
1422 $params = array_merge($params, $optParams);
1423 return $this->call('list', array($params), "Google_Service_Directory_ChromeOsDevices");
1424 }
1425
1426 /**
1427 * Update Chrome OS Device. This method supports patch semantics.
1428 * (chromeosdevices.patch)
1429 *
1430 * @param string $customerId Immutable id of the Google Apps account
1431 * @param string $deviceId Immutable id of Chrome OS Device
1432 * @param Google_ChromeOsDevice $postBody
1433 * @param array $optParams Optional parameters.
1434 *
1435 * @opt_param string projection Restrict information returned to a set of
1436 * selected fields.
1437 * @return Google_Service_Directory_ChromeOsDevice
1438 */
1439 public function patch($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array())
1440 {
1441 $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody);
1442 $params = array_merge($params, $optParams);
1443 return $this->call('patch', array($params), "Google_Service_Directory_ChromeOsDevice");
1444 }
1445
1446 /**
1447 * Update Chrome OS Device (chromeosdevices.update)
1448 *
1449 * @param string $customerId Immutable id of the Google Apps account
1450 * @param string $deviceId Immutable id of Chrome OS Device
1451 * @param Google_ChromeOsDevice $postBody
1452 * @param array $optParams Optional parameters.
1453 *
1454 * @opt_param string projection Restrict information returned to a set of
1455 * selected fields.
1456 * @return Google_Service_Directory_ChromeOsDevice
1457 */
1458 public function update($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array())
1459 {
1460 $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody);
1461 $params = array_merge($params, $optParams);
1462 return $this->call('update', array($params), "Google_Service_Directory_ChromeOsDevice");
1463 }
1464 }
1465
1466 /**
1467 * The "groups" collection of methods.
1468 * Typical usage is:
1469 * <code>
1470 * $adminService = new Google_Service_Directory(...);
1471 * $groups = $adminService->groups;
1472 * </code>
1473 */
1474 class Google_Service_Directory_Groups_Resource extends Google_Service_Resource
1475 {
1476
1477 /**
1478 * Delete Group (groups.delete)
1479 *
1480 * @param string $groupKey Email or immutable Id of the group
1481 * @param array $optParams Optional parameters.
1482 */
1483 public function delete($groupKey, $optParams = array())
1484 {
1485 $params = array('groupKey' => $groupKey);
1486 $params = array_merge($params, $optParams);
1487 return $this->call('delete', array($params));
1488 }
1489
1490 /**
1491 * Retrieve Group (groups.get)
1492 *
1493 * @param string $groupKey Email or immutable Id of the group
1494 * @param array $optParams Optional parameters.
1495 * @return Google_Service_Directory_Group
1496 */
1497 public function get($groupKey, $optParams = array())
1498 {
1499 $params = array('groupKey' => $groupKey);
1500 $params = array_merge($params, $optParams);
1501 return $this->call('get', array($params), "Google_Service_Directory_Group");
1502 }
1503
1504 /**
1505 * Create Group (groups.insert)
1506 *
1507 * @param Google_Group $postBody
1508 * @param array $optParams Optional parameters.
1509 * @return Google_Service_Directory_Group
1510 */
1511 public function insert(Google_Service_Directory_Group $postBody, $optParams = array())
1512 {
1513 $params = array('postBody' => $postBody);
1514 $params = array_merge($params, $optParams);
1515 return $this->call('insert', array($params), "Google_Service_Directory_Group");
1516 }
1517
1518 /**
1519 * Retrieve all groups in a domain (paginated) (groups.listGroups)
1520 *
1521 * @param array $optParams Optional parameters.
1522 *
1523 * @opt_param string customer Immutable id of the Google Apps account. In case
1524 * of multi-domain, to fetch all groups for a customer, fill this field instead
1525 * of domain.
1526 * @opt_param string pageToken Token to specify next page in the list
1527 * @opt_param string domain Name of the domain. Fill this field to get groups
1528 * from only this domain. To return all groups in a multi-domain fill customer
1529 * field instead.
1530 * @opt_param int maxResults Maximum number of results to return. Default is 200
1531 * @opt_param string userKey Email or immutable Id of the user if only those
1532 * groups are to be listed, the given user is a member of. If Id, it should
1533 * match with id of user object
1534 * @return Google_Service_Directory_Groups
1535 */
1536 public function listGroups($optParams = array())
1537 {
1538 $params = array();
1539 $params = array_merge($params, $optParams);
1540 return $this->call('list', array($params), "Google_Service_Directory_Groups");
1541 }
1542
1543 /**
1544 * Update Group. This method supports patch semantics. (groups.patch)
1545 *
1546 * @param string $groupKey Email or immutable Id of the group. If Id, it should
1547 * match with id of group object
1548 * @param Google_Group $postBody
1549 * @param array $optParams Optional parameters.
1550 * @return Google_Service_Directory_Group
1551 */
1552 public function patch($groupKey, Google_Service_Directory_Group $postBody, $optParams = array())
1553 {
1554 $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
1555 $params = array_merge($params, $optParams);
1556 return $this->call('patch', array($params), "Google_Service_Directory_Group");
1557 }
1558
1559 /**
1560 * Update Group (groups.update)
1561 *
1562 * @param string $groupKey Email or immutable Id of the group. If Id, it should
1563 * match with id of group object
1564 * @param Google_Group $postBody
1565 * @param array $optParams Optional parameters.
1566 * @return Google_Service_Directory_Group
1567 */
1568 public function update($groupKey, Google_Service_Directory_Group $postBody, $optParams = array())
1569 {
1570 $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
1571 $params = array_merge($params, $optParams);
1572 return $this->call('update', array($params), "Google_Service_Directory_Group");
1573 }
1574 }
1575
1576 /**
1577 * The "aliases" collection of methods.
1578 * Typical usage is:
1579 * <code>
1580 * $adminService = new Google_Service_Directory(...);
1581 * $aliases = $adminService->aliases;
1582 * </code>
1583 */
1584 class Google_Service_Directory_GroupsAliases_Resource extends Google_Service_Resource
1585 {
1586
1587 /**
1588 * Remove a alias for the group (aliases.delete)
1589 *
1590 * @param string $groupKey Email or immutable Id of the group
1591 * @param string $alias The alias to be removed
1592 * @param array $optParams Optional parameters.
1593 */
1594 public function delete($groupKey, $alias, $optParams = array())
1595 {
1596 $params = array('groupKey' => $groupKey, 'alias' => $alias);
1597 $params = array_merge($params, $optParams);
1598 return $this->call('delete', array($params));
1599 }
1600
1601 /**
1602 * Add a alias for the group (aliases.insert)
1603 *
1604 * @param string $groupKey Email or immutable Id of the group
1605 * @param Google_Alias $postBody
1606 * @param array $optParams Optional parameters.
1607 * @return Google_Service_Directory_Alias
1608 */
1609 public function insert($groupKey, Google_Service_Directory_Alias $postBody, $optParams = array())
1610 {
1611 $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
1612 $params = array_merge($params, $optParams);
1613 return $this->call('insert', array($params), "Google_Service_Directory_Alias");
1614 }
1615
1616 /**
1617 * List all aliases for a group (aliases.listGroupsAliases)
1618 *
1619 * @param string $groupKey Email or immutable Id of the group
1620 * @param array $optParams Optional parameters.
1621 * @return Google_Service_Directory_Aliases
1622 */
1623 public function listGroupsAliases($groupKey, $optParams = array())
1624 {
1625 $params = array('groupKey' => $groupKey);
1626 $params = array_merge($params, $optParams);
1627 return $this->call('list', array($params), "Google_Service_Directory_Aliases");
1628 }
1629 }
1630
1631 /**
1632 * The "members" collection of methods.
1633 * Typical usage is:
1634 * <code>
1635 * $adminService = new Google_Service_Directory(...);
1636 * $members = $adminService->members;
1637 * </code>
1638 */
1639 class Google_Service_Directory_Members_Resource extends Google_Service_Resource
1640 {
1641
1642 /**
1643 * Remove membership. (members.delete)
1644 *
1645 * @param string $groupKey Email or immutable Id of the group
1646 * @param string $memberKey Email or immutable Id of the member
1647 * @param array $optParams Optional parameters.
1648 */
1649 public function delete($groupKey, $memberKey, $optParams = array())
1650 {
1651 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey);
1652 $params = array_merge($params, $optParams);
1653 return $this->call('delete', array($params));
1654 }
1655
1656 /**
1657 * Retrieve Group Member (members.get)
1658 *
1659 * @param string $groupKey Email or immutable Id of the group
1660 * @param string $memberKey Email or immutable Id of the member
1661 * @param array $optParams Optional parameters.
1662 * @return Google_Service_Directory_Member
1663 */
1664 public function get($groupKey, $memberKey, $optParams = array())
1665 {
1666 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey);
1667 $params = array_merge($params, $optParams);
1668 return $this->call('get', array($params), "Google_Service_Directory_Member");
1669 }
1670
1671 /**
1672 * Add user to the specified group. (members.insert)
1673 *
1674 * @param string $groupKey Email or immutable Id of the group
1675 * @param Google_Member $postBody
1676 * @param array $optParams Optional parameters.
1677 * @return Google_Service_Directory_Member
1678 */
1679 public function insert($groupKey, Google_Service_Directory_Member $postBody, $optParams = array())
1680 {
1681 $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
1682 $params = array_merge($params, $optParams);
1683 return $this->call('insert', array($params), "Google_Service_Directory_Member");
1684 }
1685
1686 /**
1687 * Retrieve all members in a group (paginated) (members.listMembers)
1688 *
1689 * @param string $groupKey Email or immutable Id of the group
1690 * @param array $optParams Optional parameters.
1691 *
1692 * @opt_param string pageToken Token to specify next page in the list
1693 * @opt_param string roles Comma separated role values to filter list results
1694 * on.
1695 * @opt_param int maxResults Maximum number of results to return. Default is 200
1696 * @return Google_Service_Directory_Members
1697 */
1698 public function listMembers($groupKey, $optParams = array())
1699 {
1700 $params = array('groupKey' => $groupKey);
1701 $params = array_merge($params, $optParams);
1702 return $this->call('list', array($params), "Google_Service_Directory_Members");
1703 }
1704
1705 /**
1706 * Update membership of a user in the specified group. This method supports
1707 * patch semantics. (members.patch)
1708 *
1709 * @param string $groupKey Email or immutable Id of the group. If Id, it should
1710 * match with id of group object
1711 * @param string $memberKey Email or immutable Id of the user. If Id, it should
1712 * match with id of member object
1713 * @param Google_Member $postBody
1714 * @param array $optParams Optional parameters.
1715 * @return Google_Service_Directory_Member
1716 */
1717 public function patch($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array())
1718 {
1719 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody);
1720 $params = array_merge($params, $optParams);
1721 return $this->call('patch', array($params), "Google_Service_Directory_Member");
1722 }
1723
1724 /**
1725 * Update membership of a user in the specified group. (members.update)
1726 *
1727 * @param string $groupKey Email or immutable Id of the group. If Id, it should
1728 * match with id of group object
1729 * @param string $memberKey Email or immutable Id of the user. If Id, it should
1730 * match with id of member object
1731 * @param Google_Member $postBody
1732 * @param array $optParams Optional parameters.
1733 * @return Google_Service_Directory_Member
1734 */
1735 public function update($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array())
1736 {
1737 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody);
1738 $params = array_merge($params, $optParams);
1739 return $this->call('update', array($params), "Google_Service_Directory_Member");
1740 }
1741 }
1742
1743 /**
1744 * The "mobiledevices" collection of methods.
1745 * Typical usage is:
1746 * <code>
1747 * $adminService = new Google_Service_Directory(...);
1748 * $mobiledevices = $adminService->mobiledevices;
1749 * </code>
1750 */
1751 class Google_Service_Directory_Mobiledevices_Resource extends Google_Service_Resource
1752 {
1753
1754 /**
1755 * Take action on Mobile Device (mobiledevices.action)
1756 *
1757 * @param string $customerId Immutable id of the Google Apps account
1758 * @param string $resourceId Immutable id of Mobile Device
1759 * @param Google_MobileDeviceAction $postBody
1760 * @param array $optParams Optional parameters.
1761 */
1762 public function action($customerId, $resourceId, Google_Service_Directory_MobileDeviceAction $postBody, $optParams = array())
1763 {
1764 $params = array('customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody);
1765 $params = array_merge($params, $optParams);
1766 return $this->call('action', array($params));
1767 }
1768
1769 /**
1770 * Delete Mobile Device (mobiledevices.delete)
1771 *
1772 * @param string $customerId Immutable id of the Google Apps account
1773 * @param string $resourceId Immutable id of Mobile Device
1774 * @param array $optParams Optional parameters.
1775 */
1776 public function delete($customerId, $resourceId, $optParams = array())
1777 {
1778 $params = array('customerId' => $customerId, 'resourceId' => $resourceId);
1779 $params = array_merge($params, $optParams);
1780 return $this->call('delete', array($params));
1781 }
1782
1783 /**
1784 * Retrieve Mobile Device (mobiledevices.get)
1785 *
1786 * @param string $customerId Immutable id of the Google Apps account
1787 * @param string $resourceId Immutable id of Mobile Device
1788 * @param array $optParams Optional parameters.
1789 *
1790 * @opt_param string projection Restrict information returned to a set of
1791 * selected fields.
1792 * @return Google_Service_Directory_MobileDevice
1793 */
1794 public function get($customerId, $resourceId, $optParams = array())
1795 {
1796 $params = array('customerId' => $customerId, 'resourceId' => $resourceId);
1797 $params = array_merge($params, $optParams);
1798 return $this->call('get', array($params), "Google_Service_Directory_MobileDevice");
1799 }
1800
1801 /**
1802 * Retrieve all Mobile Devices of a customer (paginated)
1803 * (mobiledevices.listMobiledevices)
1804 *
1805 * @param string $customerId Immutable id of the Google Apps account
1806 * @param array $optParams Optional parameters.
1807 *
1808 * @opt_param string orderBy Column to use for sorting results
1809 * @opt_param string projection Restrict information returned to a set of
1810 * selected fields.
1811 * @opt_param int maxResults Maximum number of results to return. Default is 100
1812 * @opt_param string pageToken Token to specify next page in the list
1813 * @opt_param string sortOrder Whether to return results in ascending or
1814 * descending order. Only of use when orderBy is also used
1815 * @opt_param string query Search string in the format given at
1816 * http://support.google.com/a/bin/answer.py?hl=en=1408863#search
1817 * @return Google_Service_Directory_MobileDevices
1818 */
1819 public function listMobiledevices($customerId, $optParams = array())
1820 {
1821 $params = array('customerId' => $customerId);
1822 $params = array_merge($params, $optParams);
1823 return $this->call('list', array($params), "Google_Service_Directory_MobileDevices");
1824 }
1825 }
1826
1827 /**
1828 * The "notifications" collection of methods.
1829 * Typical usage is:
1830 * <code>
1831 * $adminService = new Google_Service_Directory(...);
1832 * $notifications = $adminService->notifications;
1833 * </code>
1834 */
1835 class Google_Service_Directory_Notifications_Resource extends Google_Service_Resource
1836 {
1837
1838 /**
1839 * Deletes a notification (notifications.delete)
1840 *
1841 * @param string $customer The unique ID for the customer's Google account. The
1842 * customerId is also returned as part of the Users resource.
1843 * @param string $notificationId The unique ID of the notification.
1844 * @param array $optParams Optional parameters.
1845 */
1846 public function delete($customer, $notificationId, $optParams = array())
1847 {
1848 $params = array('customer' => $customer, 'notificationId' => $notificationId);
1849 $params = array_merge($params, $optParams);
1850 return $this->call('delete', array($params));
1851 }
1852
1853 /**
1854 * Retrieves a notification. (notifications.get)
1855 *
1856 * @param string $customer The unique ID for the customer's Google account. The
1857 * customerId is also returned as part of the Users resource.
1858 * @param string $notificationId The unique ID of the notification.
1859 * @param array $optParams Optional parameters.
1860 * @return Google_Service_Directory_Notification
1861 */
1862 public function get($customer, $notificationId, $optParams = array())
1863 {
1864 $params = array('customer' => $customer, 'notificationId' => $notificationId);
1865 $params = array_merge($params, $optParams);
1866 return $this->call('get', array($params), "Google_Service_Directory_Notification");
1867 }
1868
1869 /**
1870 * Retrieves a list of notifications. (notifications.listNotifications)
1871 *
1872 * @param string $customer The unique ID for the customer's Google account.
1873 * @param array $optParams Optional parameters.
1874 *
1875 * @opt_param string pageToken The token to specify the page of results to
1876 * retrieve.
1877 * @opt_param string maxResults Maximum number of notifications to return per
1878 * page. The default is 100.
1879 * @opt_param string language The ISO 639-1 code of the language notifications
1880 * are returned in. The default is English (en).
1881 * @return Google_Service_Directory_Notifications
1882 */
1883 public function listNotifications($customer, $optParams = array())
1884 {
1885 $params = array('customer' => $customer);
1886 $params = array_merge($params, $optParams);
1887 return $this->call('list', array($params), "Google_Service_Directory_Notifications");
1888 }
1889
1890 /**
1891 * Updates a notification. This method supports patch semantics.
1892 * (notifications.patch)
1893 *
1894 * @param string $customer The unique ID for the customer's Google account.
1895 * @param string $notificationId The unique ID of the notification.
1896 * @param Google_Notification $postBody
1897 * @param array $optParams Optional parameters.
1898 * @return Google_Service_Directory_Notification
1899 */
1900 public function patch($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array())
1901 {
1902 $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody);
1903 $params = array_merge($params, $optParams);
1904 return $this->call('patch', array($params), "Google_Service_Directory_Notification");
1905 }
1906
1907 /**
1908 * Updates a notification. (notifications.update)
1909 *
1910 * @param string $customer The unique ID for the customer's Google account.
1911 * @param string $notificationId The unique ID of the notification.
1912 * @param Google_Notification $postBody
1913 * @param array $optParams Optional parameters.
1914 * @return Google_Service_Directory_Notification
1915 */
1916 public function update($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array())
1917 {
1918 $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody);
1919 $params = array_merge($params, $optParams);
1920 return $this->call('update', array($params), "Google_Service_Directory_Notification");
1921 }
1922 }
1923
1924 /**
1925 * The "orgunits" collection of methods.
1926 * Typical usage is:
1927 * <code>
1928 * $adminService = new Google_Service_Directory(...);
1929 * $orgunits = $adminService->orgunits;
1930 * </code>
1931 */
1932 class Google_Service_Directory_Orgunits_Resource extends Google_Service_Resource
1933 {
1934
1935 /**
1936 * Remove Organization Unit (orgunits.delete)
1937 *
1938 * @param string $customerId Immutable id of the Google Apps account
1939 * @param string $orgUnitPath Full path of the organization unit or its Id
1940 * @param array $optParams Optional parameters.
1941 */
1942 public function delete($customerId, $orgUnitPath, $optParams = array())
1943 {
1944 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath);
1945 $params = array_merge($params, $optParams);
1946 return $this->call('delete', array($params));
1947 }
1948
1949 /**
1950 * Retrieve Organization Unit (orgunits.get)
1951 *
1952 * @param string $customerId Immutable id of the Google Apps account
1953 * @param string $orgUnitPath Full path of the organization unit or its Id
1954 * @param array $optParams Optional parameters.
1955 * @return Google_Service_Directory_OrgUnit
1956 */
1957 public function get($customerId, $orgUnitPath, $optParams = array())
1958 {
1959 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath);
1960 $params = array_merge($params, $optParams);
1961 return $this->call('get', array($params), "Google_Service_Directory_OrgUnit");
1962 }
1963
1964 /**
1965 * Add Organization Unit (orgunits.insert)
1966 *
1967 * @param string $customerId Immutable id of the Google Apps account
1968 * @param Google_OrgUnit $postBody
1969 * @param array $optParams Optional parameters.
1970 * @return Google_Service_Directory_OrgUnit
1971 */
1972 public function insert($customerId, Google_Service_Directory_OrgUnit $postBody, $optParams = array())
1973 {
1974 $params = array('customerId' => $customerId, 'postBody' => $postBody);
1975 $params = array_merge($params, $optParams);
1976 return $this->call('insert', array($params), "Google_Service_Directory_OrgUnit");
1977 }
1978
1979 /**
1980 * Retrieve all Organization Units (orgunits.listOrgunits)
1981 *
1982 * @param string $customerId Immutable id of the Google Apps account
1983 * @param array $optParams Optional parameters.
1984 *
1985 * @opt_param string type Whether to return all sub-organizations or just
1986 * immediate children
1987 * @opt_param string orgUnitPath the URL-encoded organization unit's path or its
1988 * Id
1989 * @return Google_Service_Directory_OrgUnits
1990 */
1991 public function listOrgunits($customerId, $optParams = array())
1992 {
1993 $params = array('customerId' => $customerId);
1994 $params = array_merge($params, $optParams);
1995 return $this->call('list', array($params), "Google_Service_Directory_OrgUnits");
1996 }
1997
1998 /**
1999 * Update Organization Unit. This method supports patch semantics.
2000 * (orgunits.patch)
2001 *
2002 * @param string $customerId Immutable id of the Google Apps account
2003 * @param string $orgUnitPath Full path of the organization unit or its Id
2004 * @param Google_OrgUnit $postBody
2005 * @param array $optParams Optional parameters.
2006 * @return Google_Service_Directory_OrgUnit
2007 */
2008 public function patch($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array())
2009 {
2010 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody);
2011 $params = array_merge($params, $optParams);
2012 return $this->call('patch', array($params), "Google_Service_Directory_OrgUnit");
2013 }
2014
2015 /**
2016 * Update Organization Unit (orgunits.update)
2017 *
2018 * @param string $customerId Immutable id of the Google Apps account
2019 * @param string $orgUnitPath Full path of the organization unit or its Id
2020 * @param Google_OrgUnit $postBody
2021 * @param array $optParams Optional parameters.
2022 * @return Google_Service_Directory_OrgUnit
2023 */
2024 public function update($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array())
2025 {
2026 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody);
2027 $params = array_merge($params, $optParams);
2028 return $this->call('update', array($params), "Google_Service_Directory_OrgUnit");
2029 }
2030 }
2031
2032 /**
2033 * The "schemas" collection of methods.
2034 * Typical usage is:
2035 * <code>
2036 * $adminService = new Google_Service_Directory(...);
2037 * $schemas = $adminService->schemas;
2038 * </code>
2039 */
2040 class Google_Service_Directory_Schemas_Resource extends Google_Service_Resource
2041 {
2042
2043 /**
2044 * Delete schema (schemas.delete)
2045 *
2046 * @param string $customerId Immutable id of the Google Apps account
2047 * @param string $schemaKey Name or immutable Id of the schema
2048 * @param array $optParams Optional parameters.
2049 */
2050 public function delete($customerId, $schemaKey, $optParams = array())
2051 {
2052 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey);
2053 $params = array_merge($params, $optParams);
2054 return $this->call('delete', array($params));
2055 }
2056
2057 /**
2058 * Retrieve schema (schemas.get)
2059 *
2060 * @param string $customerId Immutable id of the Google Apps account
2061 * @param string $schemaKey Name or immutable Id of the schema
2062 * @param array $optParams Optional parameters.
2063 * @return Google_Service_Directory_Schema
2064 */
2065 public function get($customerId, $schemaKey, $optParams = array())
2066 {
2067 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey);
2068 $params = array_merge($params, $optParams);
2069 return $this->call('get', array($params), "Google_Service_Directory_Schema");
2070 }
2071
2072 /**
2073 * Create schema. (schemas.insert)
2074 *
2075 * @param string $customerId Immutable id of the Google Apps account
2076 * @param Google_Schema $postBody
2077 * @param array $optParams Optional parameters.
2078 * @return Google_Service_Directory_Schema
2079 */
2080 public function insert($customerId, Google_Service_Directory_Schema $postBody, $optParams = array())
2081 {
2082 $params = array('customerId' => $customerId, 'postBody' => $postBody);
2083 $params = array_merge($params, $optParams);
2084 return $this->call('insert', array($params), "Google_Service_Directory_Schema");
2085 }
2086
2087 /**
2088 * Retrieve all schemas for a customer (schemas.listSchemas)
2089 *
2090 * @param string $customerId Immutable id of the Google Apps account
2091 * @param array $optParams Optional parameters.
2092 * @return Google_Service_Directory_Schemas
2093 */
2094 public function listSchemas($customerId, $optParams = array())
2095 {
2096 $params = array('customerId' => $customerId);
2097 $params = array_merge($params, $optParams);
2098 return $this->call('list', array($params), "Google_Service_Directory_Schemas");
2099 }
2100
2101 /**
2102 * Update schema. This method supports patch semantics. (schemas.patch)
2103 *
2104 * @param string $customerId Immutable id of the Google Apps account
2105 * @param string $schemaKey Name or immutable Id of the schema.
2106 * @param Google_Schema $postBody
2107 * @param array $optParams Optional parameters.
2108 * @return Google_Service_Directory_Schema
2109 */
2110 public function patch($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array())
2111 {
2112 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody);
2113 $params = array_merge($params, $optParams);
2114 return $this->call('patch', array($params), "Google_Service_Directory_Schema");
2115 }
2116
2117 /**
2118 * Update schema (schemas.update)
2119 *
2120 * @param string $customerId Immutable id of the Google Apps account
2121 * @param string $schemaKey Name or immutable Id of the schema.
2122 * @param Google_Schema $postBody
2123 * @param array $optParams Optional parameters.
2124 * @return Google_Service_Directory_Schema
2125 */
2126 public function update($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array())
2127 {
2128 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody);
2129 $params = array_merge($params, $optParams);
2130 return $this->call('update', array($params), "Google_Service_Directory_Schema");
2131 }
2132 }
2133
2134 /**
2135 * The "tokens" collection of methods.
2136 * Typical usage is:
2137 * <code>
2138 * $adminService = new Google_Service_Directory(...);
2139 * $tokens = $adminService->tokens;
2140 * </code>
2141 */
2142 class Google_Service_Directory_Tokens_Resource extends Google_Service_Resource
2143 {
2144
2145 /**
2146 * Delete all access tokens issued by a user for an application. (tokens.delete)
2147 *
2148 * @param string $userKey Identifies the user in the API request. The value can
2149 * be the user's primary email address, alias email address, or unique user ID.
2150 * @param string $clientId The Client ID of the application the token is issued
2151 * to.
2152 * @param array $optParams Optional parameters.
2153 */
2154 public function delete($userKey, $clientId, $optParams = array())
2155 {
2156 $params = array('userKey' => $userKey, 'clientId' => $clientId);
2157 $params = array_merge($params, $optParams);
2158 return $this->call('delete', array($params));
2159 }
2160
2161 /**
2162 * Get information about an access token issued by a user. (tokens.get)
2163 *
2164 * @param string $userKey Identifies the user in the API request. The value can
2165 * be the user's primary email address, alias email address, or unique user ID.
2166 * @param string $clientId The Client ID of the application the token is issued
2167 * to.
2168 * @param array $optParams Optional parameters.
2169 * @return Google_Service_Directory_Token
2170 */
2171 public function get($userKey, $clientId, $optParams = array())
2172 {
2173 $params = array('userKey' => $userKey, 'clientId' => $clientId);
2174 $params = array_merge($params, $optParams);
2175 return $this->call('get', array($params), "Google_Service_Directory_Token");
2176 }
2177
2178 /**
2179 * Returns the set of tokens specified user has issued to 3rd party
2180 * applications. (tokens.listTokens)
2181 *
2182 * @param string $userKey Identifies the user in the API request. The value can
2183 * be the user's primary email address, alias email address, or unique user ID.
2184 * @param array $optParams Optional parameters.
2185 * @return Google_Service_Directory_Tokens
2186 */
2187 public function listTokens($userKey, $optParams = array())
2188 {
2189 $params = array('userKey' => $userKey);
2190 $params = array_merge($params, $optParams);
2191 return $this->call('list', array($params), "Google_Service_Directory_Tokens");
2192 }
2193 }
2194
2195 /**
2196 * The "users" collection of methods.
2197 * Typical usage is:
2198 * <code>
2199 * $adminService = new Google_Service_Directory(...);
2200 * $users = $adminService->users;
2201 * </code>
2202 */
2203 class Google_Service_Directory_Users_Resource extends Google_Service_Resource
2204 {
2205
2206 /**
2207 * Delete user (users.delete)
2208 *
2209 * @param string $userKey Email or immutable Id of the user
2210 * @param array $optParams Optional parameters.
2211 */
2212 public function delete($userKey, $optParams = array())
2213 {
2214 $params = array('userKey' => $userKey);
2215 $params = array_merge($params, $optParams);
2216 return $this->call('delete', array($params));
2217 }
2218
2219 /**
2220 * retrieve user (users.get)
2221 *
2222 * @param string $userKey Email or immutable Id of the user
2223 * @param array $optParams Optional parameters.
2224 *
2225 * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
2226 * view of the user.
2227 * @opt_param string customFieldMask Comma-separated list of schema names. All
2228 * fields from these schemas are fetched. This should only be set when
2229 * projection=custom.
2230 * @opt_param string projection What subset of fields to fetch for this user.
2231 * @return Google_Service_Directory_User
2232 */
2233 public function get($userKey, $optParams = array())
2234 {
2235 $params = array('userKey' => $userKey);
2236 $params = array_merge($params, $optParams);
2237 return $this->call('get', array($params), "Google_Service_Directory_User");
2238 }
2239
2240 /**
2241 * create user. (users.insert)
2242 *
2243 * @param Google_User $postBody
2244 * @param array $optParams Optional parameters.
2245 * @return Google_Service_Directory_User
2246 */
2247 public function insert(Google_Service_Directory_User $postBody, $optParams = array())
2248 {
2249 $params = array('postBody' => $postBody);
2250 $params = array_merge($params, $optParams);
2251 return $this->call('insert', array($params), "Google_Service_Directory_User");
2252 }
2253
2254 /**
2255 * Retrieve either deleted users or all users in a domain (paginated)
2256 * (users.listUsers)
2257 *
2258 * @param array $optParams Optional parameters.
2259 *
2260 * @opt_param string customer Immutable id of the Google Apps account. In case
2261 * of multi-domain, to fetch all users for a customer, fill this field instead
2262 * of domain.
2263 * @opt_param string orderBy Column to use for sorting results
2264 * @opt_param string domain Name of the domain. Fill this field to get users
2265 * from only this domain. To return all users in a multi-domain fill customer
2266 * field instead.
2267 * @opt_param string projection What subset of fields to fetch for this user.
2268 * @opt_param string showDeleted If set to true retrieves the list of deleted
2269 * users. Default is false
2270 * @opt_param string customFieldMask Comma-separated list of schema names. All
2271 * fields from these schemas are fetched. This should only be set when
2272 * projection=custom.
2273 * @opt_param int maxResults Maximum number of results to return. Default is
2274 * 100. Max allowed is 500
2275 * @opt_param string pageToken Token to specify next page in the list
2276 * @opt_param string sortOrder Whether to return results in ascending or
2277 * descending order.
2278 * @opt_param string query Query string search. Should be of the form "".
2279 * Complete documentation is at https://developers.google.com/admin-
2280 * sdk/directory/v1/guides/search-users
2281 * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
2282 * view of the user.
2283 * @opt_param string event Event on which subscription is intended (if
2284 * subscribing)
2285 * @return Google_Service_Directory_Users
2286 */
2287 public function listUsers($optParams = array())
2288 {
2289 $params = array();
2290 $params = array_merge($params, $optParams);
2291 return $this->call('list', array($params), "Google_Service_Directory_Users");
2292 }
2293
2294 /**
2295 * change admin status of a user (users.makeAdmin)
2296 *
2297 * @param string $userKey Email or immutable Id of the user as admin
2298 * @param Google_UserMakeAdmin $postBody
2299 * @param array $optParams Optional parameters.
2300 */
2301 public function makeAdmin($userKey, Google_Service_Directory_UserMakeAdmin $postBody, $optParams = array())
2302 {
2303 $params = array('userKey' => $userKey, 'postBody' => $postBody);
2304 $params = array_merge($params, $optParams);
2305 return $this->call('makeAdmin', array($params));
2306 }
2307
2308 /**
2309 * update user. This method supports patch semantics. (users.patch)
2310 *
2311 * @param string $userKey Email or immutable Id of the user. If Id, it should
2312 * match with id of user object
2313 * @param Google_User $postBody
2314 * @param array $optParams Optional parameters.
2315 * @return Google_Service_Directory_User
2316 */
2317 public function patch($userKey, Google_Service_Directory_User $postBody, $optParams = array())
2318 {
2319 $params = array('userKey' => $userKey, 'postBody' => $postBody);
2320 $params = array_merge($params, $optParams);
2321 return $this->call('patch', array($params), "Google_Service_Directory_User");
2322 }
2323
2324 /**
2325 * Undelete a deleted user (users.undelete)
2326 *
2327 * @param string $userKey The immutable id of the user
2328 * @param Google_UserUndelete $postBody
2329 * @param array $optParams Optional parameters.
2330 */
2331 public function undelete($userKey, Google_Service_Directory_UserUndelete $postBody, $optParams = array())
2332 {
2333 $params = array('userKey' => $userKey, 'postBody' => $postBody);
2334 $params = array_merge($params, $optParams);
2335 return $this->call('undelete', array($params));
2336 }
2337
2338 /**
2339 * update user (users.update)
2340 *
2341 * @param string $userKey Email or immutable Id of the user. If Id, it should
2342 * match with id of user object
2343 * @param Google_User $postBody
2344 * @param array $optParams Optional parameters.
2345 * @return Google_Service_Directory_User
2346 */
2347 public function update($userKey, Google_Service_Directory_User $postBody, $optParams = array())
2348 {
2349 $params = array('userKey' => $userKey, 'postBody' => $postBody);
2350 $params = array_merge($params, $optParams);
2351 return $this->call('update', array($params), "Google_Service_Directory_User");
2352 }
2353
2354 /**
2355 * Watch for changes in users list (users.watch)
2356 *
2357 * @param Google_Channel $postBody
2358 * @param array $optParams Optional parameters.
2359 *
2360 * @opt_param string customer Immutable id of the Google Apps account. In case
2361 * of multi-domain, to fetch all users for a customer, fill this field instead
2362 * of domain.
2363 * @opt_param string orderBy Column to use for sorting results
2364 * @opt_param string domain Name of the domain. Fill this field to get users
2365 * from only this domain. To return all users in a multi-domain fill customer
2366 * field instead.
2367 * @opt_param string projection What subset of fields to fetch for this user.
2368 * @opt_param string showDeleted If set to true retrieves the list of deleted
2369 * users. Default is false
2370 * @opt_param string customFieldMask Comma-separated list of schema names. All
2371 * fields from these schemas are fetched. This should only be set when
2372 * projection=custom.
2373 * @opt_param int maxResults Maximum number of results to return. Default is
2374 * 100. Max allowed is 500
2375 * @opt_param string pageToken Token to specify next page in the list
2376 * @opt_param string sortOrder Whether to return results in ascending or
2377 * descending order.
2378 * @opt_param string query Query string search. Should be of the form "".
2379 * Complete documentation is at https://developers.google.com/admin-
2380 * sdk/directory/v1/guides/search-users
2381 * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
2382 * view of the user.
2383 * @opt_param string event Event on which subscription is intended (if
2384 * subscribing)
2385 * @return Google_Service_Directory_Channel
2386 */
2387 public function watch(Google_Service_Directory_Channel $postBody, $optParams = array())
2388 {
2389 $params = array('postBody' => $postBody);
2390 $params = array_merge($params, $optParams);
2391 return $this->call('watch', array($params), "Google_Service_Directory_Channel");
2392 }
2393 }
2394
2395 /**
2396 * The "aliases" collection of methods.
2397 * Typical usage is:
2398 * <code>
2399 * $adminService = new Google_Service_Directory(...);
2400 * $aliases = $adminService->aliases;
2401 * </code>
2402 */
2403 class Google_Service_Directory_UsersAliases_Resource extends Google_Service_Resource
2404 {
2405
2406 /**
2407 * Remove a alias for the user (aliases.delete)
2408 *
2409 * @param string $userKey Email or immutable Id of the user
2410 * @param string $alias The alias to be removed
2411 * @param array $optParams Optional parameters.
2412 */
2413 public function delete($userKey, $alias, $optParams = array())
2414 {
2415 $params = array('userKey' => $userKey, 'alias' => $alias);
2416 $params = array_merge($params, $optParams);
2417 return $this->call('delete', array($params));
2418 }
2419
2420 /**
2421 * Add a alias for the user (aliases.insert)
2422 *
2423 * @param string $userKey Email or immutable Id of the user
2424 * @param Google_Alias $postBody
2425 * @param array $optParams Optional parameters.
2426 * @return Google_Service_Directory_Alias
2427 */
2428 public function insert($userKey, Google_Service_Directory_Alias $postBody, $optParams = array())
2429 {
2430 $params = array('userKey' => $userKey, 'postBody' => $postBody);
2431 $params = array_merge($params, $optParams);
2432 return $this->call('insert', array($params), "Google_Service_Directory_Alias");
2433 }
2434
2435 /**
2436 * List all aliases for a user (aliases.listUsersAliases)
2437 *
2438 * @param string $userKey Email or immutable Id of the user
2439 * @param array $optParams Optional parameters.
2440 *
2441 * @opt_param string event Event on which subscription is intended (if
2442 * subscribing)
2443 * @return Google_Service_Directory_Aliases
2444 */
2445 public function listUsersAliases($userKey, $optParams = array())
2446 {
2447 $params = array('userKey' => $userKey);
2448 $params = array_merge($params, $optParams);
2449 return $this->call('list', array($params), "Google_Service_Directory_Aliases");
2450 }
2451
2452 /**
2453 * Watch for changes in user aliases list (aliases.watch)
2454 *
2455 * @param string $userKey Email or immutable Id of the user
2456 * @param Google_Channel $postBody
2457 * @param array $optParams Optional parameters.
2458 *
2459 * @opt_param string event Event on which subscription is intended (if
2460 * subscribing)
2461 * @return Google_Service_Directory_Channel
2462 */
2463 public function watch($userKey, Google_Service_Directory_Channel $postBody, $optParams = array())
2464 {
2465 $params = array('userKey' => $userKey, 'postBody' => $postBody);
2466 $params = array_merge($params, $optParams);
2467 return $this->call('watch', array($params), "Google_Service_Directory_Channel");
2468 }
2469 }
2470 /**
2471 * The "photos" collection of methods.
2472 * Typical usage is:
2473 * <code>
2474 * $adminService = new Google_Service_Directory(...);
2475 * $photos = $adminService->photos;
2476 * </code>
2477 */
2478 class Google_Service_Directory_UsersPhotos_Resource extends Google_Service_Resource
2479 {
2480
2481 /**
2482 * Remove photos for the user (photos.delete)
2483 *
2484 * @param string $userKey Email or immutable Id of the user
2485 * @param array $optParams Optional parameters.
2486 */
2487 public function delete($userKey, $optParams = array())
2488 {
2489 $params = array('userKey' => $userKey);
2490 $params = array_merge($params, $optParams);
2491 return $this->call('delete', array($params));
2492 }
2493
2494 /**
2495 * Retrieve photo of a user (photos.get)
2496 *
2497 * @param string $userKey Email or immutable Id of the user
2498 * @param array $optParams Optional parameters.
2499 * @return Google_Service_Directory_UserPhoto
2500 */
2501 public function get($userKey, $optParams = array())
2502 {
2503 $params = array('userKey' => $userKey);
2504 $params = array_merge($params, $optParams);
2505 return $this->call('get', array($params), "Google_Service_Directory_UserPhoto");
2506 }
2507
2508 /**
2509 * Add a photo for the user. This method supports patch semantics.
2510 * (photos.patch)
2511 *
2512 * @param string $userKey Email or immutable Id of the user
2513 * @param Google_UserPhoto $postBody
2514 * @param array $optParams Optional parameters.
2515 * @return Google_Service_Directory_UserPhoto
2516 */
2517 public function patch($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array())
2518 {
2519 $params = array('userKey' => $userKey, 'postBody' => $postBody);
2520 $params = array_merge($params, $optParams);
2521 return $this->call('patch', array($params), "Google_Service_Directory_UserPhoto");
2522 }
2523
2524 /**
2525 * Add a photo for the user (photos.update)
2526 *
2527 * @param string $userKey Email or immutable Id of the user
2528 * @param Google_UserPhoto $postBody
2529 * @param array $optParams Optional parameters.
2530 * @return Google_Service_Directory_UserPhoto
2531 */
2532 public function update($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array())
2533 {
2534 $params = array('userKey' => $userKey, 'postBody' => $postBody);
2535 $params = array_merge($params, $optParams);
2536 return $this->call('update', array($params), "Google_Service_Directory_UserPhoto");
2537 }
2538 }
2539
2540 /**
2541 * The "verificationCodes" collection of methods.
2542 * Typical usage is:
2543 * <code>
2544 * $adminService = new Google_Service_Directory(...);
2545 * $verificationCodes = $adminService->verificationCodes;
2546 * </code>
2547 */
2548 class Google_Service_Directory_VerificationCodes_Resource extends Google_Service_Resource
2549 {
2550
2551 /**
2552 * Generate new backup verification codes for the user.
2553 * (verificationCodes.generate)
2554 *
2555 * @param string $userKey Email or immutable Id of the user
2556 * @param array $optParams Optional parameters.
2557 */
2558 public function generate($userKey, $optParams = array())
2559 {
2560 $params = array('userKey' => $userKey);
2561 $params = array_merge($params, $optParams);
2562 return $this->call('generate', array($params));
2563 }
2564
2565 /**
2566 * Invalidate the current backup verification codes for the user.
2567 * (verificationCodes.invalidate)
2568 *
2569 * @param string $userKey Email or immutable Id of the user
2570 * @param array $optParams Optional parameters.
2571 */
2572 public function invalidate($userKey, $optParams = array())
2573 {
2574 $params = array('userKey' => $userKey);
2575 $params = array_merge($params, $optParams);
2576 return $this->call('invalidate', array($params));
2577 }
2578
2579 /**
2580 * Returns the current set of valid backup verification codes for the specified
2581 * user. (verificationCodes.listVerificationCodes)
2582 *
2583 * @param string $userKey Identifies the user in the API request. The value can
2584 * be the user's primary email address, alias email address, or unique user ID.
2585 * @param array $optParams Optional parameters.
2586 * @return Google_Service_Directory_VerificationCodes
2587 */
2588 public function listVerificationCodes($userKey, $optParams = array())
2589 {
2590 $params = array('userKey' => $userKey);
2591 $params = array_merge($params, $optParams);
2592 return $this->call('list', array($params), "Google_Service_Directory_VerificationCodes");
2593 }
2594 }
2595
2596
2597
2598
2599 class Google_Service_Directory_Alias extends Google_Model
2600 {
2601 protected $internal_gapi_mappings = array(
2602 );
2603 public $alias;
2604 public $etag;
2605 public $id;
2606 public $kind;
2607 public $primaryEmail;
2608
2609
2610 public function setAlias($alias)
2611 {
2612 $this->alias = $alias;
2613 }
2614 public function getAlias()
2615 {
2616 return $this->alias;
2617 }
2618 public function setEtag($etag)
2619 {
2620 $this->etag = $etag;
2621 }
2622 public function getEtag()
2623 {
2624 return $this->etag;
2625 }
2626 public function setId($id)
2627 {
2628 $this->id = $id;
2629 }
2630 public function getId()
2631 {
2632 return $this->id;
2633 }
2634 public function setKind($kind)
2635 {
2636 $this->kind = $kind;
2637 }
2638 public function getKind()
2639 {
2640 return $this->kind;
2641 }
2642 public function setPrimaryEmail($primaryEmail)
2643 {
2644 $this->primaryEmail = $primaryEmail;
2645 }
2646 public function getPrimaryEmail()
2647 {
2648 return $this->primaryEmail;
2649 }
2650 }
2651
2652 class Google_Service_Directory_Aliases extends Google_Collection
2653 {
2654 protected $collection_key = 'aliases';
2655 protected $internal_gapi_mappings = array(
2656 );
2657 protected $aliasesType = 'Google_Service_Directory_Alias';
2658 protected $aliasesDataType = 'array';
2659 public $etag;
2660 public $kind;
2661
2662
2663 public function setAliases($aliases)
2664 {
2665 $this->aliases = $aliases;
2666 }
2667 public function getAliases()
2668 {
2669 return $this->aliases;
2670 }
2671 public function setEtag($etag)
2672 {
2673 $this->etag = $etag;
2674 }
2675 public function getEtag()
2676 {
2677 return $this->etag;
2678 }
2679 public function setKind($kind)
2680 {
2681 $this->kind = $kind;
2682 }
2683 public function getKind()
2684 {
2685 return $this->kind;
2686 }
2687 }
2688
2689 class Google_Service_Directory_Asp extends Google_Model
2690 {
2691 protected $internal_gapi_mappings = array(
2692 );
2693 public $codeId;
2694 public $creationTime;
2695 public $etag;
2696 public $kind;
2697 public $lastTimeUsed;
2698 public $name;
2699 public $userKey;
2700
2701
2702 public function setCodeId($codeId)
2703 {
2704 $this->codeId = $codeId;
2705 }
2706 public function getCodeId()
2707 {
2708 return $this->codeId;
2709 }
2710 public function setCreationTime($creationTime)
2711 {
2712 $this->creationTime = $creationTime;
2713 }
2714 public function getCreationTime()
2715 {
2716 return $this->creationTime;
2717 }
2718 public function setEtag($etag)
2719 {
2720 $this->etag = $etag;
2721 }
2722 public function getEtag()
2723 {
2724 return $this->etag;
2725 }
2726 public function setKind($kind)
2727 {
2728 $this->kind = $kind;
2729 }
2730 public function getKind()
2731 {
2732 return $this->kind;
2733 }
2734 public function setLastTimeUsed($lastTimeUsed)
2735 {
2736 $this->lastTimeUsed = $lastTimeUsed;
2737 }
2738 public function getLastTimeUsed()
2739 {
2740 return $this->lastTimeUsed;
2741 }
2742 public function setName($name)
2743 {
2744 $this->name = $name;
2745 }
2746 public function getName()
2747 {
2748 return $this->name;
2749 }
2750 public function setUserKey($userKey)
2751 {
2752 $this->userKey = $userKey;
2753 }
2754 public function getUserKey()
2755 {
2756 return $this->userKey;
2757 }
2758 }
2759
2760 class Google_Service_Directory_Asps extends Google_Collection
2761 {
2762 protected $collection_key = 'items';
2763 protected $internal_gapi_mappings = array(
2764 );
2765 public $etag;
2766 protected $itemsType = 'Google_Service_Directory_Asp';
2767 protected $itemsDataType = 'array';
2768 public $kind;
2769
2770
2771 public function setEtag($etag)
2772 {
2773 $this->etag = $etag;
2774 }
2775 public function getEtag()
2776 {
2777 return $this->etag;
2778 }
2779 public function setItems($items)
2780 {
2781 $this->items = $items;
2782 }
2783 public function getItems()
2784 {
2785 return $this->items;
2786 }
2787 public function setKind($kind)
2788 {
2789 $this->kind = $kind;
2790 }
2791 public function getKind()
2792 {
2793 return $this->kind;
2794 }
2795 }
2796
2797 class Google_Service_Directory_Channel extends Google_Model
2798 {
2799 protected $internal_gapi_mappings = array(
2800 );
2801 public $address;
2802 public $expiration;
2803 public $id;
2804 public $kind;
2805 public $params;
2806 public $payload;
2807 public $resourceId;
2808 public $resourceUri;
2809 public $token;
2810 public $type;
2811
2812
2813 public function setAddress($address)
2814 {
2815 $this->address = $address;
2816 }
2817 public function getAddress()
2818 {
2819 return $this->address;
2820 }
2821 public function setExpiration($expiration)
2822 {
2823 $this->expiration = $expiration;
2824 }
2825 public function getExpiration()
2826 {
2827 return $this->expiration;
2828 }
2829 public function setId($id)
2830 {
2831 $this->id = $id;
2832 }
2833 public function getId()
2834 {
2835 return $this->id;
2836 }
2837 public function setKind($kind)
2838 {
2839 $this->kind = $kind;
2840 }
2841 public function getKind()
2842 {
2843 return $this->kind;
2844 }
2845 public function setParams($params)
2846 {
2847 $this->params = $params;
2848 }
2849 public function getParams()
2850 {
2851 return $this->params;
2852 }
2853 public function setPayload($payload)
2854 {
2855 $this->payload = $payload;
2856 }
2857 public function getPayload()
2858 {
2859 return $this->payload;
2860 }
2861 public function setResourceId($resourceId)
2862 {
2863 $this->resourceId = $resourceId;
2864 }
2865 public function getResourceId()
2866 {
2867 return $this->resourceId;
2868 }
2869 public function setResourceUri($resourceUri)
2870 {
2871 $this->resourceUri = $resourceUri;
2872 }
2873 public function getResourceUri()
2874 {
2875 return $this->resourceUri;
2876 }
2877 public function setToken($token)
2878 {
2879 $this->token = $token;
2880 }
2881 public function getToken()
2882 {
2883 return $this->token;
2884 }
2885 public function setType($type)
2886 {
2887 $this->type = $type;
2888 }
2889 public function getType()
2890 {
2891 return $this->type;
2892 }
2893 }
2894
2895 class Google_Service_Directory_ChannelParams extends Google_Model
2896 {
2897 }
2898
2899 class Google_Service_Directory_ChromeOsDevice extends Google_Collection
2900 {
2901 protected $collection_key = 'recentUsers';
2902 protected $internal_gapi_mappings = array(
2903 );
2904 protected $activeTimeRangesType = 'Google_Service_Directory_ChromeOsDeviceActiveTimeRanges';
2905 protected $activeTimeRangesDataType = 'array';
2906 public $annotatedAssetId;
2907 public $annotatedLocation;
2908 public $annotatedUser;
2909 public $bootMode;
2910 public $deviceId;
2911 public $etag;
2912 public $ethernetMacAddress;
2913 public $firmwareVersion;
2914 public $kind;
2915 public $lastEnrollmentTime;
2916 public $lastSync;
2917 public $macAddress;
2918 public $meid;
2919 public $model;
2920 public $notes;
2921 public $orderNumber;
2922 public $orgUnitPath;
2923 public $osVersion;
2924 public $platformVersion;
2925 protected $recentUsersType = 'Google_Service_Directory_ChromeOsDeviceRecentUsers';
2926 protected $recentUsersDataType = 'array';
2927 public $serialNumber;
2928 public $status;
2929 public $supportEndDate;
2930 public $willAutoRenew;
2931
2932
2933 public function setActiveTimeRanges($activeTimeRanges)
2934 {
2935 $this->activeTimeRanges = $activeTimeRanges;
2936 }
2937 public function getActiveTimeRanges()
2938 {
2939 return $this->activeTimeRanges;
2940 }
2941 public function setAnnotatedAssetId($annotatedAssetId)
2942 {
2943 $this->annotatedAssetId = $annotatedAssetId;
2944 }
2945 public function getAnnotatedAssetId()
2946 {
2947 return $this->annotatedAssetId;
2948 }
2949 public function setAnnotatedLocation($annotatedLocation)
2950 {
2951 $this->annotatedLocation = $annotatedLocation;
2952 }
2953 public function getAnnotatedLocation()
2954 {
2955 return $this->annotatedLocation;
2956 }
2957 public function setAnnotatedUser($annotatedUser)
2958 {
2959 $this->annotatedUser = $annotatedUser;
2960 }
2961 public function getAnnotatedUser()
2962 {
2963 return $this->annotatedUser;
2964 }
2965 public function setBootMode($bootMode)
2966 {
2967 $this->bootMode = $bootMode;
2968 }
2969 public function getBootMode()
2970 {
2971 return $this->bootMode;
2972 }
2973 public function setDeviceId($deviceId)
2974 {
2975 $this->deviceId = $deviceId;
2976 }
2977 public function getDeviceId()
2978 {
2979 return $this->deviceId;
2980 }
2981 public function setEtag($etag)
2982 {
2983 $this->etag = $etag;
2984 }
2985 public function getEtag()
2986 {
2987 return $this->etag;
2988 }
2989 public function setEthernetMacAddress($ethernetMacAddress)
2990 {
2991 $this->ethernetMacAddress = $ethernetMacAddress;
2992 }
2993 public function getEthernetMacAddress()
2994 {
2995 return $this->ethernetMacAddress;
2996 }
2997 public function setFirmwareVersion($firmwareVersion)
2998 {
2999 $this->firmwareVersion = $firmwareVersion;
3000 }
3001 public function getFirmwareVersion()
3002 {
3003 return $this->firmwareVersion;
3004 }
3005 public function setKind($kind)
3006 {
3007 $this->kind = $kind;
3008 }
3009 public function getKind()
3010 {
3011 return $this->kind;
3012 }
3013 public function setLastEnrollmentTime($lastEnrollmentTime)
3014 {
3015 $this->lastEnrollmentTime = $lastEnrollmentTime;
3016 }
3017 public function getLastEnrollmentTime()
3018 {
3019 return $this->lastEnrollmentTime;
3020 }
3021 public function setLastSync($lastSync)
3022 {
3023 $this->lastSync = $lastSync;
3024 }
3025 public function getLastSync()
3026 {
3027 return $this->lastSync;
3028 }
3029 public function setMacAddress($macAddress)
3030 {
3031 $this->macAddress = $macAddress;
3032 }
3033 public function getMacAddress()
3034 {
3035 return $this->macAddress;
3036 }
3037 public function setMeid($meid)
3038 {
3039 $this->meid = $meid;
3040 }
3041 public function getMeid()
3042 {
3043 return $this->meid;
3044 }
3045 public function setModel($model)
3046 {
3047 $this->model = $model;
3048 }
3049 public function getModel()
3050 {
3051 return $this->model;
3052 }
3053 public function setNotes($notes)
3054 {
3055 $this->notes = $notes;
3056 }
3057 public function getNotes()
3058 {
3059 return $this->notes;
3060 }
3061 public function setOrderNumber($orderNumber)
3062 {
3063 $this->orderNumber = $orderNumber;
3064 }
3065 public function getOrderNumber()
3066 {
3067 return $this->orderNumber;
3068 }
3069 public function setOrgUnitPath($orgUnitPath)
3070 {
3071 $this->orgUnitPath = $orgUnitPath;
3072 }
3073 public function getOrgUnitPath()
3074 {
3075 return $this->orgUnitPath;
3076 }
3077 public function setOsVersion($osVersion)
3078 {
3079 $this->osVersion = $osVersion;
3080 }
3081 public function getOsVersion()
3082 {
3083 return $this->osVersion;
3084 }
3085 public function setPlatformVersion($platformVersion)
3086 {
3087 $this->platformVersion = $platformVersion;
3088 }
3089 public function getPlatformVersion()
3090 {
3091 return $this->platformVersion;
3092 }
3093 public function setRecentUsers($recentUsers)
3094 {
3095 $this->recentUsers = $recentUsers;
3096 }
3097 public function getRecentUsers()
3098 {
3099 return $this->recentUsers;
3100 }
3101 public function setSerialNumber($serialNumber)
3102 {
3103 $this->serialNumber = $serialNumber;
3104 }
3105 public function getSerialNumber()
3106 {
3107 return $this->serialNumber;
3108 }
3109 public function setStatus($status)
3110 {
3111 $this->status = $status;
3112 }
3113 public function getStatus()
3114 {
3115 return $this->status;
3116 }
3117 public function setSupportEndDate($supportEndDate)
3118 {
3119 $this->supportEndDate = $supportEndDate;
3120 }
3121 public function getSupportEndDate()
3122 {
3123 return $this->supportEndDate;
3124 }
3125 public function setWillAutoRenew($willAutoRenew)
3126 {
3127 $this->willAutoRenew = $willAutoRenew;
3128 }
3129 public function getWillAutoRenew()
3130 {
3131 return $this->willAutoRenew;
3132 }
3133 }
3134
3135 class Google_Service_Directory_ChromeOsDeviceActiveTimeRanges extends Google_Model
3136 {
3137 protected $internal_gapi_mappings = array(
3138 );
3139 public $activeTime;
3140 public $date;
3141
3142
3143 public function setActiveTime($activeTime)
3144 {
3145 $this->activeTime = $activeTime;
3146 }
3147 public function getActiveTime()
3148 {
3149 return $this->activeTime;
3150 }
3151 public function setDate($date)
3152 {
3153 $this->date = $date;
3154 }
3155 public function getDate()
3156 {
3157 return $this->date;
3158 }
3159 }
3160
3161 class Google_Service_Directory_ChromeOsDeviceRecentUsers extends Google_Model
3162 {
3163 protected $internal_gapi_mappings = array(
3164 );
3165 public $email;
3166 public $type;
3167
3168
3169 public function setEmail($email)
3170 {
3171 $this->email = $email;
3172 }
3173 public function getEmail()
3174 {
3175 return $this->email;
3176 }
3177 public function setType($type)
3178 {
3179 $this->type = $type;
3180 }
3181 public function getType()
3182 {
3183 return $this->type;
3184 }
3185 }
3186
3187 class Google_Service_Directory_ChromeOsDevices extends Google_Collection
3188 {
3189 protected $collection_key = 'chromeosdevices';
3190 protected $internal_gapi_mappings = array(
3191 );
3192 protected $chromeosdevicesType = 'Google_Service_Directory_ChromeOsDevice';
3193 protected $chromeosdevicesDataType = 'array';
3194 public $etag;
3195 public $kind;
3196 public $nextPageToken;
3197
3198
3199 public function setChromeosdevices($chromeosdevices)
3200 {
3201 $this->chromeosdevices = $chromeosdevices;
3202 }
3203 public function getChromeosdevices()
3204 {
3205 return $this->chromeosdevices;
3206 }
3207 public function setEtag($etag)
3208 {
3209 $this->etag = $etag;
3210 }
3211 public function getEtag()
3212 {
3213 return $this->etag;
3214 }
3215 public function setKind($kind)
3216 {
3217 $this->kind = $kind;
3218 }
3219 public function getKind()
3220 {
3221 return $this->kind;
3222 }
3223 public function setNextPageToken($nextPageToken)
3224 {
3225 $this->nextPageToken = $nextPageToken;
3226 }
3227 public function getNextPageToken()
3228 {
3229 return $this->nextPageToken;
3230 }
3231 }
3232
3233 class Google_Service_Directory_Group extends Google_Collection
3234 {
3235 protected $collection_key = 'nonEditableAliases';
3236 protected $internal_gapi_mappings = array(
3237 );
3238 public $adminCreated;
3239 public $aliases;
3240 public $description;
3241 public $directMembersCount;
3242 public $email;
3243 public $etag;
3244 public $id;
3245 public $kind;
3246 public $name;
3247 public $nonEditableAliases;
3248
3249
3250 public function setAdminCreated($adminCreated)
3251 {
3252 $this->adminCreated = $adminCreated;
3253 }
3254 public function getAdminCreated()
3255 {
3256 return $this->adminCreated;
3257 }
3258 public function setAliases($aliases)
3259 {
3260 $this->aliases = $aliases;
3261 }
3262 public function getAliases()
3263 {
3264 return $this->aliases;
3265 }
3266 public function setDescription($description)
3267 {
3268 $this->description = $description;
3269 }
3270 public function getDescription()
3271 {
3272 return $this->description;
3273 }
3274 public function setDirectMembersCount($directMembersCount)
3275 {
3276 $this->directMembersCount = $directMembersCount;
3277 }
3278 public function getDirectMembersCount()
3279 {
3280 return $this->directMembersCount;
3281 }
3282 public function setEmail($email)
3283 {
3284 $this->email = $email;
3285 }
3286 public function getEmail()
3287 {
3288 return $this->email;
3289 }
3290 public function setEtag($etag)
3291 {
3292 $this->etag = $etag;
3293 }
3294 public function getEtag()
3295 {
3296 return $this->etag;
3297 }
3298 public function setId($id)
3299 {
3300 $this->id = $id;
3301 }
3302 public function getId()
3303 {
3304 return $this->id;
3305 }
3306 public function setKind($kind)
3307 {
3308 $this->kind = $kind;
3309 }
3310 public function getKind()
3311 {
3312 return $this->kind;
3313 }
3314 public function setName($name)
3315 {
3316 $this->name = $name;
3317 }
3318 public function getName()
3319 {
3320 return $this->name;
3321 }
3322 public function setNonEditableAliases($nonEditableAliases)
3323 {
3324 $this->nonEditableAliases = $nonEditableAliases;
3325 }
3326 public function getNonEditableAliases()
3327 {
3328 return $this->nonEditableAliases;
3329 }
3330 }
3331
3332 class Google_Service_Directory_Groups extends Google_Collection
3333 {
3334 protected $collection_key = 'groups';
3335 protected $internal_gapi_mappings = array(
3336 );
3337 public $etag;
3338 protected $groupsType = 'Google_Service_Directory_Group';
3339 protected $groupsDataType = 'array';
3340 public $kind;
3341 public $nextPageToken;
3342
3343
3344 public function setEtag($etag)
3345 {
3346 $this->etag = $etag;
3347 }
3348 public function getEtag()
3349 {
3350 return $this->etag;
3351 }
3352 public function setGroups($groups)
3353 {
3354 $this->groups = $groups;
3355 }
3356 public function getGroups()
3357 {
3358 return $this->groups;
3359 }
3360 public function setKind($kind)
3361 {
3362 $this->kind = $kind;
3363 }
3364 public function getKind()
3365 {
3366 return $this->kind;
3367 }
3368 public function setNextPageToken($nextPageToken)
3369 {
3370 $this->nextPageToken = $nextPageToken;
3371 }
3372 public function getNextPageToken()
3373 {
3374 return $this->nextPageToken;
3375 }
3376 }
3377
3378 class Google_Service_Directory_Member extends Google_Model
3379 {
3380 protected $internal_gapi_mappings = array(
3381 );
3382 public $email;
3383 public $etag;
3384 public $id;
3385 public $kind;
3386 public $role;
3387 public $type;
3388
3389
3390 public function setEmail($email)
3391 {
3392 $this->email = $email;
3393 }
3394 public function getEmail()
3395 {
3396 return $this->email;
3397 }
3398 public function setEtag($etag)
3399 {
3400 $this->etag = $etag;
3401 }
3402 public function getEtag()
3403 {
3404 return $this->etag;
3405 }
3406 public function setId($id)
3407 {
3408 $this->id = $id;
3409 }
3410 public function getId()
3411 {
3412 return $this->id;
3413 }
3414 public function setKind($kind)
3415 {
3416 $this->kind = $kind;
3417 }
3418 public function getKind()
3419 {
3420 return $this->kind;
3421 }
3422 public function setRole($role)
3423 {
3424 $this->role = $role;
3425 }
3426 public function getRole()
3427 {
3428 return $this->role;
3429 }
3430 public function setType($type)
3431 {
3432 $this->type = $type;
3433 }
3434 public function getType()
3435 {
3436 return $this->type;
3437 }
3438 }
3439
3440 class Google_Service_Directory_Members extends Google_Collection
3441 {
3442 protected $collection_key = 'members';
3443 protected $internal_gapi_mappings = array(
3444 );
3445 public $etag;
3446 public $kind;
3447 protected $membersType = 'Google_Service_Directory_Member';
3448 protected $membersDataType = 'array';
3449 public $nextPageToken;
3450
3451
3452 public function setEtag($etag)
3453 {
3454 $this->etag = $etag;
3455 }
3456 public function getEtag()
3457 {
3458 return $this->etag;
3459 }
3460 public function setKind($kind)
3461 {
3462 $this->kind = $kind;
3463 }
3464 public function getKind()
3465 {
3466 return $this->kind;
3467 }
3468 public function setMembers($members)
3469 {
3470 $this->members = $members;
3471 }
3472 public function getMembers()
3473 {
3474 return $this->members;
3475 }
3476 public function setNextPageToken($nextPageToken)
3477 {
3478 $this->nextPageToken = $nextPageToken;
3479 }
3480 public function getNextPageToken()
3481 {
3482 return $this->nextPageToken;
3483 }
3484 }
3485
3486 class Google_Service_Directory_MobileDevice extends Google_Collection
3487 {
3488 protected $collection_key = 'name';
3489 protected $internal_gapi_mappings = array(
3490 );
3491 protected $applicationsType = 'Google_Service_Directory_MobileDeviceApplications';
3492 protected $applicationsDataType = 'array';
3493 public $basebandVersion;
3494 public $buildNumber;
3495 public $defaultLanguage;
3496 public $deviceCompromisedStatus;
3497 public $deviceId;
3498 public $email;
3499 public $etag;
3500 public $firstSync;
3501 public $hardwareId;
3502 public $imei;
3503 public $kernelVersion;
3504 public $kind;
3505 public $lastSync;
3506 public $managedAccountIsOnOwnerProfile;
3507 public $meid;
3508 public $model;
3509 public $name;
3510 public $networkOperator;
3511 public $os;
3512 public $resourceId;
3513 public $serialNumber;
3514 public $status;
3515 public $type;
3516 public $userAgent;
3517 public $wifiMacAddress;
3518
3519
3520 public function setApplications($applications)
3521 {
3522 $this->applications = $applications;
3523 }
3524 public function getApplications()
3525 {
3526 return $this->applications;
3527 }
3528 public function setBasebandVersion($basebandVersion)
3529 {
3530 $this->basebandVersion = $basebandVersion;
3531 }
3532 public function getBasebandVersion()
3533 {
3534 return $this->basebandVersion;
3535 }
3536 public function setBuildNumber($buildNumber)
3537 {
3538 $this->buildNumber = $buildNumber;
3539 }
3540 public function getBuildNumber()
3541 {
3542 return $this->buildNumber;
3543 }
3544 public function setDefaultLanguage($defaultLanguage)
3545 {
3546 $this->defaultLanguage = $defaultLanguage;
3547 }
3548 public function getDefaultLanguage()
3549 {
3550 return $this->defaultLanguage;
3551 }
3552 public function setDeviceCompromisedStatus($deviceCompromisedStatus)
3553 {
3554 $this->deviceCompromisedStatus = $deviceCompromisedStatus;
3555 }
3556 public function getDeviceCompromisedStatus()
3557 {
3558 return $this->deviceCompromisedStatus;
3559 }
3560 public function setDeviceId($deviceId)
3561 {
3562 $this->deviceId = $deviceId;
3563 }
3564 public function getDeviceId()
3565 {
3566 return $this->deviceId;
3567 }
3568 public function setEmail($email)
3569 {
3570 $this->email = $email;
3571 }
3572 public function getEmail()
3573 {
3574 return $this->email;
3575 }
3576 public function setEtag($etag)
3577 {
3578 $this->etag = $etag;
3579 }
3580 public function getEtag()
3581 {
3582 return $this->etag;
3583 }
3584 public function setFirstSync($firstSync)
3585 {
3586 $this->firstSync = $firstSync;
3587 }
3588 public function getFirstSync()
3589 {
3590 return $this->firstSync;
3591 }
3592 public function setHardwareId($hardwareId)
3593 {
3594 $this->hardwareId = $hardwareId;
3595 }
3596 public function getHardwareId()
3597 {
3598 return $this->hardwareId;
3599 }
3600 public function setImei($imei)
3601 {
3602 $this->imei = $imei;
3603 }
3604 public function getImei()
3605 {
3606 return $this->imei;
3607 }
3608 public function setKernelVersion($kernelVersion)
3609 {
3610 $this->kernelVersion = $kernelVersion;
3611 }
3612 public function getKernelVersion()
3613 {
3614 return $this->kernelVersion;
3615 }
3616 public function setKind($kind)
3617 {
3618 $this->kind = $kind;
3619 }
3620 public function getKind()
3621 {
3622 return $this->kind;
3623 }
3624 public function setLastSync($lastSync)
3625 {
3626 $this->lastSync = $lastSync;
3627 }
3628 public function getLastSync()
3629 {
3630 return $this->lastSync;
3631 }
3632 public function setManagedAccountIsOnOwnerProfile($managedAccountIsOnOwnerProfile)
3633 {
3634 $this->managedAccountIsOnOwnerProfile = $managedAccountIsOnOwnerProfile;
3635 }
3636 public function getManagedAccountIsOnOwnerProfile()
3637 {
3638 return $this->managedAccountIsOnOwnerProfile;
3639 }
3640 public function setMeid($meid)
3641 {
3642 $this->meid = $meid;
3643 }
3644 public function getMeid()
3645 {
3646 return $this->meid;
3647 }
3648 public function setModel($model)
3649 {
3650 $this->model = $model;
3651 }
3652 public function getModel()
3653 {
3654 return $this->model;
3655 }
3656 public function setName($name)
3657 {
3658 $this->name = $name;
3659 }
3660 public function getName()
3661 {
3662 return $this->name;
3663 }
3664 public function setNetworkOperator($networkOperator)
3665 {
3666 $this->networkOperator = $networkOperator;
3667 }
3668 public function getNetworkOperator()
3669 {
3670 return $this->networkOperator;
3671 }
3672 public function setOs($os)
3673 {
3674 $this->os = $os;
3675 }
3676 public function getOs()
3677 {
3678 return $this->os;
3679 }
3680 public function setResourceId($resourceId)
3681 {
3682 $this->resourceId = $resourceId;
3683 }
3684 public function getResourceId()
3685 {
3686 return $this->resourceId;
3687 }
3688 public function setSerialNumber($serialNumber)
3689 {
3690 $this->serialNumber = $serialNumber;
3691 }
3692 public function getSerialNumber()
3693 {
3694 return $this->serialNumber;
3695 }
3696 public function setStatus($status)
3697 {
3698 $this->status = $status;
3699 }
3700 public function getStatus()
3701 {
3702 return $this->status;
3703 }
3704 public function setType($type)
3705 {
3706 $this->type = $type;
3707 }
3708 public function getType()
3709 {
3710 return $this->type;
3711 }
3712 public function setUserAgent($userAgent)
3713 {
3714 $this->userAgent = $userAgent;
3715 }
3716 public function getUserAgent()
3717 {
3718 return $this->userAgent;
3719 }
3720 public function setWifiMacAddress($wifiMacAddress)
3721 {
3722 $this->wifiMacAddress = $wifiMacAddress;
3723 }
3724 public function getWifiMacAddress()
3725 {
3726 return $this->wifiMacAddress;
3727 }
3728 }
3729
3730 class Google_Service_Directory_MobileDeviceAction extends Google_Model
3731 {
3732 protected $internal_gapi_mappings = array(
3733 );
3734 public $action;
3735
3736
3737 public function setAction($action)
3738 {
3739 $this->action = $action;
3740 }
3741 public function getAction()
3742 {
3743 return $this->action;
3744 }
3745 }
3746
3747 class Google_Service_Directory_MobileDeviceApplications extends Google_Collection
3748 {
3749 protected $collection_key = 'permission';
3750 protected $internal_gapi_mappings = array(
3751 );
3752 public $displayName;
3753 public $packageName;
3754 public $permission;
3755 public $versionCode;
3756 public $versionName;
3757
3758
3759 public function setDisplayName($displayName)
3760 {
3761 $this->displayName = $displayName;
3762 }
3763 public function getDisplayName()
3764 {
3765 return $this->displayName;
3766 }
3767 public function setPackageName($packageName)
3768 {
3769 $this->packageName = $packageName;
3770 }
3771 public function getPackageName()
3772 {
3773 return $this->packageName;
3774 }
3775 public function setPermission($permission)
3776 {
3777 $this->permission = $permission;
3778 }
3779 public function getPermission()
3780 {
3781 return $this->permission;
3782 }
3783 public function setVersionCode($versionCode)
3784 {
3785 $this->versionCode = $versionCode;
3786 }
3787 public function getVersionCode()
3788 {
3789 return $this->versionCode;
3790 }
3791 public function setVersionName($versionName)
3792 {
3793 $this->versionName = $versionName;
3794 }
3795 public function getVersionName()
3796 {
3797 return $this->versionName;
3798 }
3799 }
3800
3801 class Google_Service_Directory_MobileDevices extends Google_Collection
3802 {
3803 protected $collection_key = 'mobiledevices';
3804 protected $internal_gapi_mappings = array(
3805 );
3806 public $etag;
3807 public $kind;
3808 protected $mobiledevicesType = 'Google_Service_Directory_MobileDevice';
3809 protected $mobiledevicesDataType = 'array';
3810 public $nextPageToken;
3811
3812
3813 public function setEtag($etag)
3814 {
3815 $this->etag = $etag;
3816 }
3817 public function getEtag()
3818 {
3819 return $this->etag;
3820 }
3821 public function setKind($kind)
3822 {
3823 $this->kind = $kind;
3824 }
3825 public function getKind()
3826 {
3827 return $this->kind;
3828 }
3829 public function setMobiledevices($mobiledevices)
3830 {
3831 $this->mobiledevices = $mobiledevices;
3832 }
3833 public function getMobiledevices()
3834 {
3835 return $this->mobiledevices;
3836 }
3837 public function setNextPageToken($nextPageToken)
3838 {
3839 $this->nextPageToken = $nextPageToken;
3840 }
3841 public function getNextPageToken()
3842 {
3843 return $this->nextPageToken;
3844 }
3845 }
3846
3847 class Google_Service_Directory_Notification extends Google_Model
3848 {
3849 protected $internal_gapi_mappings = array(
3850 );
3851 public $body;
3852 public $etag;
3853 public $fromAddress;
3854 public $isUnread;
3855 public $kind;
3856 public $notificationId;
3857 public $sendTime;
3858 public $subject;
3859
3860
3861 public function setBody($body)
3862 {
3863 $this->body = $body;
3864 }
3865 public function getBody()
3866 {
3867 return $this->body;
3868 }
3869 public function setEtag($etag)
3870 {
3871 $this->etag = $etag;
3872 }
3873 public function getEtag()
3874 {
3875 return $this->etag;
3876 }
3877 public function setFromAddress($fromAddress)
3878 {
3879 $this->fromAddress = $fromAddress;
3880 }
3881 public function getFromAddress()
3882 {
3883 return $this->fromAddress;
3884 }
3885 public function setIsUnread($isUnread)
3886 {
3887 $this->isUnread = $isUnread;
3888 }
3889 public function getIsUnread()
3890 {
3891 return $this->isUnread;
3892 }
3893 public function setKind($kind)
3894 {
3895 $this->kind = $kind;
3896 }
3897 public function getKind()
3898 {
3899 return $this->kind;
3900 }
3901 public function setNotificationId($notificationId)
3902 {
3903 $this->notificationId = $notificationId;
3904 }
3905 public function getNotificationId()
3906 {
3907 return $this->notificationId;
3908 }
3909 public function setSendTime($sendTime)
3910 {
3911 $this->sendTime = $sendTime;
3912 }
3913 public function getSendTime()
3914 {
3915 return $this->sendTime;
3916 }
3917 public function setSubject($subject)
3918 {
3919 $this->subject = $subject;
3920 }
3921 public function getSubject()
3922 {
3923 return $this->subject;
3924 }
3925 }
3926
3927 class Google_Service_Directory_Notifications extends Google_Collection
3928 {
3929 protected $collection_key = 'items';
3930 protected $internal_gapi_mappings = array(
3931 );
3932 public $etag;
3933 protected $itemsType = 'Google_Service_Directory_Notification';
3934 protected $itemsDataType = 'array';
3935 public $kind;
3936 public $nextPageToken;
3937 public $unreadNotificationsCount;
3938
3939
3940 public function setEtag($etag)
3941 {
3942 $this->etag = $etag;
3943 }
3944 public function getEtag()
3945 {
3946 return $this->etag;
3947 }
3948 public function setItems($items)
3949 {
3950 $this->items = $items;
3951 }
3952 public function getItems()
3953 {
3954 return $this->items;
3955 }
3956 public function setKind($kind)
3957 {
3958 $this->kind = $kind;
3959 }
3960 public function getKind()
3961 {
3962 return $this->kind;
3963 }
3964 public function setNextPageToken($nextPageToken)
3965 {
3966 $this->nextPageToken = $nextPageToken;
3967 }
3968 public function getNextPageToken()
3969 {
3970 return $this->nextPageToken;
3971 }
3972 public function setUnreadNotificationsCount($unreadNotificationsCount)
3973 {
3974 $this->unreadNotificationsCount = $unreadNotificationsCount;
3975 }
3976 public function getUnreadNotificationsCount()
3977 {
3978 return $this->unreadNotificationsCount;
3979 }
3980 }
3981
3982 class Google_Service_Directory_OrgUnit extends Google_Model
3983 {
3984 protected $internal_gapi_mappings = array(
3985 );
3986 public $blockInheritance;
3987 public $description;
3988 public $etag;
3989 public $kind;
3990 public $name;
3991 public $orgUnitId;
3992 public $orgUnitPath;
3993 public $parentOrgUnitId;
3994 public $parentOrgUnitPath;
3995
3996
3997 public function setBlockInheritance($blockInheritance)
3998 {
3999 $this->blockInheritance = $blockInheritance;
4000 }
4001 public function getBlockInheritance()
4002 {
4003 return $this->blockInheritance;
4004 }
4005 public function setDescription($description)
4006 {
4007 $this->description = $description;
4008 }
4009 public function getDescription()
4010 {
4011 return $this->description;
4012 }
4013 public function setEtag($etag)
4014 {
4015 $this->etag = $etag;
4016 }
4017 public function getEtag()
4018 {
4019 return $this->etag;
4020 }
4021 public function setKind($kind)
4022 {
4023 $this->kind = $kind;
4024 }
4025 public function getKind()
4026 {
4027 return $this->kind;
4028 }
4029 public function setName($name)
4030 {
4031 $this->name = $name;
4032 }
4033 public function getName()
4034 {
4035 return $this->name;
4036 }
4037 public function setOrgUnitId($orgUnitId)
4038 {
4039 $this->orgUnitId = $orgUnitId;
4040 }
4041 public function getOrgUnitId()
4042 {
4043 return $this->orgUnitId;
4044 }
4045 public function setOrgUnitPath($orgUnitPath)
4046 {
4047 $this->orgUnitPath = $orgUnitPath;
4048 }
4049 public function getOrgUnitPath()
4050 {
4051 return $this->orgUnitPath;
4052 }
4053 public function setParentOrgUnitId($parentOrgUnitId)
4054 {
4055 $this->parentOrgUnitId = $parentOrgUnitId;
4056 }
4057 public function getParentOrgUnitId()
4058 {
4059 return $this->parentOrgUnitId;
4060 }
4061 public function setParentOrgUnitPath($parentOrgUnitPath)
4062 {
4063 $this->parentOrgUnitPath = $parentOrgUnitPath;
4064 }
4065 public function getParentOrgUnitPath()
4066 {
4067 return $this->parentOrgUnitPath;
4068 }
4069 }
4070
4071 class Google_Service_Directory_OrgUnits extends Google_Collection
4072 {
4073 protected $collection_key = 'organizationUnits';
4074 protected $internal_gapi_mappings = array(
4075 );
4076 public $etag;
4077 public $kind;
4078 protected $organizationUnitsType = 'Google_Service_Directory_OrgUnit';
4079 protected $organizationUnitsDataType = 'array';
4080
4081
4082 public function setEtag($etag)
4083 {
4084 $this->etag = $etag;
4085 }
4086 public function getEtag()
4087 {
4088 return $this->etag;
4089 }
4090 public function setKind($kind)
4091 {
4092 $this->kind = $kind;
4093 }
4094 public function getKind()
4095 {
4096 return $this->kind;
4097 }
4098 public function setOrganizationUnits($organizationUnits)
4099 {
4100 $this->organizationUnits = $organizationUnits;
4101 }
4102 public function getOrganizationUnits()
4103 {
4104 return $this->organizationUnits;
4105 }
4106 }
4107
4108 class Google_Service_Directory_Schema extends Google_Collection
4109 {
4110 protected $collection_key = 'fields';
4111 protected $internal_gapi_mappings = array(
4112 );
4113 public $etag;
4114 protected $fieldsType = 'Google_Service_Directory_SchemaFieldSpec';
4115 protected $fieldsDataType = 'array';
4116 public $kind;
4117 public $schemaId;
4118 public $schemaName;
4119
4120
4121 public function setEtag($etag)
4122 {
4123 $this->etag = $etag;
4124 }
4125 public function getEtag()
4126 {
4127 return $this->etag;
4128 }
4129 public function setFields($fields)
4130 {
4131 $this->fields = $fields;
4132 }
4133 public function getFields()
4134 {
4135 return $this->fields;
4136 }
4137 public function setKind($kind)
4138 {
4139 $this->kind = $kind;
4140 }
4141 public function getKind()
4142 {
4143 return $this->kind;
4144 }
4145 public function setSchemaId($schemaId)
4146 {
4147 $this->schemaId = $schemaId;
4148 }
4149 public function getSchemaId()
4150 {
4151 return $this->schemaId;
4152 }
4153 public function setSchemaName($schemaName)
4154 {
4155 $this->schemaName = $schemaName;
4156 }
4157 public function getSchemaName()
4158 {
4159 return $this->schemaName;
4160 }
4161 }
4162
4163 class Google_Service_Directory_SchemaFieldSpec extends Google_Model
4164 {
4165 protected $internal_gapi_mappings = array(
4166 );
4167 public $etag;
4168 public $fieldId;
4169 public $fieldName;
4170 public $fieldType;
4171 public $indexed;
4172 public $kind;
4173 public $multiValued;
4174 protected $numericIndexingSpecType = 'Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec';
4175 protected $numericIndexingSpecDataType = '';
4176 public $readAccessType;
4177
4178
4179 public function setEtag($etag)
4180 {
4181 $this->etag = $etag;
4182 }
4183 public function getEtag()
4184 {
4185 return $this->etag;
4186 }
4187 public function setFieldId($fieldId)
4188 {
4189 $this->fieldId = $fieldId;
4190 }
4191 public function getFieldId()
4192 {
4193 return $this->fieldId;
4194 }
4195 public function setFieldName($fieldName)
4196 {
4197 $this->fieldName = $fieldName;
4198 }
4199 public function getFieldName()
4200 {
4201 return $this->fieldName;
4202 }
4203 public function setFieldType($fieldType)
4204 {
4205 $this->fieldType = $fieldType;
4206 }
4207 public function getFieldType()
4208 {
4209 return $this->fieldType;
4210 }
4211 public function setIndexed($indexed)
4212 {
4213 $this->indexed = $indexed;
4214 }
4215 public function getIndexed()
4216 {
4217 return $this->indexed;
4218 }
4219 public function setKind($kind)
4220 {
4221 $this->kind = $kind;
4222 }
4223 public function getKind()
4224 {
4225 return $this->kind;
4226 }
4227 public function setMultiValued($multiValued)
4228 {
4229 $this->multiValued = $multiValued;
4230 }
4231 public function getMultiValued()
4232 {
4233 return $this->multiValued;
4234 }
4235 public function setNumericIndexingSpec(Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec $numericIndexingSpec)
4236 {
4237 $this->numericIndexingSpec = $numericIndexingSpec;
4238 }
4239 public function getNumericIndexingSpec()
4240 {
4241 return $this->numericIndexingSpec;
4242 }
4243 public function setReadAccessType($readAccessType)
4244 {
4245 $this->readAccessType = $readAccessType;
4246 }
4247 public function getReadAccessType()
4248 {
4249 return $this->readAccessType;
4250 }
4251 }
4252
4253 class Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec extends Google_Model
4254 {
4255 protected $internal_gapi_mappings = array(
4256 );
4257 public $maxValue;
4258 public $minValue;
4259
4260
4261 public function setMaxValue($maxValue)
4262 {
4263 $this->maxValue = $maxValue;
4264 }
4265 public function getMaxValue()
4266 {
4267 return $this->maxValue;
4268 }
4269 public function setMinValue($minValue)
4270 {
4271 $this->minValue = $minValue;
4272 }
4273 public function getMinValue()
4274 {
4275 return $this->minValue;
4276 }
4277 }
4278
4279 class Google_Service_Directory_Schemas extends Google_Collection
4280 {
4281 protected $collection_key = 'schemas';
4282 protected $internal_gapi_mappings = array(
4283 );
4284 public $etag;
4285 public $kind;
4286 protected $schemasType = 'Google_Service_Directory_Schema';
4287 protected $schemasDataType = 'array';
4288
4289
4290 public function setEtag($etag)
4291 {
4292 $this->etag = $etag;
4293 }
4294 public function getEtag()
4295 {
4296 return $this->etag;
4297 }
4298 public function setKind($kind)
4299 {
4300 $this->kind = $kind;
4301 }
4302 public function getKind()
4303 {
4304 return $this->kind;
4305 }
4306 public function setSchemas($schemas)
4307 {
4308 $this->schemas = $schemas;
4309 }
4310 public function getSchemas()
4311 {
4312 return $this->schemas;
4313 }
4314 }
4315
4316 class Google_Service_Directory_Token extends Google_Collection
4317 {
4318 protected $collection_key = 'scopes';
4319 protected $internal_gapi_mappings = array(
4320 );
4321 public $anonymous;
4322 public $clientId;
4323 public $displayText;
4324 public $etag;
4325 public $kind;
4326 public $nativeApp;
4327 public $scopes;
4328 public $userKey;
4329
4330
4331 public function setAnonymous($anonymous)
4332 {
4333 $this->anonymous = $anonymous;
4334 }
4335 public function getAnonymous()
4336 {
4337 return $this->anonymous;
4338 }
4339 public function setClientId($clientId)
4340 {
4341 $this->clientId = $clientId;
4342 }
4343 public function getClientId()
4344 {
4345 return $this->clientId;
4346 }
4347 public function setDisplayText($displayText)
4348 {
4349 $this->displayText = $displayText;
4350 }
4351 public function getDisplayText()
4352 {
4353 return $this->displayText;
4354 }
4355 public function setEtag($etag)
4356 {
4357 $this->etag = $etag;
4358 }
4359 public function getEtag()
4360 {
4361 return $this->etag;
4362 }
4363 public function setKind($kind)
4364 {
4365 $this->kind = $kind;
4366 }
4367 public function getKind()
4368 {
4369 return $this->kind;
4370 }
4371 public function setNativeApp($nativeApp)
4372 {
4373 $this->nativeApp = $nativeApp;
4374 }
4375 public function getNativeApp()
4376 {
4377 return $this->nativeApp;
4378 }
4379 public function setScopes($scopes)
4380 {
4381 $this->scopes = $scopes;
4382 }
4383 public function getScopes()
4384 {
4385 return $this->scopes;
4386 }
4387 public function setUserKey($userKey)
4388 {
4389 $this->userKey = $userKey;
4390 }
4391 public function getUserKey()
4392 {
4393 return $this->userKey;
4394 }
4395 }
4396
4397 class Google_Service_Directory_Tokens extends Google_Collection
4398 {
4399 protected $collection_key = 'items';
4400 protected $internal_gapi_mappings = array(
4401 );
4402 public $etag;
4403 protected $itemsType = 'Google_Service_Directory_Token';
4404 protected $itemsDataType = 'array';
4405 public $kind;
4406
4407
4408 public function setEtag($etag)
4409 {
4410 $this->etag = $etag;
4411 }
4412 public function getEtag()
4413 {
4414 return $this->etag;
4415 }
4416 public function setItems($items)
4417 {
4418 $this->items = $items;
4419 }
4420 public function getItems()
4421 {
4422 return $this->items;
4423 }
4424 public function setKind($kind)
4425 {
4426 $this->kind = $kind;
4427 }
4428 public function getKind()
4429 {
4430 return $this->kind;
4431 }
4432 }
4433
4434 class Google_Service_Directory_User extends Google_Collection
4435 {
4436 protected $collection_key = 'nonEditableAliases';
4437 protected $internal_gapi_mappings = array(
4438 );
4439 public $addresses;
4440 public $agreedToTerms;
4441 public $aliases;
4442 public $changePasswordAtNextLogin;
4443 public $creationTime;
4444 public $customSchemas;
4445 public $customerId;
4446 public $deletionTime;
4447 public $emails;
4448 public $etag;
4449 public $externalIds;
4450 public $hashFunction;
4451 public $id;
4452 public $ims;
4453 public $includeInGlobalAddressList;
4454 public $ipWhitelisted;
4455 public $isAdmin;
4456 public $isDelegatedAdmin;
4457 public $isMailboxSetup;
4458 public $kind;
4459 public $lastLoginTime;
4460 protected $nameType = 'Google_Service_Directory_UserName';
4461 protected $nameDataType = '';
4462 public $nonEditableAliases;
4463 public $notes;
4464 public $orgUnitPath;
4465 public $organizations;
4466 public $password;
4467 public $phones;
4468 public $primaryEmail;
4469 public $relations;
4470 public $suspended;
4471 public $suspensionReason;
4472 public $thumbnailPhotoUrl;
4473 public $websites;
4474
4475
4476 public function setAddresses($addresses)
4477 {
4478 $this->addresses = $addresses;
4479 }
4480 public function getAddresses()
4481 {
4482 return $this->addresses;
4483 }
4484 public function setAgreedToTerms($agreedToTerms)
4485 {
4486 $this->agreedToTerms = $agreedToTerms;
4487 }
4488 public function getAgreedToTerms()
4489 {
4490 return $this->agreedToTerms;
4491 }
4492 public function setAliases($aliases)
4493 {
4494 $this->aliases = $aliases;
4495 }
4496 public function getAliases()
4497 {
4498 return $this->aliases;
4499 }
4500 public function setChangePasswordAtNextLogin($changePasswordAtNextLogin)
4501 {
4502 $this->changePasswordAtNextLogin = $changePasswordAtNextLogin;
4503 }
4504 public function getChangePasswordAtNextLogin()
4505 {
4506 return $this->changePasswordAtNextLogin;
4507 }
4508 public function setCreationTime($creationTime)
4509 {
4510 $this->creationTime = $creationTime;
4511 }
4512 public function getCreationTime()
4513 {
4514 return $this->creationTime;
4515 }
4516 public function setCustomSchemas($customSchemas)
4517 {
4518 $this->customSchemas = $customSchemas;
4519 }
4520 public function getCustomSchemas()
4521 {
4522 return $this->customSchemas;
4523 }
4524 public function setCustomerId($customerId)
4525 {
4526 $this->customerId = $customerId;
4527 }
4528 public function getCustomerId()
4529 {
4530 return $this->customerId;
4531 }
4532 public function setDeletionTime($deletionTime)
4533 {
4534 $this->deletionTime = $deletionTime;
4535 }
4536 public function getDeletionTime()
4537 {
4538 return $this->deletionTime;
4539 }
4540 public function setEmails($emails)
4541 {
4542 $this->emails = $emails;
4543 }
4544 public function getEmails()
4545 {
4546 return $this->emails;
4547 }
4548 public function setEtag($etag)
4549 {
4550 $this->etag = $etag;
4551 }
4552 public function getEtag()
4553 {
4554 return $this->etag;
4555 }
4556 public function setExternalIds($externalIds)
4557 {
4558 $this->externalIds = $externalIds;
4559 }
4560 public function getExternalIds()
4561 {
4562 return $this->externalIds;
4563 }
4564 public function setHashFunction($hashFunction)
4565 {
4566 $this->hashFunction = $hashFunction;
4567 }
4568 public function getHashFunction()
4569 {
4570 return $this->hashFunction;
4571 }
4572 public function setId($id)
4573 {
4574 $this->id = $id;
4575 }
4576 public function getId()
4577 {
4578 return $this->id;
4579 }
4580 public function setIms($ims)
4581 {
4582 $this->ims = $ims;
4583 }
4584 public function getIms()
4585 {
4586 return $this->ims;
4587 }
4588 public function setIncludeInGlobalAddressList($includeInGlobalAddressList)
4589 {
4590 $this->includeInGlobalAddressList = $includeInGlobalAddressList;
4591 }
4592 public function getIncludeInGlobalAddressList()
4593 {
4594 return $this->includeInGlobalAddressList;
4595 }
4596 public function setIpWhitelisted($ipWhitelisted)
4597 {
4598 $this->ipWhitelisted = $ipWhitelisted;
4599 }
4600 public function getIpWhitelisted()
4601 {
4602 return $this->ipWhitelisted;
4603 }
4604 public function setIsAdmin($isAdmin)
4605 {
4606 $this->isAdmin = $isAdmin;
4607 }
4608 public function getIsAdmin()
4609 {
4610 return $this->isAdmin;
4611 }
4612 public function setIsDelegatedAdmin($isDelegatedAdmin)
4613 {
4614 $this->isDelegatedAdmin = $isDelegatedAdmin;
4615 }
4616 public function getIsDelegatedAdmin()
4617 {
4618 return $this->isDelegatedAdmin;
4619 }
4620 public function setIsMailboxSetup($isMailboxSetup)
4621 {
4622 $this->isMailboxSetup = $isMailboxSetup;
4623 }
4624 public function getIsMailboxSetup()
4625 {
4626 return $this->isMailboxSetup;
4627 }
4628 public function setKind($kind)
4629 {
4630 $this->kind = $kind;
4631 }
4632 public function getKind()
4633 {
4634 return $this->kind;
4635 }
4636 public function setLastLoginTime($lastLoginTime)
4637 {
4638 $this->lastLoginTime = $lastLoginTime;
4639 }
4640 public function getLastLoginTime()
4641 {
4642 return $this->lastLoginTime;
4643 }
4644 public function setName(Google_Service_Directory_UserName $name)
4645 {
4646 $this->name = $name;
4647 }
4648 public function getName()
4649 {
4650 return $this->name;
4651 }
4652 public function setNonEditableAliases($nonEditableAliases)
4653 {
4654 $this->nonEditableAliases = $nonEditableAliases;
4655 }
4656 public function getNonEditableAliases()
4657 {
4658 return $this->nonEditableAliases;
4659 }
4660 public function setNotes($notes)
4661 {
4662 $this->notes = $notes;
4663 }
4664 public function getNotes()
4665 {
4666 return $this->notes;
4667 }
4668 public function setOrgUnitPath($orgUnitPath)
4669 {
4670 $this->orgUnitPath = $orgUnitPath;
4671 }
4672 public function getOrgUnitPath()
4673 {
4674 return $this->orgUnitPath;
4675 }
4676 public function setOrganizations($organizations)
4677 {
4678 $this->organizations = $organizations;
4679 }
4680 public function getOrganizations()
4681 {
4682 return $this->organizations;
4683 }
4684 public function setPassword($password)
4685 {
4686 $this->password = $password;
4687 }
4688 public function getPassword()
4689 {
4690 return $this->password;
4691 }
4692 public function setPhones($phones)
4693 {
4694 $this->phones = $phones;
4695 }
4696 public function getPhones()
4697 {
4698 return $this->phones;
4699 }
4700 public function setPrimaryEmail($primaryEmail)
4701 {
4702 $this->primaryEmail = $primaryEmail;
4703 }
4704 public function getPrimaryEmail()
4705 {
4706 return $this->primaryEmail;
4707 }
4708 public function setRelations($relations)
4709 {
4710 $this->relations = $relations;
4711 }
4712 public function getRelations()
4713 {
4714 return $this->relations;
4715 }
4716 public function setSuspended($suspended)
4717 {
4718 $this->suspended = $suspended;
4719 }
4720 public function getSuspended()
4721 {
4722 return $this->suspended;
4723 }
4724 public function setSuspensionReason($suspensionReason)
4725 {
4726 $this->suspensionReason = $suspensionReason;
4727 }
4728 public function getSuspensionReason()
4729 {
4730 return $this->suspensionReason;
4731 }
4732 public function setThumbnailPhotoUrl($thumbnailPhotoUrl)
4733 {
4734 $this->thumbnailPhotoUrl = $thumbnailPhotoUrl;
4735 }
4736 public function getThumbnailPhotoUrl()
4737 {
4738 return $this->thumbnailPhotoUrl;
4739 }
4740 public function setWebsites($websites)
4741 {
4742 $this->websites = $websites;
4743 }
4744 public function getWebsites()
4745 {
4746 return $this->websites;
4747 }
4748 }
4749
4750 class Google_Service_Directory_UserAbout extends Google_Model
4751 {
4752 protected $internal_gapi_mappings = array(
4753 );
4754 public $contentType;
4755 public $value;
4756
4757
4758 public function setContentType($contentType)
4759 {
4760 $this->contentType = $contentType;
4761 }
4762 public function getContentType()
4763 {
4764 return $this->contentType;
4765 }
4766 public function setValue($value)
4767 {
4768 $this->value = $value;
4769 }
4770 public function getValue()
4771 {
4772 return $this->value;
4773 }
4774 }
4775
4776 class Google_Service_Directory_UserAddress extends Google_Model
4777 {
4778 protected $internal_gapi_mappings = array(
4779 );
4780 public $country;
4781 public $countryCode;
4782 public $customType;
4783 public $extendedAddress;
4784 public $formatted;
4785 public $locality;
4786 public $poBox;
4787 public $postalCode;
4788 public $primary;
4789 public $region;
4790 public $sourceIsStructured;
4791 public $streetAddress;
4792 public $type;
4793
4794
4795 public function setCountry($country)
4796 {
4797 $this->country = $country;
4798 }
4799 public function getCountry()
4800 {
4801 return $this->country;
4802 }
4803 public function setCountryCode($countryCode)
4804 {
4805 $this->countryCode = $countryCode;
4806 }
4807 public function getCountryCode()
4808 {
4809 return $this->countryCode;
4810 }
4811 public function setCustomType($customType)
4812 {
4813 $this->customType = $customType;
4814 }
4815 public function getCustomType()
4816 {
4817 return $this->customType;
4818 }
4819 public function setExtendedAddress($extendedAddress)
4820 {
4821 $this->extendedAddress = $extendedAddress;
4822 }
4823 public function getExtendedAddress()
4824 {
4825 return $this->extendedAddress;
4826 }
4827 public function setFormatted($formatted)
4828 {
4829 $this->formatted = $formatted;
4830 }
4831 public function getFormatted()
4832 {
4833 return $this->formatted;
4834 }
4835 public function setLocality($locality)
4836 {
4837 $this->locality = $locality;
4838 }
4839 public function getLocality()
4840 {
4841 return $this->locality;
4842 }
4843 public function setPoBox($poBox)
4844 {
4845 $this->poBox = $poBox;
4846 }
4847 public function getPoBox()
4848 {
4849 return $this->poBox;
4850 }
4851 public function setPostalCode($postalCode)
4852 {
4853 $this->postalCode = $postalCode;
4854 }
4855 public function getPostalCode()
4856 {
4857 return $this->postalCode;
4858 }
4859 public function setPrimary($primary)
4860 {
4861 $this->primary = $primary;
4862 }
4863 public function getPrimary()
4864 {
4865 return $this->primary;
4866 }
4867 public function setRegion($region)
4868 {
4869 $this->region = $region;
4870 }
4871 public function getRegion()
4872 {
4873 return $this->region;
4874 }
4875 public function setSourceIsStructured($sourceIsStructured)
4876 {
4877 $this->sourceIsStructured = $sourceIsStructured;
4878 }
4879 public function getSourceIsStructured()
4880 {
4881 return $this->sourceIsStructured;
4882 }
4883 public function setStreetAddress($streetAddress)
4884 {
4885 $this->streetAddress = $streetAddress;
4886 }
4887 public function getStreetAddress()
4888 {
4889 return $this->streetAddress;
4890 }
4891 public function setType($type)
4892 {
4893 $this->type = $type;
4894 }
4895 public function getType()
4896 {
4897 return $this->type;
4898 }
4899 }
4900
4901 class Google_Service_Directory_UserCustomProperties extends Google_Model
4902 {
4903 }
4904
4905 class Google_Service_Directory_UserCustomSchemas extends Google_Model
4906 {
4907 }
4908
4909 class Google_Service_Directory_UserEmail extends Google_Model
4910 {
4911 protected $internal_gapi_mappings = array(
4912 );
4913 public $address;
4914 public $customType;
4915 public $primary;
4916 public $type;
4917
4918
4919 public function setAddress($address)
4920 {
4921 $this->address = $address;
4922 }
4923 public function getAddress()
4924 {
4925 return $this->address;
4926 }
4927 public function setCustomType($customType)
4928 {
4929 $this->customType = $customType;
4930 }
4931 public function getCustomType()
4932 {
4933 return $this->customType;
4934 }
4935 public function setPrimary($primary)
4936 {
4937 $this->primary = $primary;
4938 }
4939 public function getPrimary()
4940 {
4941 return $this->primary;
4942 }
4943 public function setType($type)
4944 {
4945 $this->type = $type;
4946 }
4947 public function getType()
4948 {
4949 return $this->type;
4950 }
4951 }
4952
4953 class Google_Service_Directory_UserExternalId extends Google_Model
4954 {
4955 protected $internal_gapi_mappings = array(
4956 );
4957 public $customType;
4958 public $type;
4959 public $value;
4960
4961
4962 public function setCustomType($customType)
4963 {
4964 $this->customType = $customType;
4965 }
4966 public function getCustomType()
4967 {
4968 return $this->customType;
4969 }
4970 public function setType($type)
4971 {
4972 $this->type = $type;
4973 }
4974 public function getType()
4975 {
4976 return $this->type;
4977 }
4978 public function setValue($value)
4979 {
4980 $this->value = $value;
4981 }
4982 public function getValue()
4983 {
4984 return $this->value;
4985 }
4986 }
4987
4988 class Google_Service_Directory_UserIm extends Google_Model
4989 {
4990 protected $internal_gapi_mappings = array(
4991 );
4992 public $customProtocol;
4993 public $customType;
4994 public $im;
4995 public $primary;
4996 public $protocol;
4997 public $type;
4998
4999
5000 public function setCustomProtocol($customProtocol)
5001 {
5002 $this->customProtocol = $customProtocol;
5003 }
5004 public function getCustomProtocol()
5005 {
5006 return $this->customProtocol;
5007 }
5008 public function setCustomType($customType)
5009 {
5010 $this->customType = $customType;
5011 }
5012 public function getCustomType()
5013 {
5014 return $this->customType;
5015 }
5016 public function setIm($im)
5017 {
5018 $this->im = $im;
5019 }
5020 public function getIm()
5021 {
5022 return $this->im;
5023 }
5024 public function setPrimary($primary)
5025 {
5026 $this->primary = $primary;
5027 }
5028 public function getPrimary()
5029 {
5030 return $this->primary;
5031 }
5032 public function setProtocol($protocol)
5033 {
5034 $this->protocol = $protocol;
5035 }
5036 public function getProtocol()
5037 {
5038 return $this->protocol;
5039 }
5040 public function setType($type)
5041 {
5042 $this->type = $type;
5043 }
5044 public function getType()
5045 {
5046 return $this->type;
5047 }
5048 }
5049
5050 class Google_Service_Directory_UserMakeAdmin extends Google_Model
5051 {
5052 protected $internal_gapi_mappings = array(
5053 );
5054 public $status;
5055
5056
5057 public function setStatus($status)
5058 {
5059 $this->status = $status;
5060 }
5061 public function getStatus()
5062 {
5063 return $this->status;
5064 }
5065 }
5066
5067 class Google_Service_Directory_UserName extends Google_Model
5068 {
5069 protected $internal_gapi_mappings = array(
5070 );
5071 public $familyName;
5072 public $fullName;
5073 public $givenName;
5074
5075
5076 public function setFamilyName($familyName)
5077 {
5078 $this->familyName = $familyName;
5079 }
5080 public function getFamilyName()
5081 {
5082 return $this->familyName;
5083 }
5084 public function setFullName($fullName)
5085 {
5086 $this->fullName = $fullName;
5087 }
5088 public function getFullName()
5089 {
5090 return $this->fullName;
5091 }
5092 public function setGivenName($givenName)
5093 {
5094 $this->givenName = $givenName;
5095 }
5096 public function getGivenName()
5097 {
5098 return $this->givenName;
5099 }
5100 }
5101
5102 class Google_Service_Directory_UserOrganization extends Google_Model
5103 {
5104 protected $internal_gapi_mappings = array(
5105 );
5106 public $costCenter;
5107 public $customType;
5108 public $department;
5109 public $description;
5110 public $domain;
5111 public $location;
5112 public $name;
5113 public $primary;
5114 public $symbol;
5115 public $title;
5116 public $type;
5117
5118
5119 public function setCostCenter($costCenter)
5120 {
5121 $this->costCenter = $costCenter;
5122 }
5123 public function getCostCenter()
5124 {
5125 return $this->costCenter;
5126 }
5127 public function setCustomType($customType)
5128 {
5129 $this->customType = $customType;
5130 }
5131 public function getCustomType()
5132 {
5133 return $this->customType;
5134 }
5135 public function setDepartment($department)
5136 {
5137 $this->department = $department;
5138 }
5139 public function getDepartment()
5140 {
5141 return $this->department;
5142 }
5143 public function setDescription($description)
5144 {
5145 $this->description = $description;
5146 }
5147 public function getDescription()
5148 {
5149 return $this->description;
5150 }
5151 public function setDomain($domain)
5152 {
5153 $this->domain = $domain;
5154 }
5155 public function getDomain()
5156 {
5157 return $this->domain;
5158 }
5159 public function setLocation($location)
5160 {
5161 $this->location = $location;
5162 }
5163 public function getLocation()
5164 {
5165 return $this->location;
5166 }
5167 public function setName($name)
5168 {
5169 $this->name = $name;
5170 }
5171 public function getName()
5172 {
5173 return $this->name;
5174 }
5175 public function setPrimary($primary)
5176 {
5177 $this->primary = $primary;
5178 }
5179 public function getPrimary()
5180 {
5181 return $this->primary;
5182 }
5183 public function setSymbol($symbol)
5184 {
5185 $this->symbol = $symbol;
5186 }
5187 public function getSymbol()
5188 {
5189 return $this->symbol;
5190 }
5191 public function setTitle($title)
5192 {
5193 $this->title = $title;
5194 }
5195 public function getTitle()
5196 {
5197 return $this->title;
5198 }
5199 public function setType($type)
5200 {
5201 $this->type = $type;
5202 }
5203 public function getType()
5204 {
5205 return $this->type;
5206 }
5207 }
5208
5209 class Google_Service_Directory_UserPhone extends Google_Model
5210 {
5211 protected $internal_gapi_mappings = array(
5212 );
5213 public $customType;
5214 public $primary;
5215 public $type;
5216 public $value;
5217
5218
5219 public function setCustomType($customType)
5220 {
5221 $this->customType = $customType;
5222 }
5223 public function getCustomType()
5224 {
5225 return $this->customType;
5226 }
5227 public function setPrimary($primary)
5228 {
5229 $this->primary = $primary;
5230 }
5231 public function getPrimary()
5232 {
5233 return $this->primary;
5234 }
5235 public function setType($type)
5236 {
5237 $this->type = $type;
5238 }
5239 public function getType()
5240 {
5241 return $this->type;
5242 }
5243 public function setValue($value)
5244 {
5245 $this->value = $value;
5246 }
5247 public function getValue()
5248 {
5249 return $this->value;
5250 }
5251 }
5252
5253 class Google_Service_Directory_UserPhoto extends Google_Model
5254 {
5255 protected $internal_gapi_mappings = array(
5256 );
5257 public $etag;
5258 public $height;
5259 public $id;
5260 public $kind;
5261 public $mimeType;
5262 public $photoData;
5263 public $primaryEmail;
5264 public $width;
5265
5266
5267 public function setEtag($etag)
5268 {
5269 $this->etag = $etag;
5270 }
5271 public function getEtag()
5272 {
5273 return $this->etag;
5274 }
5275 public function setHeight($height)
5276 {
5277 $this->height = $height;
5278 }
5279 public function getHeight()
5280 {
5281 return $this->height;
5282 }
5283 public function setId($id)
5284 {
5285 $this->id = $id;
5286 }
5287 public function getId()
5288 {
5289 return $this->id;
5290 }
5291 public function setKind($kind)
5292 {
5293 $this->kind = $kind;
5294 }
5295 public function getKind()
5296 {
5297 return $this->kind;
5298 }
5299 public function setMimeType($mimeType)
5300 {
5301 $this->mimeType = $mimeType;
5302 }
5303 public function getMimeType()
5304 {
5305 return $this->mimeType;
5306 }
5307 public function setPhotoData($photoData)
5308 {
5309 $this->photoData = $photoData;
5310 }
5311 public function getPhotoData()
5312 {
5313 return $this->photoData;
5314 }
5315 public function setPrimaryEmail($primaryEmail)
5316 {
5317 $this->primaryEmail = $primaryEmail;
5318 }
5319 public function getPrimaryEmail()
5320 {
5321 return $this->primaryEmail;
5322 }
5323 public function setWidth($width)
5324 {
5325 $this->width = $width;
5326 }
5327 public function getWidth()
5328 {
5329 return $this->width;
5330 }
5331 }
5332
5333 class Google_Service_Directory_UserRelation extends Google_Model
5334 {
5335 protected $internal_gapi_mappings = array(
5336 );
5337 public $customType;
5338 public $type;
5339 public $value;
5340
5341
5342 public function setCustomType($customType)
5343 {
5344 $this->customType = $customType;
5345 }
5346 public function getCustomType()
5347 {
5348 return $this->customType;
5349 }
5350 public function setType($type)
5351 {
5352 $this->type = $type;
5353 }
5354 public function getType()
5355 {
5356 return $this->type;
5357 }
5358 public function setValue($value)
5359 {
5360 $this->value = $value;
5361 }
5362 public function getValue()
5363 {
5364 return $this->value;
5365 }
5366 }
5367
5368 class Google_Service_Directory_UserUndelete extends Google_Model
5369 {
5370 protected $internal_gapi_mappings = array(
5371 );
5372 public $orgUnitPath;
5373
5374
5375 public function setOrgUnitPath($orgUnitPath)
5376 {
5377 $this->orgUnitPath = $orgUnitPath;
5378 }
5379 public function getOrgUnitPath()
5380 {
5381 return $this->orgUnitPath;
5382 }
5383 }
5384
5385 class Google_Service_Directory_UserWebsite extends Google_Model
5386 {
5387 protected $internal_gapi_mappings = array(
5388 );
5389 public $customType;
5390 public $primary;
5391 public $type;
5392 public $value;
5393
5394
5395 public function setCustomType($customType)
5396 {
5397 $this->customType = $customType;
5398 }
5399 public function getCustomType()
5400 {
5401 return $this->customType;
5402 }
5403 public function setPrimary($primary)
5404 {
5405 $this->primary = $primary;
5406 }
5407 public function getPrimary()
5408 {
5409 return $this->primary;
5410 }
5411 public function setType($type)
5412 {
5413 $this->type = $type;
5414 }
5415 public function getType()
5416 {
5417 return $this->type;
5418 }
5419 public function setValue($value)
5420 {
5421 $this->value = $value;
5422 }
5423 public function getValue()
5424 {
5425 return $this->value;
5426 }
5427 }
5428
5429 class Google_Service_Directory_Users extends Google_Collection
5430 {
5431 protected $collection_key = 'users';
5432 protected $internal_gapi_mappings = array(
5433 "triggerEvent" => "trigger_event",
5434 );
5435 public $etag;
5436 public $kind;
5437 public $nextPageToken;
5438 public $triggerEvent;
5439 protected $usersType = 'Google_Service_Directory_User';
5440 protected $usersDataType = 'array';
5441
5442
5443 public function setEtag($etag)
5444 {
5445 $this->etag = $etag;
5446 }
5447 public function getEtag()
5448 {
5449 return $this->etag;
5450 }
5451 public function setKind($kind)
5452 {
5453 $this->kind = $kind;
5454 }
5455 public function getKind()
5456 {
5457 return $this->kind;
5458 }
5459 public function setNextPageToken($nextPageToken)
5460 {
5461 $this->nextPageToken = $nextPageToken;
5462 }
5463 public function getNextPageToken()
5464 {
5465 return $this->nextPageToken;
5466 }
5467 public function setTriggerEvent($triggerEvent)
5468 {
5469 $this->triggerEvent = $triggerEvent;
5470 }
5471 public function getTriggerEvent()
5472 {
5473 return $this->triggerEvent;
5474 }
5475 public function setUsers($users)
5476 {
5477 $this->users = $users;
5478 }
5479 public function getUsers()
5480 {
5481 return $this->users;
5482 }
5483 }
5484
5485 class Google_Service_Directory_VerificationCode extends Google_Model
5486 {
5487 protected $internal_gapi_mappings = array(
5488 );
5489 public $etag;
5490 public $kind;
5491 public $userId;
5492 public $verificationCode;
5493
5494
5495 public function setEtag($etag)
5496 {
5497 $this->etag = $etag;
5498 }
5499 public function getEtag()
5500 {
5501 return $this->etag;
5502 }
5503 public function setKind($kind)
5504 {
5505 $this->kind = $kind;
5506 }
5507 public function getKind()
5508 {
5509 return $this->kind;
5510 }
5511 public function setUserId($userId)
5512 {
5513 $this->userId = $userId;
5514 }
5515 public function getUserId()
5516 {
5517 return $this->userId;
5518 }
5519 public function setVerificationCode($verificationCode)
5520 {
5521 $this->verificationCode = $verificationCode;
5522 }
5523 public function getVerificationCode()
5524 {
5525 return $this->verificationCode;
5526 }
5527 }
5528
5529 class Google_Service_Directory_VerificationCodes extends Google_Collection
5530 {
5531 protected $collection_key = 'items';
5532 protected $internal_gapi_mappings = array(
5533 );
5534 public $etag;
5535 protected $itemsType = 'Google_Service_Directory_VerificationCode';
5536 protected $itemsDataType = 'array';
5537 public $kind;
5538
5539
5540 public function setEtag($etag)
5541 {
5542 $this->etag = $etag;
5543 }
5544 public function getEtag()
5545 {
5546 return $this->etag;
5547 }
5548 public function setItems($items)
5549 {
5550 $this->items = $items;
5551 }
5552 public function getItems()
5553 {
5554 return $this->items;
5555 }
5556 public function setKind($kind)
5557 {
5558 $this->kind = $kind;
5559 }
5560 public function getKind()
5561 {
5562 return $this->kind;
5563 }
5564 }
5565