OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/androidenterprise": { | 5 "https://www.googleapis.com/auth/androidenterprise": { |
6 "description": "Manage corporate Android devices" | 6 "description": "Manage corporate Android devices" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "/androidenterprise/v1/", | 11 "basePath": "/androidenterprise/v1/", |
12 "baseUrl": "https://www.googleapis.com/androidenterprise/v1/", | 12 "baseUrl": "https://www.googleapis.com/androidenterprise/v1/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "Android Enterprise", | 14 "canonicalName": "Android Enterprise", |
15 "description": "Manages the deployment of apps to Android for Work users.", | 15 "description": "Manages the deployment of apps to Android for Work users.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://developers.google.com/android/work/play/emm-ap
i", | 17 "documentationLink": "https://developers.google.com/android/work/play/emm-ap
i", |
18 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/H9duqVdKTSndf2JIlZN75jlKC_0\"", | 18 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Ivm64IXDz4phaRjFyOAAO1c8CT4\"", |
19 "icons": { | 19 "icons": { |
20 "x16": "https://www.google.com/images/icons/product/android-16.png", | 20 "x16": "https://www.google.com/images/icons/product/android-16.png", |
21 "x32": "https://www.google.com/images/icons/product/android-32.png" | 21 "x32": "https://www.google.com/images/icons/product/android-32.png" |
22 }, | 22 }, |
23 "id": "androidenterprise:v1", | 23 "id": "androidenterprise:v1", |
24 "kind": "discovery#restDescription", | 24 "kind": "discovery#restDescription", |
25 "name": "androidenterprise", | 25 "name": "androidenterprise", |
26 "ownerDomain": "google.com", | 26 "ownerDomain": "google.com", |
27 "ownerName": "Google", | 27 "ownerName": "Google", |
28 "parameters": { | 28 "parameters": { |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 } | 369 } |
370 }, | 370 }, |
371 "path": "enterprises/{enterpriseId}", | 371 "path": "enterprises/{enterpriseId}", |
372 "response": { | 372 "response": { |
373 "$ref": "Enterprise" | 373 "$ref": "Enterprise" |
374 }, | 374 }, |
375 "scopes": [ | 375 "scopes": [ |
376 "https://www.googleapis.com/auth/androidenterprise" | 376 "https://www.googleapis.com/auth/androidenterprise" |
377 ] | 377 ] |
378 }, | 378 }, |
| 379 "getAndroidDevicePolicyConfig": { |
| 380 "description": "Returns the Android Device Policy config res
ource.", |
| 381 "httpMethod": "GET", |
| 382 "id": "androidenterprise.enterprises.getAndroidDevicePolicyC
onfig", |
| 383 "parameterOrder": [ |
| 384 "enterpriseId" |
| 385 ], |
| 386 "parameters": { |
| 387 "enterpriseId": { |
| 388 "description": "The ID of the enterprise.", |
| 389 "location": "path", |
| 390 "required": true, |
| 391 "type": "string" |
| 392 } |
| 393 }, |
| 394 "path": "enterprises/{enterpriseId}/androidDevicePolicyConfi
g", |
| 395 "response": { |
| 396 "$ref": "AndroidDevicePolicyConfig" |
| 397 }, |
| 398 "scopes": [ |
| 399 "https://www.googleapis.com/auth/androidenterprise" |
| 400 ] |
| 401 }, |
379 "getServiceAccount": { | 402 "getServiceAccount": { |
380 "description": "Returns a service account and credentials. T
he service account can be bound to the enterprise by calling setAccount. The ser
vice account is unique to this enterprise and EMM, and will be deleted if the en
terprise is unbound. The credentials contain private key data and are not stored
server-side.\n\nThis method can only be called after calling Enterprises.Enroll
or Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other time
s it will return an error.\n\nSubsequent calls after the first will generate a n
ew, unique set of credentials, and invalidate the previously generated credentia
ls.\n\nOnce the service account is bound to the enterprise, it can be managed us
ing the serviceAccountKeys resource.", | 403 "description": "Returns a service account and credentials. T
he service account can be bound to the enterprise by calling setAccount. The ser
vice account is unique to this enterprise and EMM, and will be deleted if the en
terprise is unbound. The credentials contain private key data and are not stored
server-side.\n\nThis method can only be called after calling Enterprises.Enroll
or Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other time
s it will return an error.\n\nSubsequent calls after the first will generate a n
ew, unique set of credentials, and invalidate the previously generated credentia
ls.\n\nOnce the service account is bound to the enterprise, it can be managed us
ing the serviceAccountKeys resource.", |
381 "httpMethod": "GET", | 404 "httpMethod": "GET", |
382 "id": "androidenterprise.enterprises.getServiceAccount", | 405 "id": "androidenterprise.enterprises.getServiceAccount", |
383 "parameterOrder": [ | 406 "parameterOrder": [ |
384 "enterpriseId" | 407 "enterpriseId" |
385 ], | 408 ], |
386 "parameters": { | 409 "parameters": { |
387 "enterpriseId": { | 410 "enterpriseId": { |
388 "description": "The ID of the enterprise.", | 411 "description": "The ID of the enterprise.", |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 "request": { | 576 "request": { |
554 "$ref": "EnterpriseAccount" | 577 "$ref": "EnterpriseAccount" |
555 }, | 578 }, |
556 "response": { | 579 "response": { |
557 "$ref": "EnterpriseAccount" | 580 "$ref": "EnterpriseAccount" |
558 }, | 581 }, |
559 "scopes": [ | 582 "scopes": [ |
560 "https://www.googleapis.com/auth/androidenterprise" | 583 "https://www.googleapis.com/auth/androidenterprise" |
561 ] | 584 ] |
562 }, | 585 }, |
| 586 "setAndroidDevicePolicyConfig": { |
| 587 "description": "Sets the Android Device Policy config resour
ce. EMM may use this API to enable or disable Android Device Policy support for
the specified enterprise.", |
| 588 "httpMethod": "PUT", |
| 589 "id": "androidenterprise.enterprises.setAndroidDevicePolicyC
onfig", |
| 590 "parameterOrder": [ |
| 591 "enterpriseId" |
| 592 ], |
| 593 "parameters": { |
| 594 "enterpriseId": { |
| 595 "description": "The ID of the enterprise.", |
| 596 "location": "path", |
| 597 "required": true, |
| 598 "type": "string" |
| 599 } |
| 600 }, |
| 601 "path": "enterprises/{enterpriseId}/androidDevicePolicyConfi
g", |
| 602 "request": { |
| 603 "$ref": "AndroidDevicePolicyConfig" |
| 604 }, |
| 605 "response": { |
| 606 "$ref": "AndroidDevicePolicyConfig" |
| 607 }, |
| 608 "scopes": [ |
| 609 "https://www.googleapis.com/auth/androidenterprise" |
| 610 ] |
| 611 }, |
563 "setStoreLayout": { | 612 "setStoreLayout": { |
564 "description": "Sets the store layout for the enterprise. By
default, storeLayoutType is set to \"basic\" and the basic store layout is enab
led. The basic layout only contains apps approved by the admin, and that have be
en added to the available product set for a user (using the setAvailableProduct
Set call). Apps on the page are sorted in order of their product ID value. If yo
u create a custom store layout (by setting storeLayoutType = \"custom\" and sett
ing a homepage), the basic store layout is disabled.", | 613 "description": "Sets the store layout for the enterprise. By
default, storeLayoutType is set to \"basic\" and the basic store layout is enab
led. The basic layout only contains apps approved by the admin, and that have be
en added to the available product set for a user (using the setAvailableProduct
Set call). Apps on the page are sorted in order of their product ID value. If yo
u create a custom store layout (by setting storeLayoutType = \"custom\" and sett
ing a homepage), the basic store layout is disabled.", |
565 "httpMethod": "PUT", | 614 "httpMethod": "PUT", |
566 "id": "androidenterprise.enterprises.setStoreLayout", | 615 "id": "androidenterprise.enterprises.setStoreLayout", |
567 "parameterOrder": [ | 616 "parameterOrder": [ |
568 "enterpriseId" | 617 "enterpriseId" |
569 ], | 618 ], |
570 "parameters": { | 619 "parameters": { |
571 "enterpriseId": { | 620 "enterpriseId": { |
572 "description": "The ID of the enterprise.", | 621 "description": "The ID of the enterprise.", |
(...skipping 2024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2597 "response": { | 2646 "response": { |
2598 "$ref": "User" | 2647 "$ref": "User" |
2599 }, | 2648 }, |
2600 "scopes": [ | 2649 "scopes": [ |
2601 "https://www.googleapis.com/auth/androidenterprise" | 2650 "https://www.googleapis.com/auth/androidenterprise" |
2602 ] | 2651 ] |
2603 } | 2652 } |
2604 } | 2653 } |
2605 } | 2654 } |
2606 }, | 2655 }, |
2607 "revision": "20170706", | 2656 "revision": "20170719", |
2608 "rootUrl": "https://www.googleapis.com/", | 2657 "rootUrl": "https://www.googleapis.com/", |
2609 "schemas": { | 2658 "schemas": { |
2610 "Administrator": { | 2659 "Administrator": { |
2611 "description": "This represents an enterprise admin who can manage t
he enterprise in the managed Google Play store.", | 2660 "description": "This represents an enterprise admin who can manage t
he enterprise in the managed Google Play store.", |
2612 "id": "Administrator", | 2661 "id": "Administrator", |
2613 "properties": { | 2662 "properties": { |
2614 "email": { | 2663 "email": { |
2615 "description": "The admin's email address.", | 2664 "description": "The admin's email address.", |
2616 "type": "string" | 2665 "type": "string" |
2617 } | 2666 } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2650 "permission": { | 2699 "permission": { |
2651 "description": "The list of permissions the admin is granted
within the iframe. The admin will only be allowed to view an iframe if they hav
e all of the permissions associated with it. The only valid value is \"approveAp
ps\" that will allow the admin to access the iframe in \"approve\" mode.", | 2700 "description": "The list of permissions the admin is granted
within the iframe. The admin will only be allowed to view an iframe if they hav
e all of the permissions associated with it. The only valid value is \"approveAp
ps\" that will allow the admin to access the iframe in \"approve\" mode.", |
2652 "items": { | 2701 "items": { |
2653 "type": "string" | 2702 "type": "string" |
2654 }, | 2703 }, |
2655 "type": "array" | 2704 "type": "array" |
2656 } | 2705 } |
2657 }, | 2706 }, |
2658 "type": "object" | 2707 "type": "object" |
2659 }, | 2708 }, |
| 2709 "AndroidDevicePolicyConfig": { |
| 2710 "description": "The Android Device Policy configuration of an enterp
rise.", |
| 2711 "id": "AndroidDevicePolicyConfig", |
| 2712 "properties": { |
| 2713 "kind": { |
| 2714 "default": "androidenterprise#androidDevicePolicyConfig", |
| 2715 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#androidDevicePolicyConfig\".", |
| 2716 "type": "string" |
| 2717 }, |
| 2718 "state": { |
| 2719 "description": "The state of Android Device Policy. \"enable
d\" indicates that Android Device Policy is enabled for the enterprise and the E
MM is allowed to manage devices with Android Device Policy, while \"disabled\" m
eans that it cannot.", |
| 2720 "type": "string" |
| 2721 } |
| 2722 }, |
| 2723 "type": "object" |
| 2724 }, |
2660 "AppRestrictionsSchema": { | 2725 "AppRestrictionsSchema": { |
2661 "description": "Represents the list of app restrictions available to
be pre-configured for the product.", | 2726 "description": "Represents the list of app restrictions available to
be pre-configured for the product.", |
2662 "id": "AppRestrictionsSchema", | 2727 "id": "AppRestrictionsSchema", |
2663 "properties": { | 2728 "properties": { |
2664 "kind": { | 2729 "kind": { |
2665 "default": "androidenterprise#appRestrictionsSchema", | 2730 "default": "androidenterprise#appRestrictionsSchema", |
2666 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#appRestrictionsSchema\".", | 2731 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#appRestrictionsSchema\".", |
2667 "type": "string" | 2732 "type": "string" |
2668 }, | 2733 }, |
2669 "restrictions": { | 2734 "restrictions": { |
(...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3944 "type": "array" | 4009 "type": "array" |
3945 } | 4010 } |
3946 }, | 4011 }, |
3947 "type": "object" | 4012 "type": "object" |
3948 } | 4013 } |
3949 }, | 4014 }, |
3950 "servicePath": "androidenterprise/v1/", | 4015 "servicePath": "androidenterprise/v1/", |
3951 "title": "Google Play EMM API", | 4016 "title": "Google Play EMM API", |
3952 "version": "v1" | 4017 "version": "v1" |
3953 } | 4018 } |
OLD | NEW |