PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
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 / vendor / google-api-php-client / src / Google / Service / Directory.php

Directory.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/Directory.php

7,524 lines 201.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for Directory (directory_v1).
18 *
19 * <p>
20 * The Admin SDK Directory API lets you view and manage enterprise resources
21 * such as users and groups, administrative notifications, security features,
22 * and more.</p>
23 *
24 * <p>
25 * For more information about this service, see the API
26 * <a href="https://developers.google.com/admin-sdk/directory/" target="_blank">Documentation</a>
27 * </p>
28 *
29 * @author Google, Inc.
30 */
31 class Google_Service_Directory extends Google_Service
32 {
33 /** View and manage customer related information. */
34 const ADMIN_DIRECTORY_CUSTOMER =
35 "https://www.googleapis.com/auth/admin.directory.customer";
36 /** View customer related information. */
37 const ADMIN_DIRECTORY_CUSTOMER_READONLY =
38 "https://www.googleapis.com/auth/admin.directory.customer.readonly";
39 /** View and manage your Chrome OS devices' metadata. */
40 const ADMIN_DIRECTORY_DEVICE_CHROMEOS =
41 "https://www.googleapis.com/auth/admin.directory.device.chromeos";
42 /** View your Chrome OS devices' metadata. */
43 const ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY =
44 "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly";
45 /** View and manage your mobile devices' metadata. */
46 const ADMIN_DIRECTORY_DEVICE_MOBILE =
47 "https://www.googleapis.com/auth/admin.directory.device.mobile";
48 /** Manage your mobile devices by performing administrative tasks. */
49 const ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION =
50 "https://www.googleapis.com/auth/admin.directory.device.mobile.action";
51 /** View your mobile devices' metadata. */
52 const ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY =
53 "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly";
54 /** View and manage the provisioning of domains for your customers. */
55 const ADMIN_DIRECTORY_DOMAIN =
56 "https://www.googleapis.com/auth/admin.directory.domain";
57 /** View domains related to your customers. */
58 const ADMIN_DIRECTORY_DOMAIN_READONLY =
59 "https://www.googleapis.com/auth/admin.directory.domain.readonly";
60 /** View and manage the provisioning of groups on your domain. */
61 const ADMIN_DIRECTORY_GROUP =
62 "https://www.googleapis.com/auth/admin.directory.group";
63 /** View and manage group subscriptions on your domain. */
64 const ADMIN_DIRECTORY_GROUP_MEMBER =
65 "https://www.googleapis.com/auth/admin.directory.group.member";
66 /** View group subscriptions on your domain. */
67 const ADMIN_DIRECTORY_GROUP_MEMBER_READONLY =
68 "https://www.googleapis.com/auth/admin.directory.group.member.readonly";
69 /** View groups on your domain. */
70 const ADMIN_DIRECTORY_GROUP_READONLY =
71 "https://www.googleapis.com/auth/admin.directory.group.readonly";
72 /** View and manage notifications received on your domain. */
73 const ADMIN_DIRECTORY_NOTIFICATIONS =
74 "https://www.googleapis.com/auth/admin.directory.notifications";
75 /** View and manage organization units on your domain. */
76 const ADMIN_DIRECTORY_ORGUNIT =
77 "https://www.googleapis.com/auth/admin.directory.orgunit";
78 /** View organization units on your domain. */
79 const ADMIN_DIRECTORY_ORGUNIT_READONLY =
80 "https://www.googleapis.com/auth/admin.directory.orgunit.readonly";
81 /** View and manage the provisioning of calendar resources on your domain. */
82 const ADMIN_DIRECTORY_RESOURCE_CALENDAR =
83 "https://www.googleapis.com/auth/admin.directory.resource.calendar";
84 /** View calendar resources on your domain. */
85 const ADMIN_DIRECTORY_RESOURCE_CALENDAR_READONLY =
86 "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly";
87 /** Manage delegated admin roles for your domain. */
88 const ADMIN_DIRECTORY_ROLEMANAGEMENT =
89 "https://www.googleapis.com/auth/admin.directory.rolemanagement";
90 /** View delegated admin roles for your domain. */
91 const ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY =
92 "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly";
93 /** View and manage the provisioning of users on your domain. */
94 const ADMIN_DIRECTORY_USER =
95 "https://www.googleapis.com/auth/admin.directory.user";
96 /** View and manage user aliases on your domain. */
97 const ADMIN_DIRECTORY_USER_ALIAS =
98 "https://www.googleapis.com/auth/admin.directory.user.alias";
99 /** View user aliases on your domain. */
100 const ADMIN_DIRECTORY_USER_ALIAS_READONLY =
101 "https://www.googleapis.com/auth/admin.directory.user.alias.readonly";
102 /** View users on your domain. */
103 const ADMIN_DIRECTORY_USER_READONLY =
104 "https://www.googleapis.com/auth/admin.directory.user.readonly";
105 /** Manage data access permissions for users on your domain. */
106 const ADMIN_DIRECTORY_USER_SECURITY =
107 "https://www.googleapis.com/auth/admin.directory.user.security";
108 /** View and manage the provisioning of user schemas on your domain. */
109 const ADMIN_DIRECTORY_USERSCHEMA =
110 "https://www.googleapis.com/auth/admin.directory.userschema";
111 /** View user schemas on your domain. */
112 const ADMIN_DIRECTORY_USERSCHEMA_READONLY =
113 "https://www.googleapis.com/auth/admin.directory.userschema.readonly";
114
115 public $asps;
116 public $channels;
117 public $chromeosdevices;
118 public $customers;
119 public $domainAliases;
120 public $domains;
121 public $groups;
122 public $groups_aliases;
123 public $members;
124 public $mobiledevices;
125 public $notifications;
126 public $orgunits;
127 public $privileges;
128 public $resources_calendars;
129 public $roleAssignments;
130 public $roles;
131 public $schemas;
132 public $tokens;
133 public $users;
134 public $users_aliases;
135 public $users_photos;
136 public $verificationCodes;
137
138
139 /**
140 * Constructs the internal representation of the Directory service.
141 *
142 * @param Google_Client $client
143 */
144 public function __construct(Google_Client $client)
145 {
146 parent::__construct($client);
147 $this->rootUrl = 'https://www.googleapis.com/';
148 $this->servicePath = 'admin/directory/v1/';
149 $this->version = 'directory_v1';
150 $this->serviceName = 'admin';
151
152 $this->asps = new Google_Service_Directory_Asps_Resource(
153 $this,
154 $this->serviceName,
155 'asps',
156 array(
157 'methods' => array(
158 'delete' => array(
159 'path' => 'users/{userKey}/asps/{codeId}',
160 'httpMethod' => 'DELETE',
161 'parameters' => array(
162 'userKey' => array(
163 'location' => 'path',
164 'type' => 'string',
165 'required' => true,
166 ),
167 'codeId' => array(
168 'location' => 'path',
169 'type' => 'integer',
170 'required' => true,
171 ),
172 ),
173 ),'get' => array(
174 'path' => 'users/{userKey}/asps/{codeId}',
175 'httpMethod' => 'GET',
176 'parameters' => array(
177 'userKey' => array(
178 'location' => 'path',
179 'type' => 'string',
180 'required' => true,
181 ),
182 'codeId' => array(
183 'location' => 'path',
184 'type' => 'integer',
185 'required' => true,
186 ),
187 ),
188 ),'list' => array(
189 'path' => 'users/{userKey}/asps',
190 'httpMethod' => 'GET',
191 'parameters' => array(
192 'userKey' => array(
193 'location' => 'path',
194 'type' => 'string',
195 'required' => true,
196 ),
197 ),
198 ),
199 )
200 )
201 );
202 $this->channels = new Google_Service_Directory_Channels_Resource(
203 $this,
204 $this->serviceName,
205 'channels',
206 array(
207 'methods' => array(
208 'stop' => array(
209 'path' => '/admin/directory_v1/channels/stop',
210 'httpMethod' => 'POST',
211 'parameters' => array(),
212 ),
213 )
214 )
215 );
216 $this->chromeosdevices = new Google_Service_Directory_Chromeosdevices_Resource(
217 $this,
218 $this->serviceName,
219 'chromeosdevices',
220 array(
221 'methods' => array(
222 'get' => array(
223 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}',
224 'httpMethod' => 'GET',
225 'parameters' => array(
226 'customerId' => array(
227 'location' => 'path',
228 'type' => 'string',
229 'required' => true,
230 ),
231 'deviceId' => array(
232 'location' => 'path',
233 'type' => 'string',
234 'required' => true,
235 ),
236 'projection' => array(
237 'location' => 'query',
238 'type' => 'string',
239 ),
240 ),
241 ),'list' => array(
242 'path' => 'customer/{customerId}/devices/chromeos',
243 'httpMethod' => 'GET',
244 'parameters' => array(
245 'customerId' => array(
246 'location' => 'path',
247 'type' => 'string',
248 'required' => true,
249 ),
250 'maxResults' => array(
251 'location' => 'query',
252 'type' => 'integer',
253 ),
254 'orderBy' => array(
255 'location' => 'query',
256 'type' => 'string',
257 ),
258 'pageToken' => array(
259 'location' => 'query',
260 'type' => 'string',
261 ),
262 'projection' => array(
263 'location' => 'query',
264 'type' => 'string',
265 ),
266 'query' => array(
267 'location' => 'query',
268 'type' => 'string',
269 ),
270 'sortOrder' => array(
271 'location' => 'query',
272 'type' => 'string',
273 ),
274 ),
275 ),'patch' => array(
276 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}',
277 'httpMethod' => 'PATCH',
278 'parameters' => array(
279 'customerId' => array(
280 'location' => 'path',
281 'type' => 'string',
282 'required' => true,
283 ),
284 'deviceId' => array(
285 'location' => 'path',
286 'type' => 'string',
287 'required' => true,
288 ),
289 'projection' => array(
290 'location' => 'query',
291 'type' => 'string',
292 ),
293 ),
294 ),'update' => array(
295 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}',
296 'httpMethod' => 'PUT',
297 'parameters' => array(
298 'customerId' => array(
299 'location' => 'path',
300 'type' => 'string',
301 'required' => true,
302 ),
303 'deviceId' => array(
304 'location' => 'path',
305 'type' => 'string',
306 'required' => true,
307 ),
308 'projection' => array(
309 'location' => 'query',
310 'type' => 'string',
311 ),
312 ),
313 ),
314 )
315 )
316 );
317 $this->customers = new Google_Service_Directory_Customers_Resource(
318 $this,
319 $this->serviceName,
320 'customers',
321 array(
322 'methods' => array(
323 'get' => array(
324 'path' => 'customers/{customerKey}',
325 'httpMethod' => 'GET',
326 'parameters' => array(
327 'customerKey' => array(
328 'location' => 'path',
329 'type' => 'string',
330 'required' => true,
331 ),
332 ),
333 ),'patch' => array(
334 'path' => 'customers/{customerKey}',
335 'httpMethod' => 'PATCH',
336 'parameters' => array(
337 'customerKey' => array(
338 'location' => 'path',
339 'type' => 'string',
340 'required' => true,
341 ),
342 ),
343 ),'update' => array(
344 'path' => 'customers/{customerKey}',
345 'httpMethod' => 'PUT',
346 'parameters' => array(
347 'customerKey' => array(
348 'location' => 'path',
349 'type' => 'string',
350 'required' => true,
351 ),
352 ),
353 ),
354 )
355 )
356 );
357 $this->domainAliases = new Google_Service_Directory_DomainAliases_Resource(
358 $this,
359 $this->serviceName,
360 'domainAliases',
361 array(
362 'methods' => array(
363 'delete' => array(
364 'path' => 'customer/{customer}/domainaliases/{domainAliasName}',
365 'httpMethod' => 'DELETE',
366 'parameters' => array(
367 'customer' => array(
368 'location' => 'path',
369 'type' => 'string',
370 'required' => true,
371 ),
372 'domainAliasName' => array(
373 'location' => 'path',
374 'type' => 'string',
375 'required' => true,
376 ),
377 ),
378 ),'get' => array(
379 'path' => 'customer/{customer}/domainaliases/{domainAliasName}',
380 'httpMethod' => 'GET',
381 'parameters' => array(
382 'customer' => array(
383 'location' => 'path',
384 'type' => 'string',
385 'required' => true,
386 ),
387 'domainAliasName' => array(
388 'location' => 'path',
389 'type' => 'string',
390 'required' => true,
391 ),
392 ),
393 ),'insert' => array(
394 'path' => 'customer/{customer}/domainaliases',
395 'httpMethod' => 'POST',
396 'parameters' => array(
397 'customer' => array(
398 'location' => 'path',
399 'type' => 'string',
400 'required' => true,
401 ),
402 ),
403 ),'list' => array(
404 'path' => 'customer/{customer}/domainaliases',
405 'httpMethod' => 'GET',
406 'parameters' => array(
407 'customer' => array(
408 'location' => 'path',
409 'type' => 'string',
410 'required' => true,
411 ),
412 'parentDomainName' => array(
413 'location' => 'query',
414 'type' => 'string',
415 ),
416 ),
417 ),
418 )
419 )
420 );
421 $this->domains = new Google_Service_Directory_Domains_Resource(
422 $this,
423 $this->serviceName,
424 'domains',
425 array(
426 'methods' => array(
427 'delete' => array(
428 'path' => 'customer/{customer}/domains/{domainName}',
429 'httpMethod' => 'DELETE',
430 'parameters' => array(
431 'customer' => array(
432 'location' => 'path',
433 'type' => 'string',
434 'required' => true,
435 ),
436 'domainName' => array(
437 'location' => 'path',
438 'type' => 'string',
439 'required' => true,
440 ),
441 ),
442 ),'get' => array(
443 'path' => 'customer/{customer}/domains/{domainName}',
444 'httpMethod' => 'GET',
445 'parameters' => array(
446 'customer' => array(
447 'location' => 'path',
448 'type' => 'string',
449 'required' => true,
450 ),
451 'domainName' => array(
452 'location' => 'path',
453 'type' => 'string',
454 'required' => true,
455 ),
456 ),
457 ),'insert' => array(
458 'path' => 'customer/{customer}/domains',
459 'httpMethod' => 'POST',
460 'parameters' => array(
461 'customer' => array(
462 'location' => 'path',
463 'type' => 'string',
464 'required' => true,
465 ),
466 ),
467 ),'list' => array(
468 'path' => 'customer/{customer}/domains',
469 'httpMethod' => 'GET',
470 'parameters' => array(
471 'customer' => array(
472 'location' => 'path',
473 'type' => 'string',
474 'required' => true,
475 ),
476 ),
477 ),
478 )
479 )
480 );
481 $this->groups = new Google_Service_Directory_Groups_Resource(
482 $this,
483 $this->serviceName,
484 'groups',
485 array(
486 'methods' => array(
487 'delete' => array(
488 'path' => 'groups/{groupKey}',
489 'httpMethod' => 'DELETE',
490 'parameters' => array(
491 'groupKey' => array(
492 'location' => 'path',
493 'type' => 'string',
494 'required' => true,
495 ),
496 ),
497 ),'get' => array(
498 'path' => 'groups/{groupKey}',
499 'httpMethod' => 'GET',
500 'parameters' => array(
501 'groupKey' => array(
502 'location' => 'path',
503 'type' => 'string',
504 'required' => true,
505 ),
506 ),
507 ),'insert' => array(
508 'path' => 'groups',
509 'httpMethod' => 'POST',
510 'parameters' => array(),
511 ),'list' => array(
512 'path' => 'groups',
513 'httpMethod' => 'GET',
514 'parameters' => array(
515 'customer' => array(
516 'location' => 'query',
517 'type' => 'string',
518 ),
519 'domain' => array(
520 'location' => 'query',
521 'type' => 'string',
522 ),
523 'maxResults' => array(
524 'location' => 'query',
525 'type' => 'integer',
526 ),
527 'pageToken' => array(
528 'location' => 'query',
529 'type' => 'string',
530 ),
531 'userKey' => array(
532 'location' => 'query',
533 'type' => 'string',
534 ),
535 ),
536 ),'patch' => array(
537 'path' => 'groups/{groupKey}',
538 'httpMethod' => 'PATCH',
539 'parameters' => array(
540 'groupKey' => array(
541 'location' => 'path',
542 'type' => 'string',
543 'required' => true,
544 ),
545 ),
546 ),'update' => array(
547 'path' => 'groups/{groupKey}',
548 'httpMethod' => 'PUT',
549 'parameters' => array(
550 'groupKey' => array(
551 'location' => 'path',
552 'type' => 'string',
553 'required' => true,
554 ),
555 ),
556 ),
557 )
558 )
559 );
560 $this->groups_aliases = new Google_Service_Directory_GroupsAliases_Resource(
561 $this,
562 $this->serviceName,
563 'aliases',
564 array(
565 'methods' => array(
566 'delete' => array(
567 'path' => 'groups/{groupKey}/aliases/{alias}',
568 'httpMethod' => 'DELETE',
569 'parameters' => array(
570 'groupKey' => array(
571 'location' => 'path',
572 'type' => 'string',
573 'required' => true,
574 ),
575 'alias' => array(
576 'location' => 'path',
577 'type' => 'string',
578 'required' => true,
579 ),
580 ),
581 ),'insert' => array(
582 'path' => 'groups/{groupKey}/aliases',
583 'httpMethod' => 'POST',
584 'parameters' => array(
585 'groupKey' => array(
586 'location' => 'path',
587 'type' => 'string',
588 'required' => true,
589 ),
590 ),
591 ),'list' => array(
592 'path' => 'groups/{groupKey}/aliases',
593 'httpMethod' => 'GET',
594 'parameters' => array(
595 'groupKey' => array(
596 'location' => 'path',
597 'type' => 'string',
598 'required' => true,
599 ),
600 ),
601 ),
602 )
603 )
604 );
605 $this->members = new Google_Service_Directory_Members_Resource(
606 $this,
607 $this->serviceName,
608 'members',
609 array(
610 'methods' => array(
611 'delete' => array(
612 'path' => 'groups/{groupKey}/members/{memberKey}',
613 'httpMethod' => 'DELETE',
614 'parameters' => array(
615 'groupKey' => array(
616 'location' => 'path',
617 'type' => 'string',
618 'required' => true,
619 ),
620 'memberKey' => array(
621 'location' => 'path',
622 'type' => 'string',
623 'required' => true,
624 ),
625 ),
626 ),'get' => array(
627 'path' => 'groups/{groupKey}/members/{memberKey}',
628 'httpMethod' => 'GET',
629 'parameters' => array(
630 'groupKey' => array(
631 'location' => 'path',
632 'type' => 'string',
633 'required' => true,
634 ),
635 'memberKey' => array(
636 'location' => 'path',
637 'type' => 'string',
638 'required' => true,
639 ),
640 ),
641 ),'insert' => array(
642 'path' => 'groups/{groupKey}/members',
643 'httpMethod' => 'POST',
644 'parameters' => array(
645 'groupKey' => array(
646 'location' => 'path',
647 'type' => 'string',
648 'required' => true,
649 ),
650 ),
651 ),'list' => array(
652 'path' => 'groups/{groupKey}/members',
653 'httpMethod' => 'GET',
654 'parameters' => array(
655 'groupKey' => array(
656 'location' => 'path',
657 'type' => 'string',
658 'required' => true,
659 ),
660 'maxResults' => array(
661 'location' => 'query',
662 'type' => 'integer',
663 ),
664 'pageToken' => array(
665 'location' => 'query',
666 'type' => 'string',
667 ),
668 'roles' => array(
669 'location' => 'query',
670 'type' => 'string',
671 ),
672 ),
673 ),'patch' => array(
674 'path' => 'groups/{groupKey}/members/{memberKey}',
675 'httpMethod' => 'PATCH',
676 'parameters' => array(
677 'groupKey' => array(
678 'location' => 'path',
679 'type' => 'string',
680 'required' => true,
681 ),
682 'memberKey' => array(
683 'location' => 'path',
684 'type' => 'string',
685 'required' => true,
686 ),
687 ),
688 ),'update' => array(
689 'path' => 'groups/{groupKey}/members/{memberKey}',
690 'httpMethod' => 'PUT',
691 'parameters' => array(
692 'groupKey' => array(
693 'location' => 'path',
694 'type' => 'string',
695 'required' => true,
696 ),
697 'memberKey' => array(
698 'location' => 'path',
699 'type' => 'string',
700 'required' => true,
701 ),
702 ),
703 ),
704 )
705 )
706 );
707 $this->mobiledevices = new Google_Service_Directory_Mobiledevices_Resource(
708 $this,
709 $this->serviceName,
710 'mobiledevices',
711 array(
712 'methods' => array(
713 'action' => array(
714 'path' => 'customer/{customerId}/devices/mobile/{resourceId}/action',
715 'httpMethod' => 'POST',
716 'parameters' => array(
717 'customerId' => array(
718 'location' => 'path',
719 'type' => 'string',
720 'required' => true,
721 ),
722 'resourceId' => array(
723 'location' => 'path',
724 'type' => 'string',
725 'required' => true,
726 ),
727 ),
728 ),'delete' => array(
729 'path' => 'customer/{customerId}/devices/mobile/{resourceId}',
730 'httpMethod' => 'DELETE',
731 'parameters' => array(
732 'customerId' => array(
733 'location' => 'path',
734 'type' => 'string',
735 'required' => true,
736 ),
737 'resourceId' => array(
738 'location' => 'path',
739 'type' => 'string',
740 'required' => true,
741 ),
742 ),
743 ),'get' => array(
744 'path' => 'customer/{customerId}/devices/mobile/{resourceId}',
745 'httpMethod' => 'GET',
746 'parameters' => array(
747 'customerId' => array(
748 'location' => 'path',
749 'type' => 'string',
750 'required' => true,
751 ),
752 'resourceId' => array(
753 'location' => 'path',
754 'type' => 'string',
755 'required' => true,
756 ),
757 'projection' => array(
758 'location' => 'query',
759 'type' => 'string',
760 ),
761 ),
762 ),'list' => array(
763 'path' => 'customer/{customerId}/devices/mobile',
764 'httpMethod' => 'GET',
765 'parameters' => array(
766 'customerId' => array(
767 'location' => 'path',
768 'type' => 'string',
769 'required' => true,
770 ),
771 'maxResults' => array(
772 'location' => 'query',
773 'type' => 'integer',
774 ),
775 'orderBy' => array(
776 'location' => 'query',
777 'type' => 'string',
778 ),
779 'pageToken' => array(
780 'location' => 'query',
781 'type' => 'string',
782 ),
783 'projection' => array(
784 'location' => 'query',
785 'type' => 'string',
786 ),
787 'query' => array(
788 'location' => 'query',
789 'type' => 'string',
790 ),
791 'sortOrder' => array(
792 'location' => 'query',
793 'type' => 'string',
794 ),
795 ),
796 ),
797 )
798 )
799 );
800 $this->notifications = new Google_Service_Directory_Notifications_Resource(
801 $this,
802 $this->serviceName,
803 'notifications',
804 array(
805 'methods' => array(
806 'delete' => array(
807 'path' => 'customer/{customer}/notifications/{notificationId}',
808 'httpMethod' => 'DELETE',
809 'parameters' => array(
810 'customer' => array(
811 'location' => 'path',
812 'type' => 'string',
813 'required' => true,
814 ),
815 'notificationId' => array(
816 'location' => 'path',
817 'type' => 'string',
818 'required' => true,
819 ),
820 ),
821 ),'get' => array(
822 'path' => 'customer/{customer}/notifications/{notificationId}',
823 'httpMethod' => 'GET',
824 'parameters' => array(
825 'customer' => array(
826 'location' => 'path',
827 'type' => 'string',
828 'required' => true,
829 ),
830 'notificationId' => array(
831 'location' => 'path',
832 'type' => 'string',
833 'required' => true,
834 ),
835 ),
836 ),'list' => array(
837 'path' => 'customer/{customer}/notifications',
838 'httpMethod' => 'GET',
839 'parameters' => array(
840 'customer' => array(
841 'location' => 'path',
842 'type' => 'string',
843 'required' => true,
844 ),
845 'language' => array(
846 'location' => 'query',
847 'type' => 'string',
848 ),
849 'maxResults' => array(
850 'location' => 'query',
851 'type' => 'integer',
852 ),
853 'pageToken' => array(
854 'location' => 'query',
855 'type' => 'string',
856 ),
857 ),
858 ),'patch' => array(
859 'path' => 'customer/{customer}/notifications/{notificationId}',
860 'httpMethod' => 'PATCH',
861 'parameters' => array(
862 'customer' => array(
863 'location' => 'path',
864 'type' => 'string',
865 'required' => true,
866 ),
867 'notificationId' => array(
868 'location' => 'path',
869 'type' => 'string',
870 'required' => true,
871 ),
872 ),
873 ),'update' => array(
874 'path' => 'customer/{customer}/notifications/{notificationId}',
875 'httpMethod' => 'PUT',
876 'parameters' => array(
877 'customer' => array(
878 'location' => 'path',
879 'type' => 'string',
880 'required' => true,
881 ),
882 'notificationId' => array(
883 'location' => 'path',
884 'type' => 'string',
885 'required' => true,
886 ),
887 ),
888 ),
889 )
890 )
891 );
892 $this->orgunits = new Google_Service_Directory_Orgunits_Resource(
893 $this,
894 $this->serviceName,
895 'orgunits',
896 array(
897 'methods' => array(
898 'delete' => array(
899 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
900 'httpMethod' => 'DELETE',
901 'parameters' => array(
902 'customerId' => array(
903 'location' => 'path',
904 'type' => 'string',
905 'required' => true,
906 ),
907 'orgUnitPath' => array(
908 'location' => 'path',
909 'type' => 'string',
910 'repeated' => true,
911 'required' => true,
912 ),
913 ),
914 ),'get' => array(
915 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
916 'httpMethod' => 'GET',
917 'parameters' => array(
918 'customerId' => array(
919 'location' => 'path',
920 'type' => 'string',
921 'required' => true,
922 ),
923 'orgUnitPath' => array(
924 'location' => 'path',
925 'type' => 'string',
926 'repeated' => true,
927 'required' => true,
928 ),
929 ),
930 ),'insert' => array(
931 'path' => 'customer/{customerId}/orgunits',
932 'httpMethod' => 'POST',
933 'parameters' => array(
934 'customerId' => array(
935 'location' => 'path',
936 'type' => 'string',
937 'required' => true,
938 ),
939 ),
940 ),'list' => array(
941 'path' => 'customer/{customerId}/orgunits',
942 'httpMethod' => 'GET',
943 'parameters' => array(
944 'customerId' => array(
945 'location' => 'path',
946 'type' => 'string',
947 'required' => true,
948 ),
949 'orgUnitPath' => array(
950 'location' => 'query',
951 'type' => 'string',
952 ),
953 'type' => array(
954 'location' => 'query',
955 'type' => 'string',
956 ),
957 ),
958 ),'patch' => array(
959 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
960 'httpMethod' => 'PATCH',
961 'parameters' => array(
962 'customerId' => array(
963 'location' => 'path',
964 'type' => 'string',
965 'required' => true,
966 ),
967 'orgUnitPath' => array(
968 'location' => 'path',
969 'type' => 'string',
970 'repeated' => true,
971 'required' => true,
972 ),
973 ),
974 ),'update' => array(
975 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
976 'httpMethod' => 'PUT',
977 'parameters' => array(
978 'customerId' => array(
979 'location' => 'path',
980 'type' => 'string',
981 'required' => true,
982 ),
983 'orgUnitPath' => array(
984 'location' => 'path',
985 'type' => 'string',
986 'repeated' => true,
987 'required' => true,
988 ),
989 ),
990 ),
991 )
992 )
993 );
994 $this->privileges = new Google_Service_Directory_Privileges_Resource(
995 $this,
996 $this->serviceName,
997 'privileges',
998 array(
999 'methods' => array(
1000 'list' => array(
1001 'path' => 'customer/{customer}/roles/ALL/privileges',
1002 'httpMethod' => 'GET',
1003 'parameters' => array(
1004 'customer' => array(
1005 'location' => 'path',
1006 'type' => 'string',
1007 'required' => true,
1008 ),
1009 ),
1010 ),
1011 )
1012 )
1013 );
1014 $this->resources_calendars = new Google_Service_Directory_ResourcesCalendars_Resource(
1015 $this,
1016 $this->serviceName,
1017 'calendars',
1018 array(
1019 'methods' => array(
1020 'delete' => array(
1021 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}',
1022 'httpMethod' => 'DELETE',
1023 'parameters' => array(
1024 'customer' => array(
1025 'location' => 'path',
1026 'type' => 'string',
1027 'required' => true,
1028 ),
1029 'calendarResourceId' => array(
1030 'location' => 'path',
1031 'type' => 'string',
1032 'required' => true,
1033 ),
1034 ),
1035 ),'get' => array(
1036 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}',
1037 'httpMethod' => 'GET',
1038 'parameters' => array(
1039 'customer' => array(
1040 'location' => 'path',
1041 'type' => 'string',
1042 'required' => true,
1043 ),
1044 'calendarResourceId' => array(
1045 'location' => 'path',
1046 'type' => 'string',
1047 'required' => true,
1048 ),
1049 ),
1050 ),'insert' => array(
1051 'path' => 'customer/{customer}/resources/calendars',
1052 'httpMethod' => 'POST',
1053 'parameters' => array(
1054 'customer' => array(
1055 'location' => 'path',
1056 'type' => 'string',
1057 'required' => true,
1058 ),
1059 ),
1060 ),'list' => array(
1061 'path' => 'customer/{customer}/resources/calendars',
1062 'httpMethod' => 'GET',
1063 'parameters' => array(
1064 'customer' => array(
1065 'location' => 'path',
1066 'type' => 'string',
1067 'required' => true,
1068 ),
1069 'maxResults' => array(
1070 'location' => 'query',
1071 'type' => 'integer',
1072 ),
1073 'pageToken' => array(
1074 'location' => 'query',
1075 'type' => 'string',
1076 ),
1077 ),
1078 ),'patch' => array(
1079 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}',
1080 'httpMethod' => 'PATCH',
1081 'parameters' => array(
1082 'customer' => array(
1083 'location' => 'path',
1084 'type' => 'string',
1085 'required' => true,
1086 ),
1087 'calendarResourceId' => array(
1088 'location' => 'path',
1089 'type' => 'string',
1090 'required' => true,
1091 ),
1092 ),
1093 ),'update' => array(
1094 'path' => 'customer/{customer}/resources/calendars/{calendarResourceId}',
1095 'httpMethod' => 'PUT',
1096 'parameters' => array(
1097 'customer' => array(
1098 'location' => 'path',
1099 'type' => 'string',
1100 'required' => true,
1101 ),
1102 'calendarResourceId' => array(
1103 'location' => 'path',
1104 'type' => 'string',
1105 'required' => true,
1106 ),
1107 ),
1108 ),
1109 )
1110 )
1111 );
1112 $this->roleAssignments = new Google_Service_Directory_RoleAssignments_Resource(
1113 $this,
1114 $this->serviceName,
1115 'roleAssignments',
1116 array(
1117 'methods' => array(
1118 'delete' => array(
1119 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}',
1120 'httpMethod' => 'DELETE',
1121 'parameters' => array(
1122 'customer' => array(
1123 'location' => 'path',
1124 'type' => 'string',
1125 'required' => true,
1126 ),
1127 'roleAssignmentId' => array(
1128 'location' => 'path',
1129 'type' => 'string',
1130 'required' => true,
1131 ),
1132 ),
1133 ),'get' => array(
1134 'path' => 'customer/{customer}/roleassignments/{roleAssignmentId}',
1135 'httpMethod' => 'GET',
1136 'parameters' => array(
1137 'customer' => array(
1138 'location' => 'path',
1139 'type' => 'string',
1140 'required' => true,
1141 ),
1142 'roleAssignmentId' => array(
1143 'location' => 'path',
1144 'type' => 'string',
1145 'required' => true,
1146 ),
1147 ),
1148 ),'insert' => array(
1149 'path' => 'customer/{customer}/roleassignments',
1150 'httpMethod' => 'POST',
1151 'parameters' => array(
1152 'customer' => array(
1153 'location' => 'path',
1154 'type' => 'string',
1155 'required' => true,
1156 ),
1157 ),
1158 ),'list' => array(
1159 'path' => 'customer/{customer}/roleassignments',
1160 'httpMethod' => 'GET',
1161 'parameters' => array(
1162 'customer' => array(
1163 'location' => 'path',
1164 'type' => 'string',
1165 'required' => true,
1166 ),
1167 'maxResults' => array(
1168 'location' => 'query',
1169 'type' => 'integer',
1170 ),
1171 'pageToken' => array(
1172 'location' => 'query',
1173 'type' => 'string',
1174 ),
1175 'roleId' => array(
1176 'location' => 'query',
1177 'type' => 'string',
1178 ),
1179 'userKey' => array(
1180 'location' => 'query',
1181 'type' => 'string',
1182 ),
1183 ),
1184 ),
1185 )
1186 )
1187 );
1188 $this->roles = new Google_Service_Directory_Roles_Resource(
1189 $this,
1190 $this->serviceName,
1191 'roles',
1192 array(
1193 'methods' => array(
1194 'delete' => array(
1195 'path' => 'customer/{customer}/roles/{roleId}',
1196 'httpMethod' => 'DELETE',
1197 'parameters' => array(
1198 'customer' => array(
1199 'location' => 'path',
1200 'type' => 'string',
1201 'required' => true,
1202 ),
1203 'roleId' => array(
1204 'location' => 'path',
1205 'type' => 'string',
1206 'required' => true,
1207 ),
1208 ),
1209 ),'get' => array(
1210 'path' => 'customer/{customer}/roles/{roleId}',
1211 'httpMethod' => 'GET',
1212 'parameters' => array(
1213 'customer' => array(
1214 'location' => 'path',
1215 'type' => 'string',
1216 'required' => true,
1217 ),
1218 'roleId' => array(
1219 'location' => 'path',
1220 'type' => 'string',
1221 'required' => true,
1222 ),
1223 ),
1224 ),'insert' => array(
1225 'path' => 'customer/{customer}/roles',
1226 'httpMethod' => 'POST',
1227 'parameters' => array(
1228 'customer' => array(
1229 'location' => 'path',
1230 'type' => 'string',
1231 'required' => true,
1232 ),
1233 ),
1234 ),'list' => array(
1235 'path' => 'customer/{customer}/roles',
1236 'httpMethod' => 'GET',
1237 'parameters' => array(
1238 'customer' => array(
1239 'location' => 'path',
1240 'type' => 'string',
1241 'required' => true,
1242 ),
1243 'maxResults' => array(
1244 'location' => 'query',
1245 'type' => 'integer',
1246 ),
1247 'pageToken' => array(
1248 'location' => 'query',
1249 'type' => 'string',
1250 ),
1251 ),
1252 ),'patch' => array(
1253 'path' => 'customer/{customer}/roles/{roleId}',
1254 'httpMethod' => 'PATCH',
1255 'parameters' => array(
1256 'customer' => array(
1257 'location' => 'path',
1258 'type' => 'string',
1259 'required' => true,
1260 ),
1261 'roleId' => array(
1262 'location' => 'path',
1263 'type' => 'string',
1264 'required' => true,
1265 ),
1266 ),
1267 ),'update' => array(
1268 'path' => 'customer/{customer}/roles/{roleId}',
1269 'httpMethod' => 'PUT',
1270 'parameters' => array(
1271 'customer' => array(
1272 'location' => 'path',
1273 'type' => 'string',
1274 'required' => true,
1275 ),
1276 'roleId' => array(
1277 'location' => 'path',
1278 'type' => 'string',
1279 'required' => true,
1280 ),
1281 ),
1282 ),
1283 )
1284 )
1285 );
1286 $this->schemas = new Google_Service_Directory_Schemas_Resource(
1287 $this,
1288 $this->serviceName,
1289 'schemas',
1290 array(
1291 'methods' => array(
1292 'delete' => array(
1293 'path' => 'customer/{customerId}/schemas/{schemaKey}',
1294 'httpMethod' => 'DELETE',
1295 'parameters' => array(
1296 'customerId' => array(
1297 'location' => 'path',
1298 'type' => 'string',
1299 'required' => true,
1300 ),
1301 'schemaKey' => array(
1302 'location' => 'path',
1303 'type' => 'string',
1304 'required' => true,
1305 ),
1306 ),
1307 ),'get' => array(
1308 'path' => 'customer/{customerId}/schemas/{schemaKey}',
1309 'httpMethod' => 'GET',
1310 'parameters' => array(
1311 'customerId' => array(
1312 'location' => 'path',
1313 'type' => 'string',
1314 'required' => true,
1315 ),
1316 'schemaKey' => array(
1317 'location' => 'path',
1318 'type' => 'string',
1319 'required' => true,
1320 ),
1321 ),
1322 ),'insert' => array(
1323 'path' => 'customer/{customerId}/schemas',
1324 'httpMethod' => 'POST',
1325 'parameters' => array(
1326 'customerId' => array(
1327 'location' => 'path',
1328 'type' => 'string',
1329 'required' => true,
1330 ),
1331 ),
1332 ),'list' => array(
1333 'path' => 'customer/{customerId}/schemas',
1334 'httpMethod' => 'GET',
1335 'parameters' => array(
1336 'customerId' => array(
1337 'location' => 'path',
1338 'type' => 'string',
1339 'required' => true,
1340 ),
1341 ),
1342 ),'patch' => array(
1343 'path' => 'customer/{customerId}/schemas/{schemaKey}',
1344 'httpMethod' => 'PATCH',
1345 'parameters' => array(
1346 'customerId' => array(
1347 'location' => 'path',
1348 'type' => 'string',
1349 'required' => true,
1350 ),
1351 'schemaKey' => array(
1352 'location' => 'path',
1353 'type' => 'string',
1354 'required' => true,
1355 ),
1356 ),
1357 ),'update' => array(
1358 'path' => 'customer/{customerId}/schemas/{schemaKey}',
1359 'httpMethod' => 'PUT',
1360 'parameters' => array(
1361 'customerId' => array(
1362 'location' => 'path',
1363 'type' => 'string',
1364 'required' => true,
1365 ),
1366 'schemaKey' => array(
1367 'location' => 'path',
1368 'type' => 'string',
1369 'required' => true,
1370 ),
1371 ),
1372 ),
1373 )
1374 )
1375 );
1376 $this->tokens = new Google_Service_Directory_Tokens_Resource(
1377 $this,
1378 $this->serviceName,
1379 'tokens',
1380 array(
1381 'methods' => array(
1382 'delete' => array(
1383 'path' => 'users/{userKey}/tokens/{clientId}',
1384 'httpMethod' => 'DELETE',
1385 'parameters' => array(
1386 'userKey' => array(
1387 'location' => 'path',
1388 'type' => 'string',
1389 'required' => true,
1390 ),
1391 'clientId' => array(
1392 'location' => 'path',
1393 'type' => 'string',
1394 'required' => true,
1395 ),
1396 ),
1397 ),'get' => array(
1398 'path' => 'users/{userKey}/tokens/{clientId}',
1399 'httpMethod' => 'GET',
1400 'parameters' => array(
1401 'userKey' => array(
1402 'location' => 'path',
1403 'type' => 'string',
1404 'required' => true,
1405 ),
1406 'clientId' => array(
1407 'location' => 'path',
1408 'type' => 'string',
1409 'required' => true,
1410 ),
1411 ),
1412 ),'list' => array(
1413 'path' => 'users/{userKey}/tokens',
1414 'httpMethod' => 'GET',
1415 'parameters' => array(
1416 'userKey' => array(
1417 'location' => 'path',
1418 'type' => 'string',
1419 'required' => true,
1420 ),
1421 ),
1422 ),
1423 )
1424 )
1425 );
1426 $this->users = new Google_Service_Directory_Users_Resource(
1427 $this,
1428 $this->serviceName,
1429 'users',
1430 array(
1431 'methods' => array(
1432 'delete' => array(
1433 'path' => 'users/{userKey}',
1434 'httpMethod' => 'DELETE',
1435 'parameters' => array(
1436 'userKey' => array(
1437 'location' => 'path',
1438 'type' => 'string',
1439 'required' => true,
1440 ),
1441 ),
1442 ),'get' => array(
1443 'path' => 'users/{userKey}',
1444 'httpMethod' => 'GET',
1445 'parameters' => array(
1446 'userKey' => array(
1447 'location' => 'path',
1448 'type' => 'string',
1449 'required' => true,
1450 ),
1451 'customFieldMask' => array(
1452 'location' => 'query',
1453 'type' => 'string',
1454 ),
1455 'projection' => array(
1456 'location' => 'query',
1457 'type' => 'string',
1458 ),
1459 'viewType' => array(
1460 'location' => 'query',
1461 'type' => 'string',
1462 ),
1463 ),
1464 ),'insert' => array(
1465 'path' => 'users',
1466 'httpMethod' => 'POST',
1467 'parameters' => array(),
1468 ),'list' => array(
1469 'path' => 'users',
1470 'httpMethod' => 'GET',
1471 'parameters' => array(
1472 'customFieldMask' => array(
1473 'location' => 'query',
1474 'type' => 'string',
1475 ),
1476 'customer' => array(
1477 'location' => 'query',
1478 'type' => 'string',
1479 ),
1480 'domain' => array(
1481 'location' => 'query',
1482 'type' => 'string',
1483 ),
1484 'event' => array(
1485 'location' => 'query',
1486 'type' => 'string',
1487 ),
1488 'maxResults' => array(
1489 'location' => 'query',
1490 'type' => 'integer',
1491 ),
1492 'orderBy' => array(
1493 'location' => 'query',
1494 'type' => 'string',
1495 ),
1496 'pageToken' => array(
1497 'location' => 'query',
1498 'type' => 'string',
1499 ),
1500 'projection' => array(
1501 'location' => 'query',
1502 'type' => 'string',
1503 ),
1504 'query' => array(
1505 'location' => 'query',
1506 'type' => 'string',
1507 ),
1508 'showDeleted' => array(
1509 'location' => 'query',
1510 'type' => 'string',
1511 ),
1512 'sortOrder' => array(
1513 'location' => 'query',
1514 'type' => 'string',
1515 ),
1516 'viewType' => array(
1517 'location' => 'query',
1518 'type' => 'string',
1519 ),
1520 ),
1521 ),'makeAdmin' => array(
1522 'path' => 'users/{userKey}/makeAdmin',
1523 'httpMethod' => 'POST',
1524 'parameters' => array(
1525 'userKey' => array(
1526 'location' => 'path',
1527 'type' => 'string',
1528 'required' => true,
1529 ),
1530 ),
1531 ),'patch' => array(
1532 'path' => 'users/{userKey}',
1533 'httpMethod' => 'PATCH',
1534 'parameters' => array(
1535 'userKey' => array(
1536 'location' => 'path',
1537 'type' => 'string',
1538 'required' => true,
1539 ),
1540 ),
1541 ),'undelete' => array(
1542 'path' => 'users/{userKey}/undelete',
1543 'httpMethod' => 'POST',
1544 'parameters' => array(
1545 'userKey' => array(
1546 'location' => 'path',
1547 'type' => 'string',
1548 'required' => true,
1549 ),
1550 ),
1551 ),'update' => array(
1552 'path' => 'users/{userKey}',
1553 'httpMethod' => 'PUT',
1554 'parameters' => array(
1555 'userKey' => array(
1556 'location' => 'path',
1557 'type' => 'string',
1558 'required' => true,
1559 ),
1560 ),
1561 ),'watch' => array(
1562 'path' => 'users/watch',
1563 'httpMethod' => 'POST',
1564 'parameters' => array(
1565 'customFieldMask' => array(
1566 'location' => 'query',
1567 'type' => 'string',
1568 ),
1569 'customer' => array(
1570 'location' => 'query',
1571 'type' => 'string',
1572 ),
1573 'domain' => array(
1574 'location' => 'query',
1575 'type' => 'string',
1576 ),
1577 'event' => array(
1578 'location' => 'query',
1579 'type' => 'string',
1580 ),
1581 'maxResults' => array(
1582 'location' => 'query',
1583 'type' => 'integer',
1584 ),
1585 'orderBy' => array(
1586 'location' => 'query',
1587 'type' => 'string',
1588 ),
1589 'pageToken' => array(
1590 'location' => 'query',
1591 'type' => 'string',
1592 ),
1593 'projection' => array(
1594 'location' => 'query',
1595 'type' => 'string',
1596 ),
1597 'query' => array(
1598 'location' => 'query',
1599 'type' => 'string',
1600 ),
1601 'showDeleted' => array(
1602 'location' => 'query',
1603 'type' => 'string',
1604 ),
1605 'sortOrder' => array(
1606 'location' => 'query',
1607 'type' => 'string',
1608 ),
1609 'viewType' => array(
1610 'location' => 'query',
1611 'type' => 'string',
1612 ),
1613 ),
1614 ),
1615 )
1616 )
1617 );
1618 $this->users_aliases = new Google_Service_Directory_UsersAliases_Resource(
1619 $this,
1620 $this->serviceName,
1621 'aliases',
1622 array(
1623 'methods' => array(
1624 'delete' => array(
1625 'path' => 'users/{userKey}/aliases/{alias}',
1626 'httpMethod' => 'DELETE',
1627 'parameters' => array(
1628 'userKey' => array(
1629 'location' => 'path',
1630 'type' => 'string',
1631 'required' => true,
1632 ),
1633 'alias' => array(
1634 'location' => 'path',
1635 'type' => 'string',
1636 'required' => true,
1637 ),
1638 ),
1639 ),'insert' => array(
1640 'path' => 'users/{userKey}/aliases',
1641 'httpMethod' => 'POST',
1642 'parameters' => array(
1643 'userKey' => array(
1644 'location' => 'path',
1645 'type' => 'string',
1646 'required' => true,
1647 ),
1648 ),
1649 ),'list' => array(
1650 'path' => 'users/{userKey}/aliases',
1651 'httpMethod' => 'GET',
1652 'parameters' => array(
1653 'userKey' => array(
1654 'location' => 'path',
1655 'type' => 'string',
1656 'required' => true,
1657 ),
1658 'event' => array(
1659 'location' => 'query',
1660 'type' => 'string',
1661 ),
1662 ),
1663 ),'watch' => array(
1664 'path' => 'users/{userKey}/aliases/watch',
1665 'httpMethod' => 'POST',
1666 'parameters' => array(
1667 'userKey' => array(
1668 'location' => 'path',
1669 'type' => 'string',
1670 'required' => true,
1671 ),
1672 'event' => array(
1673 'location' => 'query',
1674 'type' => 'string',
1675 ),
1676 ),
1677 ),
1678 )
1679 )
1680 );
1681 $this->users_photos = new Google_Service_Directory_UsersPhotos_Resource(
1682 $this,
1683 $this->serviceName,
1684 'photos',
1685 array(
1686 'methods' => array(
1687 'delete' => array(
1688 'path' => 'users/{userKey}/photos/thumbnail',
1689 'httpMethod' => 'DELETE',
1690 'parameters' => array(
1691 'userKey' => array(
1692 'location' => 'path',
1693 'type' => 'string',
1694 'required' => true,
1695 ),
1696 ),
1697 ),'get' => array(
1698 'path' => 'users/{userKey}/photos/thumbnail',
1699 'httpMethod' => 'GET',
1700 'parameters' => array(
1701 'userKey' => array(
1702 'location' => 'path',
1703 'type' => 'string',
1704 'required' => true,
1705 ),
1706 ),
1707 ),'patch' => array(
1708 'path' => 'users/{userKey}/photos/thumbnail',
1709 'httpMethod' => 'PATCH',
1710 'parameters' => array(
1711 'userKey' => array(
1712 'location' => 'path',
1713 'type' => 'string',
1714 'required' => true,
1715 ),
1716 ),
1717 ),'update' => array(
1718 'path' => 'users/{userKey}/photos/thumbnail',
1719 'httpMethod' => 'PUT',
1720 'parameters' => array(
1721 'userKey' => array(
1722 'location' => 'path',
1723 'type' => 'string',
1724 'required' => true,
1725 ),
1726 ),
1727 ),
1728 )
1729 )
1730 );
1731 $this->verificationCodes = new Google_Service_Directory_VerificationCodes_Resource(
1732 $this,
1733 $this->serviceName,
1734 'verificationCodes',
1735 array(
1736 'methods' => array(
1737 'generate' => array(
1738 'path' => 'users/{userKey}/verificationCodes/generate',
1739 'httpMethod' => 'POST',
1740 'parameters' => array(
1741 'userKey' => array(
1742 'location' => 'path',
1743 'type' => 'string',
1744 'required' => true,
1745 ),
1746 ),
1747 ),'invalidate' => array(
1748 'path' => 'users/{userKey}/verificationCodes/invalidate',
1749 'httpMethod' => 'POST',
1750 'parameters' => array(
1751 'userKey' => array(
1752 'location' => 'path',
1753 'type' => 'string',
1754 'required' => true,
1755 ),
1756 ),
1757 ),'list' => array(
1758 'path' => 'users/{userKey}/verificationCodes',
1759 'httpMethod' => 'GET',
1760 'parameters' => array(
1761 'userKey' => array(
1762 'location' => 'path',
1763 'type' => 'string',
1764 'required' => true,
1765 ),
1766 ),
1767 ),
1768 )
1769 )
1770 );
1771 }
1772 }
1773
1774
1775 /**
1776 * The "asps" collection of methods.
1777 * Typical usage is:
1778 * <code>
1779 * $adminService = new Google_Service_Directory(...);
1780 * $asps = $adminService->asps;
1781 * </code>
1782 */
1783 class Google_Service_Directory_Asps_Resource extends Google_Service_Resource
1784 {
1785
1786 /**
1787 * Delete an ASP issued by a user. (asps.delete)
1788 *
1789 * @param string $userKey Identifies the user in the API request. The value can
1790 * be the user's primary email address, alias email address, or unique user ID.
1791 * @param int $codeId The unique ID of the ASP to be deleted.
1792 * @param array $optParams Optional parameters.
1793 */
1794 public function delete($userKey, $codeId, $optParams = array())
1795 {
1796 $params = array('userKey' => $userKey, 'codeId' => $codeId);
1797 $params = array_merge($params, $optParams);
1798 return $this->call('delete', array($params));
1799 }
1800
1801 /**
1802 * Get information about an ASP issued by a user. (asps.get)
1803 *
1804 * @param string $userKey Identifies the user in the API request. The value can
1805 * be the user's primary email address, alias email address, or unique user ID.
1806 * @param int $codeId The unique ID of the ASP.
1807 * @param array $optParams Optional parameters.
1808 * @return Google_Service_Directory_Asp
1809 */
1810 public function get($userKey, $codeId, $optParams = array())
1811 {
1812 $params = array('userKey' => $userKey, 'codeId' => $codeId);
1813 $params = array_merge($params, $optParams);
1814 return $this->call('get', array($params), "Google_Service_Directory_Asp");
1815 }
1816
1817 /**
1818 * List the ASPs issued by a user. (asps.listAsps)
1819 *
1820 * @param string $userKey Identifies the user in the API request. The value can
1821 * be the user's primary email address, alias email address, or unique user ID.
1822 * @param array $optParams Optional parameters.
1823 * @return Google_Service_Directory_Asps
1824 */
1825 public function listAsps($userKey, $optParams = array())
1826 {
1827 $params = array('userKey' => $userKey);
1828 $params = array_merge($params, $optParams);
1829 return $this->call('list', array($params), "Google_Service_Directory_Asps");
1830 }
1831 }
1832
1833 /**
1834 * The "channels" collection of methods.
1835 * Typical usage is:
1836 * <code>
1837 * $adminService = new Google_Service_Directory(...);
1838 * $channels = $adminService->channels;
1839 * </code>
1840 */
1841 class Google_Service_Directory_Channels_Resource extends Google_Service_Resource
1842 {
1843
1844 /**
1845 * Stop watching resources through this channel (channels.stop)
1846 *
1847 * @param Google_Channel $postBody
1848 * @param array $optParams Optional parameters.
1849 */
1850 public function stop(Google_Service_Directory_Channel $postBody, $optParams = array())
1851 {
1852 $params = array('postBody' => $postBody);
1853 $params = array_merge($params, $optParams);
1854 return $this->call('stop', array($params));
1855 }
1856 }
1857
1858 /**
1859 * The "chromeosdevices" collection of methods.
1860 * Typical usage is:
1861 * <code>
1862 * $adminService = new Google_Service_Directory(...);
1863 * $chromeosdevices = $adminService->chromeosdevices;
1864 * </code>
1865 */
1866 class Google_Service_Directory_Chromeosdevices_Resource extends Google_Service_Resource
1867 {
1868
1869 /**
1870 * Retrieve Chrome OS Device (chromeosdevices.get)
1871 *
1872 * @param string $customerId Immutable id of the Google Apps account
1873 * @param string $deviceId Immutable id of Chrome OS Device
1874 * @param array $optParams Optional parameters.
1875 *
1876 * @opt_param string projection Restrict information returned to a set of
1877 * selected fields.
1878 * @return Google_Service_Directory_ChromeOsDevice
1879 */
1880 public function get($customerId, $deviceId, $optParams = array())
1881 {
1882 $params = array('customerId' => $customerId, 'deviceId' => $deviceId);
1883 $params = array_merge($params, $optParams);
1884 return $this->call('get', array($params), "Google_Service_Directory_ChromeOsDevice");
1885 }
1886
1887 /**
1888 * Retrieve all Chrome OS Devices of a customer (paginated)
1889 * (chromeosdevices.listChromeosdevices)
1890 *
1891 * @param string $customerId Immutable id of the Google Apps account
1892 * @param array $optParams Optional parameters.
1893 *
1894 * @opt_param int maxResults Maximum number of results to return. Default is 100
1895 * @opt_param string orderBy Column to use for sorting results
1896 * @opt_param string pageToken Token to specify next page in the list
1897 * @opt_param string projection Restrict information returned to a set of
1898 * selected fields.
1899 * @opt_param string query Search string in the format given at
1900 * http://support.google.com/chromeos/a/bin/answer.py?hl=en=1698333
1901 * @opt_param string sortOrder Whether to return results in ascending or
1902 * descending order. Only of use when orderBy is also used
1903 * @return Google_Service_Directory_ChromeOsDevices
1904 */
1905 public function listChromeosdevices($customerId, $optParams = array())
1906 {
1907 $params = array('customerId' => $customerId);
1908 $params = array_merge($params, $optParams);
1909 return $this->call('list', array($params), "Google_Service_Directory_ChromeOsDevices");
1910 }
1911
1912 /**
1913 * Update Chrome OS Device. This method supports patch semantics.
1914 * (chromeosdevices.patch)
1915 *
1916 * @param string $customerId Immutable id of the Google Apps account
1917 * @param string $deviceId Immutable id of Chrome OS Device
1918 * @param Google_ChromeOsDevice $postBody
1919 * @param array $optParams Optional parameters.
1920 *
1921 * @opt_param string projection Restrict information returned to a set of
1922 * selected fields.
1923 * @return Google_Service_Directory_ChromeOsDevice
1924 */
1925 public function patch($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array())
1926 {
1927 $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody);
1928 $params = array_merge($params, $optParams);
1929 return $this->call('patch', array($params), "Google_Service_Directory_ChromeOsDevice");
1930 }
1931
1932 /**
1933 * Update Chrome OS Device (chromeosdevices.update)
1934 *
1935 * @param string $customerId Immutable id of the Google Apps account
1936 * @param string $deviceId Immutable id of Chrome OS Device
1937 * @param Google_ChromeOsDevice $postBody
1938 * @param array $optParams Optional parameters.
1939 *
1940 * @opt_param string projection Restrict information returned to a set of
1941 * selected fields.
1942 * @return Google_Service_Directory_ChromeOsDevice
1943 */
1944 public function update($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array())
1945 {
1946 $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody);
1947 $params = array_merge($params, $optParams);
1948 return $this->call('update', array($params), "Google_Service_Directory_ChromeOsDevice");
1949 }
1950 }
1951
1952 /**
1953 * The "customers" collection of methods.
1954 * Typical usage is:
1955 * <code>
1956 * $adminService = new Google_Service_Directory(...);
1957 * $customers = $adminService->customers;
1958 * </code>
1959 */
1960 class Google_Service_Directory_Customers_Resource extends Google_Service_Resource
1961 {
1962
1963 /**
1964 * Retrives a customer. (customers.get)
1965 *
1966 * @param string $customerKey Id of the customer to be retrieved
1967 * @param array $optParams Optional parameters.
1968 * @return Google_Service_Directory_Customer
1969 */
1970 public function get($customerKey, $optParams = array())
1971 {
1972 $params = array('customerKey' => $customerKey);
1973 $params = array_merge($params, $optParams);
1974 return $this->call('get', array($params), "Google_Service_Directory_Customer");
1975 }
1976
1977 /**
1978 * Updates a customer. This method supports patch semantics. (customers.patch)
1979 *
1980 * @param string $customerKey Id of the customer to be updated
1981 * @param Google_Customer $postBody
1982 * @param array $optParams Optional parameters.
1983 * @return Google_Service_Directory_Customer
1984 */
1985 public function patch($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array())
1986 {
1987 $params = array('customerKey' => $customerKey, 'postBody' => $postBody);
1988 $params = array_merge($params, $optParams);
1989 return $this->call('patch', array($params), "Google_Service_Directory_Customer");
1990 }
1991
1992 /**
1993 * Updates a customer. (customers.update)
1994 *
1995 * @param string $customerKey Id of the customer to be updated
1996 * @param Google_Customer $postBody
1997 * @param array $optParams Optional parameters.
1998 * @return Google_Service_Directory_Customer
1999 */
2000 public function update($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array())
2001 {
2002 $params = array('customerKey' => $customerKey, 'postBody' => $postBody);
2003 $params = array_merge($params, $optParams);
2004 return $this->call('update', array($params), "Google_Service_Directory_Customer");
2005 }
2006 }
2007
2008 /**
2009 * The "domainAliases" collection of methods.
2010 * Typical usage is:
2011 * <code>
2012 * $adminService = new Google_Service_Directory(...);
2013 * $domainAliases = $adminService->domainAliases;
2014 * </code>
2015 */
2016 class Google_Service_Directory_DomainAliases_Resource extends Google_Service_Resource
2017 {
2018
2019 /**
2020 * Deletes a Domain Alias of the customer. (domainAliases.delete)
2021 *
2022 * @param string $customer Immutable id of the Google Apps account.
2023 * @param string $domainAliasName Name of domain alias to be retrieved.
2024 * @param array $optParams Optional parameters.
2025 */
2026 public function delete($customer, $domainAliasName, $optParams = array())
2027 {
2028 $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName);
2029 $params = array_merge($params, $optParams);
2030 return $this->call('delete', array($params));
2031 }
2032
2033 /**
2034 * Retrieves a domain alias of the customer. (domainAliases.get)
2035 *
2036 * @param string $customer Immutable id of the Google Apps account.
2037 * @param string $domainAliasName Name of domain alias to be retrieved.
2038 * @param array $optParams Optional parameters.
2039 * @return Google_Service_Directory_DomainAlias
2040 */
2041 public function get($customer, $domainAliasName, $optParams = array())
2042 {
2043 $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName);
2044 $params = array_merge($params, $optParams);
2045 return $this->call('get', array($params), "Google_Service_Directory_DomainAlias");
2046 }
2047
2048 /**
2049 * Inserts a Domain alias of the customer. (domainAliases.insert)
2050 *
2051 * @param string $customer Immutable id of the Google Apps account.
2052 * @param Google_DomainAlias $postBody
2053 * @param array $optParams Optional parameters.
2054 * @return Google_Service_Directory_DomainAlias
2055 */
2056 public function insert($customer, Google_Service_Directory_DomainAlias $postBody, $optParams = array())
2057 {
2058 $params = array('customer' => $customer, 'postBody' => $postBody);
2059 $params = array_merge($params, $optParams);
2060 return $this->call('insert', array($params), "Google_Service_Directory_DomainAlias");
2061 }
2062
2063 /**
2064 * Lists the domain aliases of the customer. (domainAliases.listDomainAliases)
2065 *
2066 * @param string $customer Immutable id of the Google Apps account.
2067 * @param array $optParams Optional parameters.
2068 *
2069 * @opt_param string parentDomainName Name of the parent domain for which domain
2070 * aliases are to be fetched.
2071 * @return Google_Service_Directory_DomainAliases
2072 */
2073 public function listDomainAliases($customer, $optParams = array())
2074 {
2075 $params = array('customer' => $customer);
2076 $params = array_merge($params, $optParams);
2077 return $this->call('list', array($params), "Google_Service_Directory_DomainAliases");
2078 }
2079 }
2080
2081 /**
2082 * The "domains" collection of methods.
2083 * Typical usage is:
2084 * <code>
2085 * $adminService = new Google_Service_Directory(...);
2086 * $domains = $adminService->domains;
2087 * </code>
2088 */
2089 class Google_Service_Directory_Domains_Resource extends Google_Service_Resource
2090 {
2091
2092 /**
2093 * Deletes a domain of the customer. (domains.delete)
2094 *
2095 * @param string $customer Immutable id of the Google Apps account.
2096 * @param string $domainName Name of domain to be deleted
2097 * @param array $optParams Optional parameters.
2098 */
2099 public function delete($customer, $domainName, $optParams = array())
2100 {
2101 $params = array('customer' => $customer, 'domainName' => $domainName);
2102 $params = array_merge($params, $optParams);
2103 return $this->call('delete', array($params));
2104 }
2105
2106 /**
2107 * Retrives a domain of the customer. (domains.get)
2108 *
2109 * @param string $customer Immutable id of the Google Apps account.
2110 * @param string $domainName Name of domain to be retrieved
2111 * @param array $optParams Optional parameters.
2112 * @return Google_Service_Directory_Domains
2113 */
2114 public function get($customer, $domainName, $optParams = array())
2115 {
2116 $params = array('customer' => $customer, 'domainName' => $domainName);
2117 $params = array_merge($params, $optParams);
2118 return $this->call('get', array($params), "Google_Service_Directory_Domains");
2119 }
2120
2121 /**
2122 * Inserts a domain of the customer. (domains.insert)
2123 *
2124 * @param string $customer Immutable id of the Google Apps account.
2125 * @param Google_Domains $postBody
2126 * @param array $optParams Optional parameters.
2127 * @return Google_Service_Directory_Domains
2128 */
2129 public function insert($customer, Google_Service_Directory_Domains $postBody, $optParams = array())
2130 {
2131 $params = array('customer' => $customer, 'postBody' => $postBody);
2132 $params = array_merge($params, $optParams);
2133 return $this->call('insert', array($params), "Google_Service_Directory_Domains");
2134 }
2135
2136 /**
2137 * Lists the domains of the customer. (domains.listDomains)
2138 *
2139 * @param string $customer Immutable id of the Google Apps account.
2140 * @param array $optParams Optional parameters.
2141 * @return Google_Service_Directory_Domains2
2142 */
2143 public function listDomains($customer, $optParams = array())
2144 {
2145 $params = array('customer' => $customer);
2146 $params = array_merge($params, $optParams);
2147 return $this->call('list', array($params), "Google_Service_Directory_Domains2");
2148 }
2149 }
2150
2151 /**
2152 * The "groups" collection of methods.
2153 * Typical usage is:
2154 * <code>
2155 * $adminService = new Google_Service_Directory(...);
2156 * $groups = $adminService->groups;
2157 * </code>
2158 */
2159 class Google_Service_Directory_Groups_Resource extends Google_Service_Resource
2160 {
2161
2162 /**
2163 * Delete Group (groups.delete)
2164 *
2165 * @param string $groupKey Email or immutable Id of the group
2166 * @param array $optParams Optional parameters.
2167 */
2168 public function delete($groupKey, $optParams = array())
2169 {
2170 $params = array('groupKey' => $groupKey);
2171 $params = array_merge($params, $optParams);
2172 return $this->call('delete', array($params));
2173 }
2174
2175 /**
2176 * Retrieve Group (groups.get)
2177 *
2178 * @param string $groupKey Email or immutable Id of the group
2179 * @param array $optParams Optional parameters.
2180 * @return Google_Service_Directory_Group
2181 */
2182 public function get($groupKey, $optParams = array())
2183 {
2184 $params = array('groupKey' => $groupKey);
2185 $params = array_merge($params, $optParams);
2186 return $this->call('get', array($params), "Google_Service_Directory_Group");
2187 }
2188
2189 /**
2190 * Create Group (groups.insert)
2191 *
2192 * @param Google_Group $postBody
2193 * @param array $optParams Optional parameters.
2194 * @return Google_Service_Directory_Group
2195 */
2196 public function insert(Google_Service_Directory_Group $postBody, $optParams = array())
2197 {
2198 $params = array('postBody' => $postBody);
2199 $params = array_merge($params, $optParams);
2200 return $this->call('insert', array($params), "Google_Service_Directory_Group");
2201 }
2202
2203 /**
2204 * Retrieve all groups in a domain (paginated) (groups.listGroups)
2205 *
2206 * @param array $optParams Optional parameters.
2207 *
2208 * @opt_param string customer Immutable id of the Google Apps account. In case
2209 * of multi-domain, to fetch all groups for a customer, fill this field instead
2210 * of domain.
2211 * @opt_param string domain Name of the domain. Fill this field to get groups
2212 * from only this domain. To return all groups in a multi-domain fill customer
2213 * field instead.
2214 * @opt_param int maxResults Maximum number of results to return. Default is 200
2215 * @opt_param string pageToken Token to specify next page in the list
2216 * @opt_param string userKey Email or immutable Id of the user if only those
2217 * groups are to be listed, the given user is a member of. If Id, it should
2218 * match with id of user object
2219 * @return Google_Service_Directory_Groups
2220 */
2221 public function listGroups($optParams = array())
2222 {
2223 $params = array();
2224 $params = array_merge($params, $optParams);
2225 return $this->call('list', array($params), "Google_Service_Directory_Groups");
2226 }
2227
2228 /**
2229 * Update Group. This method supports patch semantics. (groups.patch)
2230 *
2231 * @param string $groupKey Email or immutable Id of the group. If Id, it should
2232 * match with id of group object
2233 * @param Google_Group $postBody
2234 * @param array $optParams Optional parameters.
2235 * @return Google_Service_Directory_Group
2236 */
2237 public function patch($groupKey, Google_Service_Directory_Group $postBody, $optParams = array())
2238 {
2239 $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
2240 $params = array_merge($params, $optParams);
2241 return $this->call('patch', array($params), "Google_Service_Directory_Group");
2242 }
2243
2244 /**
2245 * Update Group (groups.update)
2246 *
2247 * @param string $groupKey Email or immutable Id of the group. If Id, it should
2248 * match with id of group object
2249 * @param Google_Group $postBody
2250 * @param array $optParams Optional parameters.
2251 * @return Google_Service_Directory_Group
2252 */
2253 public function update($groupKey, Google_Service_Directory_Group $postBody, $optParams = array())
2254 {
2255 $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
2256 $params = array_merge($params, $optParams);
2257 return $this->call('update', array($params), "Google_Service_Directory_Group");
2258 }
2259 }
2260
2261 /**
2262 * The "aliases" collection of methods.
2263 * Typical usage is:
2264 * <code>
2265 * $adminService = new Google_Service_Directory(...);
2266 * $aliases = $adminService->aliases;
2267 * </code>
2268 */
2269 class Google_Service_Directory_GroupsAliases_Resource extends Google_Service_Resource
2270 {
2271
2272 /**
2273 * Remove a alias for the group (aliases.delete)
2274 *
2275 * @param string $groupKey Email or immutable Id of the group
2276 * @param string $alias The alias to be removed
2277 * @param array $optParams Optional parameters.
2278 */
2279 public function delete($groupKey, $alias, $optParams = array())
2280 {
2281 $params = array('groupKey' => $groupKey, 'alias' => $alias);
2282 $params = array_merge($params, $optParams);
2283 return $this->call('delete', array($params));
2284 }
2285
2286 /**
2287 * Add a alias for the group (aliases.insert)
2288 *
2289 * @param string $groupKey Email or immutable Id of the group
2290 * @param Google_Alias $postBody
2291 * @param array $optParams Optional parameters.
2292 * @return Google_Service_Directory_Alias
2293 */
2294 public function insert($groupKey, Google_Service_Directory_Alias $postBody, $optParams = array())
2295 {
2296 $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
2297 $params = array_merge($params, $optParams);
2298 return $this->call('insert', array($params), "Google_Service_Directory_Alias");
2299 }
2300
2301 /**
2302 * List all aliases for a group (aliases.listGroupsAliases)
2303 *
2304 * @param string $groupKey Email or immutable Id of the group
2305 * @param array $optParams Optional parameters.
2306 * @return Google_Service_Directory_Aliases
2307 */
2308 public function listGroupsAliases($groupKey, $optParams = array())
2309 {
2310 $params = array('groupKey' => $groupKey);
2311 $params = array_merge($params, $optParams);
2312 return $this->call('list', array($params), "Google_Service_Directory_Aliases");
2313 }
2314 }
2315
2316 /**
2317 * The "members" collection of methods.
2318 * Typical usage is:
2319 * <code>
2320 * $adminService = new Google_Service_Directory(...);
2321 * $members = $adminService->members;
2322 * </code>
2323 */
2324 class Google_Service_Directory_Members_Resource extends Google_Service_Resource
2325 {
2326
2327 /**
2328 * Remove membership. (members.delete)
2329 *
2330 * @param string $groupKey Email or immutable Id of the group
2331 * @param string $memberKey Email or immutable Id of the member
2332 * @param array $optParams Optional parameters.
2333 */
2334 public function delete($groupKey, $memberKey, $optParams = array())
2335 {
2336 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey);
2337 $params = array_merge($params, $optParams);
2338 return $this->call('delete', array($params));
2339 }
2340
2341 /**
2342 * Retrieve Group Member (members.get)
2343 *
2344 * @param string $groupKey Email or immutable Id of the group
2345 * @param string $memberKey Email or immutable Id of the member
2346 * @param array $optParams Optional parameters.
2347 * @return Google_Service_Directory_Member
2348 */
2349 public function get($groupKey, $memberKey, $optParams = array())
2350 {
2351 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey);
2352 $params = array_merge($params, $optParams);
2353 return $this->call('get', array($params), "Google_Service_Directory_Member");
2354 }
2355
2356 /**
2357 * Add user to the specified group. (members.insert)
2358 *
2359 * @param string $groupKey Email or immutable Id of the group
2360 * @param Google_Member $postBody
2361 * @param array $optParams Optional parameters.
2362 * @return Google_Service_Directory_Member
2363 */
2364 public function insert($groupKey, Google_Service_Directory_Member $postBody, $optParams = array())
2365 {
2366 $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
2367 $params = array_merge($params, $optParams);
2368 return $this->call('insert', array($params), "Google_Service_Directory_Member");
2369 }
2370
2371 /**
2372 * Retrieve all members in a group (paginated) (members.listMembers)
2373 *
2374 * @param string $groupKey Email or immutable Id of the group
2375 * @param array $optParams Optional parameters.
2376 *
2377 * @opt_param int maxResults Maximum number of results to return. Default is 200
2378 * @opt_param string pageToken Token to specify next page in the list
2379 * @opt_param string roles Comma separated role values to filter list results
2380 * on.
2381 * @return Google_Service_Directory_Members
2382 */
2383 public function listMembers($groupKey, $optParams = array())
2384 {
2385 $params = array('groupKey' => $groupKey);
2386 $params = array_merge($params, $optParams);
2387 return $this->call('list', array($params), "Google_Service_Directory_Members");
2388 }
2389
2390 /**
2391 * Update membership of a user in the specified group. This method supports
2392 * patch semantics. (members.patch)
2393 *
2394 * @param string $groupKey Email or immutable Id of the group. If Id, it should
2395 * match with id of group object
2396 * @param string $memberKey Email or immutable Id of the user. If Id, it should
2397 * match with id of member object
2398 * @param Google_Member $postBody
2399 * @param array $optParams Optional parameters.
2400 * @return Google_Service_Directory_Member
2401 */
2402 public function patch($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array())
2403 {
2404 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody);
2405 $params = array_merge($params, $optParams);
2406 return $this->call('patch', array($params), "Google_Service_Directory_Member");
2407 }
2408
2409 /**
2410 * Update membership of a user in the specified group. (members.update)
2411 *
2412 * @param string $groupKey Email or immutable Id of the group. If Id, it should
2413 * match with id of group object
2414 * @param string $memberKey Email or immutable Id of the user. If Id, it should
2415 * match with id of member object
2416 * @param Google_Member $postBody
2417 * @param array $optParams Optional parameters.
2418 * @return Google_Service_Directory_Member
2419 */
2420 public function update($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array())
2421 {
2422 $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody);
2423 $params = array_merge($params, $optParams);
2424 return $this->call('update', array($params), "Google_Service_Directory_Member");
2425 }
2426 }
2427
2428 /**
2429 * The "mobiledevices" collection of methods.
2430 * Typical usage is:
2431 * <code>
2432 * $adminService = new Google_Service_Directory(...);
2433 * $mobiledevices = $adminService->mobiledevices;
2434 * </code>
2435 */
2436 class Google_Service_Directory_Mobiledevices_Resource extends Google_Service_Resource
2437 {
2438
2439 /**
2440 * Take action on Mobile Device (mobiledevices.action)
2441 *
2442 * @param string $customerId Immutable id of the Google Apps account
2443 * @param string $resourceId Immutable id of Mobile Device
2444 * @param Google_MobileDeviceAction $postBody
2445 * @param array $optParams Optional parameters.
2446 */
2447 public function action($customerId, $resourceId, Google_Service_Directory_MobileDeviceAction $postBody, $optParams = array())
2448 {
2449 $params = array('customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody);
2450 $params = array_merge($params, $optParams);
2451 return $this->call('action', array($params));
2452 }
2453
2454 /**
2455 * Delete Mobile Device (mobiledevices.delete)
2456 *
2457 * @param string $customerId Immutable id of the Google Apps account
2458 * @param string $resourceId Immutable id of Mobile Device
2459 * @param array $optParams Optional parameters.
2460 */
2461 public function delete($customerId, $resourceId, $optParams = array())
2462 {
2463 $params = array('customerId' => $customerId, 'resourceId' => $resourceId);
2464 $params = array_merge($params, $optParams);
2465 return $this->call('delete', array($params));
2466 }
2467
2468 /**
2469 * Retrieve Mobile Device (mobiledevices.get)
2470 *
2471 * @param string $customerId Immutable id of the Google Apps account
2472 * @param string $resourceId Immutable id of Mobile Device
2473 * @param array $optParams Optional parameters.
2474 *
2475 * @opt_param string projection Restrict information returned to a set of
2476 * selected fields.
2477 * @return Google_Service_Directory_MobileDevice
2478 */
2479 public function get($customerId, $resourceId, $optParams = array())
2480 {
2481 $params = array('customerId' => $customerId, 'resourceId' => $resourceId);
2482 $params = array_merge($params, $optParams);
2483 return $this->call('get', array($params), "Google_Service_Directory_MobileDevice");
2484 }
2485
2486 /**
2487 * Retrieve all Mobile Devices of a customer (paginated)
2488 * (mobiledevices.listMobiledevices)
2489 *
2490 * @param string $customerId Immutable id of the Google Apps account
2491 * @param array $optParams Optional parameters.
2492 *
2493 * @opt_param int maxResults Maximum number of results to return. Default is 100
2494 * @opt_param string orderBy Column to use for sorting results
2495 * @opt_param string pageToken Token to specify next page in the list
2496 * @opt_param string projection Restrict information returned to a set of
2497 * selected fields.
2498 * @opt_param string query Search string in the format given at
2499 * http://support.google.com/a/bin/answer.py?hl=en=1408863#search
2500 * @opt_param string sortOrder Whether to return results in ascending or
2501 * descending order. Only of use when orderBy is also used
2502 * @return Google_Service_Directory_MobileDevices
2503 */
2504 public function listMobiledevices($customerId, $optParams = array())
2505 {
2506 $params = array('customerId' => $customerId);
2507 $params = array_merge($params, $optParams);
2508 return $this->call('list', array($params), "Google_Service_Directory_MobileDevices");
2509 }
2510 }
2511
2512 /**
2513 * The "notifications" collection of methods.
2514 * Typical usage is:
2515 * <code>
2516 * $adminService = new Google_Service_Directory(...);
2517 * $notifications = $adminService->notifications;
2518 * </code>
2519 */
2520 class Google_Service_Directory_Notifications_Resource extends Google_Service_Resource
2521 {
2522
2523 /**
2524 * Deletes a notification (notifications.delete)
2525 *
2526 * @param string $customer The unique ID for the customer's Google account. The
2527 * customerId is also returned as part of the Users resource.
2528 * @param string $notificationId The unique ID of the notification.
2529 * @param array $optParams Optional parameters.
2530 */
2531 public function delete($customer, $notificationId, $optParams = array())
2532 {
2533 $params = array('customer' => $customer, 'notificationId' => $notificationId);
2534 $params = array_merge($params, $optParams);
2535 return $this->call('delete', array($params));
2536 }
2537
2538 /**
2539 * Retrieves a notification. (notifications.get)
2540 *
2541 * @param string $customer The unique ID for the customer's Google account. The
2542 * customerId is also returned as part of the Users resource.
2543 * @param string $notificationId The unique ID of the notification.
2544 * @param array $optParams Optional parameters.
2545 * @return Google_Service_Directory_Notification
2546 */
2547 public function get($customer, $notificationId, $optParams = array())
2548 {
2549 $params = array('customer' => $customer, 'notificationId' => $notificationId);
2550 $params = array_merge($params, $optParams);
2551 return $this->call('get', array($params), "Google_Service_Directory_Notification");
2552 }
2553
2554 /**
2555 * Retrieves a list of notifications. (notifications.listNotifications)
2556 *
2557 * @param string $customer The unique ID for the customer's Google account.
2558 * @param array $optParams Optional parameters.
2559 *
2560 * @opt_param string language The ISO 639-1 code of the language notifications
2561 * are returned in. The default is English (en).
2562 * @opt_param string maxResults Maximum number of notifications to return per
2563 * page. The default is 100.
2564 * @opt_param string pageToken The token to specify the page of results to
2565 * retrieve.
2566 * @return Google_Service_Directory_Notifications
2567 */
2568 public function listNotifications($customer, $optParams = array())
2569 {
2570 $params = array('customer' => $customer);
2571 $params = array_merge($params, $optParams);
2572 return $this->call('list', array($params), "Google_Service_Directory_Notifications");
2573 }
2574
2575 /**
2576 * Updates a notification. This method supports patch semantics.
2577 * (notifications.patch)
2578 *
2579 * @param string $customer The unique ID for the customer's Google account.
2580 * @param string $notificationId The unique ID of the notification.
2581 * @param Google_Notification $postBody
2582 * @param array $optParams Optional parameters.
2583 * @return Google_Service_Directory_Notification
2584 */
2585 public function patch($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array())
2586 {
2587 $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody);
2588 $params = array_merge($params, $optParams);
2589 return $this->call('patch', array($params), "Google_Service_Directory_Notification");
2590 }
2591
2592 /**
2593 * Updates a notification. (notifications.update)
2594 *
2595 * @param string $customer The unique ID for the customer's Google account.
2596 * @param string $notificationId The unique ID of the notification.
2597 * @param Google_Notification $postBody
2598 * @param array $optParams Optional parameters.
2599 * @return Google_Service_Directory_Notification
2600 */
2601 public function update($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array())
2602 {
2603 $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody);
2604 $params = array_merge($params, $optParams);
2605 return $this->call('update', array($params), "Google_Service_Directory_Notification");
2606 }
2607 }
2608
2609 /**
2610 * The "orgunits" collection of methods.
2611 * Typical usage is:
2612 * <code>
2613 * $adminService = new Google_Service_Directory(...);
2614 * $orgunits = $adminService->orgunits;
2615 * </code>
2616 */
2617 class Google_Service_Directory_Orgunits_Resource extends Google_Service_Resource
2618 {
2619
2620 /**
2621 * Remove Organization Unit (orgunits.delete)
2622 *
2623 * @param string $customerId Immutable id of the Google Apps account
2624 * @param string $orgUnitPath Full path of the organization unit or its Id
2625 * @param array $optParams Optional parameters.
2626 */
2627 public function delete($customerId, $orgUnitPath, $optParams = array())
2628 {
2629 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath);
2630 $params = array_merge($params, $optParams);
2631 return $this->call('delete', array($params));
2632 }
2633
2634 /**
2635 * Retrieve Organization Unit (orgunits.get)
2636 *
2637 * @param string $customerId Immutable id of the Google Apps account
2638 * @param string $orgUnitPath Full path of the organization unit or its Id
2639 * @param array $optParams Optional parameters.
2640 * @return Google_Service_Directory_OrgUnit
2641 */
2642 public function get($customerId, $orgUnitPath, $optParams = array())
2643 {
2644 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath);
2645 $params = array_merge($params, $optParams);
2646 return $this->call('get', array($params), "Google_Service_Directory_OrgUnit");
2647 }
2648
2649 /**
2650 * Add Organization Unit (orgunits.insert)
2651 *
2652 * @param string $customerId Immutable id of the Google Apps account
2653 * @param Google_OrgUnit $postBody
2654 * @param array $optParams Optional parameters.
2655 * @return Google_Service_Directory_OrgUnit
2656 */
2657 public function insert($customerId, Google_Service_Directory_OrgUnit $postBody, $optParams = array())
2658 {
2659 $params = array('customerId' => $customerId, 'postBody' => $postBody);
2660 $params = array_merge($params, $optParams);
2661 return $this->call('insert', array($params), "Google_Service_Directory_OrgUnit");
2662 }
2663
2664 /**
2665 * Retrieve all Organization Units (orgunits.listOrgunits)
2666 *
2667 * @param string $customerId Immutable id of the Google Apps account
2668 * @param array $optParams Optional parameters.
2669 *
2670 * @opt_param string orgUnitPath the URL-encoded organization unit's path or its
2671 * Id
2672 * @opt_param string type Whether to return all sub-organizations or just
2673 * immediate children
2674 * @return Google_Service_Directory_OrgUnits
2675 */
2676 public function listOrgunits($customerId, $optParams = array())
2677 {
2678 $params = array('customerId' => $customerId);
2679 $params = array_merge($params, $optParams);
2680 return $this->call('list', array($params), "Google_Service_Directory_OrgUnits");
2681 }
2682
2683 /**
2684 * Update Organization Unit. This method supports patch semantics.
2685 * (orgunits.patch)
2686 *
2687 * @param string $customerId Immutable id of the Google Apps account
2688 * @param string $orgUnitPath Full path of the organization unit or its Id
2689 * @param Google_OrgUnit $postBody
2690 * @param array $optParams Optional parameters.
2691 * @return Google_Service_Directory_OrgUnit
2692 */
2693 public function patch($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array())
2694 {
2695 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody);
2696 $params = array_merge($params, $optParams);
2697 return $this->call('patch', array($params), "Google_Service_Directory_OrgUnit");
2698 }
2699
2700 /**
2701 * Update Organization Unit (orgunits.update)
2702 *
2703 * @param string $customerId Immutable id of the Google Apps account
2704 * @param string $orgUnitPath Full path of the organization unit or its Id
2705 * @param Google_OrgUnit $postBody
2706 * @param array $optParams Optional parameters.
2707 * @return Google_Service_Directory_OrgUnit
2708 */
2709 public function update($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array())
2710 {
2711 $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody);
2712 $params = array_merge($params, $optParams);
2713 return $this->call('update', array($params), "Google_Service_Directory_OrgUnit");
2714 }
2715 }
2716
2717 /**
2718 * The "privileges" collection of methods.
2719 * Typical usage is:
2720 * <code>
2721 * $adminService = new Google_Service_Directory(...);
2722 * $privileges = $adminService->privileges;
2723 * </code>
2724 */
2725 class Google_Service_Directory_Privileges_Resource extends Google_Service_Resource
2726 {
2727
2728 /**
2729 * Retrieves a paginated list of all privileges for a customer.
2730 * (privileges.listPrivileges)
2731 *
2732 * @param string $customer Immutable ID of the Google Apps account.
2733 * @param array $optParams Optional parameters.
2734 * @return Google_Service_Directory_Privileges
2735 */
2736 public function listPrivileges($customer, $optParams = array())
2737 {
2738 $params = array('customer' => $customer);
2739 $params = array_merge($params, $optParams);
2740 return $this->call('list', array($params), "Google_Service_Directory_Privileges");
2741 }
2742 }
2743
2744 /**
2745 * The "resources" collection of methods.
2746 * Typical usage is:
2747 * <code>
2748 * $adminService = new Google_Service_Directory(...);
2749 * $resources = $adminService->resources;
2750 * </code>
2751 */
2752 class Google_Service_Directory_Resources_Resource extends Google_Service_Resource
2753 {
2754 }
2755
2756 /**
2757 * The "calendars" collection of methods.
2758 * Typical usage is:
2759 * <code>
2760 * $adminService = new Google_Service_Directory(...);
2761 * $calendars = $adminService->calendars;
2762 * </code>
2763 */
2764 class Google_Service_Directory_ResourcesCalendars_Resource extends Google_Service_Resource
2765 {
2766
2767 /**
2768 * Deletes a calendar resource. (calendars.delete)
2769 *
2770 * @param string $customer The unique ID for the customer's Google account. As
2771 * an account administrator, you can also use the my_customer alias to represent
2772 * your account's customer ID.
2773 * @param string $calendarResourceId The unique ID of the calendar resource to
2774 * delete.
2775 * @param array $optParams Optional parameters.
2776 */
2777 public function delete($customer, $calendarResourceId, $optParams = array())
2778 {
2779 $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId);
2780 $params = array_merge($params, $optParams);
2781 return $this->call('delete', array($params));
2782 }
2783
2784 /**
2785 * Retrieves a calendar resource. (calendars.get)
2786 *
2787 * @param string $customer The unique ID for the customer's Google account. As
2788 * an account administrator, you can also use the my_customer alias to represent
2789 * your account's customer ID.
2790 * @param string $calendarResourceId The unique ID of the calendar resource to
2791 * retrieve.
2792 * @param array $optParams Optional parameters.
2793 * @return Google_Service_Directory_CalendarResource
2794 */
2795 public function get($customer, $calendarResourceId, $optParams = array())
2796 {
2797 $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId);
2798 $params = array_merge($params, $optParams);
2799 return $this->call('get', array($params), "Google_Service_Directory_CalendarResource");
2800 }
2801
2802 /**
2803 * Inserts a calendar resource. (calendars.insert)
2804 *
2805 * @param string $customer The unique ID for the customer's Google account. As
2806 * an account administrator, you can also use the my_customer alias to represent
2807 * your account's customer ID.
2808 * @param Google_CalendarResource $postBody
2809 * @param array $optParams Optional parameters.
2810 * @return Google_Service_Directory_CalendarResource
2811 */
2812 public function insert($customer, Google_Service_Directory_CalendarResource $postBody, $optParams = array())
2813 {
2814 $params = array('customer' => $customer, 'postBody' => $postBody);
2815 $params = array_merge($params, $optParams);
2816 return $this->call('insert', array($params), "Google_Service_Directory_CalendarResource");
2817 }
2818
2819 /**
2820 * Retrieves a list of calendar resources for an account.
2821 * (calendars.listResourcesCalendars)
2822 *
2823 * @param string $customer The unique ID for the customer's Google account. As
2824 * an account administrator, you can also use the my_customer alias to represent
2825 * your account's customer ID.
2826 * @param array $optParams Optional parameters.
2827 *
2828 * @opt_param int maxResults Maximum number of results to return.
2829 * @opt_param string pageToken Token to specify the next page in the list.
2830 * @return Google_Service_Directory_CalendarResources
2831 */
2832 public function listResourcesCalendars($customer, $optParams = array())
2833 {
2834 $params = array('customer' => $customer);
2835 $params = array_merge($params, $optParams);
2836 return $this->call('list', array($params), "Google_Service_Directory_CalendarResources");
2837 }
2838
2839 /**
2840 * Updates a calendar resource. This method supports patch semantics.
2841 * (calendars.patch)
2842 *
2843 * @param string $customer The unique ID for the customer's Google account. As
2844 * an account administrator, you can also use the my_customer alias to represent
2845 * your account's customer ID.
2846 * @param string $calendarResourceId The unique ID of the calendar resource to
2847 * update.
2848 * @param Google_CalendarResource $postBody
2849 * @param array $optParams Optional parameters.
2850 * @return Google_Service_Directory_CalendarResource
2851 */
2852 public function patch($customer, $calendarResourceId, Google_Service_Directory_CalendarResource $postBody, $optParams = array())
2853 {
2854 $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId, 'postBody' => $postBody);
2855 $params = array_merge($params, $optParams);
2856 return $this->call('patch', array($params), "Google_Service_Directory_CalendarResource");
2857 }
2858
2859 /**
2860 * Updates a calendar resource. (calendars.update)
2861 *
2862 * @param string $customer The unique ID for the customer's Google account. As
2863 * an account administrator, you can also use the my_customer alias to represent
2864 * your account's customer ID.
2865 * @param string $calendarResourceId The unique ID of the calendar resource to
2866 * update.
2867 * @param Google_CalendarResource $postBody
2868 * @param array $optParams Optional parameters.
2869 * @return Google_Service_Directory_CalendarResource
2870 */
2871 public function update($customer, $calendarResourceId, Google_Service_Directory_CalendarResource $postBody, $optParams = array())
2872 {
2873 $params = array('customer' => $customer, 'calendarResourceId' => $calendarResourceId, 'postBody' => $postBody);
2874 $params = array_merge($params, $optParams);
2875 return $this->call('update', array($params), "Google_Service_Directory_CalendarResource");
2876 }
2877 }
2878
2879 /**
2880 * The "roleAssignments" collection of methods.
2881 * Typical usage is:
2882 * <code>
2883 * $adminService = new Google_Service_Directory(...);
2884 * $roleAssignments = $adminService->roleAssignments;
2885 * </code>
2886 */
2887 class Google_Service_Directory_RoleAssignments_Resource extends Google_Service_Resource
2888 {
2889
2890 /**
2891 * Deletes a role assignment. (roleAssignments.delete)
2892 *
2893 * @param string $customer Immutable ID of the Google Apps account.
2894 * @param string $roleAssignmentId Immutable ID of the role assignment.
2895 * @param array $optParams Optional parameters.
2896 */
2897 public function delete($customer, $roleAssignmentId, $optParams = array())
2898 {
2899 $params = array('customer' => $customer, 'roleAssignmentId' => $roleAssignmentId);
2900 $params = array_merge($params, $optParams);
2901 return $this->call('delete', array($params));
2902 }
2903
2904 /**
2905 * Retrieve a role assignment. (roleAssignments.get)
2906 *
2907 * @param string $customer Immutable ID of the Google Apps account.
2908 * @param string $roleAssignmentId Immutable ID of the role assignment.
2909 * @param array $optParams Optional parameters.
2910 * @return Google_Service_Directory_RoleAssignment
2911 */
2912 public function get($customer, $roleAssignmentId, $optParams = array())
2913 {
2914 $params = array('customer' => $customer, 'roleAssignmentId' => $roleAssignmentId);
2915 $params = array_merge($params, $optParams);
2916 return $this->call('get', array($params), "Google_Service_Directory_RoleAssignment");
2917 }
2918
2919 /**
2920 * Creates a role assignment. (roleAssignments.insert)
2921 *
2922 * @param string $customer Immutable ID of the Google Apps account.
2923 * @param Google_RoleAssignment $postBody
2924 * @param array $optParams Optional parameters.
2925 * @return Google_Service_Directory_RoleAssignment
2926 */
2927 public function insert($customer, Google_Service_Directory_RoleAssignment $postBody, $optParams = array())
2928 {
2929 $params = array('customer' => $customer, 'postBody' => $postBody);
2930 $params = array_merge($params, $optParams);
2931 return $this->call('insert', array($params), "Google_Service_Directory_RoleAssignment");
2932 }
2933
2934 /**
2935 * Retrieves a paginated list of all roleAssignments.
2936 * (roleAssignments.listRoleAssignments)
2937 *
2938 * @param string $customer Immutable ID of the Google Apps account.
2939 * @param array $optParams Optional parameters.
2940 *
2941 * @opt_param int maxResults Maximum number of results to return.
2942 * @opt_param string pageToken Token to specify the next page in the list.
2943 * @opt_param string roleId Immutable ID of a role. If included in the request,
2944 * returns only role assignments containing this role ID.
2945 * @opt_param string userKey The user's primary email address, alias email
2946 * address, or unique user ID. If included in the request, returns role
2947 * assignments only for this user.
2948 * @return Google_Service_Directory_RoleAssignments
2949 */
2950 public function listRoleAssignments($customer, $optParams = array())
2951 {
2952 $params = array('customer' => $customer);
2953 $params = array_merge($params, $optParams);
2954 return $this->call('list', array($params), "Google_Service_Directory_RoleAssignments");
2955 }
2956 }
2957
2958 /**
2959 * The "roles" collection of methods.
2960 * Typical usage is:
2961 * <code>
2962 * $adminService = new Google_Service_Directory(...);
2963 * $roles = $adminService->roles;
2964 * </code>
2965 */
2966 class Google_Service_Directory_Roles_Resource extends Google_Service_Resource
2967 {
2968
2969 /**
2970 * Deletes a role. (roles.delete)
2971 *
2972 * @param string $customer Immutable ID of the Google Apps account.
2973 * @param string $roleId Immutable ID of the role.
2974 * @param array $optParams Optional parameters.
2975 */
2976 public function delete($customer, $roleId, $optParams = array())
2977 {
2978 $params = array('customer' => $customer, 'roleId' => $roleId);
2979 $params = array_merge($params, $optParams);
2980 return $this->call('delete', array($params));
2981 }
2982
2983 /**
2984 * Retrieves a role. (roles.get)
2985 *
2986 * @param string $customer Immutable ID of the Google Apps account.
2987 * @param string $roleId Immutable ID of the role.
2988 * @param array $optParams Optional parameters.
2989 * @return Google_Service_Directory_Role
2990 */
2991 public function get($customer, $roleId, $optParams = array())
2992 {
2993 $params = array('customer' => $customer, 'roleId' => $roleId);
2994 $params = array_merge($params, $optParams);
2995 return $this->call('get', array($params), "Google_Service_Directory_Role");
2996 }
2997
2998 /**
2999 * Creates a role. (roles.insert)
3000 *
3001 * @param string $customer Immutable ID of the Google Apps account.
3002 * @param Google_Role $postBody
3003 * @param array $optParams Optional parameters.
3004 * @return Google_Service_Directory_Role
3005 */
3006 public function insert($customer, Google_Service_Directory_Role $postBody, $optParams = array())
3007 {
3008 $params = array('customer' => $customer, 'postBody' => $postBody);
3009 $params = array_merge($params, $optParams);
3010 return $this->call('insert', array($params), "Google_Service_Directory_Role");
3011 }
3012
3013 /**
3014 * Retrieves a paginated list of all the roles in a domain. (roles.listRoles)
3015 *
3016 * @param string $customer Immutable id of the Google Apps account.
3017 * @param array $optParams Optional parameters.
3018 *
3019 * @opt_param int maxResults Maximum number of results to return.
3020 * @opt_param string pageToken Token to specify the next page in the list.
3021 * @return Google_Service_Directory_Roles
3022 */
3023 public function listRoles($customer, $optParams = array())
3024 {
3025 $params = array('customer' => $customer);
3026 $params = array_merge($params, $optParams);
3027 return $this->call('list', array($params), "Google_Service_Directory_Roles");
3028 }
3029
3030 /**
3031 * Updates a role. This method supports patch semantics. (roles.patch)
3032 *
3033 * @param string $customer Immutable ID of the Google Apps account.
3034 * @param string $roleId Immutable ID of the role.
3035 * @param Google_Role $postBody
3036 * @param array $optParams Optional parameters.
3037 * @return Google_Service_Directory_Role
3038 */
3039 public function patch($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams = array())
3040 {
3041 $params = array('customer' => $customer, 'roleId' => $roleId, 'postBody' => $postBody);
3042 $params = array_merge($params, $optParams);
3043 return $this->call('patch', array($params), "Google_Service_Directory_Role");
3044 }
3045
3046 /**
3047 * Updates a role. (roles.update)
3048 *
3049 * @param string $customer Immutable ID of the Google Apps account.
3050 * @param string $roleId Immutable ID of the role.
3051 * @param Google_Role $postBody
3052 * @param array $optParams Optional parameters.
3053 * @return Google_Service_Directory_Role
3054 */
3055 public function update($customer, $roleId, Google_Service_Directory_Role $postBody, $optParams = array())
3056 {
3057 $params = array('customer' => $customer, 'roleId' => $roleId, 'postBody' => $postBody);
3058 $params = array_merge($params, $optParams);
3059 return $this->call('update', array($params), "Google_Service_Directory_Role");
3060 }
3061 }
3062
3063 /**
3064 * The "schemas" collection of methods.
3065 * Typical usage is:
3066 * <code>
3067 * $adminService = new Google_Service_Directory(...);
3068 * $schemas = $adminService->schemas;
3069 * </code>
3070 */
3071 class Google_Service_Directory_Schemas_Resource extends Google_Service_Resource
3072 {
3073
3074 /**
3075 * Delete schema (schemas.delete)
3076 *
3077 * @param string $customerId Immutable id of the Google Apps account
3078 * @param string $schemaKey Name or immutable Id of the schema
3079 * @param array $optParams Optional parameters.
3080 */
3081 public function delete($customerId, $schemaKey, $optParams = array())
3082 {
3083 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey);
3084 $params = array_merge($params, $optParams);
3085 return $this->call('delete', array($params));
3086 }
3087
3088 /**
3089 * Retrieve schema (schemas.get)
3090 *
3091 * @param string $customerId Immutable id of the Google Apps account
3092 * @param string $schemaKey Name or immutable Id of the schema
3093 * @param array $optParams Optional parameters.
3094 * @return Google_Service_Directory_Schema
3095 */
3096 public function get($customerId, $schemaKey, $optParams = array())
3097 {
3098 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey);
3099 $params = array_merge($params, $optParams);
3100 return $this->call('get', array($params), "Google_Service_Directory_Schema");
3101 }
3102
3103 /**
3104 * Create schema. (schemas.insert)
3105 *
3106 * @param string $customerId Immutable id of the Google Apps account
3107 * @param Google_Schema $postBody
3108 * @param array $optParams Optional parameters.
3109 * @return Google_Service_Directory_Schema
3110 */
3111 public function insert($customerId, Google_Service_Directory_Schema $postBody, $optParams = array())
3112 {
3113 $params = array('customerId' => $customerId, 'postBody' => $postBody);
3114 $params = array_merge($params, $optParams);
3115 return $this->call('insert', array($params), "Google_Service_Directory_Schema");
3116 }
3117
3118 /**
3119 * Retrieve all schemas for a customer (schemas.listSchemas)
3120 *
3121 * @param string $customerId Immutable id of the Google Apps account
3122 * @param array $optParams Optional parameters.
3123 * @return Google_Service_Directory_Schemas
3124 */
3125 public function listSchemas($customerId, $optParams = array())
3126 {
3127 $params = array('customerId' => $customerId);
3128 $params = array_merge($params, $optParams);
3129 return $this->call('list', array($params), "Google_Service_Directory_Schemas");
3130 }
3131
3132 /**
3133 * Update schema. This method supports patch semantics. (schemas.patch)
3134 *
3135 * @param string $customerId Immutable id of the Google Apps account
3136 * @param string $schemaKey Name or immutable Id of the schema.
3137 * @param Google_Schema $postBody
3138 * @param array $optParams Optional parameters.
3139 * @return Google_Service_Directory_Schema
3140 */
3141 public function patch($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array())
3142 {
3143 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody);
3144 $params = array_merge($params, $optParams);
3145 return $this->call('patch', array($params), "Google_Service_Directory_Schema");
3146 }
3147
3148 /**
3149 * Update schema (schemas.update)
3150 *
3151 * @param string $customerId Immutable id of the Google Apps account
3152 * @param string $schemaKey Name or immutable Id of the schema.
3153 * @param Google_Schema $postBody
3154 * @param array $optParams Optional parameters.
3155 * @return Google_Service_Directory_Schema
3156 */
3157 public function update($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array())
3158 {
3159 $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody);
3160 $params = array_merge($params, $optParams);
3161 return $this->call('update', array($params), "Google_Service_Directory_Schema");
3162 }
3163 }
3164
3165 /**
3166 * The "tokens" collection of methods.
3167 * Typical usage is:
3168 * <code>
3169 * $adminService = new Google_Service_Directory(...);
3170 * $tokens = $adminService->tokens;
3171 * </code>
3172 */
3173 class Google_Service_Directory_Tokens_Resource extends Google_Service_Resource
3174 {
3175
3176 /**
3177 * Delete all access tokens issued by a user for an application. (tokens.delete)
3178 *
3179 * @param string $userKey Identifies the user in the API request. The value can
3180 * be the user's primary email address, alias email address, or unique user ID.
3181 * @param string $clientId The Client ID of the application the token is issued
3182 * to.
3183 * @param array $optParams Optional parameters.
3184 */
3185 public function delete($userKey, $clientId, $optParams = array())
3186 {
3187 $params = array('userKey' => $userKey, 'clientId' => $clientId);
3188 $params = array_merge($params, $optParams);
3189 return $this->call('delete', array($params));
3190 }
3191
3192 /**
3193 * Get information about an access token issued by a user. (tokens.get)
3194 *
3195 * @param string $userKey Identifies the user in the API request. The value can
3196 * be the user's primary email address, alias email address, or unique user ID.
3197 * @param string $clientId The Client ID of the application the token is issued
3198 * to.
3199 * @param array $optParams Optional parameters.
3200 * @return Google_Service_Directory_Token
3201 */
3202 public function get($userKey, $clientId, $optParams = array())
3203 {
3204 $params = array('userKey' => $userKey, 'clientId' => $clientId);
3205 $params = array_merge($params, $optParams);
3206 return $this->call('get', array($params), "Google_Service_Directory_Token");
3207 }
3208
3209 /**
3210 * Returns the set of tokens specified user has issued to 3rd party
3211 * applications. (tokens.listTokens)
3212 *
3213 * @param string $userKey Identifies the user in the API request. The value can
3214 * be the user's primary email address, alias email address, or unique user ID.
3215 * @param array $optParams Optional parameters.
3216 * @return Google_Service_Directory_Tokens
3217 */
3218 public function listTokens($userKey, $optParams = array())
3219 {
3220 $params = array('userKey' => $userKey);
3221 $params = array_merge($params, $optParams);
3222 return $this->call('list', array($params), "Google_Service_Directory_Tokens");
3223 }
3224 }
3225
3226 /**
3227 * The "users" collection of methods.
3228 * Typical usage is:
3229 * <code>
3230 * $adminService = new Google_Service_Directory(...);
3231 * $users = $adminService->users;
3232 * </code>
3233 */
3234 class Google_Service_Directory_Users_Resource extends Google_Service_Resource
3235 {
3236
3237 /**
3238 * Delete user (users.delete)
3239 *
3240 * @param string $userKey Email or immutable Id of the user
3241 * @param array $optParams Optional parameters.
3242 */
3243 public function delete($userKey, $optParams = array())
3244 {
3245 $params = array('userKey' => $userKey);
3246 $params = array_merge($params, $optParams);
3247 return $this->call('delete', array($params));
3248 }
3249
3250 /**
3251 * retrieve user (users.get)
3252 *
3253 * @param string $userKey Email or immutable Id of the user
3254 * @param array $optParams Optional parameters.
3255 *
3256 * @opt_param string customFieldMask Comma-separated list of schema names. All
3257 * fields from these schemas are fetched. This should only be set when
3258 * projection=custom.
3259 * @opt_param string projection What subset of fields to fetch for this user.
3260 * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
3261 * view of the user.
3262 * @return Google_Service_Directory_User
3263 */
3264 public function get($userKey, $optParams = array())
3265 {
3266 $params = array('userKey' => $userKey);
3267 $params = array_merge($params, $optParams);
3268 return $this->call('get', array($params), "Google_Service_Directory_User");
3269 }
3270
3271 /**
3272 * create user. (users.insert)
3273 *
3274 * @param Google_User $postBody
3275 * @param array $optParams Optional parameters.
3276 * @return Google_Service_Directory_User
3277 */
3278 public function insert(Google_Service_Directory_User $postBody, $optParams = array())
3279 {
3280 $params = array('postBody' => $postBody);
3281 $params = array_merge($params, $optParams);
3282 return $this->call('insert', array($params), "Google_Service_Directory_User");
3283 }
3284
3285 /**
3286 * Retrieve either deleted users or all users in a domain (paginated)
3287 * (users.listUsers)
3288 *
3289 * @param array $optParams Optional parameters.
3290 *
3291 * @opt_param string customFieldMask Comma-separated list of schema names. All
3292 * fields from these schemas are fetched. This should only be set when
3293 * projection=custom.
3294 * @opt_param string customer Immutable id of the Google Apps account. In case
3295 * of multi-domain, to fetch all users for a customer, fill this field instead
3296 * of domain.
3297 * @opt_param string domain Name of the domain. Fill this field to get users
3298 * from only this domain. To return all users in a multi-domain fill customer
3299 * field instead.
3300 * @opt_param string event Event on which subscription is intended (if
3301 * subscribing)
3302 * @opt_param int maxResults Maximum number of results to return. Default is
3303 * 100. Max allowed is 500
3304 * @opt_param string orderBy Column to use for sorting results
3305 * @opt_param string pageToken Token to specify next page in the list
3306 * @opt_param string projection What subset of fields to fetch for this user.
3307 * @opt_param string query Query string search. Should be of the form "".
3308 * Complete documentation is at https://developers.google.com/admin-
3309 * sdk/directory/v1/guides/search-users
3310 * @opt_param string showDeleted If set to true retrieves the list of deleted
3311 * users. Default is false
3312 * @opt_param string sortOrder Whether to return results in ascending or
3313 * descending order.
3314 * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
3315 * view of the user.
3316 * @return Google_Service_Directory_Users
3317 */
3318 public function listUsers($optParams = array())
3319 {
3320 $params = array();
3321 $params = array_merge($params, $optParams);
3322 return $this->call('list', array($params), "Google_Service_Directory_Users");
3323 }
3324
3325 /**
3326 * change admin status of a user (users.makeAdmin)
3327 *
3328 * @param string $userKey Email or immutable Id of the user as admin
3329 * @param Google_UserMakeAdmin $postBody
3330 * @param array $optParams Optional parameters.
3331 */
3332 public function makeAdmin($userKey, Google_Service_Directory_UserMakeAdmin $postBody, $optParams = array())
3333 {
3334 $params = array('userKey' => $userKey, 'postBody' => $postBody);
3335 $params = array_merge($params, $optParams);
3336 return $this->call('makeAdmin', array($params));
3337 }
3338
3339 /**
3340 * update user. This method supports patch semantics. (users.patch)
3341 *
3342 * @param string $userKey Email or immutable Id of the user. If Id, it should
3343 * match with id of user object
3344 * @param Google_User $postBody
3345 * @param array $optParams Optional parameters.
3346 * @return Google_Service_Directory_User
3347 */
3348 public function patch($userKey, Google_Service_Directory_User $postBody, $optParams = array())
3349 {
3350 $params = array('userKey' => $userKey, 'postBody' => $postBody);
3351 $params = array_merge($params, $optParams);
3352 return $this->call('patch', array($params), "Google_Service_Directory_User");
3353 }
3354
3355 /**
3356 * Undelete a deleted user (users.undelete)
3357 *
3358 * @param string $userKey The immutable id of the user
3359 * @param Google_UserUndelete $postBody
3360 * @param array $optParams Optional parameters.
3361 */
3362 public function undelete($userKey, Google_Service_Directory_UserUndelete $postBody, $optParams = array())
3363 {
3364 $params = array('userKey' => $userKey, 'postBody' => $postBody);
3365 $params = array_merge($params, $optParams);
3366 return $this->call('undelete', array($params));
3367 }
3368
3369 /**
3370 * update user (users.update)
3371 *
3372 * @param string $userKey Email or immutable Id of the user. If Id, it should
3373 * match with id of user object
3374 * @param Google_User $postBody
3375 * @param array $optParams Optional parameters.
3376 * @return Google_Service_Directory_User
3377 */
3378 public function update($userKey, Google_Service_Directory_User $postBody, $optParams = array())
3379 {
3380 $params = array('userKey' => $userKey, 'postBody' => $postBody);
3381 $params = array_merge($params, $optParams);
3382 return $this->call('update', array($params), "Google_Service_Directory_User");
3383 }
3384
3385 /**
3386 * Watch for changes in users list (users.watch)
3387 *
3388 * @param Google_Channel $postBody
3389 * @param array $optParams Optional parameters.
3390 *
3391 * @opt_param string customFieldMask Comma-separated list of schema names. All
3392 * fields from these schemas are fetched. This should only be set when
3393 * projection=custom.
3394 * @opt_param string customer Immutable id of the Google Apps account. In case
3395 * of multi-domain, to fetch all users for a customer, fill this field instead
3396 * of domain.
3397 * @opt_param string domain Name of the domain. Fill this field to get users
3398 * from only this domain. To return all users in a multi-domain fill customer
3399 * field instead.
3400 * @opt_param string event Event on which subscription is intended (if
3401 * subscribing)
3402 * @opt_param int maxResults Maximum number of results to return. Default is
3403 * 100. Max allowed is 500
3404 * @opt_param string orderBy Column to use for sorting results
3405 * @opt_param string pageToken Token to specify next page in the list
3406 * @opt_param string projection What subset of fields to fetch for this user.
3407 * @opt_param string query Query string search. Should be of the form "".
3408 * Complete documentation is at https://developers.google.com/admin-
3409 * sdk/directory/v1/guides/search-users
3410 * @opt_param string showDeleted If set to true retrieves the list of deleted
3411 * users. Default is false
3412 * @opt_param string sortOrder Whether to return results in ascending or
3413 * descending order.
3414 * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
3415 * view of the user.
3416 * @return Google_Service_Directory_Channel
3417 */
3418 public function watch(Google_Service_Directory_Channel $postBody, $optParams = array())
3419 {
3420 $params = array('postBody' => $postBody);
3421 $params = array_merge($params, $optParams);
3422 return $this->call('watch', array($params), "Google_Service_Directory_Channel");
3423 }
3424 }
3425
3426 /**
3427 * The "aliases" collection of methods.
3428 * Typical usage is:
3429 * <code>
3430 * $adminService = new Google_Service_Directory(...);
3431 * $aliases = $adminService->aliases;
3432 * </code>
3433 */
3434 class Google_Service_Directory_UsersAliases_Resource extends Google_Service_Resource
3435 {
3436
3437 /**
3438 * Remove a alias for the user (aliases.delete)
3439 *
3440 * @param string $userKey Email or immutable Id of the user
3441 * @param string $alias The alias to be removed
3442 * @param array $optParams Optional parameters.
3443 */
3444 public function delete($userKey, $alias, $optParams = array())
3445 {
3446 $params = array('userKey' => $userKey, 'alias' => $alias);
3447 $params = array_merge($params, $optParams);
3448 return $this->call('delete', array($params));
3449 }
3450
3451 /**
3452 * Add a alias for the user (aliases.insert)
3453 *
3454 * @param string $userKey Email or immutable Id of the user
3455 * @param Google_Alias $postBody
3456 * @param array $optParams Optional parameters.
3457 * @return Google_Service_Directory_Alias
3458 */
3459 public function insert($userKey, Google_Service_Directory_Alias $postBody, $optParams = array())
3460 {
3461 $params = array('userKey' => $userKey, 'postBody' => $postBody);
3462 $params = array_merge($params, $optParams);
3463 return $this->call('insert', array($params), "Google_Service_Directory_Alias");
3464 }
3465
3466 /**
3467 * List all aliases for a user (aliases.listUsersAliases)
3468 *
3469 * @param string $userKey Email or immutable Id of the user
3470 * @param array $optParams Optional parameters.
3471 *
3472 * @opt_param string event Event on which subscription is intended (if
3473 * subscribing)
3474 * @return Google_Service_Directory_Aliases
3475 */
3476 public function listUsersAliases($userKey, $optParams = array())
3477 {
3478 $params = array('userKey' => $userKey);
3479 $params = array_merge($params, $optParams);
3480 return $this->call('list', array($params), "Google_Service_Directory_Aliases");
3481 }
3482
3483 /**
3484 * Watch for changes in user aliases list (aliases.watch)
3485 *
3486 * @param string $userKey Email or immutable Id of the user
3487 * @param Google_Channel $postBody
3488 * @param array $optParams Optional parameters.
3489 *
3490 * @opt_param string event Event on which subscription is intended (if
3491 * subscribing)
3492 * @return Google_Service_Directory_Channel
3493 */
3494 public function watch($userKey, Google_Service_Directory_Channel $postBody, $optParams = array())
3495 {
3496 $params = array('userKey' => $userKey, 'postBody' => $postBody);
3497 $params = array_merge($params, $optParams);
3498 return $this->call('watch', array($params), "Google_Service_Directory_Channel");
3499 }
3500 }
3501 /**
3502 * The "photos" collection of methods.
3503 * Typical usage is:
3504 * <code>
3505 * $adminService = new Google_Service_Directory(...);
3506 * $photos = $adminService->photos;
3507 * </code>
3508 */
3509 class Google_Service_Directory_UsersPhotos_Resource extends Google_Service_Resource
3510 {
3511
3512 /**
3513 * Remove photos for the user (photos.delete)
3514 *
3515 * @param string $userKey Email or immutable Id of the user
3516 * @param array $optParams Optional parameters.
3517 */
3518 public function delete($userKey, $optParams = array())
3519 {
3520 $params = array('userKey' => $userKey);
3521 $params = array_merge($params, $optParams);
3522 return $this->call('delete', array($params));
3523 }
3524
3525 /**
3526 * Retrieve photo of a user (photos.get)
3527 *
3528 * @param string $userKey Email or immutable Id of the user
3529 * @param array $optParams Optional parameters.
3530 * @return Google_Service_Directory_UserPhoto
3531 */
3532 public function get($userKey, $optParams = array())
3533 {
3534 $params = array('userKey' => $userKey);
3535 $params = array_merge($params, $optParams);
3536 return $this->call('get', array($params), "Google_Service_Directory_UserPhoto");
3537 }
3538
3539 /**
3540 * Add a photo for the user. This method supports patch semantics.
3541 * (photos.patch)
3542 *
3543 * @param string $userKey Email or immutable Id of the user
3544 * @param Google_UserPhoto $postBody
3545 * @param array $optParams Optional parameters.
3546 * @return Google_Service_Directory_UserPhoto
3547 */
3548 public function patch($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array())
3549 {
3550 $params = array('userKey' => $userKey, 'postBody' => $postBody);
3551 $params = array_merge($params, $optParams);
3552 return $this->call('patch', array($params), "Google_Service_Directory_UserPhoto");
3553 }
3554
3555 /**
3556 * Add a photo for the user (photos.update)
3557 *
3558 * @param string $userKey Email or immutable Id of the user
3559 * @param Google_UserPhoto $postBody
3560 * @param array $optParams Optional parameters.
3561 * @return Google_Service_Directory_UserPhoto
3562 */
3563 public function update($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array())
3564 {
3565 $params = array('userKey' => $userKey, 'postBody' => $postBody);
3566 $params = array_merge($params, $optParams);
3567 return $this->call('update', array($params), "Google_Service_Directory_UserPhoto");
3568 }
3569 }
3570
3571 /**
3572 * The "verificationCodes" collection of methods.
3573 * Typical usage is:
3574 * <code>
3575 * $adminService = new Google_Service_Directory(...);
3576 * $verificationCodes = $adminService->verificationCodes;
3577 * </code>
3578 */
3579 class Google_Service_Directory_VerificationCodes_Resource extends Google_Service_Resource
3580 {
3581
3582 /**
3583 * Generate new backup verification codes for the user.
3584 * (verificationCodes.generate)
3585 *
3586 * @param string $userKey Email or immutable Id of the user
3587 * @param array $optParams Optional parameters.
3588 */
3589 public function generate($userKey, $optParams = array())
3590 {
3591 $params = array('userKey' => $userKey);
3592 $params = array_merge($params, $optParams);
3593 return $this->call('generate', array($params));
3594 }
3595
3596 /**
3597 * Invalidate the current backup verification codes for the user.
3598 * (verificationCodes.invalidate)
3599 *
3600 * @param string $userKey Email or immutable Id of the user
3601 * @param array $optParams Optional parameters.
3602 */
3603 public function invalidate($userKey, $optParams = array())
3604 {
3605 $params = array('userKey' => $userKey);
3606 $params = array_merge($params, $optParams);
3607 return $this->call('invalidate', array($params));
3608 }
3609
3610 /**
3611 * Returns the current set of valid backup verification codes for the specified
3612 * user. (verificationCodes.listVerificationCodes)
3613 *
3614 * @param string $userKey Identifies the user in the API request. The value can
3615 * be the user's primary email address, alias email address, or unique user ID.
3616 * @param array $optParams Optional parameters.
3617 * @return Google_Service_Directory_VerificationCodes
3618 */
3619 public function listVerificationCodes($userKey, $optParams = array())
3620 {
3621 $params = array('userKey' => $userKey);
3622 $params = array_merge($params, $optParams);
3623 return $this->call('list', array($params), "Google_Service_Directory_VerificationCodes");
3624 }
3625 }
3626
3627
3628
3629
3630 class Google_Service_Directory_Alias extends Google_Model
3631 {
3632 protected $internal_gapi_mappings = array(
3633 );
3634 public $alias;
3635 public $etag;
3636 public $id;
3637 public $kind;
3638 public $primaryEmail;
3639
3640
3641 public function setAlias($alias)
3642 {
3643 $this->alias = $alias;
3644 }
3645 public function getAlias()
3646 {
3647 return $this->alias;
3648 }
3649 public function setEtag($etag)
3650 {
3651 $this->etag = $etag;
3652 }
3653 public function getEtag()
3654 {
3655 return $this->etag;
3656 }
3657 public function setId($id)
3658 {
3659 $this->id = $id;
3660 }
3661 public function getId()
3662 {
3663 return $this->id;
3664 }
3665 public function setKind($kind)
3666 {
3667 $this->kind = $kind;
3668 }
3669 public function getKind()
3670 {
3671 return $this->kind;
3672 }
3673 public function setPrimaryEmail($primaryEmail)
3674 {
3675 $this->primaryEmail = $primaryEmail;
3676 }
3677 public function getPrimaryEmail()
3678 {
3679 return $this->primaryEmail;
3680 }
3681 }
3682
3683 class Google_Service_Directory_Aliases extends Google_Collection
3684 {
3685 protected $collection_key = 'aliases';
3686 protected $internal_gapi_mappings = array(
3687 );
3688 protected $aliasesType = 'Google_Service_Directory_Alias';
3689 protected $aliasesDataType = 'array';
3690 public $etag;
3691 public $kind;
3692
3693
3694 public function setAliases($aliases)
3695 {
3696 $this->aliases = $aliases;
3697 }
3698 public function getAliases()
3699 {
3700 return $this->aliases;
3701 }
3702 public function setEtag($etag)
3703 {
3704 $this->etag = $etag;
3705 }
3706 public function getEtag()
3707 {
3708 return $this->etag;
3709 }
3710 public function setKind($kind)
3711 {
3712 $this->kind = $kind;
3713 }
3714 public function getKind()
3715 {
3716 return $this->kind;
3717 }
3718 }
3719
3720 class Google_Service_Directory_Asp extends Google_Model
3721 {
3722 protected $internal_gapi_mappings = array(
3723 );
3724 public $codeId;
3725 public $creationTime;
3726 public $etag;
3727 public $kind;
3728 public $lastTimeUsed;
3729 public $name;
3730 public $userKey;
3731
3732
3733 public function setCodeId($codeId)
3734 {
3735 $this->codeId = $codeId;
3736 }
3737 public function getCodeId()
3738 {
3739 return $this->codeId;
3740 }
3741 public function setCreationTime($creationTime)
3742 {
3743 $this->creationTime = $creationTime;
3744 }
3745 public function getCreationTime()
3746 {
3747 return $this->creationTime;
3748 }
3749 public function setEtag($etag)
3750 {
3751 $this->etag = $etag;
3752 }
3753 public function getEtag()
3754 {
3755 return $this->etag;
3756 }
3757 public function setKind($kind)
3758 {
3759 $this->kind = $kind;
3760 }
3761 public function getKind()
3762 {
3763 return $this->kind;
3764 }
3765 public function setLastTimeUsed($lastTimeUsed)
3766 {
3767 $this->lastTimeUsed = $lastTimeUsed;
3768 }
3769 public function getLastTimeUsed()
3770 {
3771 return $this->lastTimeUsed;
3772 }
3773 public function setName($name)
3774 {
3775 $this->name = $name;
3776 }
3777 public function getName()
3778 {
3779 return $this->name;
3780 }
3781 public function setUserKey($userKey)
3782 {
3783 $this->userKey = $userKey;
3784 }
3785 public function getUserKey()
3786 {
3787 return $this->userKey;
3788 }
3789 }
3790
3791 class Google_Service_Directory_Asps extends Google_Collection
3792 {
3793 protected $collection_key = 'items';
3794 protected $internal_gapi_mappings = array(
3795 );
3796 public $etag;
3797 protected $itemsType = 'Google_Service_Directory_Asp';
3798 protected $itemsDataType = 'array';
3799 public $kind;
3800
3801
3802 public function setEtag($etag)
3803 {
3804 $this->etag = $etag;
3805 }
3806 public function getEtag()
3807 {
3808 return $this->etag;
3809 }
3810 public function setItems($items)
3811 {
3812 $this->items = $items;
3813 }
3814 public function getItems()
3815 {
3816 return $this->items;
3817 }
3818 public function setKind($kind)
3819 {
3820 $this->kind = $kind;
3821 }
3822 public function getKind()
3823 {
3824 return $this->kind;
3825 }
3826 }
3827
3828 class Google_Service_Directory_CalendarResource extends Google_Model
3829 {
3830 protected $internal_gapi_mappings = array(
3831 );
3832 public $etags;
3833 public $kind;
3834 public $resourceDescription;
3835 public $resourceEmail;
3836 public $resourceId;
3837 public $resourceName;
3838 public $resourceType;
3839
3840
3841 public function setEtags($etags)
3842 {
3843 $this->etags = $etags;
3844 }
3845 public function getEtags()
3846 {
3847 return $this->etags;
3848 }
3849 public function setKind($kind)
3850 {
3851 $this->kind = $kind;
3852 }
3853 public function getKind()
3854 {
3855 return $this->kind;
3856 }
3857 public function setResourceDescription($resourceDescription)
3858 {
3859 $this->resourceDescription = $resourceDescription;
3860 }
3861 public function getResourceDescription()
3862 {
3863 return $this->resourceDescription;
3864 }
3865 public function setResourceEmail($resourceEmail)
3866 {
3867 $this->resourceEmail = $resourceEmail;
3868 }
3869 public function getResourceEmail()
3870 {
3871 return $this->resourceEmail;
3872 }
3873 public function setResourceId($resourceId)
3874 {
3875 $this->resourceId = $resourceId;
3876 }
3877 public function getResourceId()
3878 {
3879 return $this->resourceId;
3880 }
3881 public function setResourceName($resourceName)
3882 {
3883 $this->resourceName = $resourceName;
3884 }
3885 public function getResourceName()
3886 {
3887 return $this->resourceName;
3888 }
3889 public function setResourceType($resourceType)
3890 {
3891 $this->resourceType = $resourceType;
3892 }
3893 public function getResourceType()
3894 {
3895 return $this->resourceType;
3896 }
3897 }
3898
3899 class Google_Service_Directory_CalendarResources extends Google_Collection
3900 {
3901 protected $collection_key = 'items';
3902 protected $internal_gapi_mappings = array(
3903 );
3904 public $etag;
3905 protected $itemsType = 'Google_Service_Directory_CalendarResource';
3906 protected $itemsDataType = 'array';
3907 public $kind;
3908 public $nextPageToken;
3909
3910
3911 public function setEtag($etag)
3912 {
3913 $this->etag = $etag;
3914 }
3915 public function getEtag()
3916 {
3917 return $this->etag;
3918 }
3919 public function setItems($items)
3920 {
3921 $this->items = $items;
3922 }
3923 public function getItems()
3924 {
3925 return $this->items;
3926 }
3927 public function setKind($kind)
3928 {
3929 $this->kind = $kind;
3930 }
3931 public function getKind()
3932 {
3933 return $this->kind;
3934 }
3935 public function setNextPageToken($nextPageToken)
3936 {
3937 $this->nextPageToken = $nextPageToken;
3938 }
3939 public function getNextPageToken()
3940 {
3941 return $this->nextPageToken;
3942 }
3943 }
3944
3945 class Google_Service_Directory_Channel extends Google_Model
3946 {
3947 protected $internal_gapi_mappings = array(
3948 );
3949 public $address;
3950 public $expiration;
3951 public $id;
3952 public $kind;
3953 public $params;
3954 public $payload;
3955 public $resourceId;
3956 public $resourceUri;
3957 public $token;
3958 public $type;
3959
3960
3961 public function setAddress($address)
3962 {
3963 $this->address = $address;
3964 }
3965 public function getAddress()
3966 {
3967 return $this->address;
3968 }
3969 public function setExpiration($expiration)
3970 {
3971 $this->expiration = $expiration;
3972 }
3973 public function getExpiration()
3974 {
3975 return $this->expiration;
3976 }
3977 public function setId($id)
3978 {
3979 $this->id = $id;
3980 }
3981 public function getId()
3982 {
3983 return $this->id;
3984 }
3985 public function setKind($kind)
3986 {
3987 $this->kind = $kind;
3988 }
3989 public function getKind()
3990 {
3991 return $this->kind;
3992 }
3993 public function setParams($params)
3994 {
3995 $this->params = $params;
3996 }
3997 public function getParams()
3998 {
3999 return $this->params;
4000 }
4001 public function setPayload($payload)
4002 {
4003 $this->payload = $payload;
4004 }
4005 public function getPayload()
4006 {
4007 return $this->payload;
4008 }
4009 public function setResourceId($resourceId)
4010 {
4011 $this->resourceId = $resourceId;
4012 }
4013 public function getResourceId()
4014 {
4015 return $this->resourceId;
4016 }
4017 public function setResourceUri($resourceUri)
4018 {
4019 $this->resourceUri = $resourceUri;
4020 }
4021 public function getResourceUri()
4022 {
4023 return $this->resourceUri;
4024 }
4025 public function setToken($token)
4026 {
4027 $this->token = $token;
4028 }
4029 public function getToken()
4030 {
4031 return $this->token;
4032 }
4033 public function setType($type)
4034 {
4035 $this->type = $type;
4036 }
4037 public function getType()
4038 {
4039 return $this->type;
4040 }
4041 }
4042
4043 class Google_Service_Directory_ChromeOsDevice extends Google_Collection
4044 {
4045 protected $collection_key = 'recentUsers';
4046 protected $internal_gapi_mappings = array(
4047 );
4048 protected $activeTimeRangesType = 'Google_Service_Directory_ChromeOsDeviceActiveTimeRanges';
4049 protected $activeTimeRangesDataType = 'array';
4050 public $annotatedAssetId;
4051 public $annotatedLocation;
4052 public $annotatedUser;
4053 public $bootMode;
4054 public $deviceId;
4055 public $etag;
4056 public $ethernetMacAddress;
4057 public $firmwareVersion;
4058 public $kind;
4059 public $lastEnrollmentTime;
4060 public $lastSync;
4061 public $macAddress;
4062 public $meid;
4063 public $model;
4064 public $notes;
4065 public $orderNumber;
4066 public $orgUnitPath;
4067 public $osVersion;
4068 public $platformVersion;
4069 protected $recentUsersType = 'Google_Service_Directory_ChromeOsDeviceRecentUsers';
4070 protected $recentUsersDataType = 'array';
4071 public $serialNumber;
4072 public $status;
4073 public $supportEndDate;
4074 public $willAutoRenew;
4075
4076
4077 public function setActiveTimeRanges($activeTimeRanges)
4078 {
4079 $this->activeTimeRanges = $activeTimeRanges;
4080 }
4081 public function getActiveTimeRanges()
4082 {
4083 return $this->activeTimeRanges;
4084 }
4085 public function setAnnotatedAssetId($annotatedAssetId)
4086 {
4087 $this->annotatedAssetId = $annotatedAssetId;
4088 }
4089 public function getAnnotatedAssetId()
4090 {
4091 return $this->annotatedAssetId;
4092 }
4093 public function setAnnotatedLocation($annotatedLocation)
4094 {
4095 $this->annotatedLocation = $annotatedLocation;
4096 }
4097 public function getAnnotatedLocation()
4098 {
4099 return $this->annotatedLocation;
4100 }
4101 public function setAnnotatedUser($annotatedUser)
4102 {
4103 $this->annotatedUser = $annotatedUser;
4104 }
4105 public function getAnnotatedUser()
4106 {
4107 return $this->annotatedUser;
4108 }
4109 public function setBootMode($bootMode)
4110 {
4111 $this->bootMode = $bootMode;
4112 }
4113 public function getBootMode()
4114 {
4115 return $this->bootMode;
4116 }
4117 public function setDeviceId($deviceId)
4118 {
4119 $this->deviceId = $deviceId;
4120 }
4121 public function getDeviceId()
4122 {
4123 return $this->deviceId;
4124 }
4125 public function setEtag($etag)
4126 {
4127 $this->etag = $etag;
4128 }
4129 public function getEtag()
4130 {
4131 return $this->etag;
4132 }
4133 public function setEthernetMacAddress($ethernetMacAddress)
4134 {
4135 $this->ethernetMacAddress = $ethernetMacAddress;
4136 }
4137 public function getEthernetMacAddress()
4138 {
4139 return $this->ethernetMacAddress;
4140 }
4141 public function setFirmwareVersion($firmwareVersion)
4142 {
4143 $this->firmwareVersion = $firmwareVersion;
4144 }
4145 public function getFirmwareVersion()
4146 {
4147 return $this->firmwareVersion;
4148 }
4149 public function setKind($kind)
4150 {
4151 $this->kind = $kind;
4152 }
4153 public function getKind()
4154 {
4155 return $this->kind;
4156 }
4157 public function setLastEnrollmentTime($lastEnrollmentTime)
4158 {
4159 $this->lastEnrollmentTime = $lastEnrollmentTime;
4160 }
4161 public function getLastEnrollmentTime()
4162 {
4163 return $this->lastEnrollmentTime;
4164 }
4165 public function setLastSync($lastSync)
4166 {
4167 $this->lastSync = $lastSync;
4168 }
4169 public function getLastSync()
4170 {
4171 return $this->lastSync;
4172 }
4173 public function setMacAddress($macAddress)
4174 {
4175 $this->macAddress = $macAddress;
4176 }
4177 public function getMacAddress()
4178 {
4179 return $this->macAddress;
4180 }
4181 public function setMeid($meid)
4182 {
4183 $this->meid = $meid;
4184 }
4185 public function getMeid()
4186 {
4187 return $this->meid;
4188 }
4189 public function setModel($model)
4190 {
4191 $this->model = $model;
4192 }
4193 public function getModel()
4194 {
4195 return $this->model;
4196 }
4197 public function setNotes($notes)
4198 {
4199 $this->notes = $notes;
4200 }
4201 public function getNotes()
4202 {
4203 return $this->notes;
4204 }
4205 public function setOrderNumber($orderNumber)
4206 {
4207 $this->orderNumber = $orderNumber;
4208 }
4209 public function getOrderNumber()
4210 {
4211 return $this->orderNumber;
4212 }
4213 public function setOrgUnitPath($orgUnitPath)
4214 {
4215 $this->orgUnitPath = $orgUnitPath;
4216 }
4217 public function getOrgUnitPath()
4218 {
4219 return $this->orgUnitPath;
4220 }
4221 public function setOsVersion($osVersion)
4222 {
4223 $this->osVersion = $osVersion;
4224 }
4225 public function getOsVersion()
4226 {
4227 return $this->osVersion;
4228 }
4229 public function setPlatformVersion($platformVersion)
4230 {
4231 $this->platformVersion = $platformVersion;
4232 }
4233 public function getPlatformVersion()
4234 {
4235 return $this->platformVersion;
4236 }
4237 public function setRecentUsers($recentUsers)
4238 {
4239 $this->recentUsers = $recentUsers;
4240 }
4241 public function getRecentUsers()
4242 {
4243 return $this->recentUsers;
4244 }
4245 public function setSerialNumber($serialNumber)
4246 {
4247 $this->serialNumber = $serialNumber;
4248 }
4249 public function getSerialNumber()
4250 {
4251 return $this->serialNumber;
4252 }
4253 public function setStatus($status)
4254 {
4255 $this->status = $status;
4256 }
4257 public function getStatus()
4258 {
4259 return $this->status;
4260 }
4261 public function setSupportEndDate($supportEndDate)
4262 {
4263 $this->supportEndDate = $supportEndDate;
4264 }
4265 public function getSupportEndDate()
4266 {
4267 return $this->supportEndDate;
4268 }
4269 public function setWillAutoRenew($willAutoRenew)
4270 {
4271 $this->willAutoRenew = $willAutoRenew;
4272 }
4273 public function getWillAutoRenew()
4274 {
4275 return $this->willAutoRenew;
4276 }
4277 }
4278
4279 class Google_Service_Directory_ChromeOsDeviceActiveTimeRanges extends Google_Model
4280 {
4281 protected $internal_gapi_mappings = array(
4282 );
4283 public $activeTime;
4284 public $date;
4285
4286
4287 public function setActiveTime($activeTime)
4288 {
4289 $this->activeTime = $activeTime;
4290 }
4291 public function getActiveTime()
4292 {
4293 return $this->activeTime;
4294 }
4295 public function setDate($date)
4296 {
4297 $this->date = $date;
4298 }
4299 public function getDate()
4300 {
4301 return $this->date;
4302 }
4303 }
4304
4305 class Google_Service_Directory_ChromeOsDeviceRecentUsers extends Google_Model
4306 {
4307 protected $internal_gapi_mappings = array(
4308 );
4309 public $email;
4310 public $type;
4311
4312
4313 public function setEmail($email)
4314 {
4315 $this->email = $email;
4316 }
4317 public function getEmail()
4318 {
4319 return $this->email;
4320 }
4321 public function setType($type)
4322 {
4323 $this->type = $type;
4324 }
4325 public function getType()
4326 {
4327 return $this->type;
4328 }
4329 }
4330
4331 class Google_Service_Directory_ChromeOsDevices extends Google_Collection
4332 {
4333 protected $collection_key = 'chromeosdevices';
4334 protected $internal_gapi_mappings = array(
4335 );
4336 protected $chromeosdevicesType = 'Google_Service_Directory_ChromeOsDevice';
4337 protected $chromeosdevicesDataType = 'array';
4338 public $etag;
4339 public $kind;
4340 public $nextPageToken;
4341
4342
4343 public function setChromeosdevices($chromeosdevices)
4344 {
4345 $this->chromeosdevices = $chromeosdevices;
4346 }
4347 public function getChromeosdevices()
4348 {
4349 return $this->chromeosdevices;
4350 }
4351 public function setEtag($etag)
4352 {
4353 $this->etag = $etag;
4354 }
4355 public function getEtag()
4356 {
4357 return $this->etag;
4358 }
4359 public function setKind($kind)
4360 {
4361 $this->kind = $kind;
4362 }
4363 public function getKind()
4364 {
4365 return $this->kind;
4366 }
4367 public function setNextPageToken($nextPageToken)
4368 {
4369 $this->nextPageToken = $nextPageToken;
4370 }
4371 public function getNextPageToken()
4372 {
4373 return $this->nextPageToken;
4374 }
4375 }
4376
4377 class Google_Service_Directory_Customer extends Google_Model
4378 {
4379 protected $internal_gapi_mappings = array(
4380 );
4381 public $alternateEmail;
4382 public $customerCreationTime;
4383 public $customerDomain;
4384 public $etag;
4385 public $id;
4386 public $kind;
4387 public $language;
4388 public $phoneNumber;
4389 protected $postalAddressType = 'Google_Service_Directory_CustomerPostalAddress';
4390 protected $postalAddressDataType = '';
4391
4392
4393 public function setAlternateEmail($alternateEmail)
4394 {
4395 $this->alternateEmail = $alternateEmail;
4396 }
4397 public function getAlternateEmail()
4398 {
4399 return $this->alternateEmail;
4400 }
4401 public function setCustomerCreationTime($customerCreationTime)
4402 {
4403 $this->customerCreationTime = $customerCreationTime;
4404 }
4405 public function getCustomerCreationTime()
4406 {
4407 return $this->customerCreationTime;
4408 }
4409 public function setCustomerDomain($customerDomain)
4410 {
4411 $this->customerDomain = $customerDomain;
4412 }
4413 public function getCustomerDomain()
4414 {
4415 return $this->customerDomain;
4416 }
4417 public function setEtag($etag)
4418 {
4419 $this->etag = $etag;
4420 }
4421 public function getEtag()
4422 {
4423 return $this->etag;
4424 }
4425 public function setId($id)
4426 {
4427 $this->id = $id;
4428 }
4429 public function getId()
4430 {
4431 return $this->id;
4432 }
4433 public function setKind($kind)
4434 {
4435 $this->kind = $kind;
4436 }
4437 public function getKind()
4438 {
4439 return $this->kind;
4440 }
4441 public function setLanguage($language)
4442 {
4443 $this->language = $language;
4444 }
4445 public function getLanguage()
4446 {
4447 return $this->language;
4448 }
4449 public function setPhoneNumber($phoneNumber)
4450 {
4451 $this->phoneNumber = $phoneNumber;
4452 }
4453 public function getPhoneNumber()
4454 {
4455 return $this->phoneNumber;
4456 }
4457 public function setPostalAddress(Google_Service_Directory_CustomerPostalAddress $postalAddress)
4458 {
4459 $this->postalAddress = $postalAddress;
4460 }
4461 public function getPostalAddress()
4462 {
4463 return $this->postalAddress;
4464 }
4465 }
4466
4467 class Google_Service_Directory_CustomerPostalAddress extends Google_Model
4468 {
4469 protected $internal_gapi_mappings = array(
4470 );
4471 public $addressLine1;
4472 public $addressLine2;
4473 public $addressLine3;
4474 public $contactName;
4475 public $countryCode;
4476 public $locality;
4477 public $organizationName;
4478 public $postalCode;
4479 public $region;
4480
4481
4482 public function setAddressLine1($addressLine1)
4483 {
4484 $this->addressLine1 = $addressLine1;
4485 }
4486 public function getAddressLine1()
4487 {
4488 return $this->addressLine1;
4489 }
4490 public function setAddressLine2($addressLine2)
4491 {
4492 $this->addressLine2 = $addressLine2;
4493 }
4494 public function getAddressLine2()
4495 {
4496 return $this->addressLine2;
4497 }
4498 public function setAddressLine3($addressLine3)
4499 {
4500 $this->addressLine3 = $addressLine3;
4501 }
4502 public function getAddressLine3()
4503 {
4504 return $this->addressLine3;
4505 }
4506 public function setContactName($contactName)
4507 {
4508 $this->contactName = $contactName;
4509 }
4510 public function getContactName()
4511 {
4512 return $this->contactName;
4513 }
4514 public function setCountryCode($countryCode)
4515 {
4516 $this->countryCode = $countryCode;
4517 }
4518 public function getCountryCode()
4519 {
4520 return $this->countryCode;
4521 }
4522 public function setLocality($locality)
4523 {
4524 $this->locality = $locality;
4525 }
4526 public function getLocality()
4527 {
4528 return $this->locality;
4529 }
4530 public function setOrganizationName($organizationName)
4531 {
4532 $this->organizationName = $organizationName;
4533 }
4534 public function getOrganizationName()
4535 {
4536 return $this->organizationName;
4537 }
4538 public function setPostalCode($postalCode)
4539 {
4540 $this->postalCode = $postalCode;
4541 }
4542 public function getPostalCode()
4543 {
4544 return $this->postalCode;
4545 }
4546 public function setRegion($region)
4547 {
4548 $this->region = $region;
4549 }
4550 public function getRegion()
4551 {
4552 return $this->region;
4553 }
4554 }
4555
4556 class Google_Service_Directory_DomainAlias extends Google_Model
4557 {
4558 protected $internal_gapi_mappings = array(
4559 );
4560 public $creationTime;
4561 public $domainAliasName;
4562 public $etag;
4563 public $kind;
4564 public $parentDomainName;
4565 public $verified;
4566
4567
4568 public function setCreationTime($creationTime)
4569 {
4570 $this->creationTime = $creationTime;
4571 }
4572 public function getCreationTime()
4573 {
4574 return $this->creationTime;
4575 }
4576 public function setDomainAliasName($domainAliasName)
4577 {
4578 $this->domainAliasName = $domainAliasName;
4579 }
4580 public function getDomainAliasName()
4581 {
4582 return $this->domainAliasName;
4583 }
4584 public function setEtag($etag)
4585 {
4586 $this->etag = $etag;
4587 }
4588 public function getEtag()
4589 {
4590 return $this->etag;
4591 }
4592 public function setKind($kind)
4593 {
4594 $this->kind = $kind;
4595 }
4596 public function getKind()
4597 {
4598 return $this->kind;
4599 }
4600 public function setParentDomainName($parentDomainName)
4601 {
4602 $this->parentDomainName = $parentDomainName;
4603 }
4604 public function getParentDomainName()
4605 {
4606 return $this->parentDomainName;
4607 }
4608 public function setVerified($verified)
4609 {
4610 $this->verified = $verified;
4611 }
4612 public function getVerified()
4613 {
4614 return $this->verified;
4615 }
4616 }
4617
4618 class Google_Service_Directory_DomainAliases extends Google_Collection
4619 {
4620 protected $collection_key = 'domainAliases';
4621 protected $internal_gapi_mappings = array(
4622 );
4623 protected $domainAliasesType = 'Google_Service_Directory_DomainAlias';
4624 protected $domainAliasesDataType = 'array';
4625 public $etag;
4626 public $kind;
4627
4628
4629 public function setDomainAliases($domainAliases)
4630 {
4631 $this->domainAliases = $domainAliases;
4632 }
4633 public function getDomainAliases()
4634 {
4635 return $this->domainAliases;
4636 }
4637 public function setEtag($etag)
4638 {
4639 $this->etag = $etag;
4640 }
4641 public function getEtag()
4642 {
4643 return $this->etag;
4644 }
4645 public function setKind($kind)
4646 {
4647 $this->kind = $kind;
4648 }
4649 public function getKind()
4650 {
4651 return $this->kind;
4652 }
4653 }
4654
4655 class Google_Service_Directory_Domains extends Google_Collection
4656 {
4657 protected $collection_key = 'domainAliases';
4658 protected $internal_gapi_mappings = array(
4659 );
4660 public $creationTime;
4661 protected $domainAliasesType = 'Google_Service_Directory_DomainAlias';
4662 protected $domainAliasesDataType = 'array';
4663 public $domainName;
4664 public $etag;
4665 public $isPrimary;
4666 public $kind;
4667 public $verified;
4668
4669
4670 public function setCreationTime($creationTime)
4671 {
4672 $this->creationTime = $creationTime;
4673 }
4674 public function getCreationTime()
4675 {
4676 return $this->creationTime;
4677 }
4678 public function setDomainAliases($domainAliases)
4679 {
4680 $this->domainAliases = $domainAliases;
4681 }
4682 public function getDomainAliases()
4683 {
4684 return $this->domainAliases;
4685 }
4686 public function setDomainName($domainName)
4687 {
4688 $this->domainName = $domainName;
4689 }
4690 public function getDomainName()
4691 {
4692 return $this->domainName;
4693 }
4694 public function setEtag($etag)
4695 {
4696 $this->etag = $etag;
4697 }
4698 public function getEtag()
4699 {
4700 return $this->etag;
4701 }
4702 public function setIsPrimary($isPrimary)
4703 {
4704 $this->isPrimary = $isPrimary;
4705 }
4706 public function getIsPrimary()
4707 {
4708 return $this->isPrimary;
4709 }
4710 public function setKind($kind)
4711 {
4712 $this->kind = $kind;
4713 }
4714 public function getKind()
4715 {
4716 return $this->kind;
4717 }
4718 public function setVerified($verified)
4719 {
4720 $this->verified = $verified;
4721 }
4722 public function getVerified()
4723 {
4724 return $this->verified;
4725 }
4726 }
4727
4728 class Google_Service_Directory_Domains2 extends Google_Collection
4729 {
4730 protected $collection_key = 'domains';
4731 protected $internal_gapi_mappings = array(
4732 );
4733 protected $domainsType = 'Google_Service_Directory_Domains';
4734 protected $domainsDataType = 'array';
4735 public $etag;
4736 public $kind;
4737
4738
4739 public function setDomains($domains)
4740 {
4741 $this->domains = $domains;
4742 }
4743 public function getDomains()
4744 {
4745 return $this->domains;
4746 }
4747 public function setEtag($etag)
4748 {
4749 $this->etag = $etag;
4750 }
4751 public function getEtag()
4752 {
4753 return $this->etag;
4754 }
4755 public function setKind($kind)
4756 {
4757 $this->kind = $kind;
4758 }
4759 public function getKind()
4760 {
4761 return $this->kind;
4762 }
4763 }
4764
4765 class Google_Service_Directory_Group extends Google_Collection
4766 {
4767 protected $collection_key = 'nonEditableAliases';
4768 protected $internal_gapi_mappings = array(
4769 );
4770 public $adminCreated;
4771 public $aliases;
4772 public $description;
4773 public $directMembersCount;
4774 public $email;
4775 public $etag;
4776 public $id;
4777 public $kind;
4778 public $name;
4779 public $nonEditableAliases;
4780
4781
4782 public function setAdminCreated($adminCreated)
4783 {
4784 $this->adminCreated = $adminCreated;
4785 }
4786 public function getAdminCreated()
4787 {
4788 return $this->adminCreated;
4789 }
4790 public function setAliases($aliases)
4791 {
4792 $this->aliases = $aliases;
4793 }
4794 public function getAliases()
4795 {
4796 return $this->aliases;
4797 }
4798 public function setDescription($description)
4799 {
4800 $this->description = $description;
4801 }
4802 public function getDescription()
4803 {
4804 return $this->description;
4805 }
4806 public function setDirectMembersCount($directMembersCount)
4807 {
4808 $this->directMembersCount = $directMembersCount;
4809 }
4810 public function getDirectMembersCount()
4811 {
4812 return $this->directMembersCount;
4813 }
4814 public function setEmail($email)
4815 {
4816 $this->email = $email;
4817 }
4818 public function getEmail()
4819 {
4820 return $this->email;
4821 }
4822 public function setEtag($etag)
4823 {
4824 $this->etag = $etag;
4825 }
4826 public function getEtag()
4827 {
4828 return $this->etag;
4829 }
4830 public function setId($id)
4831 {
4832 $this->id = $id;
4833 }
4834 public function getId()
4835 {
4836 return $this->id;
4837 }
4838 public function setKind($kind)
4839 {
4840 $this->kind = $kind;
4841 }
4842 public function getKind()
4843 {
4844 return $this->kind;
4845 }
4846 public function setName($name)
4847 {
4848 $this->name = $name;
4849 }
4850 public function getName()
4851 {
4852 return $this->name;
4853 }
4854 public function setNonEditableAliases($nonEditableAliases)
4855 {
4856 $this->nonEditableAliases = $nonEditableAliases;
4857 }
4858 public function getNonEditableAliases()
4859 {
4860 return $this->nonEditableAliases;
4861 }
4862 }
4863
4864 class Google_Service_Directory_Groups extends Google_Collection
4865 {
4866 protected $collection_key = 'groups';
4867 protected $internal_gapi_mappings = array(
4868 );
4869 public $etag;
4870 protected $groupsType = 'Google_Service_Directory_Group';
4871 protected $groupsDataType = 'array';
4872 public $kind;
4873 public $nextPageToken;
4874
4875
4876 public function setEtag($etag)
4877 {
4878 $this->etag = $etag;
4879 }
4880 public function getEtag()
4881 {
4882 return $this->etag;
4883 }
4884 public function setGroups($groups)
4885 {
4886 $this->groups = $groups;
4887 }
4888 public function getGroups()
4889 {
4890 return $this->groups;
4891 }
4892 public function setKind($kind)
4893 {
4894 $this->kind = $kind;
4895 }
4896 public function getKind()
4897 {
4898 return $this->kind;
4899 }
4900 public function setNextPageToken($nextPageToken)
4901 {
4902 $this->nextPageToken = $nextPageToken;
4903 }
4904 public function getNextPageToken()
4905 {
4906 return $this->nextPageToken;
4907 }
4908 }
4909
4910 class Google_Service_Directory_Member extends Google_Model
4911 {
4912 protected $internal_gapi_mappings = array(
4913 );
4914 public $email;
4915 public $etag;
4916 public $id;
4917 public $kind;
4918 public $role;
4919 public $type;
4920
4921
4922 public function setEmail($email)
4923 {
4924 $this->email = $email;
4925 }
4926 public function getEmail()
4927 {
4928 return $this->email;
4929 }
4930 public function setEtag($etag)
4931 {
4932 $this->etag = $etag;
4933 }
4934 public function getEtag()
4935 {
4936 return $this->etag;
4937 }
4938 public function setId($id)
4939 {
4940 $this->id = $id;
4941 }
4942 public function getId()
4943 {
4944 return $this->id;
4945 }
4946 public function setKind($kind)
4947 {
4948 $this->kind = $kind;
4949 }
4950 public function getKind()
4951 {
4952 return $this->kind;
4953 }
4954 public function setRole($role)
4955 {
4956 $this->role = $role;
4957 }
4958 public function getRole()
4959 {
4960 return $this->role;
4961 }
4962 public function setType($type)
4963 {
4964 $this->type = $type;
4965 }
4966 public function getType()
4967 {
4968 return $this->type;
4969 }
4970 }
4971
4972 class Google_Service_Directory_Members extends Google_Collection
4973 {
4974 protected $collection_key = 'members';
4975 protected $internal_gapi_mappings = array(
4976 );
4977 public $etag;
4978 public $kind;
4979 protected $membersType = 'Google_Service_Directory_Member';
4980 protected $membersDataType = 'array';
4981 public $nextPageToken;
4982
4983
4984 public function setEtag($etag)
4985 {
4986 $this->etag = $etag;
4987 }
4988 public function getEtag()
4989 {
4990 return $this->etag;
4991 }
4992 public function setKind($kind)
4993 {
4994 $this->kind = $kind;
4995 }
4996 public function getKind()
4997 {
4998 return $this->kind;
4999 }
5000 public function setMembers($members)
5001 {
5002 $this->members = $members;
5003 }
5004 public function getMembers()
5005 {
5006 return $this->members;
5007 }
5008 public function setNextPageToken($nextPageToken)
5009 {
5010 $this->nextPageToken = $nextPageToken;
5011 }
5012 public function getNextPageToken()
5013 {
5014 return $this->nextPageToken;
5015 }
5016 }
5017
5018 class Google_Service_Directory_MobileDevice extends Google_Collection
5019 {
5020 protected $collection_key = 'otherAccountsInfo';
5021 protected $internal_gapi_mappings = array(
5022 );
5023 public $adbStatus;
5024 protected $applicationsType = 'Google_Service_Directory_MobileDeviceApplications';
5025 protected $applicationsDataType = 'array';
5026 public $basebandVersion;
5027 public $buildNumber;
5028 public $defaultLanguage;
5029 public $developerOptionsStatus;
5030 public $deviceCompromisedStatus;
5031 public $deviceId;
5032 public $email;
5033 public $etag;
5034 public $firstSync;
5035 public $hardwareId;
5036 public $imei;
5037 public $kernelVersion;
5038 public $kind;
5039 public $lastSync;
5040 public $managedAccountIsOnOwnerProfile;
5041 public $meid;
5042 public $model;
5043 public $name;
5044 public $networkOperator;
5045 public $os;
5046 public $otherAccountsInfo;
5047 public $resourceId;
5048 public $serialNumber;
5049 public $status;
5050 public $supportsWorkProfile;
5051 public $type;
5052 public $unknownSourcesStatus;
5053 public $userAgent;
5054 public $wifiMacAddress;
5055
5056
5057 public function setAdbStatus($adbStatus)
5058 {
5059 $this->adbStatus = $adbStatus;
5060 }
5061 public function getAdbStatus()
5062 {
5063 return $this->adbStatus;
5064 }
5065 public function setApplications($applications)
5066 {
5067 $this->applications = $applications;
5068 }
5069 public function getApplications()
5070 {
5071 return $this->applications;
5072 }
5073 public function setBasebandVersion($basebandVersion)
5074 {
5075 $this->basebandVersion = $basebandVersion;
5076 }
5077 public function getBasebandVersion()
5078 {
5079 return $this->basebandVersion;
5080 }
5081 public function setBuildNumber($buildNumber)
5082 {
5083 $this->buildNumber = $buildNumber;
5084 }
5085 public function getBuildNumber()
5086 {
5087 return $this->buildNumber;
5088 }
5089 public function setDefaultLanguage($defaultLanguage)
5090 {
5091 $this->defaultLanguage = $defaultLanguage;
5092 }
5093 public function getDefaultLanguage()
5094 {
5095 return $this->defaultLanguage;
5096 }
5097 public function setDeveloperOptionsStatus($developerOptionsStatus)
5098 {
5099 $this->developerOptionsStatus = $developerOptionsStatus;
5100 }
5101 public function getDeveloperOptionsStatus()
5102 {
5103 return $this->developerOptionsStatus;
5104 }
5105 public function setDeviceCompromisedStatus($deviceCompromisedStatus)
5106 {
5107 $this->deviceCompromisedStatus = $deviceCompromisedStatus;
5108 }
5109 public function getDeviceCompromisedStatus()
5110 {
5111 return $this->deviceCompromisedStatus;
5112 }
5113 public function setDeviceId($deviceId)
5114 {
5115 $this->deviceId = $deviceId;
5116 }
5117 public function getDeviceId()
5118 {
5119 return $this->deviceId;
5120 }
5121 public function setEmail($email)
5122 {
5123 $this->email = $email;
5124 }
5125 public function getEmail()
5126 {
5127 return $this->email;
5128 }
5129 public function setEtag($etag)
5130 {
5131 $this->etag = $etag;
5132 }
5133 public function getEtag()
5134 {
5135 return $this->etag;
5136 }
5137 public function setFirstSync($firstSync)
5138 {
5139 $this->firstSync = $firstSync;
5140 }
5141 public function getFirstSync()
5142 {
5143 return $this->firstSync;
5144 }
5145 public function setHardwareId($hardwareId)
5146 {
5147 $this->hardwareId = $hardwareId;
5148 }
5149 public function getHardwareId()
5150 {
5151 return $this->hardwareId;
5152 }
5153 public function setImei($imei)
5154 {
5155 $this->imei = $imei;
5156 }
5157 public function getImei()
5158 {
5159 return $this->imei;
5160 }
5161 public function setKernelVersion($kernelVersion)
5162 {
5163 $this->kernelVersion = $kernelVersion;
5164 }
5165 public function getKernelVersion()
5166 {
5167 return $this->kernelVersion;
5168 }
5169 public function setKind($kind)
5170 {
5171 $this->kind = $kind;
5172 }
5173 public function getKind()
5174 {
5175 return $this->kind;
5176 }
5177 public function setLastSync($lastSync)
5178 {
5179 $this->lastSync = $lastSync;
5180 }
5181 public function getLastSync()
5182 {
5183 return $this->lastSync;
5184 }
5185 public function setManagedAccountIsOnOwnerProfile($managedAccountIsOnOwnerProfile)
5186 {
5187 $this->managedAccountIsOnOwnerProfile = $managedAccountIsOnOwnerProfile;
5188 }
5189 public function getManagedAccountIsOnOwnerProfile()
5190 {
5191 return $this->managedAccountIsOnOwnerProfile;
5192 }
5193 public function setMeid($meid)
5194 {
5195 $this->meid = $meid;
5196 }
5197 public function getMeid()
5198 {
5199 return $this->meid;
5200 }
5201 public function setModel($model)
5202 {
5203 $this->model = $model;
5204 }
5205 public function getModel()
5206 {
5207 return $this->model;
5208 }
5209 public function setName($name)
5210 {
5211 $this->name = $name;
5212 }
5213 public function getName()
5214 {
5215 return $this->name;
5216 }
5217 public function setNetworkOperator($networkOperator)
5218 {
5219 $this->networkOperator = $networkOperator;
5220 }
5221 public function getNetworkOperator()
5222 {
5223 return $this->networkOperator;
5224 }
5225 public function setOs($os)
5226 {
5227 $this->os = $os;
5228 }
5229 public function getOs()
5230 {
5231 return $this->os;
5232 }
5233 public function setOtherAccountsInfo($otherAccountsInfo)
5234 {
5235 $this->otherAccountsInfo = $otherAccountsInfo;
5236 }
5237 public function getOtherAccountsInfo()
5238 {
5239 return $this->otherAccountsInfo;
5240 }
5241 public function setResourceId($resourceId)
5242 {
5243 $this->resourceId = $resourceId;
5244 }
5245 public function getResourceId()
5246 {
5247 return $this->resourceId;
5248 }
5249 public function setSerialNumber($serialNumber)
5250 {
5251 $this->serialNumber = $serialNumber;
5252 }
5253 public function getSerialNumber()
5254 {
5255 return $this->serialNumber;
5256 }
5257 public function setStatus($status)
5258 {
5259 $this->status = $status;
5260 }
5261 public function getStatus()
5262 {
5263 return $this->status;
5264 }
5265 public function setSupportsWorkProfile($supportsWorkProfile)
5266 {
5267 $this->supportsWorkProfile = $supportsWorkProfile;
5268 }
5269 public function getSupportsWorkProfile()
5270 {
5271 return $this->supportsWorkProfile;
5272 }
5273 public function setType($type)
5274 {
5275 $this->type = $type;
5276 }
5277 public function getType()
5278 {
5279 return $this->type;
5280 }
5281 public function setUnknownSourcesStatus($unknownSourcesStatus)
5282 {
5283 $this->unknownSourcesStatus = $unknownSourcesStatus;
5284 }
5285 public function getUnknownSourcesStatus()
5286 {
5287 return $this->unknownSourcesStatus;
5288 }
5289 public function setUserAgent($userAgent)
5290 {
5291 $this->userAgent = $userAgent;
5292 }
5293 public function getUserAgent()
5294 {
5295 return $this->userAgent;
5296 }
5297 public function setWifiMacAddress($wifiMacAddress)
5298 {
5299 $this->wifiMacAddress = $wifiMacAddress;
5300 }
5301 public function getWifiMacAddress()
5302 {
5303 return $this->wifiMacAddress;
5304 }
5305 }
5306
5307 class Google_Service_Directory_MobileDeviceAction extends Google_Model
5308 {
5309 protected $internal_gapi_mappings = array(
5310 );
5311 public $action;
5312
5313
5314 public function setAction($action)
5315 {
5316 $this->action = $action;
5317 }
5318 public function getAction()
5319 {
5320 return $this->action;
5321 }
5322 }
5323
5324 class Google_Service_Directory_MobileDeviceApplications extends Google_Collection
5325 {
5326 protected $collection_key = 'permission';
5327 protected $internal_gapi_mappings = array(
5328 );
5329 public $displayName;
5330 public $packageName;
5331 public $permission;
5332 public $versionCode;
5333 public $versionName;
5334
5335
5336 public function setDisplayName($displayName)
5337 {
5338 $this->displayName = $displayName;
5339 }
5340 public function getDisplayName()
5341 {
5342 return $this->displayName;
5343 }
5344 public function setPackageName($packageName)
5345 {
5346 $this->packageName = $packageName;
5347 }
5348 public function getPackageName()
5349 {
5350 return $this->packageName;
5351 }
5352 public function setPermission($permission)
5353 {
5354 $this->permission = $permission;
5355 }
5356 public function getPermission()
5357 {
5358 return $this->permission;
5359 }
5360 public function setVersionCode($versionCode)
5361 {
5362 $this->versionCode = $versionCode;
5363 }
5364 public function getVersionCode()
5365 {
5366 return $this->versionCode;
5367 }
5368 public function setVersionName($versionName)
5369 {
5370 $this->versionName = $versionName;
5371 }
5372 public function getVersionName()
5373 {
5374 return $this->versionName;
5375 }
5376 }
5377
5378 class Google_Service_Directory_MobileDevices extends Google_Collection
5379 {
5380 protected $collection_key = 'mobiledevices';
5381 protected $internal_gapi_mappings = array(
5382 );
5383 public $etag;
5384 public $kind;
5385 protected $mobiledevicesType = 'Google_Service_Directory_MobileDevice';
5386 protected $mobiledevicesDataType = 'array';
5387 public $nextPageToken;
5388
5389
5390 public function setEtag($etag)
5391 {
5392 $this->etag = $etag;
5393 }
5394 public function getEtag()
5395 {
5396 return $this->etag;
5397 }
5398 public function setKind($kind)
5399 {
5400 $this->kind = $kind;
5401 }
5402 public function getKind()
5403 {
5404 return $this->kind;
5405 }
5406 public function setMobiledevices($mobiledevices)
5407 {
5408 $this->mobiledevices = $mobiledevices;
5409 }
5410 public function getMobiledevices()
5411 {
5412 return $this->mobiledevices;
5413 }
5414 public function setNextPageToken($nextPageToken)
5415 {
5416 $this->nextPageToken = $nextPageToken;
5417 }
5418 public function getNextPageToken()
5419 {
5420 return $this->nextPageToken;
5421 }
5422 }
5423
5424 class Google_Service_Directory_Notification extends Google_Model
5425 {
5426 protected $internal_gapi_mappings = array(
5427 );
5428 public $body;
5429 public $etag;
5430 public $fromAddress;
5431 public $isUnread;
5432 public $kind;
5433 public $notificationId;
5434 public $sendTime;
5435 public $subject;
5436
5437
5438 public function setBody($body)
5439 {
5440 $this->body = $body;
5441 }
5442 public function getBody()
5443 {
5444 return $this->body;
5445 }
5446 public function setEtag($etag)
5447 {
5448 $this->etag = $etag;
5449 }
5450 public function getEtag()
5451 {
5452 return $this->etag;
5453 }
5454 public function setFromAddress($fromAddress)
5455 {
5456 $this->fromAddress = $fromAddress;
5457 }
5458 public function getFromAddress()
5459 {
5460 return $this->fromAddress;
5461 }
5462 public function setIsUnread($isUnread)
5463 {
5464 $this->isUnread = $isUnread;
5465 }
5466 public function getIsUnread()
5467 {
5468 return $this->isUnread;
5469 }
5470 public function setKind($kind)
5471 {
5472 $this->kind = $kind;
5473 }
5474 public function getKind()
5475 {
5476 return $this->kind;
5477 }
5478 public function setNotificationId($notificationId)
5479 {
5480 $this->notificationId = $notificationId;
5481 }
5482 public function getNotificationId()
5483 {
5484 return $this->notificationId;
5485 }
5486 public function setSendTime($sendTime)
5487 {
5488 $this->sendTime = $sendTime;
5489 }
5490 public function getSendTime()
5491 {
5492 return $this->sendTime;
5493 }
5494 public function setSubject($subject)
5495 {
5496 $this->subject = $subject;
5497 }
5498 public function getSubject()
5499 {
5500 return $this->subject;
5501 }
5502 }
5503
5504 class Google_Service_Directory_Notifications extends Google_Collection
5505 {
5506 protected $collection_key = 'items';
5507 protected $internal_gapi_mappings = array(
5508 );
5509 public $etag;
5510 protected $itemsType = 'Google_Service_Directory_Notification';
5511 protected $itemsDataType = 'array';
5512 public $kind;
5513 public $nextPageToken;
5514 public $unreadNotificationsCount;
5515
5516
5517 public function setEtag($etag)
5518 {
5519 $this->etag = $etag;
5520 }
5521 public function getEtag()
5522 {
5523 return $this->etag;
5524 }
5525 public function setItems($items)
5526 {
5527 $this->items = $items;
5528 }
5529 public function getItems()
5530 {
5531 return $this->items;
5532 }
5533 public function setKind($kind)
5534 {
5535 $this->kind = $kind;
5536 }
5537 public function getKind()
5538 {
5539 return $this->kind;
5540 }
5541 public function setNextPageToken($nextPageToken)
5542 {
5543 $this->nextPageToken = $nextPageToken;
5544 }
5545 public function getNextPageToken()
5546 {
5547 return $this->nextPageToken;
5548 }
5549 public function setUnreadNotificationsCount($unreadNotificationsCount)
5550 {
5551 $this->unreadNotificationsCount = $unreadNotificationsCount;
5552 }
5553 public function getUnreadNotificationsCount()
5554 {
5555 return $this->unreadNotificationsCount;
5556 }
5557 }
5558
5559 class Google_Service_Directory_OrgUnit extends Google_Model
5560 {
5561 protected $internal_gapi_mappings = array(
5562 );
5563 public $blockInheritance;
5564 public $description;
5565 public $etag;
5566 public $kind;
5567 public $name;
5568 public $orgUnitId;
5569 public $orgUnitPath;
5570 public $parentOrgUnitId;
5571 public $parentOrgUnitPath;
5572
5573
5574 public function setBlockInheritance($blockInheritance)
5575 {
5576 $this->blockInheritance = $blockInheritance;
5577 }
5578 public function getBlockInheritance()
5579 {
5580 return $this->blockInheritance;
5581 }
5582 public function setDescription($description)
5583 {
5584 $this->description = $description;
5585 }
5586 public function getDescription()
5587 {
5588 return $this->description;
5589 }
5590 public function setEtag($etag)
5591 {
5592 $this->etag = $etag;
5593 }
5594 public function getEtag()
5595 {
5596 return $this->etag;
5597 }
5598 public function setKind($kind)
5599 {
5600 $this->kind = $kind;
5601 }
5602 public function getKind()
5603 {
5604 return $this->kind;
5605 }
5606 public function setName($name)
5607 {
5608 $this->name = $name;
5609 }
5610 public function getName()
5611 {
5612 return $this->name;
5613 }
5614 public function setOrgUnitId($orgUnitId)
5615 {
5616 $this->orgUnitId = $orgUnitId;
5617 }
5618 public function getOrgUnitId()
5619 {
5620 return $this->orgUnitId;
5621 }
5622 public function setOrgUnitPath($orgUnitPath)
5623 {
5624 $this->orgUnitPath = $orgUnitPath;
5625 }
5626 public function getOrgUnitPath()
5627 {
5628 return $this->orgUnitPath;
5629 }
5630 public function setParentOrgUnitId($parentOrgUnitId)
5631 {
5632 $this->parentOrgUnitId = $parentOrgUnitId;
5633 }
5634 public function getParentOrgUnitId()
5635 {
5636 return $this->parentOrgUnitId;
5637 }
5638 public function setParentOrgUnitPath($parentOrgUnitPath)
5639 {
5640 $this->parentOrgUnitPath = $parentOrgUnitPath;
5641 }
5642 public function getParentOrgUnitPath()
5643 {
5644 return $this->parentOrgUnitPath;
5645 }
5646 }
5647
5648 class Google_Service_Directory_OrgUnits extends Google_Collection
5649 {
5650 protected $collection_key = 'organizationUnits';
5651 protected $internal_gapi_mappings = array(
5652 );
5653 public $etag;
5654 public $kind;
5655 protected $organizationUnitsType = 'Google_Service_Directory_OrgUnit';
5656 protected $organizationUnitsDataType = 'array';
5657
5658
5659 public function setEtag($etag)
5660 {
5661 $this->etag = $etag;
5662 }
5663 public function getEtag()
5664 {
5665 return $this->etag;
5666 }
5667 public function setKind($kind)
5668 {
5669 $this->kind = $kind;
5670 }
5671 public function getKind()
5672 {
5673 return $this->kind;
5674 }
5675 public function setOrganizationUnits($organizationUnits)
5676 {
5677 $this->organizationUnits = $organizationUnits;
5678 }
5679 public function getOrganizationUnits()
5680 {
5681 return $this->organizationUnits;
5682 }
5683 }
5684
5685 class Google_Service_Directory_Privilege extends Google_Collection
5686 {
5687 protected $collection_key = 'childPrivileges';
5688 protected $internal_gapi_mappings = array(
5689 );
5690 protected $childPrivilegesType = 'Google_Service_Directory_Privilege';
5691 protected $childPrivilegesDataType = 'array';
5692 public $etag;
5693 public $isOuScopable;
5694 public $kind;
5695 public $privilegeName;
5696 public $serviceId;
5697 public $serviceName;
5698
5699
5700 public function setChildPrivileges($childPrivileges)
5701 {
5702 $this->childPrivileges = $childPrivileges;
5703 }
5704 public function getChildPrivileges()
5705 {
5706 return $this->childPrivileges;
5707 }
5708 public function setEtag($etag)
5709 {
5710 $this->etag = $etag;
5711 }
5712 public function getEtag()
5713 {
5714 return $this->etag;
5715 }
5716 public function setIsOuScopable($isOuScopable)
5717 {
5718 $this->isOuScopable = $isOuScopable;
5719 }
5720 public function getIsOuScopable()
5721 {
5722 return $this->isOuScopable;
5723 }
5724 public function setKind($kind)
5725 {
5726 $this->kind = $kind;
5727 }
5728 public function getKind()
5729 {
5730 return $this->kind;
5731 }
5732 public function setPrivilegeName($privilegeName)
5733 {
5734 $this->privilegeName = $privilegeName;
5735 }
5736 public function getPrivilegeName()
5737 {
5738 return $this->privilegeName;
5739 }
5740 public function setServiceId($serviceId)
5741 {
5742 $this->serviceId = $serviceId;
5743 }
5744 public function getServiceId()
5745 {
5746 return $this->serviceId;
5747 }
5748 public function setServiceName($serviceName)
5749 {
5750 $this->serviceName = $serviceName;
5751 }
5752 public function getServiceName()
5753 {
5754 return $this->serviceName;
5755 }
5756 }
5757
5758 class Google_Service_Directory_Privileges extends Google_Collection
5759 {
5760 protected $collection_key = 'items';
5761 protected $internal_gapi_mappings = array(
5762 );
5763 public $etag;
5764 protected $itemsType = 'Google_Service_Directory_Privilege';
5765 protected $itemsDataType = 'array';
5766 public $kind;
5767
5768
5769 public function setEtag($etag)
5770 {
5771 $this->etag = $etag;
5772 }
5773 public function getEtag()
5774 {
5775 return $this->etag;
5776 }
5777 public function setItems($items)
5778 {
5779 $this->items = $items;
5780 }
5781 public function getItems()
5782 {
5783 return $this->items;
5784 }
5785 public function setKind($kind)
5786 {
5787 $this->kind = $kind;
5788 }
5789 public function getKind()
5790 {
5791 return $this->kind;
5792 }
5793 }
5794
5795 class Google_Service_Directory_Role extends Google_Collection
5796 {
5797 protected $collection_key = 'rolePrivileges';
5798 protected $internal_gapi_mappings = array(
5799 );
5800 public $etag;
5801 public $isSuperAdminRole;
5802 public $isSystemRole;
5803 public $kind;
5804 public $roleDescription;
5805 public $roleId;
5806 public $roleName;
5807 protected $rolePrivilegesType = 'Google_Service_Directory_RoleRolePrivileges';
5808 protected $rolePrivilegesDataType = 'array';
5809
5810
5811 public function setEtag($etag)
5812 {
5813 $this->etag = $etag;
5814 }
5815 public function getEtag()
5816 {
5817 return $this->etag;
5818 }
5819 public function setIsSuperAdminRole($isSuperAdminRole)
5820 {
5821 $this->isSuperAdminRole = $isSuperAdminRole;
5822 }
5823 public function getIsSuperAdminRole()
5824 {
5825 return $this->isSuperAdminRole;
5826 }
5827 public function setIsSystemRole($isSystemRole)
5828 {
5829 $this->isSystemRole = $isSystemRole;
5830 }
5831 public function getIsSystemRole()
5832 {
5833 return $this->isSystemRole;
5834 }
5835 public function setKind($kind)
5836 {
5837 $this->kind = $kind;
5838 }
5839 public function getKind()
5840 {
5841 return $this->kind;
5842 }
5843 public function setRoleDescription($roleDescription)
5844 {
5845 $this->roleDescription = $roleDescription;
5846 }
5847 public function getRoleDescription()
5848 {
5849 return $this->roleDescription;
5850 }
5851 public function setRoleId($roleId)
5852 {
5853 $this->roleId = $roleId;
5854 }
5855 public function getRoleId()
5856 {
5857 return $this->roleId;
5858 }
5859 public function setRoleName($roleName)
5860 {
5861 $this->roleName = $roleName;
5862 }
5863 public function getRoleName()
5864 {
5865 return $this->roleName;
5866 }
5867 public function setRolePrivileges($rolePrivileges)
5868 {
5869 $this->rolePrivileges = $rolePrivileges;
5870 }
5871 public function getRolePrivileges()
5872 {
5873 return $this->rolePrivileges;
5874 }
5875 }
5876
5877 class Google_Service_Directory_RoleAssignment extends Google_Model
5878 {
5879 protected $internal_gapi_mappings = array(
5880 );
5881 public $assignedTo;
5882 public $etag;
5883 public $kind;
5884 public $orgUnitId;
5885 public $roleAssignmentId;
5886 public $roleId;
5887 public $scopeType;
5888
5889
5890 public function setAssignedTo($assignedTo)
5891 {
5892 $this->assignedTo = $assignedTo;
5893 }
5894 public function getAssignedTo()
5895 {
5896 return $this->assignedTo;
5897 }
5898 public function setEtag($etag)
5899 {
5900 $this->etag = $etag;
5901 }
5902 public function getEtag()
5903 {
5904 return $this->etag;
5905 }
5906 public function setKind($kind)
5907 {
5908 $this->kind = $kind;
5909 }
5910 public function getKind()
5911 {
5912 return $this->kind;
5913 }
5914 public function setOrgUnitId($orgUnitId)
5915 {
5916 $this->orgUnitId = $orgUnitId;
5917 }
5918 public function getOrgUnitId()
5919 {
5920 return $this->orgUnitId;
5921 }
5922 public function setRoleAssignmentId($roleAssignmentId)
5923 {
5924 $this->roleAssignmentId = $roleAssignmentId;
5925 }
5926 public function getRoleAssignmentId()
5927 {
5928 return $this->roleAssignmentId;
5929 }
5930 public function setRoleId($roleId)
5931 {
5932 $this->roleId = $roleId;
5933 }
5934 public function getRoleId()
5935 {
5936 return $this->roleId;
5937 }
5938 public function setScopeType($scopeType)
5939 {
5940 $this->scopeType = $scopeType;
5941 }
5942 public function getScopeType()
5943 {
5944 return $this->scopeType;
5945 }
5946 }
5947
5948 class Google_Service_Directory_RoleAssignments extends Google_Collection
5949 {
5950 protected $collection_key = 'items';
5951 protected $internal_gapi_mappings = array(
5952 );
5953 public $etag;
5954 protected $itemsType = 'Google_Service_Directory_RoleAssignment';
5955 protected $itemsDataType = 'array';
5956 public $kind;
5957 public $nextPageToken;
5958
5959
5960 public function setEtag($etag)
5961 {
5962 $this->etag = $etag;
5963 }
5964 public function getEtag()
5965 {
5966 return $this->etag;
5967 }
5968 public function setItems($items)
5969 {
5970 $this->items = $items;
5971 }
5972 public function getItems()
5973 {
5974 return $this->items;
5975 }
5976 public function setKind($kind)
5977 {
5978 $this->kind = $kind;
5979 }
5980 public function getKind()
5981 {
5982 return $this->kind;
5983 }
5984 public function setNextPageToken($nextPageToken)
5985 {
5986 $this->nextPageToken = $nextPageToken;
5987 }
5988 public function getNextPageToken()
5989 {
5990 return $this->nextPageToken;
5991 }
5992 }
5993
5994 class Google_Service_Directory_RoleRolePrivileges extends Google_Model
5995 {
5996 protected $internal_gapi_mappings = array(
5997 );
5998 public $privilegeName;
5999 public $serviceId;
6000
6001
6002 public function setPrivilegeName($privilegeName)
6003 {
6004 $this->privilegeName = $privilegeName;
6005 }
6006 public function getPrivilegeName()
6007 {
6008 return $this->privilegeName;
6009 }
6010 public function setServiceId($serviceId)
6011 {
6012 $this->serviceId = $serviceId;
6013 }
6014 public function getServiceId()
6015 {
6016 return $this->serviceId;
6017 }
6018 }
6019
6020 class Google_Service_Directory_Roles extends Google_Collection
6021 {
6022 protected $collection_key = 'items';
6023 protected $internal_gapi_mappings = array(
6024 );
6025 public $etag;
6026 protected $itemsType = 'Google_Service_Directory_Role';
6027 protected $itemsDataType = 'array';
6028 public $kind;
6029 public $nextPageToken;
6030
6031
6032 public function setEtag($etag)
6033 {
6034 $this->etag = $etag;
6035 }
6036 public function getEtag()
6037 {
6038 return $this->etag;
6039 }
6040 public function setItems($items)
6041 {
6042 $this->items = $items;
6043 }
6044 public function getItems()
6045 {
6046 return $this->items;
6047 }
6048 public function setKind($kind)
6049 {
6050 $this->kind = $kind;
6051 }
6052 public function getKind()
6053 {
6054 return $this->kind;
6055 }
6056 public function setNextPageToken($nextPageToken)
6057 {
6058 $this->nextPageToken = $nextPageToken;
6059 }
6060 public function getNextPageToken()
6061 {
6062 return $this->nextPageToken;
6063 }
6064 }
6065
6066 class Google_Service_Directory_Schema extends Google_Collection
6067 {
6068 protected $collection_key = 'fields';
6069 protected $internal_gapi_mappings = array(
6070 );
6071 public $etag;
6072 protected $fieldsType = 'Google_Service_Directory_SchemaFieldSpec';
6073 protected $fieldsDataType = 'array';
6074 public $kind;
6075 public $schemaId;
6076 public $schemaName;
6077
6078
6079 public function setEtag($etag)
6080 {
6081 $this->etag = $etag;
6082 }
6083 public function getEtag()
6084 {
6085 return $this->etag;
6086 }
6087 public function setFields($fields)
6088 {
6089 $this->fields = $fields;
6090 }
6091 public function getFields()
6092 {
6093 return $this->fields;
6094 }
6095 public function setKind($kind)
6096 {
6097 $this->kind = $kind;
6098 }
6099 public function getKind()
6100 {
6101 return $this->kind;
6102 }
6103 public function setSchemaId($schemaId)
6104 {
6105 $this->schemaId = $schemaId;
6106 }
6107 public function getSchemaId()
6108 {
6109 return $this->schemaId;
6110 }
6111 public function setSchemaName($schemaName)
6112 {
6113 $this->schemaName = $schemaName;
6114 }
6115 public function getSchemaName()
6116 {
6117 return $this->schemaName;
6118 }
6119 }
6120
6121 class Google_Service_Directory_SchemaFieldSpec extends Google_Model
6122 {
6123 protected $internal_gapi_mappings = array(
6124 );
6125 public $etag;
6126 public $fieldId;
6127 public $fieldName;
6128 public $fieldType;
6129 public $indexed;
6130 public $kind;
6131 public $multiValued;
6132 protected $numericIndexingSpecType = 'Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec';
6133 protected $numericIndexingSpecDataType = '';
6134 public $readAccessType;
6135
6136
6137 public function setEtag($etag)
6138 {
6139 $this->etag = $etag;
6140 }
6141 public function getEtag()
6142 {
6143 return $this->etag;
6144 }
6145 public function setFieldId($fieldId)
6146 {
6147 $this->fieldId = $fieldId;
6148 }
6149 public function getFieldId()
6150 {
6151 return $this->fieldId;
6152 }
6153 public function setFieldName($fieldName)
6154 {
6155 $this->fieldName = $fieldName;
6156 }
6157 public function getFieldName()
6158 {
6159 return $this->fieldName;
6160 }
6161 public function setFieldType($fieldType)
6162 {
6163 $this->fieldType = $fieldType;
6164 }
6165 public function getFieldType()
6166 {
6167 return $this->fieldType;
6168 }
6169 public function setIndexed($indexed)
6170 {
6171 $this->indexed = $indexed;
6172 }
6173 public function getIndexed()
6174 {
6175 return $this->indexed;
6176 }
6177 public function setKind($kind)
6178 {
6179 $this->kind = $kind;
6180 }
6181 public function getKind()
6182 {
6183 return $this->kind;
6184 }
6185 public function setMultiValued($multiValued)
6186 {
6187 $this->multiValued = $multiValued;
6188 }
6189 public function getMultiValued()
6190 {
6191 return $this->multiValued;
6192 }
6193 public function setNumericIndexingSpec(Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec $numericIndexingSpec)
6194 {
6195 $this->numericIndexingSpec = $numericIndexingSpec;
6196 }
6197 public function getNumericIndexingSpec()
6198 {
6199 return $this->numericIndexingSpec;
6200 }
6201 public function setReadAccessType($readAccessType)
6202 {
6203 $this->readAccessType = $readAccessType;
6204 }
6205 public function getReadAccessType()
6206 {
6207 return $this->readAccessType;
6208 }
6209 }
6210
6211 class Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec extends Google_Model
6212 {
6213 protected $internal_gapi_mappings = array(
6214 );
6215 public $maxValue;
6216 public $minValue;
6217
6218
6219 public function setMaxValue($maxValue)
6220 {
6221 $this->maxValue = $maxValue;
6222 }
6223 public function getMaxValue()
6224 {
6225 return $this->maxValue;
6226 }
6227 public function setMinValue($minValue)
6228 {
6229 $this->minValue = $minValue;
6230 }
6231 public function getMinValue()
6232 {
6233 return $this->minValue;
6234 }
6235 }
6236
6237 class Google_Service_Directory_Schemas extends Google_Collection
6238 {
6239 protected $collection_key = 'schemas';
6240 protected $internal_gapi_mappings = array(
6241 );
6242 public $etag;
6243 public $kind;
6244 protected $schemasType = 'Google_Service_Directory_Schema';
6245 protected $schemasDataType = 'array';
6246
6247
6248 public function setEtag($etag)
6249 {
6250 $this->etag = $etag;
6251 }
6252 public function getEtag()
6253 {
6254 return $this->etag;
6255 }
6256 public function setKind($kind)
6257 {
6258 $this->kind = $kind;
6259 }
6260 public function getKind()
6261 {
6262 return $this->kind;
6263 }
6264 public function setSchemas($schemas)
6265 {
6266 $this->schemas = $schemas;
6267 }
6268 public function getSchemas()
6269 {
6270 return $this->schemas;
6271 }
6272 }
6273
6274 class Google_Service_Directory_Token extends Google_Collection
6275 {
6276 protected $collection_key = 'scopes';
6277 protected $internal_gapi_mappings = array(
6278 );
6279 public $anonymous;
6280 public $clientId;
6281 public $displayText;
6282 public $etag;
6283 public $kind;
6284 public $nativeApp;
6285 public $scopes;
6286 public $userKey;
6287
6288
6289 public function setAnonymous($anonymous)
6290 {
6291 $this->anonymous = $anonymous;
6292 }
6293 public function getAnonymous()
6294 {
6295 return $this->anonymous;
6296 }
6297 public function setClientId($clientId)
6298 {
6299 $this->clientId = $clientId;
6300 }
6301 public function getClientId()
6302 {
6303 return $this->clientId;
6304 }
6305 public function setDisplayText($displayText)
6306 {
6307 $this->displayText = $displayText;
6308 }
6309 public function getDisplayText()
6310 {
6311 return $this->displayText;
6312 }
6313 public function setEtag($etag)
6314 {
6315 $this->etag = $etag;
6316 }
6317 public function getEtag()
6318 {
6319 return $this->etag;
6320 }
6321 public function setKind($kind)
6322 {
6323 $this->kind = $kind;
6324 }
6325 public function getKind()
6326 {
6327 return $this->kind;
6328 }
6329 public function setNativeApp($nativeApp)
6330 {
6331 $this->nativeApp = $nativeApp;
6332 }
6333 public function getNativeApp()
6334 {
6335 return $this->nativeApp;
6336 }
6337 public function setScopes($scopes)
6338 {
6339 $this->scopes = $scopes;
6340 }
6341 public function getScopes()
6342 {
6343 return $this->scopes;
6344 }
6345 public function setUserKey($userKey)
6346 {
6347 $this->userKey = $userKey;
6348 }
6349 public function getUserKey()
6350 {
6351 return $this->userKey;
6352 }
6353 }
6354
6355 class Google_Service_Directory_Tokens extends Google_Collection
6356 {
6357 protected $collection_key = 'items';
6358 protected $internal_gapi_mappings = array(
6359 );
6360 public $etag;
6361 protected $itemsType = 'Google_Service_Directory_Token';
6362 protected $itemsDataType = 'array';
6363 public $kind;
6364
6365
6366 public function setEtag($etag)
6367 {
6368 $this->etag = $etag;
6369 }
6370 public function getEtag()
6371 {
6372 return $this->etag;
6373 }
6374 public function setItems($items)
6375 {
6376 $this->items = $items;
6377 }
6378 public function getItems()
6379 {
6380 return $this->items;
6381 }
6382 public function setKind($kind)
6383 {
6384 $this->kind = $kind;
6385 }
6386 public function getKind()
6387 {
6388 return $this->kind;
6389 }
6390 }
6391
6392 class Google_Service_Directory_User extends Google_Collection
6393 {
6394 protected $collection_key = 'nonEditableAliases';
6395 protected $internal_gapi_mappings = array(
6396 );
6397 public $addresses;
6398 public $agreedToTerms;
6399 public $aliases;
6400 public $changePasswordAtNextLogin;
6401 public $creationTime;
6402 public $customSchemas;
6403 public $customerId;
6404 public $deletionTime;
6405 public $emails;
6406 public $etag;
6407 public $externalIds;
6408 public $hashFunction;
6409 public $id;
6410 public $ims;
6411 public $includeInGlobalAddressList;
6412 public $ipWhitelisted;
6413 public $isAdmin;
6414 public $isDelegatedAdmin;
6415 public $isMailboxSetup;
6416 public $kind;
6417 public $lastLoginTime;
6418 protected $nameType = 'Google_Service_Directory_UserName';
6419 protected $nameDataType = '';
6420 public $nonEditableAliases;
6421 public $notes;
6422 public $orgUnitPath;
6423 public $organizations;
6424 public $password;
6425 public $phones;
6426 public $primaryEmail;
6427 public $relations;
6428 public $suspended;
6429 public $suspensionReason;
6430 public $thumbnailPhotoEtag;
6431 public $thumbnailPhotoUrl;
6432 public $websites;
6433
6434
6435 public function setAddresses($addresses)
6436 {
6437 $this->addresses = $addresses;
6438 }
6439 public function getAddresses()
6440 {
6441 return $this->addresses;
6442 }
6443 public function setAgreedToTerms($agreedToTerms)
6444 {
6445 $this->agreedToTerms = $agreedToTerms;
6446 }
6447 public function getAgreedToTerms()
6448 {
6449 return $this->agreedToTerms;
6450 }
6451 public function setAliases($aliases)
6452 {
6453 $this->aliases = $aliases;
6454 }
6455 public function getAliases()
6456 {
6457 return $this->aliases;
6458 }
6459 public function setChangePasswordAtNextLogin($changePasswordAtNextLogin)
6460 {
6461 $this->changePasswordAtNextLogin = $changePasswordAtNextLogin;
6462 }
6463 public function getChangePasswordAtNextLogin()
6464 {
6465 return $this->changePasswordAtNextLogin;
6466 }
6467 public function setCreationTime($creationTime)
6468 {
6469 $this->creationTime = $creationTime;
6470 }
6471 public function getCreationTime()
6472 {
6473 return $this->creationTime;
6474 }
6475 public function setCustomSchemas($customSchemas)
6476 {
6477 $this->customSchemas = $customSchemas;
6478 }
6479 public function getCustomSchemas()
6480 {
6481 return $this->customSchemas;
6482 }
6483 public function setCustomerId($customerId)
6484 {
6485 $this->customerId = $customerId;
6486 }
6487 public function getCustomerId()
6488 {
6489 return $this->customerId;
6490 }
6491 public function setDeletionTime($deletionTime)
6492 {
6493 $this->deletionTime = $deletionTime;
6494 }
6495 public function getDeletionTime()
6496 {
6497 return $this->deletionTime;
6498 }
6499 public function setEmails($emails)
6500 {
6501 $this->emails = $emails;
6502 }
6503 public function getEmails()
6504 {
6505 return $this->emails;
6506 }
6507 public function setEtag($etag)
6508 {
6509 $this->etag = $etag;
6510 }
6511 public function getEtag()
6512 {
6513 return $this->etag;
6514 }
6515 public function setExternalIds($externalIds)
6516 {
6517 $this->externalIds = $externalIds;
6518 }
6519 public function getExternalIds()
6520 {
6521 return $this->externalIds;
6522 }
6523 public function setHashFunction($hashFunction)
6524 {
6525 $this->hashFunction = $hashFunction;
6526 }
6527 public function getHashFunction()
6528 {
6529 return $this->hashFunction;
6530 }
6531 public function setId($id)
6532 {
6533 $this->id = $id;
6534 }
6535 public function getId()
6536 {
6537 return $this->id;
6538 }
6539 public function setIms($ims)
6540 {
6541 $this->ims = $ims;
6542 }
6543 public function getIms()
6544 {
6545 return $this->ims;
6546 }
6547 public function setIncludeInGlobalAddressList($includeInGlobalAddressList)
6548 {
6549 $this->includeInGlobalAddressList = $includeInGlobalAddressList;
6550 }
6551 public function getIncludeInGlobalAddressList()
6552 {
6553 return $this->includeInGlobalAddressList;
6554 }
6555 public function setIpWhitelisted($ipWhitelisted)
6556 {
6557 $this->ipWhitelisted = $ipWhitelisted;
6558 }
6559 public function getIpWhitelisted()
6560 {
6561 return $this->ipWhitelisted;
6562 }
6563 public function setIsAdmin($isAdmin)
6564 {
6565 $this->isAdmin = $isAdmin;
6566 }
6567 public function getIsAdmin()
6568 {
6569 return $this->isAdmin;
6570 }
6571 public function setIsDelegatedAdmin($isDelegatedAdmin)
6572 {
6573 $this->isDelegatedAdmin = $isDelegatedAdmin;
6574 }
6575 public function getIsDelegatedAdmin()
6576 {
6577 return $this->isDelegatedAdmin;
6578 }
6579 public function setIsMailboxSetup($isMailboxSetup)
6580 {
6581 $this->isMailboxSetup = $isMailboxSetup;
6582 }
6583 public function getIsMailboxSetup()
6584 {
6585 return $this->isMailboxSetup;
6586 }
6587 public function setKind($kind)
6588 {
6589 $this->kind = $kind;
6590 }
6591 public function getKind()
6592 {
6593 return $this->kind;
6594 }
6595 public function setLastLoginTime($lastLoginTime)
6596 {
6597 $this->lastLoginTime = $lastLoginTime;
6598 }
6599 public function getLastLoginTime()
6600 {
6601 return $this->lastLoginTime;
6602 }
6603 public function setName(Google_Service_Directory_UserName $name)
6604 {
6605 $this->name = $name;
6606 }
6607 public function getName()
6608 {
6609 return $this->name;
6610 }
6611 public function setNonEditableAliases($nonEditableAliases)
6612 {
6613 $this->nonEditableAliases = $nonEditableAliases;
6614 }
6615 public function getNonEditableAliases()
6616 {
6617 return $this->nonEditableAliases;
6618 }
6619 public function setNotes($notes)
6620 {
6621 $this->notes = $notes;
6622 }
6623 public function getNotes()
6624 {
6625 return $this->notes;
6626 }
6627 public function setOrgUnitPath($orgUnitPath)
6628 {
6629 $this->orgUnitPath = $orgUnitPath;
6630 }
6631 public function getOrgUnitPath()
6632 {
6633 return $this->orgUnitPath;
6634 }
6635 public function setOrganizations($organizations)
6636 {
6637 $this->organizations = $organizations;
6638 }
6639 public function getOrganizations()
6640 {
6641 return $this->organizations;
6642 }
6643 public function setPassword($password)
6644 {
6645 $this->password = $password;
6646 }
6647 public function getPassword()
6648 {
6649 return $this->password;
6650 }
6651 public function setPhones($phones)
6652 {
6653 $this->phones = $phones;
6654 }
6655 public function getPhones()
6656 {
6657 return $this->phones;
6658 }
6659 public function setPrimaryEmail($primaryEmail)
6660 {
6661 $this->primaryEmail = $primaryEmail;
6662 }
6663 public function getPrimaryEmail()
6664 {
6665 return $this->primaryEmail;
6666 }
6667 public function setRelations($relations)
6668 {
6669 $this->relations = $relations;
6670 }
6671 public function getRelations()
6672 {
6673 return $this->relations;
6674 }
6675 public function setSuspended($suspended)
6676 {
6677 $this->suspended = $suspended;
6678 }
6679 public function getSuspended()
6680 {
6681 return $this->suspended;
6682 }
6683 public function setSuspensionReason($suspensionReason)
6684 {
6685 $this->suspensionReason = $suspensionReason;
6686 }
6687 public function getSuspensionReason()
6688 {
6689 return $this->suspensionReason;
6690 }
6691 public function setThumbnailPhotoEtag($thumbnailPhotoEtag)
6692 {
6693 $this->thumbnailPhotoEtag = $thumbnailPhotoEtag;
6694 }
6695 public function getThumbnailPhotoEtag()
6696 {
6697 return $this->thumbnailPhotoEtag;
6698 }
6699 public function setThumbnailPhotoUrl($thumbnailPhotoUrl)
6700 {
6701 $this->thumbnailPhotoUrl = $thumbnailPhotoUrl;
6702 }
6703 public function getThumbnailPhotoUrl()
6704 {
6705 return $this->thumbnailPhotoUrl;
6706 }
6707 public function setWebsites($websites)
6708 {
6709 $this->websites = $websites;
6710 }
6711 public function getWebsites()
6712 {
6713 return $this->websites;
6714 }
6715 }
6716
6717 class Google_Service_Directory_UserAbout extends Google_Model
6718 {
6719 protected $internal_gapi_mappings = array(
6720 );
6721 public $contentType;
6722 public $value;
6723
6724
6725 public function setContentType($contentType)
6726 {
6727 $this->contentType = $contentType;
6728 }
6729 public function getContentType()
6730 {
6731 return $this->contentType;
6732 }
6733 public function setValue($value)
6734 {
6735 $this->value = $value;
6736 }
6737 public function getValue()
6738 {
6739 return $this->value;
6740 }
6741 }
6742
6743 class Google_Service_Directory_UserAddress extends Google_Model
6744 {
6745 protected $internal_gapi_mappings = array(
6746 );
6747 public $country;
6748 public $countryCode;
6749 public $customType;
6750 public $extendedAddress;
6751 public $formatted;
6752 public $locality;
6753 public $poBox;
6754 public $postalCode;
6755 public $primary;
6756 public $region;
6757 public $sourceIsStructured;
6758 public $streetAddress;
6759 public $type;
6760
6761
6762 public function setCountry($country)
6763 {
6764 $this->country = $country;
6765 }
6766 public function getCountry()
6767 {
6768 return $this->country;
6769 }
6770 public function setCountryCode($countryCode)
6771 {
6772 $this->countryCode = $countryCode;
6773 }
6774 public function getCountryCode()
6775 {
6776 return $this->countryCode;
6777 }
6778 public function setCustomType($customType)
6779 {
6780 $this->customType = $customType;
6781 }
6782 public function getCustomType()
6783 {
6784 return $this->customType;
6785 }
6786 public function setExtendedAddress($extendedAddress)
6787 {
6788 $this->extendedAddress = $extendedAddress;
6789 }
6790 public function getExtendedAddress()
6791 {
6792 return $this->extendedAddress;
6793 }
6794 public function setFormatted($formatted)
6795 {
6796 $this->formatted = $formatted;
6797 }
6798 public function getFormatted()
6799 {
6800 return $this->formatted;
6801 }
6802 public function setLocality($locality)
6803 {
6804 $this->locality = $locality;
6805 }
6806 public function getLocality()
6807 {
6808 return $this->locality;
6809 }
6810 public function setPoBox($poBox)
6811 {
6812 $this->poBox = $poBox;
6813 }
6814 public function getPoBox()
6815 {
6816 return $this->poBox;
6817 }
6818 public function setPostalCode($postalCode)
6819 {
6820 $this->postalCode = $postalCode;
6821 }
6822 public function getPostalCode()
6823 {
6824 return $this->postalCode;
6825 }
6826 public function setPrimary($primary)
6827 {
6828 $this->primary = $primary;
6829 }
6830 public function getPrimary()
6831 {
6832 return $this->primary;
6833 }
6834 public function setRegion($region)
6835 {
6836 $this->region = $region;
6837 }
6838 public function getRegion()
6839 {
6840 return $this->region;
6841 }
6842 public function setSourceIsStructured($sourceIsStructured)
6843 {
6844 $this->sourceIsStructured = $sourceIsStructured;
6845 }
6846 public function getSourceIsStructured()
6847 {
6848 return $this->sourceIsStructured;
6849 }
6850 public function setStreetAddress($streetAddress)
6851 {
6852 $this->streetAddress = $streetAddress;
6853 }
6854 public function getStreetAddress()
6855 {
6856 return $this->streetAddress;
6857 }
6858 public function setType($type)
6859 {
6860 $this->type = $type;
6861 }
6862 public function getType()
6863 {
6864 return $this->type;
6865 }
6866 }
6867
6868 class Google_Service_Directory_UserEmail extends Google_Model
6869 {
6870 protected $internal_gapi_mappings = array(
6871 );
6872 public $address;
6873 public $customType;
6874 public $primary;
6875 public $type;
6876
6877
6878 public function setAddress($address)
6879 {
6880 $this->address = $address;
6881 }
6882 public function getAddress()
6883 {
6884 return $this->address;
6885 }
6886 public function setCustomType($customType)
6887 {
6888 $this->customType = $customType;
6889 }
6890 public function getCustomType()
6891 {
6892 return $this->customType;
6893 }
6894 public function setPrimary($primary)
6895 {
6896 $this->primary = $primary;
6897 }
6898 public function getPrimary()
6899 {
6900 return $this->primary;
6901 }
6902 public function setType($type)
6903 {
6904 $this->type = $type;
6905 }
6906 public function getType()
6907 {
6908 return $this->type;
6909 }
6910 }
6911
6912 class Google_Service_Directory_UserExternalId extends Google_Model
6913 {
6914 protected $internal_gapi_mappings = array(
6915 );
6916 public $customType;
6917 public $type;
6918 public $value;
6919
6920
6921 public function setCustomType($customType)
6922 {
6923 $this->customType = $customType;
6924 }
6925 public function getCustomType()
6926 {
6927 return $this->customType;
6928 }
6929 public function setType($type)
6930 {
6931 $this->type = $type;
6932 }
6933 public function getType()
6934 {
6935 return $this->type;
6936 }
6937 public function setValue($value)
6938 {
6939 $this->value = $value;
6940 }
6941 public function getValue()
6942 {
6943 return $this->value;
6944 }
6945 }
6946
6947 class Google_Service_Directory_UserIm extends Google_Model
6948 {
6949 protected $internal_gapi_mappings = array(
6950 );
6951 public $customProtocol;
6952 public $customType;
6953 public $im;
6954 public $primary;
6955 public $protocol;
6956 public $type;
6957
6958
6959 public function setCustomProtocol($customProtocol)
6960 {
6961 $this->customProtocol = $customProtocol;
6962 }
6963 public function getCustomProtocol()
6964 {
6965 return $this->customProtocol;
6966 }
6967 public function setCustomType($customType)
6968 {
6969 $this->customType = $customType;
6970 }
6971 public function getCustomType()
6972 {
6973 return $this->customType;
6974 }
6975 public function setIm($im)
6976 {
6977 $this->im = $im;
6978 }
6979 public function getIm()
6980 {
6981 return $this->im;
6982 }
6983 public function setPrimary($primary)
6984 {
6985 $this->primary = $primary;
6986 }
6987 public function getPrimary()
6988 {
6989 return $this->primary;
6990 }
6991 public function setProtocol($protocol)
6992 {
6993 $this->protocol = $protocol;
6994 }
6995 public function getProtocol()
6996 {
6997 return $this->protocol;
6998 }
6999 public function setType($type)
7000 {
7001 $this->type = $type;
7002 }
7003 public function getType()
7004 {
7005 return $this->type;
7006 }
7007 }
7008
7009 class Google_Service_Directory_UserMakeAdmin extends Google_Model
7010 {
7011 protected $internal_gapi_mappings = array(
7012 );
7013 public $status;
7014
7015
7016 public function setStatus($status)
7017 {
7018 $this->status = $status;
7019 }
7020 public function getStatus()
7021 {
7022 return $this->status;
7023 }
7024 }
7025
7026 class Google_Service_Directory_UserName extends Google_Model
7027 {
7028 protected $internal_gapi_mappings = array(
7029 );
7030 public $familyName;
7031 public $fullName;
7032 public $givenName;
7033
7034
7035 public function setFamilyName($familyName)
7036 {
7037 $this->familyName = $familyName;
7038 }
7039 public function getFamilyName()
7040 {
7041 return $this->familyName;
7042 }
7043 public function setFullName($fullName)
7044 {
7045 $this->fullName = $fullName;
7046 }
7047 public function getFullName()
7048 {
7049 return $this->fullName;
7050 }
7051 public function setGivenName($givenName)
7052 {
7053 $this->givenName = $givenName;
7054 }
7055 public function getGivenName()
7056 {
7057 return $this->givenName;
7058 }
7059 }
7060
7061 class Google_Service_Directory_UserOrganization extends Google_Model
7062 {
7063 protected $internal_gapi_mappings = array(
7064 );
7065 public $costCenter;
7066 public $customType;
7067 public $department;
7068 public $description;
7069 public $domain;
7070 public $location;
7071 public $name;
7072 public $primary;
7073 public $symbol;
7074 public $title;
7075 public $type;
7076
7077
7078 public function setCostCenter($costCenter)
7079 {
7080 $this->costCenter = $costCenter;
7081 }
7082 public function getCostCenter()
7083 {
7084 return $this->costCenter;
7085 }
7086 public function setCustomType($customType)
7087 {
7088 $this->customType = $customType;
7089 }
7090 public function getCustomType()
7091 {
7092 return $this->customType;
7093 }
7094 public function setDepartment($department)
7095 {
7096 $this->department = $department;
7097 }
7098 public function getDepartment()
7099 {
7100 return $this->department;
7101 }
7102 public function setDescription($description)
7103 {
7104 $this->description = $description;
7105 }
7106 public function getDescription()
7107 {
7108 return $this->description;
7109 }
7110 public function setDomain($domain)
7111 {
7112 $this->domain = $domain;
7113 }
7114 public function getDomain()
7115 {
7116 return $this->domain;
7117 }
7118 public function setLocation($location)
7119 {
7120 $this->location = $location;
7121 }
7122 public function getLocation()
7123 {
7124 return $this->location;
7125 }
7126 public function setName($name)
7127 {
7128 $this->name = $name;
7129 }
7130 public function getName()
7131 {
7132 return $this->name;
7133 }
7134 public function setPrimary($primary)
7135 {
7136 $this->primary = $primary;
7137 }
7138 public function getPrimary()
7139 {
7140 return $this->primary;
7141 }
7142 public function setSymbol($symbol)
7143 {
7144 $this->symbol = $symbol;
7145 }
7146 public function getSymbol()
7147 {
7148 return $this->symbol;
7149 }
7150 public function setTitle($title)
7151 {
7152 $this->title = $title;
7153 }
7154 public function getTitle()
7155 {
7156 return $this->title;
7157 }
7158 public function setType($type)
7159 {
7160 $this->type = $type;
7161 }
7162 public function getType()
7163 {
7164 return $this->type;
7165 }
7166 }
7167
7168 class Google_Service_Directory_UserPhone extends Google_Model
7169 {
7170 protected $internal_gapi_mappings = array(
7171 );
7172 public $customType;
7173 public $primary;
7174 public $type;
7175 public $value;
7176
7177
7178 public function setCustomType($customType)
7179 {
7180 $this->customType = $customType;
7181 }
7182 public function getCustomType()
7183 {
7184 return $this->customType;
7185 }
7186 public function setPrimary($primary)
7187 {
7188 $this->primary = $primary;
7189 }
7190 public function getPrimary()
7191 {
7192 return $this->primary;
7193 }
7194 public function setType($type)
7195 {
7196 $this->type = $type;
7197 }
7198 public function getType()
7199 {
7200 return $this->type;
7201 }
7202 public function setValue($value)
7203 {
7204 $this->value = $value;
7205 }
7206 public function getValue()
7207 {
7208 return $this->value;
7209 }
7210 }
7211
7212 class Google_Service_Directory_UserPhoto extends Google_Model
7213 {
7214 protected $internal_gapi_mappings = array(
7215 );
7216 public $etag;
7217 public $height;
7218 public $id;
7219 public $kind;
7220 public $mimeType;
7221 public $photoData;
7222 public $primaryEmail;
7223 public $width;
7224
7225
7226 public function setEtag($etag)
7227 {
7228 $this->etag = $etag;
7229 }
7230 public function getEtag()
7231 {
7232 return $this->etag;
7233 }
7234 public function setHeight($height)
7235 {
7236 $this->height = $height;
7237 }
7238 public function getHeight()
7239 {
7240 return $this->height;
7241 }
7242 public function setId($id)
7243 {
7244 $this->id = $id;
7245 }
7246 public function getId()
7247 {
7248 return $this->id;
7249 }
7250 public function setKind($kind)
7251 {
7252 $this->kind = $kind;
7253 }
7254 public function getKind()
7255 {
7256 return $this->kind;
7257 }
7258 public function setMimeType($mimeType)
7259 {
7260 $this->mimeType = $mimeType;
7261 }
7262 public function getMimeType()
7263 {
7264 return $this->mimeType;
7265 }
7266 public function setPhotoData($photoData)
7267 {
7268 $this->photoData = $photoData;
7269 }
7270 public function getPhotoData()
7271 {
7272 return $this->photoData;
7273 }
7274 public function setPrimaryEmail($primaryEmail)
7275 {
7276 $this->primaryEmail = $primaryEmail;
7277 }
7278 public function getPrimaryEmail()
7279 {
7280 return $this->primaryEmail;
7281 }
7282 public function setWidth($width)
7283 {
7284 $this->width = $width;
7285 }
7286 public function getWidth()
7287 {
7288 return $this->width;
7289 }
7290 }
7291
7292 class Google_Service_Directory_UserRelation extends Google_Model
7293 {
7294 protected $internal_gapi_mappings = array(
7295 );
7296 public $customType;
7297 public $type;
7298 public $value;
7299
7300
7301 public function setCustomType($customType)
7302 {
7303 $this->customType = $customType;
7304 }
7305 public function getCustomType()
7306 {
7307 return $this->customType;
7308 }
7309 public function setType($type)
7310 {
7311 $this->type = $type;
7312 }
7313 public function getType()
7314 {
7315 return $this->type;
7316 }
7317 public function setValue($value)
7318 {
7319 $this->value = $value;
7320 }
7321 public function getValue()
7322 {
7323 return $this->value;
7324 }
7325 }
7326
7327 class Google_Service_Directory_UserUndelete extends Google_Model
7328 {
7329 protected $internal_gapi_mappings = array(
7330 );
7331 public $orgUnitPath;
7332
7333
7334 public function setOrgUnitPath($orgUnitPath)
7335 {
7336 $this->orgUnitPath = $orgUnitPath;
7337 }
7338 public function getOrgUnitPath()
7339 {
7340 return $this->orgUnitPath;
7341 }
7342 }
7343
7344 class Google_Service_Directory_UserWebsite extends Google_Model
7345 {
7346 protected $internal_gapi_mappings = array(
7347 );
7348 public $customType;
7349 public $primary;
7350 public $type;
7351 public $value;
7352
7353
7354 public function setCustomType($customType)
7355 {
7356 $this->customType = $customType;
7357 }
7358 public function getCustomType()
7359 {
7360 return $this->customType;
7361 }
7362 public function setPrimary($primary)
7363 {
7364 $this->primary = $primary;
7365 }
7366 public function getPrimary()
7367 {
7368 return $this->primary;
7369 }
7370 public function setType($type)
7371 {
7372 $this->type = $type;
7373 }
7374 public function getType()
7375 {
7376 return $this->type;
7377 }
7378 public function setValue($value)
7379 {
7380 $this->value = $value;
7381 }
7382 public function getValue()
7383 {
7384 return $this->value;
7385 }
7386 }
7387
7388 class Google_Service_Directory_Users extends Google_Collection
7389 {
7390 protected $collection_key = 'users';
7391 protected $internal_gapi_mappings = array(
7392 "triggerEvent" => "trigger_event",
7393 );
7394 public $etag;
7395 public $kind;
7396 public $nextPageToken;
7397 public $triggerEvent;
7398 protected $usersType = 'Google_Service_Directory_User';
7399 protected $usersDataType = 'array';
7400
7401
7402 public function setEtag($etag)
7403 {
7404 $this->etag = $etag;
7405 }
7406 public function getEtag()
7407 {
7408 return $this->etag;
7409 }
7410 public function setKind($kind)
7411 {
7412 $this->kind = $kind;
7413 }
7414 public function getKind()
7415 {
7416 return $this->kind;
7417 }
7418 public function setNextPageToken($nextPageToken)
7419 {
7420 $this->nextPageToken = $nextPageToken;
7421 }
7422 public function getNextPageToken()
7423 {
7424 return $this->nextPageToken;
7425 }
7426 public function setTriggerEvent($triggerEvent)
7427 {
7428 $this->triggerEvent = $triggerEvent;
7429 }
7430 public function getTriggerEvent()
7431 {
7432 return $this->triggerEvent;
7433 }
7434 public function setUsers($users)
7435 {
7436 $this->users = $users;
7437 }
7438 public function getUsers()
7439 {
7440 return $this->users;
7441 }
7442 }
7443
7444 class Google_Service_Directory_VerificationCode extends Google_Model
7445 {
7446 protected $internal_gapi_mappings = array(
7447 );
7448 public $etag;
7449 public $kind;
7450 public $userId;
7451 public $verificationCode;
7452
7453
7454 public function setEtag($etag)
7455 {
7456 $this->etag = $etag;
7457 }
7458 public function getEtag()
7459 {
7460 return $this->etag;
7461 }
7462 public function setKind($kind)
7463 {
7464 $this->kind = $kind;
7465 }
7466 public function getKind()
7467 {
7468 return $this->kind;
7469 }
7470 public function setUserId($userId)
7471 {
7472 $this->userId = $userId;
7473 }
7474 public function getUserId()
7475 {
7476 return $this->userId;
7477 }
7478 public function setVerificationCode($verificationCode)
7479 {
7480 $this->verificationCode = $verificationCode;
7481 }
7482 public function getVerificationCode()
7483 {
7484 return $this->verificationCode;
7485 }
7486 }
7487
7488 class Google_Service_Directory_VerificationCodes extends Google_Collection
7489 {
7490 protected $collection_key = 'items';
7491 protected $internal_gapi_mappings = array(
7492 );
7493 public $etag;
7494 protected $itemsType = 'Google_Service_Directory_VerificationCode';
7495 protected $itemsDataType = 'array';
7496 public $kind;
7497
7498
7499 public function setEtag($etag)
7500 {
7501 $this->etag = $etag;
7502 }
7503 public function getEtag()
7504 {
7505 return $this->etag;
7506 }
7507 public function setItems($items)
7508 {
7509 $this->items = $items;
7510 }
7511 public function getItems()
7512 {
7513 return $this->items;
7514 }
7515 public function setKind($kind)
7516 {
7517 $this->kind = $kind;
7518 }
7519 public function getKind()
7520 {
7521 return $this->kind;
7522 }
7523 }
7524