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