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

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

3,803 lines 117.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for AndroidEnterprise (v1).
18 *
19 * <p>
20 * Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android
21 * for Work users.</p>
22 *
23 * <p>
24 * For more information about this service, see the API
25 * <a href="https://developers.google.com/android/work/play/emm-api" target="_blank">Documentation</a>
26 * </p>
27 *
28 * @author Google, Inc.
29 */
30 class Google_Service_AndroidEnterprise extends Google_Service
31 {
32 /** Manage corporate Android devices. */
33 const ANDROIDENTERPRISE =
34 "https://www.googleapis.com/auth/androidenterprise";
35
36 public $collections;
37 public $collectionviewers;
38 public $devices;
39 public $enterprises;
40 public $entitlements;
41 public $grouplicenses;
42 public $grouplicenseusers;
43 public $installs;
44 public $permissions;
45 public $products;
46 public $storelayoutclusters;
47 public $storelayoutpages;
48 public $users;
49
50
51 /**
52 * Constructs the internal representation of the AndroidEnterprise service.
53 *
54 * @param Google_Client $client
55 */
56 public function __construct(Google_Client $client)
57 {
58 parent::__construct($client);
59 $this->rootUrl = 'https://www.googleapis.com/';
60 $this->servicePath = 'androidenterprise/v1/';
61 $this->version = 'v1';
62 $this->serviceName = 'androidenterprise';
63
64 $this->collections = new Google_Service_AndroidEnterprise_Collections_Resource(
65 $this,
66 $this->serviceName,
67 'collections',
68 array(
69 'methods' => array(
70 'delete' => array(
71 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}',
72 'httpMethod' => 'DELETE',
73 'parameters' => array(
74 'enterpriseId' => array(
75 'location' => 'path',
76 'type' => 'string',
77 'required' => true,
78 ),
79 'collectionId' => array(
80 'location' => 'path',
81 'type' => 'string',
82 'required' => true,
83 ),
84 ),
85 ),'get' => array(
86 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}',
87 'httpMethod' => 'GET',
88 'parameters' => array(
89 'enterpriseId' => array(
90 'location' => 'path',
91 'type' => 'string',
92 'required' => true,
93 ),
94 'collectionId' => array(
95 'location' => 'path',
96 'type' => 'string',
97 'required' => true,
98 ),
99 ),
100 ),'insert' => array(
101 'path' => 'enterprises/{enterpriseId}/collections',
102 'httpMethod' => 'POST',
103 'parameters' => array(
104 'enterpriseId' => array(
105 'location' => 'path',
106 'type' => 'string',
107 'required' => true,
108 ),
109 ),
110 ),'list' => array(
111 'path' => 'enterprises/{enterpriseId}/collections',
112 'httpMethod' => 'GET',
113 'parameters' => array(
114 'enterpriseId' => array(
115 'location' => 'path',
116 'type' => 'string',
117 'required' => true,
118 ),
119 ),
120 ),'patch' => array(
121 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}',
122 'httpMethod' => 'PATCH',
123 'parameters' => array(
124 'enterpriseId' => array(
125 'location' => 'path',
126 'type' => 'string',
127 'required' => true,
128 ),
129 'collectionId' => array(
130 'location' => 'path',
131 'type' => 'string',
132 'required' => true,
133 ),
134 ),
135 ),'update' => array(
136 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}',
137 'httpMethod' => 'PUT',
138 'parameters' => array(
139 'enterpriseId' => array(
140 'location' => 'path',
141 'type' => 'string',
142 'required' => true,
143 ),
144 'collectionId' => array(
145 'location' => 'path',
146 'type' => 'string',
147 'required' => true,
148 ),
149 ),
150 ),
151 )
152 )
153 );
154 $this->collectionviewers = new Google_Service_AndroidEnterprise_Collectionviewers_Resource(
155 $this,
156 $this->serviceName,
157 'collectionviewers',
158 array(
159 'methods' => array(
160 'delete' => array(
161 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}',
162 'httpMethod' => 'DELETE',
163 'parameters' => array(
164 'enterpriseId' => array(
165 'location' => 'path',
166 'type' => 'string',
167 'required' => true,
168 ),
169 'collectionId' => array(
170 'location' => 'path',
171 'type' => 'string',
172 'required' => true,
173 ),
174 'userId' => array(
175 'location' => 'path',
176 'type' => 'string',
177 'required' => true,
178 ),
179 ),
180 ),'get' => array(
181 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}',
182 'httpMethod' => 'GET',
183 'parameters' => array(
184 'enterpriseId' => array(
185 'location' => 'path',
186 'type' => 'string',
187 'required' => true,
188 ),
189 'collectionId' => array(
190 'location' => 'path',
191 'type' => 'string',
192 'required' => true,
193 ),
194 'userId' => array(
195 'location' => 'path',
196 'type' => 'string',
197 'required' => true,
198 ),
199 ),
200 ),'list' => array(
201 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users',
202 'httpMethod' => 'GET',
203 'parameters' => array(
204 'enterpriseId' => array(
205 'location' => 'path',
206 'type' => 'string',
207 'required' => true,
208 ),
209 'collectionId' => array(
210 'location' => 'path',
211 'type' => 'string',
212 'required' => true,
213 ),
214 ),
215 ),'patch' => array(
216 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}',
217 'httpMethod' => 'PATCH',
218 'parameters' => array(
219 'enterpriseId' => array(
220 'location' => 'path',
221 'type' => 'string',
222 'required' => true,
223 ),
224 'collectionId' => array(
225 'location' => 'path',
226 'type' => 'string',
227 'required' => true,
228 ),
229 'userId' => array(
230 'location' => 'path',
231 'type' => 'string',
232 'required' => true,
233 ),
234 ),
235 ),'update' => array(
236 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}',
237 'httpMethod' => 'PUT',
238 'parameters' => array(
239 'enterpriseId' => array(
240 'location' => 'path',
241 'type' => 'string',
242 'required' => true,
243 ),
244 'collectionId' => array(
245 'location' => 'path',
246 'type' => 'string',
247 'required' => true,
248 ),
249 'userId' => array(
250 'location' => 'path',
251 'type' => 'string',
252 'required' => true,
253 ),
254 ),
255 ),
256 )
257 )
258 );
259 $this->devices = new Google_Service_AndroidEnterprise_Devices_Resource(
260 $this,
261 $this->serviceName,
262 'devices',
263 array(
264 'methods' => array(
265 'get' => array(
266 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}',
267 'httpMethod' => 'GET',
268 'parameters' => array(
269 'enterpriseId' => array(
270 'location' => 'path',
271 'type' => 'string',
272 'required' => true,
273 ),
274 'userId' => array(
275 'location' => 'path',
276 'type' => 'string',
277 'required' => true,
278 ),
279 'deviceId' => array(
280 'location' => 'path',
281 'type' => 'string',
282 'required' => true,
283 ),
284 ),
285 ),'getState' => array(
286 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state',
287 'httpMethod' => 'GET',
288 'parameters' => array(
289 'enterpriseId' => array(
290 'location' => 'path',
291 'type' => 'string',
292 'required' => true,
293 ),
294 'userId' => array(
295 'location' => 'path',
296 'type' => 'string',
297 'required' => true,
298 ),
299 'deviceId' => array(
300 'location' => 'path',
301 'type' => 'string',
302 'required' => true,
303 ),
304 ),
305 ),'list' => array(
306 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices',
307 'httpMethod' => 'GET',
308 'parameters' => array(
309 'enterpriseId' => array(
310 'location' => 'path',
311 'type' => 'string',
312 'required' => true,
313 ),
314 'userId' => array(
315 'location' => 'path',
316 'type' => 'string',
317 'required' => true,
318 ),
319 ),
320 ),'setState' => array(
321 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state',
322 'httpMethod' => 'PUT',
323 'parameters' => array(
324 'enterpriseId' => array(
325 'location' => 'path',
326 'type' => 'string',
327 'required' => true,
328 ),
329 'userId' => array(
330 'location' => 'path',
331 'type' => 'string',
332 'required' => true,
333 ),
334 'deviceId' => array(
335 'location' => 'path',
336 'type' => 'string',
337 'required' => true,
338 ),
339 ),
340 ),
341 )
342 )
343 );
344 $this->enterprises = new Google_Service_AndroidEnterprise_Enterprises_Resource(
345 $this,
346 $this->serviceName,
347 'enterprises',
348 array(
349 'methods' => array(
350 'delete' => array(
351 'path' => 'enterprises/{enterpriseId}',
352 'httpMethod' => 'DELETE',
353 'parameters' => array(
354 'enterpriseId' => array(
355 'location' => 'path',
356 'type' => 'string',
357 'required' => true,
358 ),
359 ),
360 ),'enroll' => array(
361 'path' => 'enterprises/enroll',
362 'httpMethod' => 'POST',
363 'parameters' => array(
364 'token' => array(
365 'location' => 'query',
366 'type' => 'string',
367 'required' => true,
368 ),
369 ),
370 ),'get' => array(
371 'path' => 'enterprises/{enterpriseId}',
372 'httpMethod' => 'GET',
373 'parameters' => array(
374 'enterpriseId' => array(
375 'location' => 'path',
376 'type' => 'string',
377 'required' => true,
378 ),
379 ),
380 ),'getStoreLayout' => array(
381 'path' => 'enterprises/{enterpriseId}/storeLayout',
382 'httpMethod' => 'GET',
383 'parameters' => array(
384 'enterpriseId' => array(
385 'location' => 'path',
386 'type' => 'string',
387 'required' => true,
388 ),
389 ),
390 ),'insert' => array(
391 'path' => 'enterprises',
392 'httpMethod' => 'POST',
393 'parameters' => array(
394 'token' => array(
395 'location' => 'query',
396 'type' => 'string',
397 'required' => true,
398 ),
399 ),
400 ),'list' => array(
401 'path' => 'enterprises',
402 'httpMethod' => 'GET',
403 'parameters' => array(
404 'domain' => array(
405 'location' => 'query',
406 'type' => 'string',
407 'required' => true,
408 ),
409 ),
410 ),'sendTestPushNotification' => array(
411 'path' => 'enterprises/{enterpriseId}/sendTestPushNotification',
412 'httpMethod' => 'POST',
413 'parameters' => array(
414 'enterpriseId' => array(
415 'location' => 'path',
416 'type' => 'string',
417 'required' => true,
418 ),
419 ),
420 ),'setAccount' => array(
421 'path' => 'enterprises/{enterpriseId}/account',
422 'httpMethod' => 'PUT',
423 'parameters' => array(
424 'enterpriseId' => array(
425 'location' => 'path',
426 'type' => 'string',
427 'required' => true,
428 ),
429 ),
430 ),'setStoreLayout' => array(
431 'path' => 'enterprises/{enterpriseId}/storeLayout',
432 'httpMethod' => 'PUT',
433 'parameters' => array(
434 'enterpriseId' => array(
435 'location' => 'path',
436 'type' => 'string',
437 'required' => true,
438 ),
439 ),
440 ),'unenroll' => array(
441 'path' => 'enterprises/{enterpriseId}/unenroll',
442 'httpMethod' => 'POST',
443 'parameters' => array(
444 'enterpriseId' => array(
445 'location' => 'path',
446 'type' => 'string',
447 'required' => true,
448 ),
449 ),
450 ),
451 )
452 )
453 );
454 $this->entitlements = new Google_Service_AndroidEnterprise_Entitlements_Resource(
455 $this,
456 $this->serviceName,
457 'entitlements',
458 array(
459 'methods' => array(
460 'delete' => array(
461 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
462 'httpMethod' => 'DELETE',
463 'parameters' => array(
464 'enterpriseId' => array(
465 'location' => 'path',
466 'type' => 'string',
467 'required' => true,
468 ),
469 'userId' => array(
470 'location' => 'path',
471 'type' => 'string',
472 'required' => true,
473 ),
474 'entitlementId' => array(
475 'location' => 'path',
476 'type' => 'string',
477 'required' => true,
478 ),
479 ),
480 ),'get' => array(
481 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
482 'httpMethod' => 'GET',
483 'parameters' => array(
484 'enterpriseId' => array(
485 'location' => 'path',
486 'type' => 'string',
487 'required' => true,
488 ),
489 'userId' => array(
490 'location' => 'path',
491 'type' => 'string',
492 'required' => true,
493 ),
494 'entitlementId' => array(
495 'location' => 'path',
496 'type' => 'string',
497 'required' => true,
498 ),
499 ),
500 ),'list' => array(
501 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements',
502 'httpMethod' => 'GET',
503 'parameters' => array(
504 'enterpriseId' => array(
505 'location' => 'path',
506 'type' => 'string',
507 'required' => true,
508 ),
509 'userId' => array(
510 'location' => 'path',
511 'type' => 'string',
512 'required' => true,
513 ),
514 ),
515 ),'patch' => array(
516 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
517 'httpMethod' => 'PATCH',
518 'parameters' => array(
519 'enterpriseId' => array(
520 'location' => 'path',
521 'type' => 'string',
522 'required' => true,
523 ),
524 'userId' => array(
525 'location' => 'path',
526 'type' => 'string',
527 'required' => true,
528 ),
529 'entitlementId' => array(
530 'location' => 'path',
531 'type' => 'string',
532 'required' => true,
533 ),
534 'install' => array(
535 'location' => 'query',
536 'type' => 'boolean',
537 ),
538 ),
539 ),'update' => array(
540 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
541 'httpMethod' => 'PUT',
542 'parameters' => array(
543 'enterpriseId' => array(
544 'location' => 'path',
545 'type' => 'string',
546 'required' => true,
547 ),
548 'userId' => array(
549 'location' => 'path',
550 'type' => 'string',
551 'required' => true,
552 ),
553 'entitlementId' => array(
554 'location' => 'path',
555 'type' => 'string',
556 'required' => true,
557 ),
558 'install' => array(
559 'location' => 'query',
560 'type' => 'boolean',
561 ),
562 ),
563 ),
564 )
565 )
566 );
567 $this->grouplicenses = new Google_Service_AndroidEnterprise_Grouplicenses_Resource(
568 $this,
569 $this->serviceName,
570 'grouplicenses',
571 array(
572 'methods' => array(
573 'get' => array(
574 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}',
575 'httpMethod' => 'GET',
576 'parameters' => array(
577 'enterpriseId' => array(
578 'location' => 'path',
579 'type' => 'string',
580 'required' => true,
581 ),
582 'groupLicenseId' => array(
583 'location' => 'path',
584 'type' => 'string',
585 'required' => true,
586 ),
587 ),
588 ),'list' => array(
589 'path' => 'enterprises/{enterpriseId}/groupLicenses',
590 'httpMethod' => 'GET',
591 'parameters' => array(
592 'enterpriseId' => array(
593 'location' => 'path',
594 'type' => 'string',
595 'required' => true,
596 ),
597 ),
598 ),
599 )
600 )
601 );
602 $this->grouplicenseusers = new Google_Service_AndroidEnterprise_Grouplicenseusers_Resource(
603 $this,
604 $this->serviceName,
605 'grouplicenseusers',
606 array(
607 'methods' => array(
608 'list' => array(
609 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users',
610 'httpMethod' => 'GET',
611 'parameters' => array(
612 'enterpriseId' => array(
613 'location' => 'path',
614 'type' => 'string',
615 'required' => true,
616 ),
617 'groupLicenseId' => array(
618 'location' => 'path',
619 'type' => 'string',
620 'required' => true,
621 ),
622 ),
623 ),
624 )
625 )
626 );
627 $this->installs = new Google_Service_AndroidEnterprise_Installs_Resource(
628 $this,
629 $this->serviceName,
630 'installs',
631 array(
632 'methods' => array(
633 'delete' => array(
634 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
635 'httpMethod' => 'DELETE',
636 'parameters' => array(
637 'enterpriseId' => array(
638 'location' => 'path',
639 'type' => 'string',
640 'required' => true,
641 ),
642 'userId' => array(
643 'location' => 'path',
644 'type' => 'string',
645 'required' => true,
646 ),
647 'deviceId' => array(
648 'location' => 'path',
649 'type' => 'string',
650 'required' => true,
651 ),
652 'installId' => array(
653 'location' => 'path',
654 'type' => 'string',
655 'required' => true,
656 ),
657 ),
658 ),'get' => array(
659 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
660 'httpMethod' => 'GET',
661 'parameters' => array(
662 'enterpriseId' => array(
663 'location' => 'path',
664 'type' => 'string',
665 'required' => true,
666 ),
667 'userId' => array(
668 'location' => 'path',
669 'type' => 'string',
670 'required' => true,
671 ),
672 'deviceId' => array(
673 'location' => 'path',
674 'type' => 'string',
675 'required' => true,
676 ),
677 'installId' => array(
678 'location' => 'path',
679 'type' => 'string',
680 'required' => true,
681 ),
682 ),
683 ),'list' => array(
684 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs',
685 'httpMethod' => 'GET',
686 'parameters' => array(
687 'enterpriseId' => array(
688 'location' => 'path',
689 'type' => 'string',
690 'required' => true,
691 ),
692 'userId' => array(
693 'location' => 'path',
694 'type' => 'string',
695 'required' => true,
696 ),
697 'deviceId' => array(
698 'location' => 'path',
699 'type' => 'string',
700 'required' => true,
701 ),
702 ),
703 ),'patch' => array(
704 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
705 'httpMethod' => 'PATCH',
706 'parameters' => array(
707 'enterpriseId' => array(
708 'location' => 'path',
709 'type' => 'string',
710 'required' => true,
711 ),
712 'userId' => array(
713 'location' => 'path',
714 'type' => 'string',
715 'required' => true,
716 ),
717 'deviceId' => array(
718 'location' => 'path',
719 'type' => 'string',
720 'required' => true,
721 ),
722 'installId' => array(
723 'location' => 'path',
724 'type' => 'string',
725 'required' => true,
726 ),
727 ),
728 ),'update' => array(
729 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
730 'httpMethod' => 'PUT',
731 'parameters' => array(
732 'enterpriseId' => array(
733 'location' => 'path',
734 'type' => 'string',
735 'required' => true,
736 ),
737 'userId' => array(
738 'location' => 'path',
739 'type' => 'string',
740 'required' => true,
741 ),
742 'deviceId' => array(
743 'location' => 'path',
744 'type' => 'string',
745 'required' => true,
746 ),
747 'installId' => array(
748 'location' => 'path',
749 'type' => 'string',
750 'required' => true,
751 ),
752 ),
753 ),
754 )
755 )
756 );
757 $this->permissions = new Google_Service_AndroidEnterprise_Permissions_Resource(
758 $this,
759 $this->serviceName,
760 'permissions',
761 array(
762 'methods' => array(
763 'get' => array(
764 'path' => 'permissions/{permissionId}',
765 'httpMethod' => 'GET',
766 'parameters' => array(
767 'permissionId' => array(
768 'location' => 'path',
769 'type' => 'string',
770 'required' => true,
771 ),
772 'language' => array(
773 'location' => 'query',
774 'type' => 'string',
775 ),
776 ),
777 ),
778 )
779 )
780 );
781 $this->products = new Google_Service_AndroidEnterprise_Products_Resource(
782 $this,
783 $this->serviceName,
784 'products',
785 array(
786 'methods' => array(
787 'approve' => array(
788 'path' => 'enterprises/{enterpriseId}/products/{productId}/approve',
789 'httpMethod' => 'POST',
790 'parameters' => array(
791 'enterpriseId' => array(
792 'location' => 'path',
793 'type' => 'string',
794 'required' => true,
795 ),
796 'productId' => array(
797 'location' => 'path',
798 'type' => 'string',
799 'required' => true,
800 ),
801 ),
802 ),'generateApprovalUrl' => array(
803 'path' => 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl',
804 'httpMethod' => 'POST',
805 'parameters' => array(
806 'enterpriseId' => array(
807 'location' => 'path',
808 'type' => 'string',
809 'required' => true,
810 ),
811 'productId' => array(
812 'location' => 'path',
813 'type' => 'string',
814 'required' => true,
815 ),
816 'languageCode' => array(
817 'location' => 'query',
818 'type' => 'string',
819 ),
820 ),
821 ),'get' => array(
822 'path' => 'enterprises/{enterpriseId}/products/{productId}',
823 'httpMethod' => 'GET',
824 'parameters' => array(
825 'enterpriseId' => array(
826 'location' => 'path',
827 'type' => 'string',
828 'required' => true,
829 ),
830 'productId' => array(
831 'location' => 'path',
832 'type' => 'string',
833 'required' => true,
834 ),
835 'language' => array(
836 'location' => 'query',
837 'type' => 'string',
838 ),
839 ),
840 ),'getAppRestrictionsSchema' => array(
841 'path' => 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema',
842 'httpMethod' => 'GET',
843 'parameters' => array(
844 'enterpriseId' => array(
845 'location' => 'path',
846 'type' => 'string',
847 'required' => true,
848 ),
849 'productId' => array(
850 'location' => 'path',
851 'type' => 'string',
852 'required' => true,
853 ),
854 'language' => array(
855 'location' => 'query',
856 'type' => 'string',
857 ),
858 ),
859 ),'getPermissions' => array(
860 'path' => 'enterprises/{enterpriseId}/products/{productId}/permissions',
861 'httpMethod' => 'GET',
862 'parameters' => array(
863 'enterpriseId' => array(
864 'location' => 'path',
865 'type' => 'string',
866 'required' => true,
867 ),
868 'productId' => array(
869 'location' => 'path',
870 'type' => 'string',
871 'required' => true,
872 ),
873 ),
874 ),'updatePermissions' => array(
875 'path' => 'enterprises/{enterpriseId}/products/{productId}/permissions',
876 'httpMethod' => 'PUT',
877 'parameters' => array(
878 'enterpriseId' => array(
879 'location' => 'path',
880 'type' => 'string',
881 'required' => true,
882 ),
883 'productId' => array(
884 'location' => 'path',
885 'type' => 'string',
886 'required' => true,
887 ),
888 ),
889 ),
890 )
891 )
892 );
893 $this->storelayoutclusters = new Google_Service_AndroidEnterprise_Storelayoutclusters_Resource(
894 $this,
895 $this->serviceName,
896 'storelayoutclusters',
897 array(
898 'methods' => array(
899 'delete' => array(
900 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
901 'httpMethod' => 'DELETE',
902 'parameters' => array(
903 'enterpriseId' => array(
904 'location' => 'path',
905 'type' => 'string',
906 'required' => true,
907 ),
908 'pageId' => array(
909 'location' => 'path',
910 'type' => 'string',
911 'required' => true,
912 ),
913 'clusterId' => array(
914 'location' => 'path',
915 'type' => 'string',
916 'required' => true,
917 ),
918 ),
919 ),'get' => array(
920 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
921 'httpMethod' => 'GET',
922 'parameters' => array(
923 'enterpriseId' => array(
924 'location' => 'path',
925 'type' => 'string',
926 'required' => true,
927 ),
928 'pageId' => array(
929 'location' => 'path',
930 'type' => 'string',
931 'required' => true,
932 ),
933 'clusterId' => array(
934 'location' => 'path',
935 'type' => 'string',
936 'required' => true,
937 ),
938 ),
939 ),'insert' => array(
940 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters',
941 'httpMethod' => 'POST',
942 'parameters' => array(
943 'enterpriseId' => array(
944 'location' => 'path',
945 'type' => 'string',
946 'required' => true,
947 ),
948 'pageId' => array(
949 'location' => 'path',
950 'type' => 'string',
951 'required' => true,
952 ),
953 ),
954 ),'list' => array(
955 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters',
956 'httpMethod' => 'GET',
957 'parameters' => array(
958 'enterpriseId' => array(
959 'location' => 'path',
960 'type' => 'string',
961 'required' => true,
962 ),
963 'pageId' => array(
964 'location' => 'path',
965 'type' => 'string',
966 'required' => true,
967 ),
968 ),
969 ),'patch' => array(
970 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
971 'httpMethod' => 'PATCH',
972 'parameters' => array(
973 'enterpriseId' => array(
974 'location' => 'path',
975 'type' => 'string',
976 'required' => true,
977 ),
978 'pageId' => array(
979 'location' => 'path',
980 'type' => 'string',
981 'required' => true,
982 ),
983 'clusterId' => array(
984 'location' => 'path',
985 'type' => 'string',
986 'required' => true,
987 ),
988 ),
989 ),'update' => array(
990 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
991 'httpMethod' => 'PUT',
992 'parameters' => array(
993 'enterpriseId' => array(
994 'location' => 'path',
995 'type' => 'string',
996 'required' => true,
997 ),
998 'pageId' => array(
999 'location' => 'path',
1000 'type' => 'string',
1001 'required' => true,
1002 ),
1003 'clusterId' => array(
1004 'location' => 'path',
1005 'type' => 'string',
1006 'required' => true,
1007 ),
1008 ),
1009 ),
1010 )
1011 )
1012 );
1013 $this->storelayoutpages = new Google_Service_AndroidEnterprise_Storelayoutpages_Resource(
1014 $this,
1015 $this->serviceName,
1016 'storelayoutpages',
1017 array(
1018 'methods' => array(
1019 'delete' => array(
1020 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
1021 'httpMethod' => 'DELETE',
1022 'parameters' => array(
1023 'enterpriseId' => array(
1024 'location' => 'path',
1025 'type' => 'string',
1026 'required' => true,
1027 ),
1028 'pageId' => array(
1029 'location' => 'path',
1030 'type' => 'string',
1031 'required' => true,
1032 ),
1033 ),
1034 ),'get' => array(
1035 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
1036 'httpMethod' => 'GET',
1037 'parameters' => array(
1038 'enterpriseId' => array(
1039 'location' => 'path',
1040 'type' => 'string',
1041 'required' => true,
1042 ),
1043 'pageId' => array(
1044 'location' => 'path',
1045 'type' => 'string',
1046 'required' => true,
1047 ),
1048 ),
1049 ),'insert' => array(
1050 'path' => 'enterprises/{enterpriseId}/storeLayout/pages',
1051 'httpMethod' => 'POST',
1052 'parameters' => array(
1053 'enterpriseId' => array(
1054 'location' => 'path',
1055 'type' => 'string',
1056 'required' => true,
1057 ),
1058 ),
1059 ),'list' => array(
1060 'path' => 'enterprises/{enterpriseId}/storeLayout/pages',
1061 'httpMethod' => 'GET',
1062 'parameters' => array(
1063 'enterpriseId' => array(
1064 'location' => 'path',
1065 'type' => 'string',
1066 'required' => true,
1067 ),
1068 ),
1069 ),'patch' => array(
1070 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
1071 'httpMethod' => 'PATCH',
1072 'parameters' => array(
1073 'enterpriseId' => array(
1074 'location' => 'path',
1075 'type' => 'string',
1076 'required' => true,
1077 ),
1078 'pageId' => array(
1079 'location' => 'path',
1080 'type' => 'string',
1081 'required' => true,
1082 ),
1083 ),
1084 ),'update' => array(
1085 'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
1086 'httpMethod' => 'PUT',
1087 'parameters' => array(
1088 'enterpriseId' => array(
1089 'location' => 'path',
1090 'type' => 'string',
1091 'required' => true,
1092 ),
1093 'pageId' => array(
1094 'location' => 'path',
1095 'type' => 'string',
1096 'required' => true,
1097 ),
1098 ),
1099 ),
1100 )
1101 )
1102 );
1103 $this->users = new Google_Service_AndroidEnterprise_Users_Resource(
1104 $this,
1105 $this->serviceName,
1106 'users',
1107 array(
1108 'methods' => array(
1109 'generateToken' => array(
1110 'path' => 'enterprises/{enterpriseId}/users/{userId}/token',
1111 'httpMethod' => 'POST',
1112 'parameters' => array(
1113 'enterpriseId' => array(
1114 'location' => 'path',
1115 'type' => 'string',
1116 'required' => true,
1117 ),
1118 'userId' => array(
1119 'location' => 'path',
1120 'type' => 'string',
1121 'required' => true,
1122 ),
1123 ),
1124 ),'get' => array(
1125 'path' => 'enterprises/{enterpriseId}/users/{userId}',
1126 'httpMethod' => 'GET',
1127 'parameters' => array(
1128 'enterpriseId' => array(
1129 'location' => 'path',
1130 'type' => 'string',
1131 'required' => true,
1132 ),
1133 'userId' => array(
1134 'location' => 'path',
1135 'type' => 'string',
1136 'required' => true,
1137 ),
1138 ),
1139 ),'getAvailableProductSet' => array(
1140 'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet',
1141 'httpMethod' => 'GET',
1142 'parameters' => array(
1143 'enterpriseId' => array(
1144 'location' => 'path',
1145 'type' => 'string',
1146 'required' => true,
1147 ),
1148 'userId' => array(
1149 'location' => 'path',
1150 'type' => 'string',
1151 'required' => true,
1152 ),
1153 ),
1154 ),'list' => array(
1155 'path' => 'enterprises/{enterpriseId}/users',
1156 'httpMethod' => 'GET',
1157 'parameters' => array(
1158 'enterpriseId' => array(
1159 'location' => 'path',
1160 'type' => 'string',
1161 'required' => true,
1162 ),
1163 'email' => array(
1164 'location' => 'query',
1165 'type' => 'string',
1166 'required' => true,
1167 ),
1168 ),
1169 ),'revokeToken' => array(
1170 'path' => 'enterprises/{enterpriseId}/users/{userId}/token',
1171 'httpMethod' => 'DELETE',
1172 'parameters' => array(
1173 'enterpriseId' => array(
1174 'location' => 'path',
1175 'type' => 'string',
1176 'required' => true,
1177 ),
1178 'userId' => array(
1179 'location' => 'path',
1180 'type' => 'string',
1181 'required' => true,
1182 ),
1183 ),
1184 ),'setAvailableProductSet' => array(
1185 'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet',
1186 'httpMethod' => 'PUT',
1187 'parameters' => array(
1188 'enterpriseId' => array(
1189 'location' => 'path',
1190 'type' => 'string',
1191 'required' => true,
1192 ),
1193 'userId' => array(
1194 'location' => 'path',
1195 'type' => 'string',
1196 'required' => true,
1197 ),
1198 ),
1199 ),
1200 )
1201 )
1202 );
1203 }
1204 }
1205
1206
1207 /**
1208 * The "collections" collection of methods.
1209 * Typical usage is:
1210 * <code>
1211 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1212 * $collections = $androidenterpriseService->collections;
1213 * </code>
1214 */
1215 class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Service_Resource
1216 {
1217
1218 /**
1219 * Deletes a collection. (collections.delete)
1220 *
1221 * @param string $enterpriseId The ID of the enterprise.
1222 * @param string $collectionId The ID of the collection.
1223 * @param array $optParams Optional parameters.
1224 */
1225 public function delete($enterpriseId, $collectionId, $optParams = array())
1226 {
1227 $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
1228 $params = array_merge($params, $optParams);
1229 return $this->call('delete', array($params));
1230 }
1231
1232 /**
1233 * Retrieves the details of a collection. (collections.get)
1234 *
1235 * @param string $enterpriseId The ID of the enterprise.
1236 * @param string $collectionId The ID of the collection.
1237 * @param array $optParams Optional parameters.
1238 * @return Google_Service_AndroidEnterprise_Collection
1239 */
1240 public function get($enterpriseId, $collectionId, $optParams = array())
1241 {
1242 $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
1243 $params = array_merge($params, $optParams);
1244 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Collection");
1245 }
1246
1247 /**
1248 * Creates a new collection. (collections.insert)
1249 *
1250 * @param string $enterpriseId The ID of the enterprise.
1251 * @param Google_Collection $postBody
1252 * @param array $optParams Optional parameters.
1253 * @return Google_Service_AndroidEnterprise_Collection
1254 */
1255 public function insert($enterpriseId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
1256 {
1257 $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
1258 $params = array_merge($params, $optParams);
1259 return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Collection");
1260 }
1261
1262 /**
1263 * Retrieves the IDs of all the collections for an enterprise.
1264 * (collections.listCollections)
1265 *
1266 * @param string $enterpriseId The ID of the enterprise.
1267 * @param array $optParams Optional parameters.
1268 * @return Google_Service_AndroidEnterprise_CollectionsListResponse
1269 */
1270 public function listCollections($enterpriseId, $optParams = array())
1271 {
1272 $params = array('enterpriseId' => $enterpriseId);
1273 $params = array_merge($params, $optParams);
1274 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionsListResponse");
1275 }
1276
1277 /**
1278 * Updates a collection. This method supports patch semantics.
1279 * (collections.patch)
1280 *
1281 * @param string $enterpriseId The ID of the enterprise.
1282 * @param string $collectionId The ID of the collection.
1283 * @param Google_Collection $postBody
1284 * @param array $optParams Optional parameters.
1285 * @return Google_Service_AndroidEnterprise_Collection
1286 */
1287 public function patch($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
1288 {
1289 $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
1290 $params = array_merge($params, $optParams);
1291 return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Collection");
1292 }
1293
1294 /**
1295 * Updates a collection. (collections.update)
1296 *
1297 * @param string $enterpriseId The ID of the enterprise.
1298 * @param string $collectionId The ID of the collection.
1299 * @param Google_Collection $postBody
1300 * @param array $optParams Optional parameters.
1301 * @return Google_Service_AndroidEnterprise_Collection
1302 */
1303 public function update($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
1304 {
1305 $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
1306 $params = array_merge($params, $optParams);
1307 return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Collection");
1308 }
1309 }
1310
1311 /**
1312 * The "collectionviewers" collection of methods.
1313 * Typical usage is:
1314 * <code>
1315 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1316 * $collectionviewers = $androidenterpriseService->collectionviewers;
1317 * </code>
1318 */
1319 class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google_Service_Resource
1320 {
1321
1322 /**
1323 * Removes the user from the list of those specifically allowed to see the
1324 * collection. If the collection's visibility is set to viewersOnly then only
1325 * such users will see the collection. (collectionviewers.delete)
1326 *
1327 * @param string $enterpriseId The ID of the enterprise.
1328 * @param string $collectionId The ID of the collection.
1329 * @param string $userId The ID of the user.
1330 * @param array $optParams Optional parameters.
1331 */
1332 public function delete($enterpriseId, $collectionId, $userId, $optParams = array())
1333 {
1334 $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId);
1335 $params = array_merge($params, $optParams);
1336 return $this->call('delete', array($params));
1337 }
1338
1339 /**
1340 * Retrieves the ID of the user if they have been specifically allowed to see
1341 * the collection. If the collection's visibility is set to viewersOnly then
1342 * only these users will see the collection. (collectionviewers.get)
1343 *
1344 * @param string $enterpriseId The ID of the enterprise.
1345 * @param string $collectionId The ID of the collection.
1346 * @param string $userId The ID of the user.
1347 * @param array $optParams Optional parameters.
1348 * @return Google_Service_AndroidEnterprise_User
1349 */
1350 public function get($enterpriseId, $collectionId, $userId, $optParams = array())
1351 {
1352 $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId);
1353 $params = array_merge($params, $optParams);
1354 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User");
1355 }
1356
1357 /**
1358 * Retrieves the IDs of the users who have been specifically allowed to see the
1359 * collection. If the collection's visibility is set to viewersOnly then only
1360 * these users will see the collection.
1361 * (collectionviewers.listCollectionviewers)
1362 *
1363 * @param string $enterpriseId The ID of the enterprise.
1364 * @param string $collectionId The ID of the collection.
1365 * @param array $optParams Optional parameters.
1366 * @return Google_Service_AndroidEnterprise_CollectionViewersListResponse
1367 */
1368 public function listCollectionviewers($enterpriseId, $collectionId, $optParams = array())
1369 {
1370 $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
1371 $params = array_merge($params, $optParams);
1372 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionViewersListResponse");
1373 }
1374
1375 /**
1376 * Adds the user to the list of those specifically allowed to see the
1377 * collection. If the collection's visibility is set to viewersOnly then only
1378 * such users will see the collection. This method supports patch semantics.
1379 * (collectionviewers.patch)
1380 *
1381 * @param string $enterpriseId The ID of the enterprise.
1382 * @param string $collectionId The ID of the collection.
1383 * @param string $userId The ID of the user.
1384 * @param Google_User $postBody
1385 * @param array $optParams Optional parameters.
1386 * @return Google_Service_AndroidEnterprise_User
1387 */
1388 public function patch($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
1389 {
1390 $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
1391 $params = array_merge($params, $optParams);
1392 return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_User");
1393 }
1394
1395 /**
1396 * Adds the user to the list of those specifically allowed to see the
1397 * collection. If the collection's visibility is set to viewersOnly then only
1398 * such users will see the collection. (collectionviewers.update)
1399 *
1400 * @param string $enterpriseId The ID of the enterprise.
1401 * @param string $collectionId The ID of the collection.
1402 * @param string $userId The ID of the user.
1403 * @param Google_User $postBody
1404 * @param array $optParams Optional parameters.
1405 * @return Google_Service_AndroidEnterprise_User
1406 */
1407 public function update($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
1408 {
1409 $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
1410 $params = array_merge($params, $optParams);
1411 return $this->call('update', array($params), "Google_Service_AndroidEnterprise_User");
1412 }
1413 }
1414
1415 /**
1416 * The "devices" collection of methods.
1417 * Typical usage is:
1418 * <code>
1419 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1420 * $devices = $androidenterpriseService->devices;
1421 * </code>
1422 */
1423 class Google_Service_AndroidEnterprise_Devices_Resource extends Google_Service_Resource
1424 {
1425
1426 /**
1427 * Retrieves the details of a device. (devices.get)
1428 *
1429 * @param string $enterpriseId The ID of the enterprise.
1430 * @param string $userId The ID of the user.
1431 * @param string $deviceId The ID of the device.
1432 * @param array $optParams Optional parameters.
1433 * @return Google_Service_AndroidEnterprise_Device
1434 */
1435 public function get($enterpriseId, $userId, $deviceId, $optParams = array())
1436 {
1437 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
1438 $params = array_merge($params, $optParams);
1439 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Device");
1440 }
1441
1442 /**
1443 * Retrieves whether a device is enabled or disabled for access by the user to
1444 * Google services. The device state takes effect only if enforcing EMM policies
1445 * on Android devices is enabled in the Google Admin Console. Otherwise, the
1446 * device state is ignored and all devices are allowed access to Google
1447 * services. (devices.getState)
1448 *
1449 * @param string $enterpriseId The ID of the enterprise.
1450 * @param string $userId The ID of the user.
1451 * @param string $deviceId The ID of the device.
1452 * @param array $optParams Optional parameters.
1453 * @return Google_Service_AndroidEnterprise_DeviceState
1454 */
1455 public function getState($enterpriseId, $userId, $deviceId, $optParams = array())
1456 {
1457 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
1458 $params = array_merge($params, $optParams);
1459 return $this->call('getState', array($params), "Google_Service_AndroidEnterprise_DeviceState");
1460 }
1461
1462 /**
1463 * Retrieves the IDs of all of a user's devices. (devices.listDevices)
1464 *
1465 * @param string $enterpriseId The ID of the enterprise.
1466 * @param string $userId The ID of the user.
1467 * @param array $optParams Optional parameters.
1468 * @return Google_Service_AndroidEnterprise_DevicesListResponse
1469 */
1470 public function listDevices($enterpriseId, $userId, $optParams = array())
1471 {
1472 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
1473 $params = array_merge($params, $optParams);
1474 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_DevicesListResponse");
1475 }
1476
1477 /**
1478 * Sets whether a device is enabled or disabled for access by the user to Google
1479 * services. The device state takes effect only if enforcing EMM policies on
1480 * Android devices is enabled in the Google Admin Console. Otherwise, the device
1481 * state is ignored and all devices are allowed access to Google services.
1482 * (devices.setState)
1483 *
1484 * @param string $enterpriseId The ID of the enterprise.
1485 * @param string $userId The ID of the user.
1486 * @param string $deviceId The ID of the device.
1487 * @param Google_DeviceState $postBody
1488 * @param array $optParams Optional parameters.
1489 * @return Google_Service_AndroidEnterprise_DeviceState
1490 */
1491 public function setState($enterpriseId, $userId, $deviceId, Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams = array())
1492 {
1493 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'postBody' => $postBody);
1494 $params = array_merge($params, $optParams);
1495 return $this->call('setState', array($params), "Google_Service_AndroidEnterprise_DeviceState");
1496 }
1497 }
1498
1499 /**
1500 * The "enterprises" collection of methods.
1501 * Typical usage is:
1502 * <code>
1503 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1504 * $enterprises = $androidenterpriseService->enterprises;
1505 * </code>
1506 */
1507 class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Service_Resource
1508 {
1509
1510 /**
1511 * Deletes the binding between the EMM and enterprise. This is now deprecated;
1512 * use this to unenroll customers that were previously enrolled with the
1513 * 'insert' call, then enroll them again with the 'enroll' call.
1514 * (enterprises.delete)
1515 *
1516 * @param string $enterpriseId The ID of the enterprise.
1517 * @param array $optParams Optional parameters.
1518 */
1519 public function delete($enterpriseId, $optParams = array())
1520 {
1521 $params = array('enterpriseId' => $enterpriseId);
1522 $params = array_merge($params, $optParams);
1523 return $this->call('delete', array($params));
1524 }
1525
1526 /**
1527 * Enrolls an enterprise with the calling EMM. (enterprises.enroll)
1528 *
1529 * @param string $token The token provided by the enterprise to register the
1530 * EMM.
1531 * @param Google_Enterprise $postBody
1532 * @param array $optParams Optional parameters.
1533 * @return Google_Service_AndroidEnterprise_Enterprise
1534 */
1535 public function enroll($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
1536 {
1537 $params = array('token' => $token, 'postBody' => $postBody);
1538 $params = array_merge($params, $optParams);
1539 return $this->call('enroll', array($params), "Google_Service_AndroidEnterprise_Enterprise");
1540 }
1541
1542 /**
1543 * Retrieves the name and domain of an enterprise. (enterprises.get)
1544 *
1545 * @param string $enterpriseId The ID of the enterprise.
1546 * @param array $optParams Optional parameters.
1547 * @return Google_Service_AndroidEnterprise_Enterprise
1548 */
1549 public function get($enterpriseId, $optParams = array())
1550 {
1551 $params = array('enterpriseId' => $enterpriseId);
1552 $params = array_merge($params, $optParams);
1553 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Enterprise");
1554 }
1555
1556 /**
1557 * Returns the store layout resource. (enterprises.getStoreLayout)
1558 *
1559 * @param string $enterpriseId The ID of the enterprise.
1560 * @param array $optParams Optional parameters.
1561 * @return Google_Service_AndroidEnterprise_StoreLayout
1562 */
1563 public function getStoreLayout($enterpriseId, $optParams = array())
1564 {
1565 $params = array('enterpriseId' => $enterpriseId);
1566 $params = array_merge($params, $optParams);
1567 return $this->call('getStoreLayout', array($params), "Google_Service_AndroidEnterprise_StoreLayout");
1568 }
1569
1570 /**
1571 * Establishes the binding between the EMM and an enterprise. This is now
1572 * deprecated; use enroll instead. (enterprises.insert)
1573 *
1574 * @param string $token The token provided by the enterprise to register the
1575 * EMM.
1576 * @param Google_Enterprise $postBody
1577 * @param array $optParams Optional parameters.
1578 * @return Google_Service_AndroidEnterprise_Enterprise
1579 */
1580 public function insert($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
1581 {
1582 $params = array('token' => $token, 'postBody' => $postBody);
1583 $params = array_merge($params, $optParams);
1584 return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Enterprise");
1585 }
1586
1587 /**
1588 * Looks up an enterprise by domain name. (enterprises.listEnterprises)
1589 *
1590 * @param string $domain The exact primary domain name of the enterprise to look
1591 * up.
1592 * @param array $optParams Optional parameters.
1593 * @return Google_Service_AndroidEnterprise_EnterprisesListResponse
1594 */
1595 public function listEnterprises($domain, $optParams = array())
1596 {
1597 $params = array('domain' => $domain);
1598 $params = array_merge($params, $optParams);
1599 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EnterprisesListResponse");
1600 }
1601
1602 /**
1603 * Sends a test push notification to validate the EMM integration with the
1604 * Google Cloud Pub/Sub service for this enterprise.
1605 * (enterprises.sendTestPushNotification)
1606 *
1607 * @param string $enterpriseId The ID of the enterprise.
1608 * @param array $optParams Optional parameters.
1609 * @return Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse
1610 */
1611 public function sendTestPushNotification($enterpriseId, $optParams = array())
1612 {
1613 $params = array('enterpriseId' => $enterpriseId);
1614 $params = array_merge($params, $optParams);
1615 return $this->call('sendTestPushNotification', array($params), "Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse");
1616 }
1617
1618 /**
1619 * Set the account that will be used to authenticate to the API as the
1620 * enterprise. (enterprises.setAccount)
1621 *
1622 * @param string $enterpriseId The ID of the enterprise.
1623 * @param Google_EnterpriseAccount $postBody
1624 * @param array $optParams Optional parameters.
1625 * @return Google_Service_AndroidEnterprise_EnterpriseAccount
1626 */
1627 public function setAccount($enterpriseId, Google_Service_AndroidEnterprise_EnterpriseAccount $postBody, $optParams = array())
1628 {
1629 $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
1630 $params = array_merge($params, $optParams);
1631 return $this->call('setAccount', array($params), "Google_Service_AndroidEnterprise_EnterpriseAccount");
1632 }
1633
1634 /**
1635 * Sets the store layout resource. (enterprises.setStoreLayout)
1636 *
1637 * @param string $enterpriseId The ID of the enterprise.
1638 * @param Google_StoreLayout $postBody
1639 * @param array $optParams Optional parameters.
1640 * @return Google_Service_AndroidEnterprise_StoreLayout
1641 */
1642 public function setStoreLayout($enterpriseId, Google_Service_AndroidEnterprise_StoreLayout $postBody, $optParams = array())
1643 {
1644 $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
1645 $params = array_merge($params, $optParams);
1646 return $this->call('setStoreLayout', array($params), "Google_Service_AndroidEnterprise_StoreLayout");
1647 }
1648
1649 /**
1650 * Unenrolls an enterprise from the calling EMM. (enterprises.unenroll)
1651 *
1652 * @param string $enterpriseId The ID of the enterprise.
1653 * @param array $optParams Optional parameters.
1654 */
1655 public function unenroll($enterpriseId, $optParams = array())
1656 {
1657 $params = array('enterpriseId' => $enterpriseId);
1658 $params = array_merge($params, $optParams);
1659 return $this->call('unenroll', array($params));
1660 }
1661 }
1662
1663 /**
1664 * The "entitlements" collection of methods.
1665 * Typical usage is:
1666 * <code>
1667 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1668 * $entitlements = $androidenterpriseService->entitlements;
1669 * </code>
1670 */
1671 class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Service_Resource
1672 {
1673
1674 /**
1675 * Removes an entitlement to an app for a user and uninstalls it.
1676 * (entitlements.delete)
1677 *
1678 * @param string $enterpriseId The ID of the enterprise.
1679 * @param string $userId The ID of the user.
1680 * @param string $entitlementId The ID of the entitlement, e.g.
1681 * "app:com.google.android.gm".
1682 * @param array $optParams Optional parameters.
1683 */
1684 public function delete($enterpriseId, $userId, $entitlementId, $optParams = array())
1685 {
1686 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId);
1687 $params = array_merge($params, $optParams);
1688 return $this->call('delete', array($params));
1689 }
1690
1691 /**
1692 * Retrieves details of an entitlement. (entitlements.get)
1693 *
1694 * @param string $enterpriseId The ID of the enterprise.
1695 * @param string $userId The ID of the user.
1696 * @param string $entitlementId The ID of the entitlement, e.g.
1697 * "app:com.google.android.gm".
1698 * @param array $optParams Optional parameters.
1699 * @return Google_Service_AndroidEnterprise_Entitlement
1700 */
1701 public function get($enterpriseId, $userId, $entitlementId, $optParams = array())
1702 {
1703 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId);
1704 $params = array_merge($params, $optParams);
1705 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Entitlement");
1706 }
1707
1708 /**
1709 * List of all entitlements for the specified user. Only the ID is set.
1710 * (entitlements.listEntitlements)
1711 *
1712 * @param string $enterpriseId The ID of the enterprise.
1713 * @param string $userId The ID of the user.
1714 * @param array $optParams Optional parameters.
1715 * @return Google_Service_AndroidEnterprise_EntitlementsListResponse
1716 */
1717 public function listEntitlements($enterpriseId, $userId, $optParams = array())
1718 {
1719 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
1720 $params = array_merge($params, $optParams);
1721 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EntitlementsListResponse");
1722 }
1723
1724 /**
1725 * Adds or updates an entitlement to an app for a user. This method supports
1726 * patch semantics. (entitlements.patch)
1727 *
1728 * @param string $enterpriseId The ID of the enterprise.
1729 * @param string $userId The ID of the user.
1730 * @param string $entitlementId The ID of the entitlement, e.g.
1731 * "app:com.google.android.gm".
1732 * @param Google_Entitlement $postBody
1733 * @param array $optParams Optional parameters.
1734 *
1735 * @opt_param bool install Set to true to also install the product on all the
1736 * user's devices where possible. Failure to install on one or more devices will
1737 * not prevent this operation from returning successfully, as long as the
1738 * entitlement was successfully assigned to the user.
1739 * @return Google_Service_AndroidEnterprise_Entitlement
1740 */
1741 public function patch($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
1742 {
1743 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
1744 $params = array_merge($params, $optParams);
1745 return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Entitlement");
1746 }
1747
1748 /**
1749 * Adds or updates an entitlement to an app for a user. (entitlements.update)
1750 *
1751 * @param string $enterpriseId The ID of the enterprise.
1752 * @param string $userId The ID of the user.
1753 * @param string $entitlementId The ID of the entitlement, e.g.
1754 * "app:com.google.android.gm".
1755 * @param Google_Entitlement $postBody
1756 * @param array $optParams Optional parameters.
1757 *
1758 * @opt_param bool install Set to true to also install the product on all the
1759 * user's devices where possible. Failure to install on one or more devices will
1760 * not prevent this operation from returning successfully, as long as the
1761 * entitlement was successfully assigned to the user.
1762 * @return Google_Service_AndroidEnterprise_Entitlement
1763 */
1764 public function update($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
1765 {
1766 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
1767 $params = array_merge($params, $optParams);
1768 return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Entitlement");
1769 }
1770 }
1771
1772 /**
1773 * The "grouplicenses" collection of methods.
1774 * Typical usage is:
1775 * <code>
1776 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1777 * $grouplicenses = $androidenterpriseService->grouplicenses;
1778 * </code>
1779 */
1780 class Google_Service_AndroidEnterprise_Grouplicenses_Resource extends Google_Service_Resource
1781 {
1782
1783 /**
1784 * Retrieves details of an enterprise's group license for a product.
1785 * (grouplicenses.get)
1786 *
1787 * @param string $enterpriseId The ID of the enterprise.
1788 * @param string $groupLicenseId The ID of the product the group license is for,
1789 * e.g. "app:com.google.android.gm".
1790 * @param array $optParams Optional parameters.
1791 * @return Google_Service_AndroidEnterprise_GroupLicense
1792 */
1793 public function get($enterpriseId, $groupLicenseId, $optParams = array())
1794 {
1795 $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
1796 $params = array_merge($params, $optParams);
1797 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_GroupLicense");
1798 }
1799
1800 /**
1801 * Retrieves IDs of all products for which the enterprise has a group license.
1802 * (grouplicenses.listGrouplicenses)
1803 *
1804 * @param string $enterpriseId The ID of the enterprise.
1805 * @param array $optParams Optional parameters.
1806 * @return Google_Service_AndroidEnterprise_GroupLicensesListResponse
1807 */
1808 public function listGrouplicenses($enterpriseId, $optParams = array())
1809 {
1810 $params = array('enterpriseId' => $enterpriseId);
1811 $params = array_merge($params, $optParams);
1812 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicensesListResponse");
1813 }
1814 }
1815
1816 /**
1817 * The "grouplicenseusers" collection of methods.
1818 * Typical usage is:
1819 * <code>
1820 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1821 * $grouplicenseusers = $androidenterpriseService->grouplicenseusers;
1822 * </code>
1823 */
1824 class Google_Service_AndroidEnterprise_Grouplicenseusers_Resource extends Google_Service_Resource
1825 {
1826
1827 /**
1828 * Retrieves the IDs of the users who have been granted entitlements under the
1829 * license. (grouplicenseusers.listGrouplicenseusers)
1830 *
1831 * @param string $enterpriseId The ID of the enterprise.
1832 * @param string $groupLicenseId The ID of the product the group license is for,
1833 * e.g. "app:com.google.android.gm".
1834 * @param array $optParams Optional parameters.
1835 * @return Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse
1836 */
1837 public function listGrouplicenseusers($enterpriseId, $groupLicenseId, $optParams = array())
1838 {
1839 $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
1840 $params = array_merge($params, $optParams);
1841 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse");
1842 }
1843 }
1844
1845 /**
1846 * The "installs" collection of methods.
1847 * Typical usage is:
1848 * <code>
1849 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1850 * $installs = $androidenterpriseService->installs;
1851 * </code>
1852 */
1853 class Google_Service_AndroidEnterprise_Installs_Resource extends Google_Service_Resource
1854 {
1855
1856 /**
1857 * Requests to remove an app from a device. A call to get or list will still
1858 * show the app as installed on the device until it is actually removed.
1859 * (installs.delete)
1860 *
1861 * @param string $enterpriseId The ID of the enterprise.
1862 * @param string $userId The ID of the user.
1863 * @param string $deviceId The Android ID of the device.
1864 * @param string $installId The ID of the product represented by the install,
1865 * e.g. "app:com.google.android.gm".
1866 * @param array $optParams Optional parameters.
1867 */
1868 public function delete($enterpriseId, $userId, $deviceId, $installId, $optParams = array())
1869 {
1870 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId);
1871 $params = array_merge($params, $optParams);
1872 return $this->call('delete', array($params));
1873 }
1874
1875 /**
1876 * Retrieves details of an installation of an app on a device. (installs.get)
1877 *
1878 * @param string $enterpriseId The ID of the enterprise.
1879 * @param string $userId The ID of the user.
1880 * @param string $deviceId The Android ID of the device.
1881 * @param string $installId The ID of the product represented by the install,
1882 * e.g. "app:com.google.android.gm".
1883 * @param array $optParams Optional parameters.
1884 * @return Google_Service_AndroidEnterprise_Install
1885 */
1886 public function get($enterpriseId, $userId, $deviceId, $installId, $optParams = array())
1887 {
1888 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId);
1889 $params = array_merge($params, $optParams);
1890 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Install");
1891 }
1892
1893 /**
1894 * Retrieves the details of all apps installed on the specified device.
1895 * (installs.listInstalls)
1896 *
1897 * @param string $enterpriseId The ID of the enterprise.
1898 * @param string $userId The ID of the user.
1899 * @param string $deviceId The Android ID of the device.
1900 * @param array $optParams Optional parameters.
1901 * @return Google_Service_AndroidEnterprise_InstallsListResponse
1902 */
1903 public function listInstalls($enterpriseId, $userId, $deviceId, $optParams = array())
1904 {
1905 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
1906 $params = array_merge($params, $optParams);
1907 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_InstallsListResponse");
1908 }
1909
1910 /**
1911 * Requests to install the latest version of an app to a device. If the app is
1912 * already installed then it is updated to the latest version if necessary. This
1913 * method supports patch semantics. (installs.patch)
1914 *
1915 * @param string $enterpriseId The ID of the enterprise.
1916 * @param string $userId The ID of the user.
1917 * @param string $deviceId The Android ID of the device.
1918 * @param string $installId The ID of the product represented by the install,
1919 * e.g. "app:com.google.android.gm".
1920 * @param Google_Install $postBody
1921 * @param array $optParams Optional parameters.
1922 * @return Google_Service_AndroidEnterprise_Install
1923 */
1924 public function patch($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
1925 {
1926 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
1927 $params = array_merge($params, $optParams);
1928 return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Install");
1929 }
1930
1931 /**
1932 * Requests to install the latest version of an app to a device. If the app is
1933 * already installed then it is updated to the latest version if necessary.
1934 * (installs.update)
1935 *
1936 * @param string $enterpriseId The ID of the enterprise.
1937 * @param string $userId The ID of the user.
1938 * @param string $deviceId The Android ID of the device.
1939 * @param string $installId The ID of the product represented by the install,
1940 * e.g. "app:com.google.android.gm".
1941 * @param Google_Install $postBody
1942 * @param array $optParams Optional parameters.
1943 * @return Google_Service_AndroidEnterprise_Install
1944 */
1945 public function update($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
1946 {
1947 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
1948 $params = array_merge($params, $optParams);
1949 return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Install");
1950 }
1951 }
1952
1953 /**
1954 * The "permissions" collection of methods.
1955 * Typical usage is:
1956 * <code>
1957 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1958 * $permissions = $androidenterpriseService->permissions;
1959 * </code>
1960 */
1961 class Google_Service_AndroidEnterprise_Permissions_Resource extends Google_Service_Resource
1962 {
1963
1964 /**
1965 * Retrieves details of an Android app permission for display to an enterprise
1966 * admin. (permissions.get)
1967 *
1968 * @param string $permissionId The ID of the permission.
1969 * @param array $optParams Optional parameters.
1970 *
1971 * @opt_param string language The BCP47 tag for the user's preferred language
1972 * (e.g. "en-US", "de")
1973 * @return Google_Service_AndroidEnterprise_Permission
1974 */
1975 public function get($permissionId, $optParams = array())
1976 {
1977 $params = array('permissionId' => $permissionId);
1978 $params = array_merge($params, $optParams);
1979 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Permission");
1980 }
1981 }
1982
1983 /**
1984 * The "products" collection of methods.
1985 * Typical usage is:
1986 * <code>
1987 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
1988 * $products = $androidenterpriseService->products;
1989 * </code>
1990 */
1991 class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_Resource
1992 {
1993
1994 /**
1995 * Approves the specified product (and the relevant app permissions, if any).
1996 * (products.approve)
1997 *
1998 * @param string $enterpriseId The ID of the enterprise.
1999 * @param string $productId The ID of the product.
2000 * @param Google_ProductsApproveRequest $postBody
2001 * @param array $optParams Optional parameters.
2002 */
2003 public function approve($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductsApproveRequest $postBody, $optParams = array())
2004 {
2005 $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody);
2006 $params = array_merge($params, $optParams);
2007 return $this->call('approve', array($params));
2008 }
2009
2010 /**
2011 * Generates a URL that can be rendered in an iframe to display the permissions
2012 * (if any) of a product. An enterprise admin must view these permissions and
2013 * accept them on behalf of their organization in order to approve that product.
2014 *
2015 * Admins should accept the displayed permissions by interacting with a separate
2016 * UI element in the EMM console, which in turn should trigger the use of this
2017 * URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to
2018 * approve the product. This URL can only be used to display permissions for up
2019 * to 1 day. (products.generateApprovalUrl)
2020 *
2021 * @param string $enterpriseId The ID of the enterprise.
2022 * @param string $productId The ID of the product.
2023 * @param array $optParams Optional parameters.
2024 *
2025 * @opt_param string languageCode The BCP 47 language code used for permission
2026 * names and descriptions in the returned iframe, for instance "en-US".
2027 * @return Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse
2028 */
2029 public function generateApprovalUrl($enterpriseId, $productId, $optParams = array())
2030 {
2031 $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2032 $params = array_merge($params, $optParams);
2033 return $this->call('generateApprovalUrl', array($params), "Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse");
2034 }
2035
2036 /**
2037 * Retrieves details of a product for display to an enterprise admin.
2038 * (products.get)
2039 *
2040 * @param string $enterpriseId The ID of the enterprise.
2041 * @param string $productId The ID of the product, e.g.
2042 * "app:com.google.android.gm".
2043 * @param array $optParams Optional parameters.
2044 *
2045 * @opt_param string language The BCP47 tag for the user's preferred language
2046 * (e.g. "en-US", "de").
2047 * @return Google_Service_AndroidEnterprise_Product
2048 */
2049 public function get($enterpriseId, $productId, $optParams = array())
2050 {
2051 $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2052 $params = array_merge($params, $optParams);
2053 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Product");
2054 }
2055
2056 /**
2057 * Retrieves the schema defining app restrictions configurable for this product.
2058 * All products have a schema, but this may be empty if no app restrictions are
2059 * defined. (products.getAppRestrictionsSchema)
2060 *
2061 * @param string $enterpriseId The ID of the enterprise.
2062 * @param string $productId The ID of the product.
2063 * @param array $optParams Optional parameters.
2064 *
2065 * @opt_param string language The BCP47 tag for the user's preferred language
2066 * (e.g. "en-US", "de").
2067 * @return Google_Service_AndroidEnterprise_AppRestrictionsSchema
2068 */
2069 public function getAppRestrictionsSchema($enterpriseId, $productId, $optParams = array())
2070 {
2071 $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2072 $params = array_merge($params, $optParams);
2073 return $this->call('getAppRestrictionsSchema', array($params), "Google_Service_AndroidEnterprise_AppRestrictionsSchema");
2074 }
2075
2076 /**
2077 * Retrieves the Android app permissions required by this app.
2078 * (products.getPermissions)
2079 *
2080 * @param string $enterpriseId The ID of the enterprise.
2081 * @param string $productId The ID of the product.
2082 * @param array $optParams Optional parameters.
2083 * @return Google_Service_AndroidEnterprise_ProductPermissions
2084 */
2085 public function getPermissions($enterpriseId, $productId, $optParams = array())
2086 {
2087 $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
2088 $params = array_merge($params, $optParams);
2089 return $this->call('getPermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions");
2090 }
2091
2092 /**
2093 * Updates the set of Android app permissions for this app that have been
2094 * accepted by the enterprise. (products.updatePermissions)
2095 *
2096 * @param string $enterpriseId The ID of the enterprise.
2097 * @param string $productId The ID of the product.
2098 * @param Google_ProductPermissions $postBody
2099 * @param array $optParams Optional parameters.
2100 * @return Google_Service_AndroidEnterprise_ProductPermissions
2101 */
2102 public function updatePermissions($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductPermissions $postBody, $optParams = array())
2103 {
2104 $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody);
2105 $params = array_merge($params, $optParams);
2106 return $this->call('updatePermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions");
2107 }
2108 }
2109
2110 /**
2111 * The "storelayoutclusters" collection of methods.
2112 * Typical usage is:
2113 * <code>
2114 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
2115 * $storelayoutclusters = $androidenterpriseService->storelayoutclusters;
2116 * </code>
2117 */
2118 class Google_Service_AndroidEnterprise_Storelayoutclusters_Resource extends Google_Service_Resource
2119 {
2120
2121 /**
2122 * Deletes a cluster. (storelayoutclusters.delete)
2123 *
2124 * @param string $enterpriseId The ID of the enterprise.
2125 * @param string $pageId The ID of the page.
2126 * @param string $clusterId The ID of the cluster.
2127 * @param array $optParams Optional parameters.
2128 */
2129 public function delete($enterpriseId, $pageId, $clusterId, $optParams = array())
2130 {
2131 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId);
2132 $params = array_merge($params, $optParams);
2133 return $this->call('delete', array($params));
2134 }
2135
2136 /**
2137 * Retrieves details of a cluster. (storelayoutclusters.get)
2138 *
2139 * @param string $enterpriseId The ID of the enterprise.
2140 * @param string $pageId The ID of the page.
2141 * @param string $clusterId The ID of the cluster.
2142 * @param array $optParams Optional parameters.
2143 * @return Google_Service_AndroidEnterprise_StoreCluster
2144 */
2145 public function get($enterpriseId, $pageId, $clusterId, $optParams = array())
2146 {
2147 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId);
2148 $params = array_merge($params, $optParams);
2149 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
2150 }
2151
2152 /**
2153 * Inserts a new cluster in a page. (storelayoutclusters.insert)
2154 *
2155 * @param string $enterpriseId The ID of the enterprise.
2156 * @param string $pageId The ID of the page.
2157 * @param Google_StoreCluster $postBody
2158 * @param array $optParams Optional parameters.
2159 * @return Google_Service_AndroidEnterprise_StoreCluster
2160 */
2161 public function insert($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
2162 {
2163 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
2164 $params = array_merge($params, $optParams);
2165 return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
2166 }
2167
2168 /**
2169 * Retrieves the details of all clusters on the specified page.
2170 * (storelayoutclusters.listStorelayoutclusters)
2171 *
2172 * @param string $enterpriseId The ID of the enterprise.
2173 * @param string $pageId The ID of the page.
2174 * @param array $optParams Optional parameters.
2175 * @return Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse
2176 */
2177 public function listStorelayoutclusters($enterpriseId, $pageId, $optParams = array())
2178 {
2179 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
2180 $params = array_merge($params, $optParams);
2181 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse");
2182 }
2183
2184 /**
2185 * Updates a cluster. This method supports patch semantics.
2186 * (storelayoutclusters.patch)
2187 *
2188 * @param string $enterpriseId The ID of the enterprise.
2189 * @param string $pageId The ID of the page.
2190 * @param string $clusterId The ID of the cluster.
2191 * @param Google_StoreCluster $postBody
2192 * @param array $optParams Optional parameters.
2193 * @return Google_Service_AndroidEnterprise_StoreCluster
2194 */
2195 public function patch($enterpriseId, $pageId, $clusterId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
2196 {
2197 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody);
2198 $params = array_merge($params, $optParams);
2199 return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
2200 }
2201
2202 /**
2203 * Updates a cluster. (storelayoutclusters.update)
2204 *
2205 * @param string $enterpriseId The ID of the enterprise.
2206 * @param string $pageId The ID of the page.
2207 * @param string $clusterId The ID of the cluster.
2208 * @param Google_StoreCluster $postBody
2209 * @param array $optParams Optional parameters.
2210 * @return Google_Service_AndroidEnterprise_StoreCluster
2211 */
2212 public function update($enterpriseId, $pageId, $clusterId, Google_Service_AndroidEnterprise_StoreCluster $postBody, $optParams = array())
2213 {
2214 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'clusterId' => $clusterId, 'postBody' => $postBody);
2215 $params = array_merge($params, $optParams);
2216 return $this->call('update', array($params), "Google_Service_AndroidEnterprise_StoreCluster");
2217 }
2218 }
2219
2220 /**
2221 * The "storelayoutpages" collection of methods.
2222 * Typical usage is:
2223 * <code>
2224 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
2225 * $storelayoutpages = $androidenterpriseService->storelayoutpages;
2226 * </code>
2227 */
2228 class Google_Service_AndroidEnterprise_Storelayoutpages_Resource extends Google_Service_Resource
2229 {
2230
2231 /**
2232 * Deletes a store page. (storelayoutpages.delete)
2233 *
2234 * @param string $enterpriseId The ID of the enterprise.
2235 * @param string $pageId The ID of the page.
2236 * @param array $optParams Optional parameters.
2237 */
2238 public function delete($enterpriseId, $pageId, $optParams = array())
2239 {
2240 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
2241 $params = array_merge($params, $optParams);
2242 return $this->call('delete', array($params));
2243 }
2244
2245 /**
2246 * Retrieves details of a store page. (storelayoutpages.get)
2247 *
2248 * @param string $enterpriseId The ID of the enterprise.
2249 * @param string $pageId The ID of the page.
2250 * @param array $optParams Optional parameters.
2251 * @return Google_Service_AndroidEnterprise_StorePage
2252 */
2253 public function get($enterpriseId, $pageId, $optParams = array())
2254 {
2255 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId);
2256 $params = array_merge($params, $optParams);
2257 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_StorePage");
2258 }
2259
2260 /**
2261 * Inserts a new store page. (storelayoutpages.insert)
2262 *
2263 * @param string $enterpriseId The ID of the enterprise.
2264 * @param Google_StorePage $postBody
2265 * @param array $optParams Optional parameters.
2266 * @return Google_Service_AndroidEnterprise_StorePage
2267 */
2268 public function insert($enterpriseId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
2269 {
2270 $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
2271 $params = array_merge($params, $optParams);
2272 return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_StorePage");
2273 }
2274
2275 /**
2276 * Retrieves the details of all pages in the store.
2277 * (storelayoutpages.listStorelayoutpages)
2278 *
2279 * @param string $enterpriseId The ID of the enterprise.
2280 * @param array $optParams Optional parameters.
2281 * @return Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse
2282 */
2283 public function listStorelayoutpages($enterpriseId, $optParams = array())
2284 {
2285 $params = array('enterpriseId' => $enterpriseId);
2286 $params = array_merge($params, $optParams);
2287 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse");
2288 }
2289
2290 /**
2291 * Updates the content of a store page. This method supports patch semantics.
2292 * (storelayoutpages.patch)
2293 *
2294 * @param string $enterpriseId The ID of the enterprise.
2295 * @param string $pageId The ID of the page.
2296 * @param Google_StorePage $postBody
2297 * @param array $optParams Optional parameters.
2298 * @return Google_Service_AndroidEnterprise_StorePage
2299 */
2300 public function patch($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
2301 {
2302 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
2303 $params = array_merge($params, $optParams);
2304 return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_StorePage");
2305 }
2306
2307 /**
2308 * Updates the content of a store page. (storelayoutpages.update)
2309 *
2310 * @param string $enterpriseId The ID of the enterprise.
2311 * @param string $pageId The ID of the page.
2312 * @param Google_StorePage $postBody
2313 * @param array $optParams Optional parameters.
2314 * @return Google_Service_AndroidEnterprise_StorePage
2315 */
2316 public function update($enterpriseId, $pageId, Google_Service_AndroidEnterprise_StorePage $postBody, $optParams = array())
2317 {
2318 $params = array('enterpriseId' => $enterpriseId, 'pageId' => $pageId, 'postBody' => $postBody);
2319 $params = array_merge($params, $optParams);
2320 return $this->call('update', array($params), "Google_Service_AndroidEnterprise_StorePage");
2321 }
2322 }
2323
2324 /**
2325 * The "users" collection of methods.
2326 * Typical usage is:
2327 * <code>
2328 * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
2329 * $users = $androidenterpriseService->users;
2330 * </code>
2331 */
2332 class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Resource
2333 {
2334
2335 /**
2336 * Generates a token (activation code) to allow this user to configure their
2337 * work account in the Android Setup Wizard. Revokes any previously generated
2338 * token.
2339 *
2340 * This call only works with Google managed accounts. (users.generateToken)
2341 *
2342 * @param string $enterpriseId The ID of the enterprise.
2343 * @param string $userId The ID of the user.
2344 * @param array $optParams Optional parameters.
2345 * @return Google_Service_AndroidEnterprise_UserToken
2346 */
2347 public function generateToken($enterpriseId, $userId, $optParams = array())
2348 {
2349 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2350 $params = array_merge($params, $optParams);
2351 return $this->call('generateToken', array($params), "Google_Service_AndroidEnterprise_UserToken");
2352 }
2353
2354 /**
2355 * Retrieves a user's details. (users.get)
2356 *
2357 * @param string $enterpriseId The ID of the enterprise.
2358 * @param string $userId The ID of the user.
2359 * @param array $optParams Optional parameters.
2360 * @return Google_Service_AndroidEnterprise_User
2361 */
2362 public function get($enterpriseId, $userId, $optParams = array())
2363 {
2364 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2365 $params = array_merge($params, $optParams);
2366 return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User");
2367 }
2368
2369 /**
2370 * Retrieves the set of products a user is entitled to access.
2371 * (users.getAvailableProductSet)
2372 *
2373 * @param string $enterpriseId The ID of the enterprise.
2374 * @param string $userId The ID of the user.
2375 * @param array $optParams Optional parameters.
2376 * @return Google_Service_AndroidEnterprise_ProductSet
2377 */
2378 public function getAvailableProductSet($enterpriseId, $userId, $optParams = array())
2379 {
2380 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2381 $params = array_merge($params, $optParams);
2382 return $this->call('getAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet");
2383 }
2384
2385 /**
2386 * Looks up a user by their primary email address. (users.listUsers)
2387 *
2388 * @param string $enterpriseId The ID of the enterprise.
2389 * @param string $email The exact primary email address of the user to look up.
2390 * @param array $optParams Optional parameters.
2391 * @return Google_Service_AndroidEnterprise_UsersListResponse
2392 */
2393 public function listUsers($enterpriseId, $email, $optParams = array())
2394 {
2395 $params = array('enterpriseId' => $enterpriseId, 'email' => $email);
2396 $params = array_merge($params, $optParams);
2397 return $this->call('list', array($params), "Google_Service_AndroidEnterprise_UsersListResponse");
2398 }
2399
2400 /**
2401 * Revokes a previously generated token (activation code) for the user.
2402 * (users.revokeToken)
2403 *
2404 * @param string $enterpriseId The ID of the enterprise.
2405 * @param string $userId The ID of the user.
2406 * @param array $optParams Optional parameters.
2407 */
2408 public function revokeToken($enterpriseId, $userId, $optParams = array())
2409 {
2410 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
2411 $params = array_merge($params, $optParams);
2412 return $this->call('revokeToken', array($params));
2413 }
2414
2415 /**
2416 * Modifies the set of products a user is entitled to access.
2417 * (users.setAvailableProductSet)
2418 *
2419 * @param string $enterpriseId The ID of the enterprise.
2420 * @param string $userId The ID of the user.
2421 * @param Google_ProductSet $postBody
2422 * @param array $optParams Optional parameters.
2423 * @return Google_Service_AndroidEnterprise_ProductSet
2424 */
2425 public function setAvailableProductSet($enterpriseId, $userId, Google_Service_AndroidEnterprise_ProductSet $postBody, $optParams = array())
2426 {
2427 $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody);
2428 $params = array_merge($params, $optParams);
2429 return $this->call('setAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet");
2430 }
2431 }
2432
2433
2434
2435
2436 class Google_Service_AndroidEnterprise_AppRestrictionsSchema extends Google_Collection
2437 {
2438 protected $collection_key = 'restrictions';
2439 protected $internal_gapi_mappings = array(
2440 );
2441 public $kind;
2442 protected $restrictionsType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction';
2443 protected $restrictionsDataType = 'array';
2444
2445
2446 public function setKind($kind)
2447 {
2448 $this->kind = $kind;
2449 }
2450 public function getKind()
2451 {
2452 return $this->kind;
2453 }
2454 public function setRestrictions($restrictions)
2455 {
2456 $this->restrictions = $restrictions;
2457 }
2458 public function getRestrictions()
2459 {
2460 return $this->restrictions;
2461 }
2462 }
2463
2464 class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction extends Google_Collection
2465 {
2466 protected $collection_key = 'entryValue';
2467 protected $internal_gapi_mappings = array(
2468 );
2469 protected $defaultValueType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue';
2470 protected $defaultValueDataType = '';
2471 public $description;
2472 public $entry;
2473 public $entryValue;
2474 public $key;
2475 public $restrictionType;
2476 public $title;
2477
2478
2479 public function setDefaultValue(Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue $defaultValue)
2480 {
2481 $this->defaultValue = $defaultValue;
2482 }
2483 public function getDefaultValue()
2484 {
2485 return $this->defaultValue;
2486 }
2487 public function setDescription($description)
2488 {
2489 $this->description = $description;
2490 }
2491 public function getDescription()
2492 {
2493 return $this->description;
2494 }
2495 public function setEntry($entry)
2496 {
2497 $this->entry = $entry;
2498 }
2499 public function getEntry()
2500 {
2501 return $this->entry;
2502 }
2503 public function setEntryValue($entryValue)
2504 {
2505 $this->entryValue = $entryValue;
2506 }
2507 public function getEntryValue()
2508 {
2509 return $this->entryValue;
2510 }
2511 public function setKey($key)
2512 {
2513 $this->key = $key;
2514 }
2515 public function getKey()
2516 {
2517 return $this->key;
2518 }
2519 public function setRestrictionType($restrictionType)
2520 {
2521 $this->restrictionType = $restrictionType;
2522 }
2523 public function getRestrictionType()
2524 {
2525 return $this->restrictionType;
2526 }
2527 public function setTitle($title)
2528 {
2529 $this->title = $title;
2530 }
2531 public function getTitle()
2532 {
2533 return $this->title;
2534 }
2535 }
2536
2537 class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue extends Google_Collection
2538 {
2539 protected $collection_key = 'valueMultiselect';
2540 protected $internal_gapi_mappings = array(
2541 );
2542 public $type;
2543 public $valueBool;
2544 public $valueInteger;
2545 public $valueMultiselect;
2546 public $valueString;
2547
2548
2549 public function setType($type)
2550 {
2551 $this->type = $type;
2552 }
2553 public function getType()
2554 {
2555 return $this->type;
2556 }
2557 public function setValueBool($valueBool)
2558 {
2559 $this->valueBool = $valueBool;
2560 }
2561 public function getValueBool()
2562 {
2563 return $this->valueBool;
2564 }
2565 public function setValueInteger($valueInteger)
2566 {
2567 $this->valueInteger = $valueInteger;
2568 }
2569 public function getValueInteger()
2570 {
2571 return $this->valueInteger;
2572 }
2573 public function setValueMultiselect($valueMultiselect)
2574 {
2575 $this->valueMultiselect = $valueMultiselect;
2576 }
2577 public function getValueMultiselect()
2578 {
2579 return $this->valueMultiselect;
2580 }
2581 public function setValueString($valueString)
2582 {
2583 $this->valueString = $valueString;
2584 }
2585 public function getValueString()
2586 {
2587 return $this->valueString;
2588 }
2589 }
2590
2591 class Google_Service_AndroidEnterprise_AppVersion extends Google_Model
2592 {
2593 protected $internal_gapi_mappings = array(
2594 );
2595 public $versionCode;
2596 public $versionString;
2597
2598
2599 public function setVersionCode($versionCode)
2600 {
2601 $this->versionCode = $versionCode;
2602 }
2603 public function getVersionCode()
2604 {
2605 return $this->versionCode;
2606 }
2607 public function setVersionString($versionString)
2608 {
2609 $this->versionString = $versionString;
2610 }
2611 public function getVersionString()
2612 {
2613 return $this->versionString;
2614 }
2615 }
2616
2617 class Google_Service_AndroidEnterprise_ApprovalUrlInfo extends Google_Model
2618 {
2619 protected $internal_gapi_mappings = array(
2620 );
2621 public $approvalUrl;
2622 public $kind;
2623
2624
2625 public function setApprovalUrl($approvalUrl)
2626 {
2627 $this->approvalUrl = $approvalUrl;
2628 }
2629 public function getApprovalUrl()
2630 {
2631 return $this->approvalUrl;
2632 }
2633 public function setKind($kind)
2634 {
2635 $this->kind = $kind;
2636 }
2637 public function getKind()
2638 {
2639 return $this->kind;
2640 }
2641 }
2642
2643 class Google_Service_AndroidEnterprise_Collection extends Google_Collection
2644 {
2645 protected $collection_key = 'productId';
2646 protected $internal_gapi_mappings = array(
2647 );
2648 public $collectionId;
2649 public $kind;
2650 public $name;
2651 public $productId;
2652 public $visibility;
2653
2654
2655 public function setCollectionId($collectionId)
2656 {
2657 $this->collectionId = $collectionId;
2658 }
2659 public function getCollectionId()
2660 {
2661 return $this->collectionId;
2662 }
2663 public function setKind($kind)
2664 {
2665 $this->kind = $kind;
2666 }
2667 public function getKind()
2668 {
2669 return $this->kind;
2670 }
2671 public function setName($name)
2672 {
2673 $this->name = $name;
2674 }
2675 public function getName()
2676 {
2677 return $this->name;
2678 }
2679 public function setProductId($productId)
2680 {
2681 $this->productId = $productId;
2682 }
2683 public function getProductId()
2684 {
2685 return $this->productId;
2686 }
2687 public function setVisibility($visibility)
2688 {
2689 $this->visibility = $visibility;
2690 }
2691 public function getVisibility()
2692 {
2693 return $this->visibility;
2694 }
2695 }
2696
2697 class Google_Service_AndroidEnterprise_CollectionViewersListResponse extends Google_Collection
2698 {
2699 protected $collection_key = 'user';
2700 protected $internal_gapi_mappings = array(
2701 );
2702 public $kind;
2703 protected $userType = 'Google_Service_AndroidEnterprise_User';
2704 protected $userDataType = 'array';
2705
2706
2707 public function setKind($kind)
2708 {
2709 $this->kind = $kind;
2710 }
2711 public function getKind()
2712 {
2713 return $this->kind;
2714 }
2715 public function setUser($user)
2716 {
2717 $this->user = $user;
2718 }
2719 public function getUser()
2720 {
2721 return $this->user;
2722 }
2723 }
2724
2725 class Google_Service_AndroidEnterprise_CollectionsListResponse extends Google_Collection
2726 {
2727 protected $collection_key = 'collection';
2728 protected $internal_gapi_mappings = array(
2729 );
2730 protected $collectionType = 'Google_Service_AndroidEnterprise_Collection';
2731 protected $collectionDataType = 'array';
2732 public $kind;
2733
2734
2735 public function setCollection($collection)
2736 {
2737 $this->collection = $collection;
2738 }
2739 public function getCollection()
2740 {
2741 return $this->collection;
2742 }
2743 public function setKind($kind)
2744 {
2745 $this->kind = $kind;
2746 }
2747 public function getKind()
2748 {
2749 return $this->kind;
2750 }
2751 }
2752
2753 class Google_Service_AndroidEnterprise_Device extends Google_Model
2754 {
2755 protected $internal_gapi_mappings = array(
2756 );
2757 public $androidId;
2758 public $kind;
2759 public $managementType;
2760
2761
2762 public function setAndroidId($androidId)
2763 {
2764 $this->androidId = $androidId;
2765 }
2766 public function getAndroidId()
2767 {
2768 return $this->androidId;
2769 }
2770 public function setKind($kind)
2771 {
2772 $this->kind = $kind;
2773 }
2774 public function getKind()
2775 {
2776 return $this->kind;
2777 }
2778 public function setManagementType($managementType)
2779 {
2780 $this->managementType = $managementType;
2781 }
2782 public function getManagementType()
2783 {
2784 return $this->managementType;
2785 }
2786 }
2787
2788 class Google_Service_AndroidEnterprise_DeviceState extends Google_Model
2789 {
2790 protected $internal_gapi_mappings = array(
2791 );
2792 public $accountState;
2793 public $kind;
2794
2795
2796 public function setAccountState($accountState)
2797 {
2798 $this->accountState = $accountState;
2799 }
2800 public function getAccountState()
2801 {
2802 return $this->accountState;
2803 }
2804 public function setKind($kind)
2805 {
2806 $this->kind = $kind;
2807 }
2808 public function getKind()
2809 {
2810 return $this->kind;
2811 }
2812 }
2813
2814 class Google_Service_AndroidEnterprise_DevicesListResponse extends Google_Collection
2815 {
2816 protected $collection_key = 'device';
2817 protected $internal_gapi_mappings = array(
2818 );
2819 protected $deviceType = 'Google_Service_AndroidEnterprise_Device';
2820 protected $deviceDataType = 'array';
2821 public $kind;
2822
2823
2824 public function setDevice($device)
2825 {
2826 $this->device = $device;
2827 }
2828 public function getDevice()
2829 {
2830 return $this->device;
2831 }
2832 public function setKind($kind)
2833 {
2834 $this->kind = $kind;
2835 }
2836 public function getKind()
2837 {
2838 return $this->kind;
2839 }
2840 }
2841
2842 class Google_Service_AndroidEnterprise_Enterprise extends Google_Model
2843 {
2844 protected $internal_gapi_mappings = array(
2845 );
2846 public $id;
2847 public $kind;
2848 public $name;
2849 public $primaryDomain;
2850
2851
2852 public function setId($id)
2853 {
2854 $this->id = $id;
2855 }
2856 public function getId()
2857 {
2858 return $this->id;
2859 }
2860 public function setKind($kind)
2861 {
2862 $this->kind = $kind;
2863 }
2864 public function getKind()
2865 {
2866 return $this->kind;
2867 }
2868 public function setName($name)
2869 {
2870 $this->name = $name;
2871 }
2872 public function getName()
2873 {
2874 return $this->name;
2875 }
2876 public function setPrimaryDomain($primaryDomain)
2877 {
2878 $this->primaryDomain = $primaryDomain;
2879 }
2880 public function getPrimaryDomain()
2881 {
2882 return $this->primaryDomain;
2883 }
2884 }
2885
2886 class Google_Service_AndroidEnterprise_EnterpriseAccount extends Google_Model
2887 {
2888 protected $internal_gapi_mappings = array(
2889 );
2890 public $accountEmail;
2891 public $kind;
2892
2893
2894 public function setAccountEmail($accountEmail)
2895 {
2896 $this->accountEmail = $accountEmail;
2897 }
2898 public function getAccountEmail()
2899 {
2900 return $this->accountEmail;
2901 }
2902 public function setKind($kind)
2903 {
2904 $this->kind = $kind;
2905 }
2906 public function getKind()
2907 {
2908 return $this->kind;
2909 }
2910 }
2911
2912 class Google_Service_AndroidEnterprise_EnterprisesListResponse extends Google_Collection
2913 {
2914 protected $collection_key = 'enterprise';
2915 protected $internal_gapi_mappings = array(
2916 );
2917 protected $enterpriseType = 'Google_Service_AndroidEnterprise_Enterprise';
2918 protected $enterpriseDataType = 'array';
2919 public $kind;
2920
2921
2922 public function setEnterprise($enterprise)
2923 {
2924 $this->enterprise = $enterprise;
2925 }
2926 public function getEnterprise()
2927 {
2928 return $this->enterprise;
2929 }
2930 public function setKind($kind)
2931 {
2932 $this->kind = $kind;
2933 }
2934 public function getKind()
2935 {
2936 return $this->kind;
2937 }
2938 }
2939
2940 class Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse extends Google_Model
2941 {
2942 protected $internal_gapi_mappings = array(
2943 );
2944 public $messageId;
2945 public $topicName;
2946
2947
2948 public function setMessageId($messageId)
2949 {
2950 $this->messageId = $messageId;
2951 }
2952 public function getMessageId()
2953 {
2954 return $this->messageId;
2955 }
2956 public function setTopicName($topicName)
2957 {
2958 $this->topicName = $topicName;
2959 }
2960 public function getTopicName()
2961 {
2962 return $this->topicName;
2963 }
2964 }
2965
2966 class Google_Service_AndroidEnterprise_Entitlement extends Google_Model
2967 {
2968 protected $internal_gapi_mappings = array(
2969 );
2970 public $kind;
2971 public $productId;
2972 public $reason;
2973
2974
2975 public function setKind($kind)
2976 {
2977 $this->kind = $kind;
2978 }
2979 public function getKind()
2980 {
2981 return $this->kind;
2982 }
2983 public function setProductId($productId)
2984 {
2985 $this->productId = $productId;
2986 }
2987 public function getProductId()
2988 {
2989 return $this->productId;
2990 }
2991 public function setReason($reason)
2992 {
2993 $this->reason = $reason;
2994 }
2995 public function getReason()
2996 {
2997 return $this->reason;
2998 }
2999 }
3000
3001 class Google_Service_AndroidEnterprise_EntitlementsListResponse extends Google_Collection
3002 {
3003 protected $collection_key = 'entitlement';
3004 protected $internal_gapi_mappings = array(
3005 );
3006 protected $entitlementType = 'Google_Service_AndroidEnterprise_Entitlement';
3007 protected $entitlementDataType = 'array';
3008 public $kind;
3009
3010
3011 public function setEntitlement($entitlement)
3012 {
3013 $this->entitlement = $entitlement;
3014 }
3015 public function getEntitlement()
3016 {
3017 return $this->entitlement;
3018 }
3019 public function setKind($kind)
3020 {
3021 $this->kind = $kind;
3022 }
3023 public function getKind()
3024 {
3025 return $this->kind;
3026 }
3027 }
3028
3029 class Google_Service_AndroidEnterprise_GroupLicense extends Google_Model
3030 {
3031 protected $internal_gapi_mappings = array(
3032 );
3033 public $acquisitionKind;
3034 public $approval;
3035 public $kind;
3036 public $numProvisioned;
3037 public $numPurchased;
3038 public $productId;
3039
3040
3041 public function setAcquisitionKind($acquisitionKind)
3042 {
3043 $this->acquisitionKind = $acquisitionKind;
3044 }
3045 public function getAcquisitionKind()
3046 {
3047 return $this->acquisitionKind;
3048 }
3049 public function setApproval($approval)
3050 {
3051 $this->approval = $approval;
3052 }
3053 public function getApproval()
3054 {
3055 return $this->approval;
3056 }
3057 public function setKind($kind)
3058 {
3059 $this->kind = $kind;
3060 }
3061 public function getKind()
3062 {
3063 return $this->kind;
3064 }
3065 public function setNumProvisioned($numProvisioned)
3066 {
3067 $this->numProvisioned = $numProvisioned;
3068 }
3069 public function getNumProvisioned()
3070 {
3071 return $this->numProvisioned;
3072 }
3073 public function setNumPurchased($numPurchased)
3074 {
3075 $this->numPurchased = $numPurchased;
3076 }
3077 public function getNumPurchased()
3078 {
3079 return $this->numPurchased;
3080 }
3081 public function setProductId($productId)
3082 {
3083 $this->productId = $productId;
3084 }
3085 public function getProductId()
3086 {
3087 return $this->productId;
3088 }
3089 }
3090
3091 class Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse extends Google_Collection
3092 {
3093 protected $collection_key = 'user';
3094 protected $internal_gapi_mappings = array(
3095 );
3096 public $kind;
3097 protected $userType = 'Google_Service_AndroidEnterprise_User';
3098 protected $userDataType = 'array';
3099
3100
3101 public function setKind($kind)
3102 {
3103 $this->kind = $kind;
3104 }
3105 public function getKind()
3106 {
3107 return $this->kind;
3108 }
3109 public function setUser($user)
3110 {
3111 $this->user = $user;
3112 }
3113 public function getUser()
3114 {
3115 return $this->user;
3116 }
3117 }
3118
3119 class Google_Service_AndroidEnterprise_GroupLicensesListResponse extends Google_Collection
3120 {
3121 protected $collection_key = 'groupLicense';
3122 protected $internal_gapi_mappings = array(
3123 );
3124 protected $groupLicenseType = 'Google_Service_AndroidEnterprise_GroupLicense';
3125 protected $groupLicenseDataType = 'array';
3126 public $kind;
3127
3128
3129 public function setGroupLicense($groupLicense)
3130 {
3131 $this->groupLicense = $groupLicense;
3132 }
3133 public function getGroupLicense()
3134 {
3135 return $this->groupLicense;
3136 }
3137 public function setKind($kind)
3138 {
3139 $this->kind = $kind;
3140 }
3141 public function getKind()
3142 {
3143 return $this->kind;
3144 }
3145 }
3146
3147 class Google_Service_AndroidEnterprise_Install extends Google_Model
3148 {
3149 protected $internal_gapi_mappings = array(
3150 );
3151 public $installState;
3152 public $kind;
3153 public $productId;
3154 public $versionCode;
3155
3156
3157 public function setInstallState($installState)
3158 {
3159 $this->installState = $installState;
3160 }
3161 public function getInstallState()
3162 {
3163 return $this->installState;
3164 }
3165 public function setKind($kind)
3166 {
3167 $this->kind = $kind;
3168 }
3169 public function getKind()
3170 {
3171 return $this->kind;
3172 }
3173 public function setProductId($productId)
3174 {
3175 $this->productId = $productId;
3176 }
3177 public function getProductId()
3178 {
3179 return $this->productId;
3180 }
3181 public function setVersionCode($versionCode)
3182 {
3183 $this->versionCode = $versionCode;
3184 }
3185 public function getVersionCode()
3186 {
3187 return $this->versionCode;
3188 }
3189 }
3190
3191 class Google_Service_AndroidEnterprise_InstallsListResponse extends Google_Collection
3192 {
3193 protected $collection_key = 'install';
3194 protected $internal_gapi_mappings = array(
3195 );
3196 protected $installType = 'Google_Service_AndroidEnterprise_Install';
3197 protected $installDataType = 'array';
3198 public $kind;
3199
3200
3201 public function setInstall($install)
3202 {
3203 $this->install = $install;
3204 }
3205 public function getInstall()
3206 {
3207 return $this->install;
3208 }
3209 public function setKind($kind)
3210 {
3211 $this->kind = $kind;
3212 }
3213 public function getKind()
3214 {
3215 return $this->kind;
3216 }
3217 }
3218
3219 class Google_Service_AndroidEnterprise_LocalizedText extends Google_Model
3220 {
3221 protected $internal_gapi_mappings = array(
3222 );
3223 public $locale;
3224 public $text;
3225
3226
3227 public function setLocale($locale)
3228 {
3229 $this->locale = $locale;
3230 }
3231 public function getLocale()
3232 {
3233 return $this->locale;
3234 }
3235 public function setText($text)
3236 {
3237 $this->text = $text;
3238 }
3239 public function getText()
3240 {
3241 return $this->text;
3242 }
3243 }
3244
3245 class Google_Service_AndroidEnterprise_Permission extends Google_Model
3246 {
3247 protected $internal_gapi_mappings = array(
3248 );
3249 public $description;
3250 public $kind;
3251 public $name;
3252 public $permissionId;
3253
3254
3255 public function setDescription($description)
3256 {
3257 $this->description = $description;
3258 }
3259 public function getDescription()
3260 {
3261 return $this->description;
3262 }
3263 public function setKind($kind)
3264 {
3265 $this->kind = $kind;
3266 }
3267 public function getKind()
3268 {
3269 return $this->kind;
3270 }
3271 public function setName($name)
3272 {
3273 $this->name = $name;
3274 }
3275 public function getName()
3276 {
3277 return $this->name;
3278 }
3279 public function setPermissionId($permissionId)
3280 {
3281 $this->permissionId = $permissionId;
3282 }
3283 public function getPermissionId()
3284 {
3285 return $this->permissionId;
3286 }
3287 }
3288
3289 class Google_Service_AndroidEnterprise_Product extends Google_Collection
3290 {
3291 protected $collection_key = 'appVersion';
3292 protected $internal_gapi_mappings = array(
3293 );
3294 protected $appVersionType = 'Google_Service_AndroidEnterprise_AppVersion';
3295 protected $appVersionDataType = 'array';
3296 public $authorName;
3297 public $detailsUrl;
3298 public $distributionChannel;
3299 public $iconUrl;
3300 public $kind;
3301 public $productId;
3302 public $productPricing;
3303 public $requiresContainerApp;
3304 public $title;
3305 public $workDetailsUrl;
3306
3307
3308 public function setAppVersion($appVersion)
3309 {
3310 $this->appVersion = $appVersion;
3311 }
3312 public function getAppVersion()
3313 {
3314 return $this->appVersion;
3315 }
3316 public function setAuthorName($authorName)
3317 {
3318 $this->authorName = $authorName;
3319 }
3320 public function getAuthorName()
3321 {
3322 return $this->authorName;
3323 }
3324 public function setDetailsUrl($detailsUrl)
3325 {
3326 $this->detailsUrl = $detailsUrl;
3327 }
3328 public function getDetailsUrl()
3329 {
3330 return $this->detailsUrl;
3331 }
3332 public function setDistributionChannel($distributionChannel)
3333 {
3334 $this->distributionChannel = $distributionChannel;
3335 }
3336 public function getDistributionChannel()
3337 {
3338 return $this->distributionChannel;
3339 }
3340 public function setIconUrl($iconUrl)
3341 {
3342 $this->iconUrl = $iconUrl;
3343 }
3344 public function getIconUrl()
3345 {
3346 return $this->iconUrl;
3347 }
3348 public function setKind($kind)
3349 {
3350 $this->kind = $kind;
3351 }
3352 public function getKind()
3353 {
3354 return $this->kind;
3355 }
3356 public function setProductId($productId)
3357 {
3358 $this->productId = $productId;
3359 }
3360 public function getProductId()
3361 {
3362 return $this->productId;
3363 }
3364 public function setProductPricing($productPricing)
3365 {
3366 $this->productPricing = $productPricing;
3367 }
3368 public function getProductPricing()
3369 {
3370 return $this->productPricing;
3371 }
3372 public function setRequiresContainerApp($requiresContainerApp)
3373 {
3374 $this->requiresContainerApp = $requiresContainerApp;
3375 }
3376 public function getRequiresContainerApp()
3377 {
3378 return $this->requiresContainerApp;
3379 }
3380 public function setTitle($title)
3381 {
3382 $this->title = $title;
3383 }
3384 public function getTitle()
3385 {
3386 return $this->title;
3387 }
3388 public function setWorkDetailsUrl($workDetailsUrl)
3389 {
3390 $this->workDetailsUrl = $workDetailsUrl;
3391 }
3392 public function getWorkDetailsUrl()
3393 {
3394 return $this->workDetailsUrl;
3395 }
3396 }
3397
3398 class Google_Service_AndroidEnterprise_ProductPermission extends Google_Model
3399 {
3400 protected $internal_gapi_mappings = array(
3401 );
3402 public $permissionId;
3403 public $state;
3404
3405
3406 public function setPermissionId($permissionId)
3407 {
3408 $this->permissionId = $permissionId;
3409 }
3410 public function getPermissionId()
3411 {
3412 return $this->permissionId;
3413 }
3414 public function setState($state)
3415 {
3416 $this->state = $state;
3417 }
3418 public function getState()
3419 {
3420 return $this->state;
3421 }
3422 }
3423
3424 class Google_Service_AndroidEnterprise_ProductPermissions extends Google_Collection
3425 {
3426 protected $collection_key = 'permission';
3427 protected $internal_gapi_mappings = array(
3428 );
3429 public $kind;
3430 protected $permissionType = 'Google_Service_AndroidEnterprise_ProductPermission';
3431 protected $permissionDataType = 'array';
3432 public $productId;
3433
3434
3435 public function setKind($kind)
3436 {
3437 $this->kind = $kind;
3438 }
3439 public function getKind()
3440 {
3441 return $this->kind;
3442 }
3443 public function setPermission($permission)
3444 {
3445 $this->permission = $permission;
3446 }
3447 public function getPermission()
3448 {
3449 return $this->permission;
3450 }
3451 public function setProductId($productId)
3452 {
3453 $this->productId = $productId;
3454 }
3455 public function getProductId()
3456 {
3457 return $this->productId;
3458 }
3459 }
3460
3461 class Google_Service_AndroidEnterprise_ProductSet extends Google_Collection
3462 {
3463 protected $collection_key = 'productId';
3464 protected $internal_gapi_mappings = array(
3465 );
3466 public $kind;
3467 public $productId;
3468
3469
3470 public function setKind($kind)
3471 {
3472 $this->kind = $kind;
3473 }
3474 public function getKind()
3475 {
3476 return $this->kind;
3477 }
3478 public function setProductId($productId)
3479 {
3480 $this->productId = $productId;
3481 }
3482 public function getProductId()
3483 {
3484 return $this->productId;
3485 }
3486 }
3487
3488 class Google_Service_AndroidEnterprise_ProductsApproveRequest extends Google_Model
3489 {
3490 protected $internal_gapi_mappings = array(
3491 );
3492 protected $approvalUrlInfoType = 'Google_Service_AndroidEnterprise_ApprovalUrlInfo';
3493 protected $approvalUrlInfoDataType = '';
3494
3495
3496 public function setApprovalUrlInfo(Google_Service_AndroidEnterprise_ApprovalUrlInfo $approvalUrlInfo)
3497 {
3498 $this->approvalUrlInfo = $approvalUrlInfo;
3499 }
3500 public function getApprovalUrlInfo()
3501 {
3502 return $this->approvalUrlInfo;
3503 }
3504 }
3505
3506 class Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse extends Google_Model
3507 {
3508 protected $internal_gapi_mappings = array(
3509 );
3510 public $url;
3511
3512
3513 public function setUrl($url)
3514 {
3515 $this->url = $url;
3516 }
3517 public function getUrl()
3518 {
3519 return $this->url;
3520 }
3521 }
3522
3523 class Google_Service_AndroidEnterprise_StoreCluster extends Google_Collection
3524 {
3525 protected $collection_key = 'productId';
3526 protected $internal_gapi_mappings = array(
3527 );
3528 public $id;
3529 public $kind;
3530 protected $nameType = 'Google_Service_AndroidEnterprise_LocalizedText';
3531 protected $nameDataType = 'array';
3532 public $orderInPage;
3533 public $productId;
3534
3535
3536 public function setId($id)
3537 {
3538 $this->id = $id;
3539 }
3540 public function getId()
3541 {
3542 return $this->id;
3543 }
3544 public function setKind($kind)
3545 {
3546 $this->kind = $kind;
3547 }
3548 public function getKind()
3549 {
3550 return $this->kind;
3551 }
3552 public function setName($name)
3553 {
3554 $this->name = $name;
3555 }
3556 public function getName()
3557 {
3558 return $this->name;
3559 }
3560 public function setOrderInPage($orderInPage)
3561 {
3562 $this->orderInPage = $orderInPage;
3563 }
3564 public function getOrderInPage()
3565 {
3566 return $this->orderInPage;
3567 }
3568 public function setProductId($productId)
3569 {
3570 $this->productId = $productId;
3571 }
3572 public function getProductId()
3573 {
3574 return $this->productId;
3575 }
3576 }
3577
3578 class Google_Service_AndroidEnterprise_StoreLayout extends Google_Model
3579 {
3580 protected $internal_gapi_mappings = array(
3581 );
3582 public $homepageId;
3583 public $kind;
3584
3585
3586 public function setHomepageId($homepageId)
3587 {
3588 $this->homepageId = $homepageId;
3589 }
3590 public function getHomepageId()
3591 {
3592 return $this->homepageId;
3593 }
3594 public function setKind($kind)
3595 {
3596 $this->kind = $kind;
3597 }
3598 public function getKind()
3599 {
3600 return $this->kind;
3601 }
3602 }
3603
3604 class Google_Service_AndroidEnterprise_StoreLayoutClustersListResponse extends Google_Collection
3605 {
3606 protected $collection_key = 'cluster';
3607 protected $internal_gapi_mappings = array(
3608 );
3609 protected $clusterType = 'Google_Service_AndroidEnterprise_StoreCluster';
3610 protected $clusterDataType = 'array';
3611 public $kind;
3612
3613
3614 public function setCluster($cluster)
3615 {
3616 $this->cluster = $cluster;
3617 }
3618 public function getCluster()
3619 {
3620 return $this->cluster;
3621 }
3622 public function setKind($kind)
3623 {
3624 $this->kind = $kind;
3625 }
3626 public function getKind()
3627 {
3628 return $this->kind;
3629 }
3630 }
3631
3632 class Google_Service_AndroidEnterprise_StoreLayoutPagesListResponse extends Google_Collection
3633 {
3634 protected $collection_key = 'page';
3635 protected $internal_gapi_mappings = array(
3636 );
3637 public $kind;
3638 protected $pageType = 'Google_Service_AndroidEnterprise_StorePage';
3639 protected $pageDataType = 'array';
3640
3641
3642 public function setKind($kind)
3643 {
3644 $this->kind = $kind;
3645 }
3646 public function getKind()
3647 {
3648 return $this->kind;
3649 }
3650 public function setPage($page)
3651 {
3652 $this->page = $page;
3653 }
3654 public function getPage()
3655 {
3656 return $this->page;
3657 }
3658 }
3659
3660 class Google_Service_AndroidEnterprise_StorePage extends Google_Collection
3661 {
3662 protected $collection_key = 'name';
3663 protected $internal_gapi_mappings = array(
3664 );
3665 public $id;
3666 public $kind;
3667 public $link;
3668 protected $nameType = 'Google_Service_AndroidEnterprise_LocalizedText';
3669 protected $nameDataType = 'array';
3670
3671
3672 public function setId($id)
3673 {
3674 $this->id = $id;
3675 }
3676 public function getId()
3677 {
3678 return $this->id;
3679 }
3680 public function setKind($kind)
3681 {
3682 $this->kind = $kind;
3683 }
3684 public function getKind()
3685 {
3686 return $this->kind;
3687 }
3688 public function setLink($link)
3689 {
3690 $this->link = $link;
3691 }
3692 public function getLink()
3693 {
3694 return $this->link;
3695 }
3696 public function setName($name)
3697 {
3698 $this->name = $name;
3699 }
3700 public function getName()
3701 {
3702 return $this->name;
3703 }
3704 }
3705
3706 class Google_Service_AndroidEnterprise_User extends Google_Model
3707 {
3708 protected $internal_gapi_mappings = array(
3709 );
3710 public $id;
3711 public $kind;
3712 public $primaryEmail;
3713
3714
3715 public function setId($id)
3716 {
3717 $this->id = $id;
3718 }
3719 public function getId()
3720 {
3721 return $this->id;
3722 }
3723 public function setKind($kind)
3724 {
3725 $this->kind = $kind;
3726 }
3727 public function getKind()
3728 {
3729 return $this->kind;
3730 }
3731 public function setPrimaryEmail($primaryEmail)
3732 {
3733 $this->primaryEmail = $primaryEmail;
3734 }
3735 public function getPrimaryEmail()
3736 {
3737 return $this->primaryEmail;
3738 }
3739 }
3740
3741 class Google_Service_AndroidEnterprise_UserToken extends Google_Model
3742 {
3743 protected $internal_gapi_mappings = array(
3744 );
3745 public $kind;
3746 public $token;
3747 public $userId;
3748
3749
3750 public function setKind($kind)
3751 {
3752 $this->kind = $kind;
3753 }
3754 public function getKind()
3755 {
3756 return $this->kind;
3757 }
3758 public function setToken($token)
3759 {
3760 $this->token = $token;
3761 }
3762 public function getToken()
3763 {
3764 return $this->token;
3765 }
3766 public function setUserId($userId)
3767 {
3768 $this->userId = $userId;
3769 }
3770 public function getUserId()
3771 {
3772 return $this->userId;
3773 }
3774 }
3775
3776 class Google_Service_AndroidEnterprise_UsersListResponse extends Google_Collection
3777 {
3778 protected $collection_key = 'user';
3779 protected $internal_gapi_mappings = array(
3780 );
3781 public $kind;
3782 protected $userType = 'Google_Service_AndroidEnterprise_User';
3783 protected $userDataType = 'array';
3784
3785
3786 public function setKind($kind)
3787 {
3788 $this->kind = $kind;
3789 }
3790 public function getKind()
3791 {
3792 return $this->kind;
3793 }
3794 public function setUser($user)
3795 {
3796 $this->user = $user;
3797 }
3798 public function getUser()
3799 {
3800 return $this->user;
3801 }
3802 }
3803