PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / inc / google-api-php-client / src / Google / Service / Directory.php

Directory.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Directory.php

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