1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18/**
19 * Service definition for AndroidEnterprise (v1).
20 *
21 * <p>
22 * Manages the deployment of apps to Android for Work users.</p>
23 *
24 * <p>
25 * For more information about this service, see the API
26 * <a href="https://developers.google.com/android/work/play/emm-api" target="_blank">Documentation</a>
27 * </p>
28 *
29 * @author Google, Inc.
30 */
31class Google_Service_AndroidEnterprise extends Google_Service
32{
33  /** Manage corporate Android devices. */
34  const ANDROIDENTERPRISE =
35      "https://www.googleapis.com/auth/androidenterprise";
36
37  public $devices;
38  public $enterprises;
39  public $entitlements;
40  public $grouplicenses;
41  public $grouplicenseusers;
42  public $installs;
43  public $managedconfigurationsfordevice;
44  public $managedconfigurationsforuser;
45  public $managedconfigurationssettings;
46  public $permissions;
47  public $products;
48  public $serviceaccountkeys;
49  public $storelayoutclusters;
50  public $storelayoutpages;
51  public $users;
52  public $webapps;
53
54  /**
55   * Constructs the internal representation of the AndroidEnterprise service.
56   *
57   * @param Google_Client $client
58   */
59  public function __construct(Google_Client $client)
60  {
61    parent::__construct($client);
62    $this->rootUrl = 'https://www.googleapis.com/';
63    $this->servicePath = 'androidenterprise/v1/';
64    $this->batchPath = 'batch/androidenterprise/v1';
65    $this->version = 'v1';
66    $this->serviceName = 'androidenterprise';
67
68    $this->devices = new Google_Service_AndroidEnterprise_Resource_Devices(
69        $this,
70        $this->serviceName,
71        'devices',
72        array(
73          'methods' => array(
74            'get' => array(
75              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}',
76              'httpMethod' => 'GET',
77              'parameters' => array(
78                'enterpriseId' => array(
79                  'location' => 'path',
80                  'type' => 'string',
81                  'required' => true,
82                ),
83                'userId' => array(
84                  'location' => 'path',
85                  'type' => 'string',
86                  'required' => true,
87                ),
88                'deviceId' => array(
89                  'location' => 'path',
90                  'type' => 'string',
91                  'required' => true,
92                ),
93              ),
94            ),'getState' => array(
95              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state',
96              'httpMethod' => 'GET',
97              'parameters' => array(
98                'enterpriseId' => array(
99                  'location' => 'path',
100                  'type' => 'string',
101                  'required' => true,
102                ),
103                'userId' => array(
104                  'location' => 'path',
105                  'type' => 'string',
106                  'required' => true,
107                ),
108                'deviceId' => array(
109                  'location' => 'path',
110                  'type' => 'string',
111                  'required' => true,
112                ),
113              ),
114            ),'list' => array(
115              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices',
116              'httpMethod' => 'GET',
117              'parameters' => array(
118                'enterpriseId' => array(
119                  'location' => 'path',
120                  'type' => 'string',
121                  'required' => true,
122                ),
123                'userId' => array(
124                  'location' => 'path',
125                  'type' => 'string',
126                  'required' => true,
127                ),
128              ),
129            ),'patch' => array(
130              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}',
131              'httpMethod' => 'PATCH',
132              'parameters' => array(
133                'enterpriseId' => array(
134                  'location' => 'path',
135                  'type' => 'string',
136                  'required' => true,
137                ),
138                'userId' => array(
139                  'location' => 'path',
140                  'type' => 'string',
141                  'required' => true,
142                ),
143                'deviceId' => array(
144                  'location' => 'path',
145                  'type' => 'string',
146                  'required' => true,
147                ),
148                'updateMask' => array(
149                  'location' => 'query',
150                  'type' => 'string',
151                ),
152              ),
153            ),'setState' => array(
154              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state',
155              'httpMethod' => 'PUT',
156              'parameters' => array(
157                'enterpriseId' => array(
158                  'location' => 'path',
159                  'type' => 'string',
160                  'required' => true,
161                ),
162                'userId' => array(
163                  'location' => 'path',
164                  'type' => 'string',
165                  'required' => true,
166                ),
167                'deviceId' => array(
168                  'location' => 'path',
169                  'type' => 'string',
170                  'required' => true,
171                ),
172              ),
173            ),'update' => array(
174              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}',
175              'httpMethod' => 'PUT',
176              'parameters' => array(
177                'enterpriseId' => array(
178                  'location' => 'path',
179                  'type' => 'string',
180                  'required' => true,
181                ),
182                'userId' => array(
183                  'location' => 'path',
184                  'type' => 'string',
185                  'required' => true,
186                ),
187                'deviceId' => array(
188                  'location' => 'path',
189                  'type' => 'string',
190                  'required' => true,
191                ),
192                'updateMask' => array(
193                  'location' => 'query',
194                  'type' => 'string',
195                ),
196              ),
197            ),
198          )
199        )
200    );
201    $this->enterprises = new Google_Service_AndroidEnterprise_Resource_Enterprises(
202        $this,
203        $this->serviceName,
204        'enterprises',
205        array(
206          'methods' => array(
207            'acknowledgeNotificationSet' => array(
208              'path' => 'enterprises/acknowledgeNotificationSet',
209              'httpMethod' => 'POST',
210              'parameters' => array(
211                'notificationSetId' => array(
212                  'location' => 'query',
213                  'type' => 'string',
214                ),
215              ),
216            ),'completeSignup' => array(
217              'path' => 'enterprises/completeSignup',
218              'httpMethod' => 'POST',
219              'parameters' => array(
220                'completionToken' => array(
221                  'location' => 'query',
222                  'type' => 'string',
223                ),
224                'enterpriseToken' => array(
225                  'location' => 'query',
226                  'type' => 'string',
227                ),
228              ),
229            ),'createWebToken' => array(
230              'path' => 'enterprises/{enterpriseId}/createWebToken',
231              'httpMethod' => 'POST',
232              'parameters' => array(
233                'enterpriseId' => array(
234                  'location' => 'path',
235                  'type' => 'string',
236                  'required' => true,
237                ),
238              ),
239            ),'enroll' => array(
240              'path' => 'enterprises/enroll',
241              'httpMethod' => 'POST',
242              'parameters' => array(
243                'token' => array(
244                  'location' => 'query',
245                  'type' => 'string',
246                  'required' => true,
247                ),
248              ),
249            ),'generateSignupUrl' => array(
250              'path' => 'enterprises/signupUrl',
251              'httpMethod' => 'POST',
252              'parameters' => array(
253                'callbackUrl' => array(
254                  'location' => 'query',
255                  'type' => 'string',
256                ),
257              ),
258            ),'get' => array(
259              'path' => 'enterprises/{enterpriseId}',
260              'httpMethod' => 'GET',
261              'parameters' => array(
262                'enterpriseId' => array(
263                  'location' => 'path',
264                  'type' => 'string',
265                  'required' => true,
266                ),
267              ),
268            ),'getServiceAccount' => array(
269              'path' => 'enterprises/{enterpriseId}/serviceAccount',
270              'httpMethod' => 'GET',
271              'parameters' => array(
272                'enterpriseId' => array(
273                  'location' => 'path',
274                  'type' => 'string',
275                  'required' => true,
276                ),
277                'keyType' => array(
278                  'location' => 'query',
279                  'type' => 'string',
280                ),
281              ),
282            ),'getStoreLayout' => array(
283              'path' => 'enterprises/{enterpriseId}/storeLayout',
284              'httpMethod' => 'GET',
285              'parameters' => array(
286                'enterpriseId' => array(
287                  'location' => 'path',
288                  'type' => 'string',
289                  'required' => true,
290                ),
291              ),
292            ),'list' => array(
293              'path' => 'enterprises',
294              'httpMethod' => 'GET',
295              'parameters' => array(
296                'domain' => array(
297                  'location' => 'query',
298                  'type' => 'string',
299                  'required' => true,
300                ),
301              ),
302            ),'pullNotificationSet' => array(
303              'path' => 'enterprises/pullNotificationSet',
304              'httpMethod' => 'POST',
305              'parameters' => array(
306                'requestMode' => array(
307                  'location' => 'query',
308                  'type' => 'string',
309                ),
310              ),
311            ),'sendTestPushNotification' => array(
312              'path' => 'enterprises/{enterpriseId}/sendTestPushNotification',
313              'httpMethod' => 'POST',
314              'parameters' => array(
315                'enterpriseId' => array(
316                  'location' => 'path',
317                  'type' => 'string',
318                  'required' => true,
319                ),
320              ),
321            ),'setAccount' => array(
322              'path' => 'enterprises/{enterpriseId}/account',
323              'httpMethod' => 'PUT',
324              'parameters' => array(
325                'enterpriseId' => array(
326                  'location' => 'path',
327                  'type' => 'string',
328                  'required' => true,
329                ),
330              ),
331            ),'setStoreLayout' => array(
332              'path' => 'enterprises/{enterpriseId}/storeLayout',
333              'httpMethod' => 'PUT',
334              'parameters' => array(
335                'enterpriseId' => array(
336                  'location' => 'path',
337                  'type' => 'string',
338                  'required' => true,
339                ),
340              ),
341            ),'unenroll' => array(
342              'path' => 'enterprises/{enterpriseId}/unenroll',
343              'httpMethod' => 'POST',
344              'parameters' => array(
345                'enterpriseId' => array(
346                  'location' => 'path',
347                  'type' => 'string',
348                  'required' => true,
349                ),
350              ),
351            ),
352          )
353        )
354    );
355    $this->entitlements = new Google_Service_AndroidEnterprise_Resource_Entitlements(
356        $this,
357        $this->serviceName,
358        'entitlements',
359        array(
360          'methods' => array(
361            'delete' => array(
362              'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
363              'httpMethod' => 'DELETE',
364              'parameters' => array(
365                'enterpriseId' => array(
366                  'location' => 'path',
367                  'type' => 'string',
368                  'required' => true,
369                ),
370                'userId' => array(
371                  'location' => 'path',
372                  'type' => 'string',
373                  'required' => true,
374                ),
375                'entitlementId' => array(
376                  'location' => 'path',
377                  'type' => 'string',
378                  'required' => true,
379                ),
380              ),
381            ),'get' => array(
382              'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
383              'httpMethod' => 'GET',
384              'parameters' => array(
385                'enterpriseId' => array(
386                  'location' => 'path',
387                  'type' => 'string',
388                  'required' => true,
389                ),
390                'userId' => array(
391                  'location' => 'path',
392                  'type' => 'string',
393                  'required' => true,
394                ),
395                'entitlementId' => array(
396                  'location' => 'path',
397                  'type' => 'string',
398                  'required' => true,
399                ),
400              ),
401            ),'list' => array(
402              'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements',
403              'httpMethod' => 'GET',
404              'parameters' => array(
405                'enterpriseId' => array(
406                  'location' => 'path',
407                  'type' => 'string',
408                  'required' => true,
409                ),
410                'userId' => array(
411                  'location' => 'path',
412                  'type' => 'string',
413                  'required' => true,
414                ),
415              ),
416            ),'patch' => array(
417              'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
418              'httpMethod' => 'PATCH',
419              'parameters' => array(
420                'enterpriseId' => array(
421                  'location' => 'path',
422                  'type' => 'string',
423                  'required' => true,
424                ),
425                'userId' => array(
426                  'location' => 'path',
427                  'type' => 'string',
428                  'required' => true,
429                ),
430                'entitlementId' => array(
431                  'location' => 'path',
432                  'type' => 'string',
433                  'required' => true,
434                ),
435                'install' => array(
436                  'location' => 'query',
437                  'type' => 'boolean',
438                ),
439              ),
440            ),'update' => array(
441              'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}',
442              'httpMethod' => 'PUT',
443              'parameters' => array(
444                'enterpriseId' => array(
445                  'location' => 'path',
446                  'type' => 'string',
447                  'required' => true,
448                ),
449                'userId' => array(
450                  'location' => 'path',
451                  'type' => 'string',
452                  'required' => true,
453                ),
454                'entitlementId' => array(
455                  'location' => 'path',
456                  'type' => 'string',
457                  'required' => true,
458                ),
459                'install' => array(
460                  'location' => 'query',
461                  'type' => 'boolean',
462                ),
463              ),
464            ),
465          )
466        )
467    );
468    $this->grouplicenses = new Google_Service_AndroidEnterprise_Resource_Grouplicenses(
469        $this,
470        $this->serviceName,
471        'grouplicenses',
472        array(
473          'methods' => array(
474            'get' => array(
475              'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}',
476              'httpMethod' => 'GET',
477              'parameters' => array(
478                'enterpriseId' => array(
479                  'location' => 'path',
480                  'type' => 'string',
481                  'required' => true,
482                ),
483                'groupLicenseId' => array(
484                  'location' => 'path',
485                  'type' => 'string',
486                  'required' => true,
487                ),
488              ),
489            ),'list' => array(
490              'path' => 'enterprises/{enterpriseId}/groupLicenses',
491              'httpMethod' => 'GET',
492              'parameters' => array(
493                'enterpriseId' => array(
494                  'location' => 'path',
495                  'type' => 'string',
496                  'required' => true,
497                ),
498              ),
499            ),
500          )
501        )
502    );
503    $this->grouplicenseusers = new Google_Service_AndroidEnterprise_Resource_Grouplicenseusers(
504        $this,
505        $this->serviceName,
506        'grouplicenseusers',
507        array(
508          'methods' => array(
509            'list' => array(
510              'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users',
511              'httpMethod' => 'GET',
512              'parameters' => array(
513                'enterpriseId' => array(
514                  'location' => 'path',
515                  'type' => 'string',
516                  'required' => true,
517                ),
518                'groupLicenseId' => array(
519                  'location' => 'path',
520                  'type' => 'string',
521                  'required' => true,
522                ),
523              ),
524            ),
525          )
526        )
527    );
528    $this->installs = new Google_Service_AndroidEnterprise_Resource_Installs(
529        $this,
530        $this->serviceName,
531        'installs',
532        array(
533          'methods' => array(
534            'delete' => array(
535              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
536              'httpMethod' => 'DELETE',
537              'parameters' => array(
538                'enterpriseId' => array(
539                  'location' => 'path',
540                  'type' => 'string',
541                  'required' => true,
542                ),
543                'userId' => array(
544                  'location' => 'path',
545                  'type' => 'string',
546                  'required' => true,
547                ),
548                'deviceId' => array(
549                  'location' => 'path',
550                  'type' => 'string',
551                  'required' => true,
552                ),
553                'installId' => array(
554                  'location' => 'path',
555                  'type' => 'string',
556                  'required' => true,
557                ),
558              ),
559            ),'get' => array(
560              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
561              'httpMethod' => 'GET',
562              'parameters' => array(
563                'enterpriseId' => array(
564                  'location' => 'path',
565                  'type' => 'string',
566                  'required' => true,
567                ),
568                'userId' => array(
569                  'location' => 'path',
570                  'type' => 'string',
571                  'required' => true,
572                ),
573                'deviceId' => array(
574                  'location' => 'path',
575                  'type' => 'string',
576                  'required' => true,
577                ),
578                'installId' => array(
579                  'location' => 'path',
580                  'type' => 'string',
581                  'required' => true,
582                ),
583              ),
584            ),'list' => array(
585              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs',
586              'httpMethod' => 'GET',
587              'parameters' => array(
588                'enterpriseId' => array(
589                  'location' => 'path',
590                  'type' => 'string',
591                  'required' => true,
592                ),
593                'userId' => array(
594                  'location' => 'path',
595                  'type' => 'string',
596                  'required' => true,
597                ),
598                'deviceId' => array(
599                  'location' => 'path',
600                  'type' => 'string',
601                  'required' => true,
602                ),
603              ),
604            ),'patch' => array(
605              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
606              'httpMethod' => 'PATCH',
607              'parameters' => array(
608                'enterpriseId' => array(
609                  'location' => 'path',
610                  'type' => 'string',
611                  'required' => true,
612                ),
613                'userId' => array(
614                  'location' => 'path',
615                  'type' => 'string',
616                  'required' => true,
617                ),
618                'deviceId' => array(
619                  'location' => 'path',
620                  'type' => 'string',
621                  'required' => true,
622                ),
623                'installId' => array(
624                  'location' => 'path',
625                  'type' => 'string',
626                  'required' => true,
627                ),
628              ),
629            ),'update' => array(
630              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}',
631              'httpMethod' => 'PUT',
632              'parameters' => array(
633                'enterpriseId' => array(
634                  'location' => 'path',
635                  'type' => 'string',
636                  'required' => true,
637                ),
638                'userId' => array(
639                  'location' => 'path',
640                  'type' => 'string',
641                  'required' => true,
642                ),
643                'deviceId' => array(
644                  'location' => 'path',
645                  'type' => 'string',
646                  'required' => true,
647                ),
648                'installId' => array(
649                  'location' => 'path',
650                  'type' => 'string',
651                  'required' => true,
652                ),
653              ),
654            ),
655          )
656        )
657    );
658    $this->managedconfigurationsfordevice = new Google_Service_AndroidEnterprise_Resource_Managedconfigurationsfordevice(
659        $this,
660        $this->serviceName,
661        'managedconfigurationsfordevice',
662        array(
663          'methods' => array(
664            'delete' => array(
665              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}',
666              'httpMethod' => 'DELETE',
667              'parameters' => array(
668                'enterpriseId' => array(
669                  'location' => 'path',
670                  'type' => 'string',
671                  'required' => true,
672                ),
673                'userId' => array(
674                  'location' => 'path',
675                  'type' => 'string',
676                  'required' => true,
677                ),
678                'deviceId' => array(
679                  'location' => 'path',
680                  'type' => 'string',
681                  'required' => true,
682                ),
683                'managedConfigurationForDeviceId' => array(
684                  'location' => 'path',
685                  'type' => 'string',
686                  'required' => true,
687                ),
688              ),
689            ),'get' => array(
690              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}',
691              'httpMethod' => 'GET',
692              'parameters' => array(
693                'enterpriseId' => array(
694                  'location' => 'path',
695                  'type' => 'string',
696                  'required' => true,
697                ),
698                'userId' => array(
699                  'location' => 'path',
700                  'type' => 'string',
701                  'required' => true,
702                ),
703                'deviceId' => array(
704                  'location' => 'path',
705                  'type' => 'string',
706                  'required' => true,
707                ),
708                'managedConfigurationForDeviceId' => array(
709                  'location' => 'path',
710                  'type' => 'string',
711                  'required' => true,
712                ),
713              ),
714            ),'list' => array(
715              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice',
716              'httpMethod' => 'GET',
717              'parameters' => array(
718                'enterpriseId' => array(
719                  'location' => 'path',
720                  'type' => 'string',
721                  'required' => true,
722                ),
723                'userId' => array(
724                  'location' => 'path',
725                  'type' => 'string',
726                  'required' => true,
727                ),
728                'deviceId' => array(
729                  'location' => 'path',
730                  'type' => 'string',
731                  'required' => true,
732                ),
733              ),
734            ),'patch' => array(
735              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}',
736              'httpMethod' => 'PATCH',
737              'parameters' => array(
738                'enterpriseId' => array(
739                  'location' => 'path',
740                  'type' => 'string',
741                  'required' => true,
742                ),
743                'userId' => array(
744                  'location' => 'path',
745                  'type' => 'string',
746                  'required' => true,
747                ),
748                'deviceId' => array(
749                  'location' => 'path',
750                  'type' => 'string',
751                  'required' => true,
752                ),
753                'managedConfigurationForDeviceId' => array(
754                  'location' => 'path',
755                  'type' => 'string',
756                  'required' => true,
757                ),
758              ),
759            ),'update' => array(
760              'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}',
761              'httpMethod' => 'PUT',
762              'parameters' => array(
763                'enterpriseId' => array(
764                  'location' => 'path',
765                  'type' => 'string',
766                  'required' => true,
767                ),
768                'userId' => array(
769                  'location' => 'path',
770                  'type' => 'string',
771                  'required' => true,
772                ),
773                'deviceId' => array(
774                  'location' => 'path',
775                  'type' => 'string',
776                  'required' => true,
777                ),
778                'managedConfigurationForDeviceId' => array(
779                  'location' => 'path',
780                  'type' => 'string',
781                  'required' => true,
782                ),
783              ),
784            ),
785          )
786        )
787    );
788    $this->managedconfigurationsforuser = new Google_Service_AndroidEnterprise_Resource_Managedconfigurationsforuser(
789        $this,
790        $this->serviceName,
791        'managedconfigurationsforuser',
792        array(
793          'methods' => array(
794            'delete' => array(
795              'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}',
796              'httpMethod' => 'DELETE',
797              'parameters' => array(
798                'enterpriseId' => array(
799                  'location' => 'path',
800                  'type' => 'string',
801                  'required' => true,
802                ),
803                'userId' => array(
804                  'location' => 'path',
805                  'type' => 'string',
806                  'required' => true,
807                ),
808                'managedConfigurationForUserId' => array(
809                  'location' => 'path',
810                  'type' => 'string',
811                  'required' => true,
812                ),
813              ),
814            ),'get' => array(
815              'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}',
816              'httpMethod' => 'GET',
817              'parameters' => array(
818                'enterpriseId' => array(
819                  'location' => 'path',
820                  'type' => 'string',
821                  'required' => true,
822                ),
823                'userId' => array(
824                  'location' => 'path',
825                  'type' => 'string',
826                  'required' => true,
827                ),
828                'managedConfigurationForUserId' => array(
829                  'location' => 'path',
830                  'type' => 'string',
831                  'required' => true,
832                ),
833              ),
834            ),'list' => array(
835              'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser',
836              'httpMethod' => 'GET',
837              'parameters' => array(
838                'enterpriseId' => array(
839                  'location' => 'path',
840                  'type' => 'string',
841                  'required' => true,
842                ),
843                'userId' => array(
844                  'location' => 'path',
845                  'type' => 'string',
846                  'required' => true,
847                ),
848              ),
849            ),'patch' => array(
850              'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}',
851              'httpMethod' => 'PATCH',
852              'parameters' => array(
853                'enterpriseId' => array(
854                  'location' => 'path',
855                  'type' => 'string',
856                  'required' => true,
857                ),
858                'userId' => array(
859                  'location' => 'path',
860                  'type' => 'string',
861                  'required' => true,
862                ),
863                'managedConfigurationForUserId' => array(
864                  'location' => 'path',
865                  'type' => 'string',
866                  'required' => true,
867                ),
868              ),
869            ),'update' => array(
870              'path' => 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}',
871              'httpMethod' => 'PUT',
872              'parameters' => array(
873                'enterpriseId' => array(
874                  'location' => 'path',
875                  'type' => 'string',
876                  'required' => true,
877                ),
878                'userId' => array(
879                  'location' => 'path',
880                  'type' => 'string',
881                  'required' => true,
882                ),
883                'managedConfigurationForUserId' => array(
884                  'location' => 'path',
885                  'type' => 'string',
886                  'required' => true,
887                ),
888              ),
889            ),
890          )
891        )
892    );
893    $this->managedconfigurationssettings = new Google_Service_AndroidEnterprise_Resource_Managedconfigurationssettings(
894        $this,
895        $this->serviceName,
896        'managedconfigurationssettings',
897        array(
898          'methods' => array(
899            'list' => array(
900              'path' => 'enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings',
901              'httpMethod' => 'GET',
902              'parameters' => array(
903                'enterpriseId' => array(
904                  'location' => 'path',
905                  'type' => 'string',
906                  'required' => true,
907                ),
908                'productId' => array(
909                  'location' => 'path',
910                  'type' => 'string',
911                  'required' => true,
912                ),
913              ),
914            ),
915          )
916        )
917    );
918    $this->permissions = new Google_Service_AndroidEnterprise_Resource_Permissions(
919        $this,
920        $this->serviceName,
921        'permissions',
922        array(
923          'methods' => array(
924            'get' => array(
925              'path' => 'permissions/{permissionId}',
926              'httpMethod' => 'GET',
927              'parameters' => array(
928                'permissionId' => array(
929                  'location' => 'path',
930                  'type' => 'string',
931                  'required' => true,
932                ),
933                'language' => array(
934                  'location' => 'query',
935                  'type' => 'string',
936                ),
937              ),
938            ),
939          )
940        )
941    );
942    $this->products = new Google_Service_AndroidEnterprise_Resource_Products(
943        $this,
944        $this->serviceName,
945        'products',
946        array(
947          'methods' => array(
948            'approve' => array(
949              'path' => 'enterprises/{enterpriseId}/products/{productId}/approve',
950              'httpMethod' => 'POST',
951              'parameters' => array(
952                'enterpriseId' => array(
953                  'location' => 'path',
954                  'type' => 'string',
955                  'required' => true,
956                ),
957                'productId' => array(
958                  'location' => 'path',
959                  'type' => 'string',
960                  'required' => true,
961                ),
962              ),
963            ),'generateApprovalUrl' => array(
964              'path' => 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl',
965              'httpMethod' => 'POST',
966              'parameters' => array(
967                'enterpriseId' => array(
968                  'location' => 'path',
969                  'type' => 'string',
970                  'required' => true,
971                ),
972                'productId' => array(
973                  'location' => 'path',
974                  'type' => 'string',
975                  'required' => true,
976                ),
977                'languageCode' => array(
978                  'location' => 'query',
979                  'type' => 'string',
980                ),
981              ),
982            ),'get' => array(
983              'path' => 'enterprises/{enterpriseId}/products/{productId}',
984              'httpMethod' => 'GET',
985              'parameters' => array(
986                'enterpriseId' => array(
987                  'location' => 'path',
988                  'type' => 'string',
989                  'required' => true,
990                ),
991                'productId' => array(
992                  'location' => 'path',
993                  'type' => 'string',
994                  'required' => true,
995                ),
996                'language' => array(
997                  'location' => 'query',
998                  'type' => 'string',
999                ),
1000              ),
1001            ),'getAppRestrictionsSchema' => array(
1002              'path' => 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema',
1003              'httpMethod' => 'GET',
1004              'parameters' => array(
1005                'enterpriseId' => array(
1006                  'location' => 'path',
1007                  'type' => 'string',
1008                  'required' => true,
1009                ),
1010                'productId' => array(
1011                  'location' => 'path',
1012                  'type' => 'string',
1013                  'required' => true,
1014                ),
1015                'language' => array(
1016                  'location' => 'query',
1017                  'type' => 'string',
1018                ),
1019              ),
1020            ),'getPermissions' => array(
1021              'path' => 'enterprises/{enterpriseId}/products/{productId}/permissions',
1022              'httpMethod' => 'GET',
1023              'parameters' => array(
1024                'enterpriseId' => array(
1025                  'location' => 'path',
1026                  'type' => 'string',
1027                  'required' => true,
1028                ),
1029                'productId' => array(
1030                  'location' => 'path',
1031                  'type' => 'string',
1032                  'required' => true,
1033                ),
1034              ),
1035            ),'list' => array(
1036              'path' => 'enterprises/{enterpriseId}/products',
1037              'httpMethod' => 'GET',
1038              'parameters' => array(
1039                'enterpriseId' => array(
1040                  'location' => 'path',
1041                  'type' => 'string',
1042                  'required' => true,
1043                ),
1044                'approved' => array(
1045                  'location' => 'query',
1046                  'type' => 'boolean',
1047                ),
1048                'language' => array(
1049                  'location' => 'query',
1050                  'type' => 'string',
1051                ),
1052                'maxResults' => array(
1053                  'location' => 'query',
1054                  'type' => 'integer',
1055                ),
1056                'query' => array(
1057                  'location' => 'query',
1058                  'type' => 'string',
1059                ),
1060                'token' => array(
1061                  'location' => 'query',
1062                  'type' => 'string',
1063                ),
1064              ),
1065            ),'unapprove' => array(
1066              'path' => 'enterprises/{enterpriseId}/products/{productId}/unapprove',
1067              'httpMethod' => 'POST',
1068              'parameters' => array(
1069                'enterpriseId' => array(
1070                  'location' => 'path',
1071                  'type' => 'string',
1072                  'required' => true,
1073                ),
1074                'productId' => array(
1075                  'location' => 'path',
1076                  'type' => 'string',
1077                  'required' => true,
1078                ),
1079              ),
1080            ),
1081          )
1082        )
1083    );
1084    $this->serviceaccountkeys = new Google_Service_AndroidEnterprise_Resource_Serviceaccountkeys(
1085        $this,
1086        $this->serviceName,
1087        'serviceaccountkeys',
1088        array(
1089          'methods' => array(
1090            'delete' => array(
1091              'path' => 'enterprises/{enterpriseId}/serviceAccountKeys/{keyId}',
1092              'httpMethod' => 'DELETE',
1093              'parameters' => array(
1094                'enterpriseId' => array(
1095                  'location' => 'path',
1096                  'type' => 'string',
1097                  'required' => true,
1098                ),
1099                'keyId' => array(
1100                  'location' => 'path',
1101                  'type' => 'string',
1102                  'required' => true,
1103                ),
1104              ),
1105            ),'insert' => array(
1106              'path' => 'enterprises/{enterpriseId}/serviceAccountKeys',
1107              'httpMethod' => 'POST',
1108              'parameters' => array(
1109                'enterpriseId' => array(
1110                  'location' => 'path',
1111                  'type' => 'string',
1112                  'required' => true,
1113                ),
1114              ),
1115            ),'list' => array(
1116              'path' => 'enterprises/{enterpriseId}/serviceAccountKeys',
1117              'httpMethod' => 'GET',
1118              'parameters' => array(
1119                'enterpriseId' => array(
1120                  'location' => 'path',
1121                  'type' => 'string',
1122                  'required' => true,
1123                ),
1124              ),
1125            ),
1126          )
1127        )
1128    );
1129    $this->storelayoutclusters = new Google_Service_AndroidEnterprise_Resource_Storelayoutclusters(
1130        $this,
1131        $this->serviceName,
1132        'storelayoutclusters',
1133        array(
1134          'methods' => array(
1135            'delete' => array(
1136              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
1137              'httpMethod' => 'DELETE',
1138              'parameters' => array(
1139                'enterpriseId' => array(
1140                  'location' => 'path',
1141                  'type' => 'string',
1142                  'required' => true,
1143                ),
1144                'pageId' => array(
1145                  'location' => 'path',
1146                  'type' => 'string',
1147                  'required' => true,
1148                ),
1149                'clusterId' => array(
1150                  'location' => 'path',
1151                  'type' => 'string',
1152                  'required' => true,
1153                ),
1154              ),
1155            ),'get' => array(
1156              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
1157              'httpMethod' => 'GET',
1158              'parameters' => array(
1159                'enterpriseId' => array(
1160                  'location' => 'path',
1161                  'type' => 'string',
1162                  'required' => true,
1163                ),
1164                'pageId' => array(
1165                  'location' => 'path',
1166                  'type' => 'string',
1167                  'required' => true,
1168                ),
1169                'clusterId' => array(
1170                  'location' => 'path',
1171                  'type' => 'string',
1172                  'required' => true,
1173                ),
1174              ),
1175            ),'insert' => array(
1176              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters',
1177              'httpMethod' => 'POST',
1178              'parameters' => array(
1179                'enterpriseId' => array(
1180                  'location' => 'path',
1181                  'type' => 'string',
1182                  'required' => true,
1183                ),
1184                'pageId' => array(
1185                  'location' => 'path',
1186                  'type' => 'string',
1187                  'required' => true,
1188                ),
1189              ),
1190            ),'list' => array(
1191              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters',
1192              'httpMethod' => 'GET',
1193              'parameters' => array(
1194                'enterpriseId' => array(
1195                  'location' => 'path',
1196                  'type' => 'string',
1197                  'required' => true,
1198                ),
1199                'pageId' => array(
1200                  'location' => 'path',
1201                  'type' => 'string',
1202                  'required' => true,
1203                ),
1204              ),
1205            ),'patch' => array(
1206              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
1207              'httpMethod' => 'PATCH',
1208              'parameters' => array(
1209                'enterpriseId' => array(
1210                  'location' => 'path',
1211                  'type' => 'string',
1212                  'required' => true,
1213                ),
1214                'pageId' => array(
1215                  'location' => 'path',
1216                  'type' => 'string',
1217                  'required' => true,
1218                ),
1219                'clusterId' => array(
1220                  'location' => 'path',
1221                  'type' => 'string',
1222                  'required' => true,
1223                ),
1224              ),
1225            ),'update' => array(
1226              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}',
1227              'httpMethod' => 'PUT',
1228              'parameters' => array(
1229                'enterpriseId' => array(
1230                  'location' => 'path',
1231                  'type' => 'string',
1232                  'required' => true,
1233                ),
1234                'pageId' => array(
1235                  'location' => 'path',
1236                  'type' => 'string',
1237                  'required' => true,
1238                ),
1239                'clusterId' => array(
1240                  'location' => 'path',
1241                  'type' => 'string',
1242                  'required' => true,
1243                ),
1244              ),
1245            ),
1246          )
1247        )
1248    );
1249    $this->storelayoutpages = new Google_Service_AndroidEnterprise_Resource_Storelayoutpages(
1250        $this,
1251        $this->serviceName,
1252        'storelayoutpages',
1253        array(
1254          'methods' => array(
1255            'delete' => array(
1256              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
1257              'httpMethod' => 'DELETE',
1258              'parameters' => array(
1259                'enterpriseId' => array(
1260                  'location' => 'path',
1261                  'type' => 'string',
1262                  'required' => true,
1263                ),
1264                'pageId' => array(
1265                  'location' => 'path',
1266                  'type' => 'string',
1267                  'required' => true,
1268                ),
1269              ),
1270            ),'get' => array(
1271              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
1272              'httpMethod' => 'GET',
1273              'parameters' => array(
1274                'enterpriseId' => array(
1275                  'location' => 'path',
1276                  'type' => 'string',
1277                  'required' => true,
1278                ),
1279                'pageId' => array(
1280                  'location' => 'path',
1281                  'type' => 'string',
1282                  'required' => true,
1283                ),
1284              ),
1285            ),'insert' => array(
1286              'path' => 'enterprises/{enterpriseId}/storeLayout/pages',
1287              'httpMethod' => 'POST',
1288              'parameters' => array(
1289                'enterpriseId' => array(
1290                  'location' => 'path',
1291                  'type' => 'string',
1292                  'required' => true,
1293                ),
1294              ),
1295            ),'list' => array(
1296              'path' => 'enterprises/{enterpriseId}/storeLayout/pages',
1297              'httpMethod' => 'GET',
1298              'parameters' => array(
1299                'enterpriseId' => array(
1300                  'location' => 'path',
1301                  'type' => 'string',
1302                  'required' => true,
1303                ),
1304              ),
1305            ),'patch' => array(
1306              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
1307              'httpMethod' => 'PATCH',
1308              'parameters' => array(
1309                'enterpriseId' => array(
1310                  'location' => 'path',
1311                  'type' => 'string',
1312                  'required' => true,
1313                ),
1314                'pageId' => array(
1315                  'location' => 'path',
1316                  'type' => 'string',
1317                  'required' => true,
1318                ),
1319              ),
1320            ),'update' => array(
1321              'path' => 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}',
1322              'httpMethod' => 'PUT',
1323              'parameters' => array(
1324                'enterpriseId' => array(
1325                  'location' => 'path',
1326                  'type' => 'string',
1327                  'required' => true,
1328                ),
1329                'pageId' => array(
1330                  'location' => 'path',
1331                  'type' => 'string',
1332                  'required' => true,
1333                ),
1334              ),
1335            ),
1336          )
1337        )
1338    );
1339    $this->users = new Google_Service_AndroidEnterprise_Resource_Users(
1340        $this,
1341        $this->serviceName,
1342        'users',
1343        array(
1344          'methods' => array(
1345            'delete' => array(
1346              'path' => 'enterprises/{enterpriseId}/users/{userId}',
1347              'httpMethod' => 'DELETE',
1348              'parameters' => array(
1349                'enterpriseId' => array(
1350                  'location' => 'path',
1351                  'type' => 'string',
1352                  'required' => true,
1353                ),
1354                'userId' => array(
1355                  'location' => 'path',
1356                  'type' => 'string',
1357                  'required' => true,
1358                ),
1359              ),
1360            ),'generateAuthenticationToken' => array(
1361              'path' => 'enterprises/{enterpriseId}/users/{userId}/authenticationToken',
1362              'httpMethod' => 'POST',
1363              'parameters' => array(
1364                'enterpriseId' => array(
1365                  'location' => 'path',
1366                  'type' => 'string',
1367                  'required' => true,
1368                ),
1369                'userId' => array(
1370                  'location' => 'path',
1371                  'type' => 'string',
1372                  'required' => true,
1373                ),
1374              ),
1375            ),'generateToken' => array(
1376              'path' => 'enterprises/{enterpriseId}/users/{userId}/token',
1377              'httpMethod' => 'POST',
1378              'parameters' => array(
1379                'enterpriseId' => array(
1380                  'location' => 'path',
1381                  'type' => 'string',
1382                  'required' => true,
1383                ),
1384                'userId' => array(
1385                  'location' => 'path',
1386                  'type' => 'string',
1387                  'required' => true,
1388                ),
1389              ),
1390            ),'get' => array(
1391              'path' => 'enterprises/{enterpriseId}/users/{userId}',
1392              'httpMethod' => 'GET',
1393              'parameters' => array(
1394                'enterpriseId' => array(
1395                  'location' => 'path',
1396                  'type' => 'string',
1397                  'required' => true,
1398                ),
1399                'userId' => array(
1400                  'location' => 'path',
1401                  'type' => 'string',
1402                  'required' => true,
1403                ),
1404              ),
1405            ),'getAvailableProductSet' => array(
1406              'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet',
1407              'httpMethod' => 'GET',
1408              'parameters' => array(
1409                'enterpriseId' => array(
1410                  'location' => 'path',
1411                  'type' => 'string',
1412                  'required' => true,
1413                ),
1414                'userId' => array(
1415                  'location' => 'path',
1416                  'type' => 'string',
1417                  'required' => true,
1418                ),
1419              ),
1420            ),'insert' => array(
1421              'path' => 'enterprises/{enterpriseId}/users',
1422              'httpMethod' => 'POST',
1423              'parameters' => array(
1424                'enterpriseId' => array(
1425                  'location' => 'path',
1426                  'type' => 'string',
1427                  'required' => true,
1428                ),
1429              ),
1430            ),'list' => array(
1431              'path' => 'enterprises/{enterpriseId}/users',
1432              'httpMethod' => 'GET',
1433              'parameters' => array(
1434                'enterpriseId' => array(
1435                  'location' => 'path',
1436                  'type' => 'string',
1437                  'required' => true,
1438                ),
1439                'email' => array(
1440                  'location' => 'query',
1441                  'type' => 'string',
1442                  'required' => true,
1443                ),
1444              ),
1445            ),'patch' => array(
1446              'path' => 'enterprises/{enterpriseId}/users/{userId}',
1447              'httpMethod' => 'PATCH',
1448              'parameters' => array(
1449                'enterpriseId' => array(
1450                  'location' => 'path',
1451                  'type' => 'string',
1452                  'required' => true,
1453                ),
1454                'userId' => array(
1455                  'location' => 'path',
1456                  'type' => 'string',
1457                  'required' => true,
1458                ),
1459              ),
1460            ),'revokeDeviceAccess' => array(
1461              'path' => 'enterprises/{enterpriseId}/users/{userId}/deviceAccess',
1462              'httpMethod' => 'DELETE',
1463              'parameters' => array(
1464                'enterpriseId' => array(
1465                  'location' => 'path',
1466                  'type' => 'string',
1467                  'required' => true,
1468                ),
1469                'userId' => array(
1470                  'location' => 'path',
1471                  'type' => 'string',
1472                  'required' => true,
1473                ),
1474              ),
1475            ),'revokeToken' => array(
1476              'path' => 'enterprises/{enterpriseId}/users/{userId}/token',
1477              'httpMethod' => 'DELETE',
1478              'parameters' => array(
1479                'enterpriseId' => array(
1480                  'location' => 'path',
1481                  'type' => 'string',
1482                  'required' => true,
1483                ),
1484                'userId' => array(
1485                  'location' => 'path',
1486                  'type' => 'string',
1487                  'required' => true,
1488                ),
1489              ),
1490            ),'setAvailableProductSet' => array(
1491              'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet',
1492              'httpMethod' => 'PUT',
1493              'parameters' => array(
1494                'enterpriseId' => array(
1495                  'location' => 'path',
1496                  'type' => 'string',
1497                  'required' => true,
1498                ),
1499                'userId' => array(
1500                  'location' => 'path',
1501                  'type' => 'string',
1502                  'required' => true,
1503                ),
1504              ),
1505            ),'update' => array(
1506              'path' => 'enterprises/{enterpriseId}/users/{userId}',
1507              'httpMethod' => 'PUT',
1508              'parameters' => array(
1509                'enterpriseId' => array(
1510                  'location' => 'path',
1511                  'type' => 'string',
1512                  'required' => true,
1513                ),
1514                'userId' => array(
1515                  'location' => 'path',
1516                  'type' => 'string',
1517                  'required' => true,
1518                ),
1519              ),
1520            ),
1521          )
1522        )
1523    );
1524    $this->webapps = new Google_Service_AndroidEnterprise_Resource_Webapps(
1525        $this,
1526        $this->serviceName,
1527        'webapps',
1528        array(
1529          'methods' => array(
1530            'delete' => array(
1531              'path' => 'enterprises/{enterpriseId}/webApps/{webAppId}',
1532              'httpMethod' => 'DELETE',
1533              'parameters' => array(
1534                'enterpriseId' => array(
1535                  'location' => 'path',
1536                  'type' => 'string',
1537                  'required' => true,
1538                ),
1539                'webAppId' => array(
1540                  'location' => 'path',
1541                  'type' => 'string',
1542                  'required' => true,
1543                ),
1544              ),
1545            ),'get' => array(
1546              'path' => 'enterprises/{enterpriseId}/webApps/{webAppId}',
1547              'httpMethod' => 'GET',
1548              'parameters' => array(
1549                'enterpriseId' => array(
1550                  'location' => 'path',
1551                  'type' => 'string',
1552                  'required' => true,
1553                ),
1554                'webAppId' => array(
1555                  'location' => 'path',
1556                  'type' => 'string',
1557                  'required' => true,
1558                ),
1559              ),
1560            ),'insert' => array(
1561              'path' => 'enterprises/{enterpriseId}/webApps',
1562              'httpMethod' => 'POST',
1563              'parameters' => array(
1564                'enterpriseId' => array(
1565                  'location' => 'path',
1566                  'type' => 'string',
1567                  'required' => true,
1568                ),
1569              ),
1570            ),'list' => array(
1571              'path' => 'enterprises/{enterpriseId}/webApps',
1572              'httpMethod' => 'GET',
1573              'parameters' => array(
1574                'enterpriseId' => array(
1575                  'location' => 'path',
1576                  'type' => 'string',
1577                  'required' => true,
1578                ),
1579              ),
1580            ),'patch' => array(
1581              'path' => 'enterprises/{enterpriseId}/webApps/{webAppId}',
1582              'httpMethod' => 'PATCH',
1583              'parameters' => array(
1584                'enterpriseId' => array(
1585                  'location' => 'path',
1586                  'type' => 'string',
1587                  'required' => true,
1588                ),
1589                'webAppId' => array(
1590                  'location' => 'path',
1591                  'type' => 'string',
1592                  'required' => true,
1593                ),
1594              ),
1595            ),'update' => array(
1596              'path' => 'enterprises/{enterpriseId}/webApps/{webAppId}',
1597              'httpMethod' => 'PUT',
1598              'parameters' => array(
1599                'enterpriseId' => array(
1600                  'location' => 'path',
1601                  'type' => 'string',
1602                  'required' => true,
1603                ),
1604                'webAppId' => array(
1605                  'location' => 'path',
1606                  'type' => 'string',
1607                  'required' => true,
1608                ),
1609              ),
1610            ),
1611          )
1612        )
1613    );
1614  }
1615}
1616