PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.3.2
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.3.2
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / Directory.php

Directory.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.3.2, at lib/Google/Service/Directory.php

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