| 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": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/rGtRo1CaRwLtOUwI7c92dFYETcc\"", | 18 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/1RjmJ_qP2oWoO3TZiowI1c1EgE0\"", |
| 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 }, | 466 }, |
| 467 "path": "enterprises/{enterpriseId}/users/{userId}/devices/{
deviceId}", | 467 "path": "enterprises/{enterpriseId}/users/{userId}/devices/{
deviceId}", |
| 468 "response": { | 468 "response": { |
| 469 "$ref": "Device" | 469 "$ref": "Device" |
| 470 }, | 470 }, |
| 471 "scopes": [ | 471 "scopes": [ |
| 472 "https://www.googleapis.com/auth/androidenterprise" | 472 "https://www.googleapis.com/auth/androidenterprise" |
| 473 ] | 473 ] |
| 474 }, | 474 }, |
| 475 "getState": { | 475 "getState": { |
| 476 "description": "Retrieves whether a device is enabled or dis
abled for access by the user to Google services. The device state takes effect o
nly if enforcing EMM policies on Android devices is enabled in the Google Admin
Console. Otherwise, the device state is ignored and all devices are allowed acce
ss to Google services.", | 476 "description": "Retrieves whether a device's access to Googl
e services is enabled or disabled. The device state takes effect only if enforci
ng EMM policies on Android devices is enabled in the Google Admin Console. Other
wise, the device state is ignored and all devices are allowed access to Google s
ervices. This is only supported for Google-managed users.", |
| 477 "httpMethod": "GET", | 477 "httpMethod": "GET", |
| 478 "id": "androidenterprise.devices.getState", | 478 "id": "androidenterprise.devices.getState", |
| 479 "parameterOrder": [ | 479 "parameterOrder": [ |
| 480 "enterpriseId", | 480 "enterpriseId", |
| 481 "userId", | 481 "userId", |
| 482 "deviceId" | 482 "deviceId" |
| 483 ], | 483 ], |
| 484 "parameters": { | 484 "parameters": { |
| 485 "deviceId": { | 485 "deviceId": { |
| 486 "description": "The ID of the device.", | 486 "description": "The ID of the device.", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 }, | 533 }, |
| 534 "path": "enterprises/{enterpriseId}/users/{userId}/devices", | 534 "path": "enterprises/{enterpriseId}/users/{userId}/devices", |
| 535 "response": { | 535 "response": { |
| 536 "$ref": "DevicesListResponse" | 536 "$ref": "DevicesListResponse" |
| 537 }, | 537 }, |
| 538 "scopes": [ | 538 "scopes": [ |
| 539 "https://www.googleapis.com/auth/androidenterprise" | 539 "https://www.googleapis.com/auth/androidenterprise" |
| 540 ] | 540 ] |
| 541 }, | 541 }, |
| 542 "setState": { | 542 "setState": { |
| 543 "description": "Sets whether a device is enabled or disabled
for access by the user to Google services. The device state takes effect only i
f enforcing EMM policies on Android devices is enabled in the Google Admin Conso
le. Otherwise, the device state is ignored and all devices are allowed access to
Google services.", | 543 "description": "Sets whether a device's access to Google ser
vices is enabled or disabled. The device state takes effect only if enforcing EM
M policies on Android devices is enabled in the Google Admin Console. Otherwise,
the device state is ignored and all devices are allowed access to Google servic
es. This is only supported for Google-managed users.", |
| 544 "httpMethod": "PUT", | 544 "httpMethod": "PUT", |
| 545 "id": "androidenterprise.devices.setState", | 545 "id": "androidenterprise.devices.setState", |
| 546 "parameterOrder": [ | 546 "parameterOrder": [ |
| 547 "enterpriseId", | 547 "enterpriseId", |
| 548 "userId", | 548 "userId", |
| 549 "deviceId" | 549 "deviceId" |
| 550 ], | 550 ], |
| 551 "parameters": { | 551 "parameters": { |
| 552 "deviceId": { | 552 "deviceId": { |
| 553 "description": "The ID of the device.", | 553 "description": "The ID of the device.", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 576 "$ref": "DeviceState" | 576 "$ref": "DeviceState" |
| 577 }, | 577 }, |
| 578 "scopes": [ | 578 "scopes": [ |
| 579 "https://www.googleapis.com/auth/androidenterprise" | 579 "https://www.googleapis.com/auth/androidenterprise" |
| 580 ] | 580 ] |
| 581 } | 581 } |
| 582 } | 582 } |
| 583 }, | 583 }, |
| 584 "enterprises": { | 584 "enterprises": { |
| 585 "methods": { | 585 "methods": { |
| 586 "acknowledgeNotificationSet": { |
| 587 "description": "Acknowledges notifications that were receive
d from Enterprises.PullNotificationSet to prevent subsequent calls from returnin
g the same notifications.", |
| 588 "httpMethod": "POST", |
| 589 "id": "androidenterprise.enterprises.acknowledgeNotification
Set", |
| 590 "parameters": { |
| 591 "notificationSetId": { |
| 592 "description": "The notification set ID as returned
by Enterprises.PullNotificationSet. This must be provided.", |
| 593 "location": "query", |
| 594 "type": "string" |
| 595 } |
| 596 }, |
| 597 "path": "enterprises/acknowledgeNotificationSet", |
| 598 "scopes": [ |
| 599 "https://www.googleapis.com/auth/androidenterprise" |
| 600 ] |
| 601 }, |
| 602 "completeSignup": { |
| 603 "description": "Completes the signup flow, by specifying the
Completion token and Enterprise token. This request must not be called multiple
times for a given Enterprise Token.", |
| 604 "httpMethod": "POST", |
| 605 "id": "androidenterprise.enterprises.completeSignup", |
| 606 "parameters": { |
| 607 "completionToken": { |
| 608 "description": "The Completion token initially retur
ned by GenerateSignupUrl.", |
| 609 "location": "query", |
| 610 "type": "string" |
| 611 }, |
| 612 "enterpriseToken": { |
| 613 "description": "The Enterprise token appended to the
Callback URL.", |
| 614 "location": "query", |
| 615 "type": "string" |
| 616 } |
| 617 }, |
| 618 "path": "enterprises/completeSignup", |
| 619 "response": { |
| 620 "$ref": "Enterprise" |
| 621 }, |
| 622 "scopes": [ |
| 623 "https://www.googleapis.com/auth/androidenterprise" |
| 624 ] |
| 625 }, |
| 586 "delete": { | 626 "delete": { |
| 587 "description": "Deletes the binding between the EMM and ente
rprise. This is now deprecated; use this to unenroll customers that were previou
sly enrolled with the 'insert' call, then enroll them again with the 'enroll' ca
ll.", | 627 "description": "Deletes the binding between the EMM and ente
rprise. This is now deprecated; use this to unenroll customers that were previou
sly enrolled with the 'insert' call, then enroll them again with the 'enroll' ca
ll.", |
| 588 "httpMethod": "DELETE", | 628 "httpMethod": "DELETE", |
| 589 "id": "androidenterprise.enterprises.delete", | 629 "id": "androidenterprise.enterprises.delete", |
| 590 "parameterOrder": [ | 630 "parameterOrder": [ |
| 591 "enterpriseId" | 631 "enterpriseId" |
| 592 ], | 632 ], |
| 593 "parameters": { | 633 "parameters": { |
| 594 "enterpriseId": { | 634 "enterpriseId": { |
| 595 "description": "The ID of the enterprise.", | 635 "description": "The ID of the enterprise.", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 622 "request": { | 662 "request": { |
| 623 "$ref": "Enterprise" | 663 "$ref": "Enterprise" |
| 624 }, | 664 }, |
| 625 "response": { | 665 "response": { |
| 626 "$ref": "Enterprise" | 666 "$ref": "Enterprise" |
| 627 }, | 667 }, |
| 628 "scopes": [ | 668 "scopes": [ |
| 629 "https://www.googleapis.com/auth/androidenterprise" | 669 "https://www.googleapis.com/auth/androidenterprise" |
| 630 ] | 670 ] |
| 631 }, | 671 }, |
| 672 "generateSignupUrl": { |
| 673 "description": "Generates a sign-up URL.", |
| 674 "httpMethod": "POST", |
| 675 "id": "androidenterprise.enterprises.generateSignupUrl", |
| 676 "parameters": { |
| 677 "callbackUrl": { |
| 678 "description": "The callback URL to which the Admin
will be redirected after successfully creating an enterprise. Before redirecting
there the system will add a single query parameter to this URL named \"enterpri
seToken\" which will contain an opaque token to be used for the CompleteSignup r
equest.\nBeware that this means that the URL will be parsed, the parameter added
and then a new URL formatted, i.e. there may be some minor formatting changes a
nd, more importantly, the URL must be well-formed so that it can be parsed.", |
| 679 "location": "query", |
| 680 "type": "string" |
| 681 } |
| 682 }, |
| 683 "path": "enterprises/signupUrl", |
| 684 "response": { |
| 685 "$ref": "SignupInfo" |
| 686 }, |
| 687 "scopes": [ |
| 688 "https://www.googleapis.com/auth/androidenterprise" |
| 689 ] |
| 690 }, |
| 632 "get": { | 691 "get": { |
| 633 "description": "Retrieves the name and domain of an enterpri
se.", | 692 "description": "Retrieves the name and domain of an enterpri
se.", |
| 634 "httpMethod": "GET", | 693 "httpMethod": "GET", |
| 635 "id": "androidenterprise.enterprises.get", | 694 "id": "androidenterprise.enterprises.get", |
| 636 "parameterOrder": [ | 695 "parameterOrder": [ |
| 637 "enterpriseId" | 696 "enterpriseId" |
| 638 ], | 697 ], |
| 639 "parameters": { | 698 "parameters": { |
| 640 "enterpriseId": { | 699 "enterpriseId": { |
| 641 "description": "The ID of the enterprise.", | 700 "description": "The ID of the enterprise.", |
| 642 "location": "path", | 701 "location": "path", |
| 643 "required": true, | 702 "required": true, |
| 644 "type": "string" | 703 "type": "string" |
| 645 } | 704 } |
| 646 }, | 705 }, |
| 647 "path": "enterprises/{enterpriseId}", | 706 "path": "enterprises/{enterpriseId}", |
| 648 "response": { | 707 "response": { |
| 649 "$ref": "Enterprise" | 708 "$ref": "Enterprise" |
| 650 }, | 709 }, |
| 651 "scopes": [ | 710 "scopes": [ |
| 652 "https://www.googleapis.com/auth/androidenterprise" | 711 "https://www.googleapis.com/auth/androidenterprise" |
| 653 ] | 712 ] |
| 654 }, | 713 }, |
| 714 "getServiceAccount": { |
| 715 "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.", |
| 716 "httpMethod": "GET", |
| 717 "id": "androidenterprise.enterprises.getServiceAccount", |
| 718 "parameterOrder": [ |
| 719 "enterpriseId" |
| 720 ], |
| 721 "parameters": { |
| 722 "enterpriseId": { |
| 723 "location": "path", |
| 724 "required": true, |
| 725 "type": "string" |
| 726 }, |
| 727 "keyType": { |
| 728 "description": "The type of credential to return wit
h the service account. Required.", |
| 729 "enum": [ |
| 730 "googleCredentials", |
| 731 "pkcs12" |
| 732 ], |
| 733 "enumDescriptions": [ |
| 734 "", |
| 735 "" |
| 736 ], |
| 737 "location": "query", |
| 738 "type": "string" |
| 739 } |
| 740 }, |
| 741 "path": "enterprises/{enterpriseId}/serviceAccount", |
| 742 "response": { |
| 743 "$ref": "ServiceAccount" |
| 744 }, |
| 745 "scopes": [ |
| 746 "https://www.googleapis.com/auth/androidenterprise" |
| 747 ] |
| 748 }, |
| 655 "getStoreLayout": { | 749 "getStoreLayout": { |
| 656 "description": "Returns the store layout resource.", | 750 "description": "Returns the store layout resource.", |
| 657 "httpMethod": "GET", | 751 "httpMethod": "GET", |
| 658 "id": "androidenterprise.enterprises.getStoreLayout", | 752 "id": "androidenterprise.enterprises.getStoreLayout", |
| 659 "parameterOrder": [ | 753 "parameterOrder": [ |
| 660 "enterpriseId" | 754 "enterpriseId" |
| 661 ], | 755 ], |
| 662 "parameters": { | 756 "parameters": { |
| 663 "enterpriseId": { | 757 "enterpriseId": { |
| 664 "description": "The ID of the enterprise.", | 758 "description": "The ID of the enterprise.", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 695 "$ref": "Enterprise" | 789 "$ref": "Enterprise" |
| 696 }, | 790 }, |
| 697 "response": { | 791 "response": { |
| 698 "$ref": "Enterprise" | 792 "$ref": "Enterprise" |
| 699 }, | 793 }, |
| 700 "scopes": [ | 794 "scopes": [ |
| 701 "https://www.googleapis.com/auth/androidenterprise" | 795 "https://www.googleapis.com/auth/androidenterprise" |
| 702 ] | 796 ] |
| 703 }, | 797 }, |
| 704 "list": { | 798 "list": { |
| 705 "description": "Looks up an enterprise by domain name.", | 799 "description": "Looks up an enterprise by domain name. This
is only supported for enterprises created via the Google-initiated creation flow
. Lookup of the id is not needed for enterprises created via the EMM-initiated f
low since the EMM learns the enterprise ID in the callback specified in the Ente
rprises.generateSignupUrl call.", |
| 706 "httpMethod": "GET", | 800 "httpMethod": "GET", |
| 707 "id": "androidenterprise.enterprises.list", | 801 "id": "androidenterprise.enterprises.list", |
| 708 "parameterOrder": [ | 802 "parameterOrder": [ |
| 709 "domain" | 803 "domain" |
| 710 ], | 804 ], |
| 711 "parameters": { | 805 "parameters": { |
| 712 "domain": { | 806 "domain": { |
| 713 "description": "The exact primary domain name of the
enterprise to look up.", | 807 "description": "The exact primary domain name of the
enterprise to look up.", |
| 714 "location": "query", | 808 "location": "query", |
| 715 "required": true, | 809 "required": true, |
| 716 "type": "string" | 810 "type": "string" |
| 717 } | 811 } |
| 718 }, | 812 }, |
| 719 "path": "enterprises", | 813 "path": "enterprises", |
| 720 "response": { | 814 "response": { |
| 721 "$ref": "EnterprisesListResponse" | 815 "$ref": "EnterprisesListResponse" |
| 722 }, | 816 }, |
| 723 "scopes": [ | 817 "scopes": [ |
| 724 "https://www.googleapis.com/auth/androidenterprise" | 818 "https://www.googleapis.com/auth/androidenterprise" |
| 725 ] | 819 ] |
| 726 }, | 820 }, |
| 821 "pullNotificationSet": { |
| 822 "description": "Pulls and returns a notification set for the
enterprises associated with the service account authenticated for the request.
The notification set may be empty if no notification are pending.\nA notificatio
n set returned needs to be acknowledged within 20 seconds by calling Enterprises
.AcknowledgeNotificationSet, unless the notification set is empty.\nNotification
s that are not acknowledged within the 20 seconds will eventually be included ag
ain in the response to another PullNotificationSet request, and those that are n
ever acknowledged will ultimately be deleted according to the Google Cloud Platf
orm Pub/Sub system policy.\nMultiple requests might be performed concurrently to
retrieve notifications, in which case the pending notifications (if any) will b
e split among each caller, if any are pending.", |
| 823 "httpMethod": "POST", |
| 824 "id": "androidenterprise.enterprises.pullNotificationSet", |
| 825 "parameters": { |
| 826 "requestMode": { |
| 827 "description": "The request mode for pulling notific
ations. If omitted, defaults to WAIT_FOR_NOTIFCATIONS.\nIf this is set to WAIT_F
OR_NOTIFCATIONS, the request will eventually timeout, in which case it should be
retried.", |
| 828 "enum": [ |
| 829 "returnImmediately", |
| 830 "waitForNotifications" |
| 831 ], |
| 832 "enumDescriptions": [ |
| 833 "", |
| 834 "" |
| 835 ], |
| 836 "location": "query", |
| 837 "type": "string" |
| 838 } |
| 839 }, |
| 840 "path": "enterprises/pullNotificationSet", |
| 841 "response": { |
| 842 "$ref": "NotificationSet" |
| 843 }, |
| 844 "scopes": [ |
| 845 "https://www.googleapis.com/auth/androidenterprise" |
| 846 ] |
| 847 }, |
| 727 "sendTestPushNotification": { | 848 "sendTestPushNotification": { |
| 728 "description": "Sends a test push notification to validate t
he EMM integration with the Google Cloud Pub/Sub service for this enterprise.", | 849 "description": "Sends a test push notification to validate t
he EMM integration with the Google Cloud Pub/Sub service for this enterprise.", |
| 729 "httpMethod": "POST", | 850 "httpMethod": "POST", |
| 730 "id": "androidenterprise.enterprises.sendTestPushNotificatio
n", | 851 "id": "androidenterprise.enterprises.sendTestPushNotificatio
n", |
| 731 "parameterOrder": [ | 852 "parameterOrder": [ |
| 732 "enterpriseId" | 853 "enterpriseId" |
| 733 ], | 854 ], |
| 734 "parameters": { | 855 "parameters": { |
| 735 "enterpriseId": { | 856 "enterpriseId": { |
| 736 "description": "The ID of the enterprise.", | 857 "description": "The ID of the enterprise.", |
| (...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1520 }, | 1641 }, |
| 1521 "path": "enterprises/{enterpriseId}/products/{productId}/per
missions", | 1642 "path": "enterprises/{enterpriseId}/products/{productId}/per
missions", |
| 1522 "response": { | 1643 "response": { |
| 1523 "$ref": "ProductPermissions" | 1644 "$ref": "ProductPermissions" |
| 1524 }, | 1645 }, |
| 1525 "scopes": [ | 1646 "scopes": [ |
| 1526 "https://www.googleapis.com/auth/androidenterprise" | 1647 "https://www.googleapis.com/auth/androidenterprise" |
| 1527 ] | 1648 ] |
| 1528 }, | 1649 }, |
| 1529 "list": { | 1650 "list": { |
| 1530 "description": "Finds approved products that match a query."
, | 1651 "description": "Finds approved products that match a query,
or all approved products if there is no query.", |
| 1531 "httpMethod": "GET", | 1652 "httpMethod": "GET", |
| 1532 "id": "androidenterprise.products.list", | 1653 "id": "androidenterprise.products.list", |
| 1533 "parameterOrder": [ | 1654 "parameterOrder": [ |
| 1534 "enterpriseId" | 1655 "enterpriseId" |
| 1535 ], | 1656 ], |
| 1536 "parameters": { | 1657 "parameters": { |
| 1537 "approved": { | 1658 "approved": { |
| 1538 "description": "Specifies whether to search among al
l products (false) or among only products that have been approved (true). Only \
"true\" is supported, and should be specified.", | 1659 "description": "Specifies whether to search among al
l products (false) or among only products that have been approved (true). Only \
"true\" is supported, and should be specified.", |
| 1539 "location": "query", | 1660 "location": "query", |
| 1540 "type": "boolean" | 1661 "type": "boolean" |
| 1541 }, | 1662 }, |
| 1542 "enterpriseId": { | 1663 "enterpriseId": { |
| 1543 "description": "The ID of the enterprise.", | 1664 "description": "The ID of the enterprise.", |
| 1544 "location": "path", | 1665 "location": "path", |
| 1545 "required": true, | 1666 "required": true, |
| 1546 "type": "string" | 1667 "type": "string" |
| 1547 }, | 1668 }, |
| 1548 "language": { | 1669 "language": { |
| 1549 "description": "The BCP47 tag for the user's preferr
ed language (e.g. \"en-US\", \"de\"). Results are returned in the language best
matching the preferred language.", | 1670 "description": "The BCP47 tag for the user's preferr
ed language (e.g. \"en-US\", \"de\"). Results are returned in the language best
matching the preferred language.", |
| 1550 "location": "query", | 1671 "location": "query", |
| 1551 "type": "string" | 1672 "type": "string" |
| 1552 }, | 1673 }, |
| 1553 "maxResults": { | 1674 "maxResults": { |
| 1554 "description": "Specifies the maximum number of prod
ucts that can be returned per request. If not specified, uses a default value of
100, which is also the maximum retrievable within a single response.", | 1675 "description": "Specifies the maximum number of prod
ucts that can be returned per request. If not specified, uses a default value of
100, which is also the maximum retrievable within a single response.", |
| 1555 "format": "uint32", | 1676 "format": "uint32", |
| 1556 "location": "query", | 1677 "location": "query", |
| 1557 "type": "integer" | 1678 "type": "integer" |
| 1558 }, | 1679 }, |
| 1559 "query": { | 1680 "query": { |
| 1560 "description": "The search query as typed in the Goo
gle Play Store search box. If omitted, all approved apps will be returned (using
the pagination parameters).", | 1681 "description": "The search query as typed in the Goo
gle Play Store search box. If omitted, all approved apps will be returned (using
the pagination parameters), including apps that are not available in the store
(e.g. unpublished apps).", |
| 1561 "location": "query", | 1682 "location": "query", |
| 1562 "type": "string" | 1683 "type": "string" |
| 1563 }, | 1684 }, |
| 1564 "token": { | 1685 "token": { |
| 1565 "description": "A pagination token is contained in a
requestÂ’s response when there are more products. The token can be used in a sub
sequent request to obtain more products, and so forth. This parameter cannot be
used in the initial request.", | 1686 "description": "A pagination token is contained in a
requestÂ’s response when there are more products. The token can be used in a sub
sequent request to obtain more products, and so forth. This parameter cannot be
used in the initial request.", |
| 1566 "location": "query", | 1687 "location": "query", |
| 1567 "type": "string" | 1688 "type": "string" |
| 1568 } | 1689 } |
| 1569 }, | 1690 }, |
| 1570 "path": "enterprises/{enterpriseId}/products", | 1691 "path": "enterprises/{enterpriseId}/products", |
| 1571 "response": { | 1692 "response": { |
| 1572 "$ref": "ProductsListResponse" | 1693 "$ref": "ProductsListResponse" |
| 1573 }, | 1694 }, |
| 1574 "scopes": [ | 1695 "scopes": [ |
| 1575 "https://www.googleapis.com/auth/androidenterprise" | 1696 "https://www.googleapis.com/auth/androidenterprise" |
| 1576 ] | 1697 ] |
| 1577 }, | 1698 }, |
| 1699 "unapprove": { |
| 1700 "description": "Unapproves the specified product (and the re
levant app permissions, if any)", |
| 1701 "httpMethod": "POST", |
| 1702 "id": "androidenterprise.products.unapprove", |
| 1703 "parameterOrder": [ |
| 1704 "enterpriseId", |
| 1705 "productId" |
| 1706 ], |
| 1707 "parameters": { |
| 1708 "enterpriseId": { |
| 1709 "description": "The ID of the enterprise.", |
| 1710 "location": "path", |
| 1711 "required": true, |
| 1712 "type": "string" |
| 1713 }, |
| 1714 "productId": { |
| 1715 "description": "The ID of the product.", |
| 1716 "location": "path", |
| 1717 "required": true, |
| 1718 "type": "string" |
| 1719 } |
| 1720 }, |
| 1721 "path": "enterprises/{enterpriseId}/products/{productId}/una
pprove", |
| 1722 "scopes": [ |
| 1723 "https://www.googleapis.com/auth/androidenterprise" |
| 1724 ] |
| 1725 }, |
| 1578 "updatePermissions": { | 1726 "updatePermissions": { |
| 1579 "description": "This method has been deprecated. To programm
atically approve applications, you must use the iframe mechanism via the genera
teApprovalUrl and approve methods of the Products resource. For more informatio
n, see the Play EMM API usage requirements.\n\nThe updatePermissions method (de
precated) updates the set of Android app permissions for this app that have been
accepted by the enterprise.", | 1727 "description": "This method has been deprecated. To programm
atically approve applications, you must use the iframe mechanism via the genera
teApprovalUrl and approve methods of the Products resource. For more informatio
n, see the Play EMM API usage requirements.\n\nThe updatePermissions method (de
precated) updates the set of Android app permissions for this app that have been
accepted by the enterprise.", |
| 1580 "httpMethod": "PUT", | 1728 "httpMethod": "PUT", |
| 1581 "id": "androidenterprise.products.updatePermissions", | 1729 "id": "androidenterprise.products.updatePermissions", |
| 1582 "parameterOrder": [ | 1730 "parameterOrder": [ |
| 1583 "enterpriseId", | 1731 "enterpriseId", |
| 1584 "productId" | 1732 "productId" |
| 1585 ], | 1733 ], |
| 1586 "parameters": { | 1734 "parameters": { |
| 1587 "enterpriseId": { | 1735 "enterpriseId": { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1603 }, | 1751 }, |
| 1604 "response": { | 1752 "response": { |
| 1605 "$ref": "ProductPermissions" | 1753 "$ref": "ProductPermissions" |
| 1606 }, | 1754 }, |
| 1607 "scopes": [ | 1755 "scopes": [ |
| 1608 "https://www.googleapis.com/auth/androidenterprise" | 1756 "https://www.googleapis.com/auth/androidenterprise" |
| 1609 ] | 1757 ] |
| 1610 } | 1758 } |
| 1611 } | 1759 } |
| 1612 }, | 1760 }, |
| 1761 "serviceaccountkeys": { |
| 1762 "methods": { |
| 1763 "delete": { |
| 1764 "description": "Removes and invalidates the specified creden
tials for the service account associated with this enterprise. The calling servi
ce account must have been retrieved by calling Enterprises.GetServiceAccount and
must have been set as the enterprise service account by calling Enterprises.Set
Account.", |
| 1765 "httpMethod": "DELETE", |
| 1766 "id": "androidenterprise.serviceaccountkeys.delete", |
| 1767 "parameterOrder": [ |
| 1768 "enterpriseId", |
| 1769 "keyId" |
| 1770 ], |
| 1771 "parameters": { |
| 1772 "enterpriseId": { |
| 1773 "description": "The ID of the enterprise.", |
| 1774 "location": "path", |
| 1775 "required": true, |
| 1776 "type": "string" |
| 1777 }, |
| 1778 "keyId": { |
| 1779 "description": "The ID of the key.", |
| 1780 "location": "path", |
| 1781 "required": true, |
| 1782 "type": "string" |
| 1783 } |
| 1784 }, |
| 1785 "path": "enterprises/{enterpriseId}/serviceAccountKeys/{keyI
d}", |
| 1786 "scopes": [ |
| 1787 "https://www.googleapis.com/auth/androidenterprise" |
| 1788 ] |
| 1789 }, |
| 1790 "insert": { |
| 1791 "description": "Generates new credentials for the service ac
count associated with this enterprise. The calling service account must have bee
n retrieved by calling Enterprises.GetServiceAccount and must have been set as t
he enterprise service account by calling Enterprises.SetAccount.\n\nOnly the typ
e of the key should be populated in the resource to be inserted.", |
| 1792 "httpMethod": "POST", |
| 1793 "id": "androidenterprise.serviceaccountkeys.insert", |
| 1794 "parameterOrder": [ |
| 1795 "enterpriseId" |
| 1796 ], |
| 1797 "parameters": { |
| 1798 "enterpriseId": { |
| 1799 "description": "The ID of the enterprise.", |
| 1800 "location": "path", |
| 1801 "required": true, |
| 1802 "type": "string" |
| 1803 } |
| 1804 }, |
| 1805 "path": "enterprises/{enterpriseId}/serviceAccountKeys", |
| 1806 "request": { |
| 1807 "$ref": "ServiceAccountKey" |
| 1808 }, |
| 1809 "response": { |
| 1810 "$ref": "ServiceAccountKey" |
| 1811 }, |
| 1812 "scopes": [ |
| 1813 "https://www.googleapis.com/auth/androidenterprise" |
| 1814 ] |
| 1815 }, |
| 1816 "list": { |
| 1817 "description": "Lists all active credentials for the service
account associated with this enterprise. Only the ID and key type are returned.
The calling service account must have been retrieved by calling Enterprises.Get
ServiceAccount and must have been set as the enterprise service account by calli
ng Enterprises.SetAccount.", |
| 1818 "httpMethod": "GET", |
| 1819 "id": "androidenterprise.serviceaccountkeys.list", |
| 1820 "parameterOrder": [ |
| 1821 "enterpriseId" |
| 1822 ], |
| 1823 "parameters": { |
| 1824 "enterpriseId": { |
| 1825 "description": "The ID of the enterprise.", |
| 1826 "location": "path", |
| 1827 "required": true, |
| 1828 "type": "string" |
| 1829 } |
| 1830 }, |
| 1831 "path": "enterprises/{enterpriseId}/serviceAccountKeys", |
| 1832 "response": { |
| 1833 "$ref": "ServiceAccountKeysListResponse" |
| 1834 }, |
| 1835 "scopes": [ |
| 1836 "https://www.googleapis.com/auth/androidenterprise" |
| 1837 ] |
| 1838 } |
| 1839 } |
| 1840 }, |
| 1613 "storelayoutclusters": { | 1841 "storelayoutclusters": { |
| 1614 "methods": { | 1842 "methods": { |
| 1615 "delete": { | 1843 "delete": { |
| 1616 "description": "Deletes a cluster.", | 1844 "description": "Deletes a cluster.", |
| 1617 "httpMethod": "DELETE", | 1845 "httpMethod": "DELETE", |
| 1618 "id": "androidenterprise.storelayoutclusters.delete", | 1846 "id": "androidenterprise.storelayoutclusters.delete", |
| 1619 "parameterOrder": [ | 1847 "parameterOrder": [ |
| 1620 "enterpriseId", | 1848 "enterpriseId", |
| 1621 "pageId", | 1849 "pageId", |
| 1622 "clusterId" | 1850 "clusterId" |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1999 "$ref": "StorePage" | 2227 "$ref": "StorePage" |
| 2000 }, | 2228 }, |
| 2001 "scopes": [ | 2229 "scopes": [ |
| 2002 "https://www.googleapis.com/auth/androidenterprise" | 2230 "https://www.googleapis.com/auth/androidenterprise" |
| 2003 ] | 2231 ] |
| 2004 } | 2232 } |
| 2005 } | 2233 } |
| 2006 }, | 2234 }, |
| 2007 "users": { | 2235 "users": { |
| 2008 "methods": { | 2236 "methods": { |
| 2237 "delete": { |
| 2238 "description": "Deleted an EMM-managed user.", |
| 2239 "httpMethod": "DELETE", |
| 2240 "id": "androidenterprise.users.delete", |
| 2241 "parameterOrder": [ |
| 2242 "enterpriseId", |
| 2243 "userId" |
| 2244 ], |
| 2245 "parameters": { |
| 2246 "enterpriseId": { |
| 2247 "description": "The ID of the enterprise.", |
| 2248 "location": "path", |
| 2249 "required": true, |
| 2250 "type": "string" |
| 2251 }, |
| 2252 "userId": { |
| 2253 "description": "The ID of the user.", |
| 2254 "location": "path", |
| 2255 "required": true, |
| 2256 "type": "string" |
| 2257 } |
| 2258 }, |
| 2259 "path": "enterprises/{enterpriseId}/users/{userId}", |
| 2260 "scopes": [ |
| 2261 "https://www.googleapis.com/auth/androidenterprise" |
| 2262 ] |
| 2263 }, |
| 2264 "generateAuthenticationToken": { |
| 2265 "description": "Generates an authentication token which the
device policy client can use to provision the given EMM-managed user account on
a device. The generated token is single-use and expires after a few minutes.\n\n
This call only works with EMM-managed accounts.", |
| 2266 "httpMethod": "POST", |
| 2267 "id": "androidenterprise.users.generateAuthenticationToken", |
| 2268 "parameterOrder": [ |
| 2269 "enterpriseId", |
| 2270 "userId" |
| 2271 ], |
| 2272 "parameters": { |
| 2273 "enterpriseId": { |
| 2274 "description": "The ID of the enterprise.", |
| 2275 "location": "path", |
| 2276 "required": true, |
| 2277 "type": "string" |
| 2278 }, |
| 2279 "userId": { |
| 2280 "description": "The ID of the user.", |
| 2281 "location": "path", |
| 2282 "required": true, |
| 2283 "type": "string" |
| 2284 } |
| 2285 }, |
| 2286 "path": "enterprises/{enterpriseId}/users/{userId}/authentic
ationToken", |
| 2287 "response": { |
| 2288 "$ref": "AuthenticationToken" |
| 2289 }, |
| 2290 "scopes": [ |
| 2291 "https://www.googleapis.com/auth/androidenterprise" |
| 2292 ] |
| 2293 }, |
| 2009 "generateToken": { | 2294 "generateToken": { |
| 2010 "description": "Generates a token (activation code) to allow
this user to configure their work account in the Android Setup Wizard. Revokes
any previously generated token.\n\nThis call only works with Google managed acco
unts.", | 2295 "description": "Generates a token (activation code) to allow
this user to configure their work account in the Android Setup Wizard. Revokes
any previously generated token.\n\nThis call only works with Google managed acco
unts.", |
| 2011 "httpMethod": "POST", | 2296 "httpMethod": "POST", |
| 2012 "id": "androidenterprise.users.generateToken", | 2297 "id": "androidenterprise.users.generateToken", |
| 2013 "parameterOrder": [ | 2298 "parameterOrder": [ |
| 2014 "enterpriseId", | 2299 "enterpriseId", |
| 2015 "userId" | 2300 "userId" |
| 2016 ], | 2301 ], |
| 2017 "parameters": { | 2302 "parameters": { |
| 2018 "enterpriseId": { | 2303 "enterpriseId": { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2089 } | 2374 } |
| 2090 }, | 2375 }, |
| 2091 "path": "enterprises/{enterpriseId}/users/{userId}/available
ProductSet", | 2376 "path": "enterprises/{enterpriseId}/users/{userId}/available
ProductSet", |
| 2092 "response": { | 2377 "response": { |
| 2093 "$ref": "ProductSet" | 2378 "$ref": "ProductSet" |
| 2094 }, | 2379 }, |
| 2095 "scopes": [ | 2380 "scopes": [ |
| 2096 "https://www.googleapis.com/auth/androidenterprise" | 2381 "https://www.googleapis.com/auth/androidenterprise" |
| 2097 ] | 2382 ] |
| 2098 }, | 2383 }, |
| 2384 "insert": { |
| 2385 "description": "Creates a new EMM-managed user.\n\nThe requi
red details of the user are passed in the Users resource in the body of the requ
est. Specifically, the accountIdentifier, accountType, and displayName fields mu
st be provided.", |
| 2386 "httpMethod": "POST", |
| 2387 "id": "androidenterprise.users.insert", |
| 2388 "parameterOrder": [ |
| 2389 "enterpriseId" |
| 2390 ], |
| 2391 "parameters": { |
| 2392 "enterpriseId": { |
| 2393 "description": "The ID of the enterprise.", |
| 2394 "location": "path", |
| 2395 "required": true, |
| 2396 "type": "string" |
| 2397 } |
| 2398 }, |
| 2399 "path": "enterprises/{enterpriseId}/users", |
| 2400 "request": { |
| 2401 "$ref": "User" |
| 2402 }, |
| 2403 "response": { |
| 2404 "$ref": "User" |
| 2405 }, |
| 2406 "scopes": [ |
| 2407 "https://www.googleapis.com/auth/androidenterprise" |
| 2408 ] |
| 2409 }, |
| 2099 "list": { | 2410 "list": { |
| 2100 "description": "Looks up a user by their primary email addre
ss.", | 2411 "description": "Looks up a user by their primary email addre
ss. This is only supported for Google-managed users. Lookup of the id is not nee
ded for EMM-managed users because the id is already returned in the result of th
e Users.insert call.", |
| 2101 "httpMethod": "GET", | 2412 "httpMethod": "GET", |
| 2102 "id": "androidenterprise.users.list", | 2413 "id": "androidenterprise.users.list", |
| 2103 "parameterOrder": [ | 2414 "parameterOrder": [ |
| 2104 "enterpriseId", | 2415 "enterpriseId", |
| 2105 "email" | 2416 "email" |
| 2106 ], | 2417 ], |
| 2107 "parameters": { | 2418 "parameters": { |
| 2108 "email": { | 2419 "email": { |
| 2109 "description": "The exact primary email address of t
he user to look up.", | 2420 "description": "The exact primary email address of t
he user to look up.", |
| 2110 "location": "query", | 2421 "location": "query", |
| 2111 "required": true, | 2422 "required": true, |
| 2112 "type": "string" | 2423 "type": "string" |
| 2113 }, | 2424 }, |
| 2114 "enterpriseId": { | 2425 "enterpriseId": { |
| 2115 "description": "The ID of the enterprise.", | 2426 "description": "The ID of the enterprise.", |
| 2116 "location": "path", | 2427 "location": "path", |
| 2117 "required": true, | 2428 "required": true, |
| 2118 "type": "string" | 2429 "type": "string" |
| 2119 } | 2430 } |
| 2120 }, | 2431 }, |
| 2121 "path": "enterprises/{enterpriseId}/users", | 2432 "path": "enterprises/{enterpriseId}/users", |
| 2122 "response": { | 2433 "response": { |
| 2123 "$ref": "UsersListResponse" | 2434 "$ref": "UsersListResponse" |
| 2124 }, | 2435 }, |
| 2125 "scopes": [ | 2436 "scopes": [ |
| 2126 "https://www.googleapis.com/auth/androidenterprise" | 2437 "https://www.googleapis.com/auth/androidenterprise" |
| 2127 ] | 2438 ] |
| 2128 }, | 2439 }, |
| 2440 "patch": { |
| 2441 "description": "Updates the details of an EMM-managed user.\
n\nThis only works with EMM-managed users. Pass the new details in Users resourc
e in the request body. Only the displayName field can be changed. Other fields m
ust either be unset or have the currently active value. This method supports pat
ch semantics.", |
| 2442 "httpMethod": "PATCH", |
| 2443 "id": "androidenterprise.users.patch", |
| 2444 "parameterOrder": [ |
| 2445 "enterpriseId", |
| 2446 "userId" |
| 2447 ], |
| 2448 "parameters": { |
| 2449 "enterpriseId": { |
| 2450 "description": "The ID of the enterprise.", |
| 2451 "location": "path", |
| 2452 "required": true, |
| 2453 "type": "string" |
| 2454 }, |
| 2455 "userId": { |
| 2456 "description": "The ID of the user.", |
| 2457 "location": "path", |
| 2458 "required": true, |
| 2459 "type": "string" |
| 2460 } |
| 2461 }, |
| 2462 "path": "enterprises/{enterpriseId}/users/{userId}", |
| 2463 "request": { |
| 2464 "$ref": "User" |
| 2465 }, |
| 2466 "response": { |
| 2467 "$ref": "User" |
| 2468 }, |
| 2469 "scopes": [ |
| 2470 "https://www.googleapis.com/auth/androidenterprise" |
| 2471 ] |
| 2472 }, |
| 2129 "revokeToken": { | 2473 "revokeToken": { |
| 2130 "description": "Revokes a previously generated token (activa
tion code) for the user.", | 2474 "description": "Revokes a previously generated token (activa
tion code) for the user.", |
| 2131 "httpMethod": "DELETE", | 2475 "httpMethod": "DELETE", |
| 2132 "id": "androidenterprise.users.revokeToken", | 2476 "id": "androidenterprise.users.revokeToken", |
| 2133 "parameterOrder": [ | 2477 "parameterOrder": [ |
| 2134 "enterpriseId", | 2478 "enterpriseId", |
| 2135 "userId" | 2479 "userId" |
| 2136 ], | 2480 ], |
| 2137 "parameters": { | 2481 "parameters": { |
| 2138 "enterpriseId": { | 2482 "enterpriseId": { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2178 "path": "enterprises/{enterpriseId}/users/{userId}/available
ProductSet", | 2522 "path": "enterprises/{enterpriseId}/users/{userId}/available
ProductSet", |
| 2179 "request": { | 2523 "request": { |
| 2180 "$ref": "ProductSet" | 2524 "$ref": "ProductSet" |
| 2181 }, | 2525 }, |
| 2182 "response": { | 2526 "response": { |
| 2183 "$ref": "ProductSet" | 2527 "$ref": "ProductSet" |
| 2184 }, | 2528 }, |
| 2185 "scopes": [ | 2529 "scopes": [ |
| 2186 "https://www.googleapis.com/auth/androidenterprise" | 2530 "https://www.googleapis.com/auth/androidenterprise" |
| 2187 ] | 2531 ] |
| 2532 }, |
| 2533 "update": { |
| 2534 "description": "Updates the details of an EMM-managed user.\
n\nThis only works with EMM-managed users. Pass the new details in Users resourc
e in the request body. Only the displayName field can be changed. Other fields m
ust either be unset or have the currently active value.", |
| 2535 "httpMethod": "PUT", |
| 2536 "id": "androidenterprise.users.update", |
| 2537 "parameterOrder": [ |
| 2538 "enterpriseId", |
| 2539 "userId" |
| 2540 ], |
| 2541 "parameters": { |
| 2542 "enterpriseId": { |
| 2543 "description": "The ID of the enterprise.", |
| 2544 "location": "path", |
| 2545 "required": true, |
| 2546 "type": "string" |
| 2547 }, |
| 2548 "userId": { |
| 2549 "description": "The ID of the user.", |
| 2550 "location": "path", |
| 2551 "required": true, |
| 2552 "type": "string" |
| 2553 } |
| 2554 }, |
| 2555 "path": "enterprises/{enterpriseId}/users/{userId}", |
| 2556 "request": { |
| 2557 "$ref": "User" |
| 2558 }, |
| 2559 "response": { |
| 2560 "$ref": "User" |
| 2561 }, |
| 2562 "scopes": [ |
| 2563 "https://www.googleapis.com/auth/androidenterprise" |
| 2564 ] |
| 2188 } | 2565 } |
| 2189 } | 2566 } |
| 2190 } | 2567 } |
| 2191 }, | 2568 }, |
| 2192 "revision": "20160615", | 2569 "revision": "20160706", |
| 2193 "rootUrl": "https://www.googleapis.com/", | 2570 "rootUrl": "https://www.googleapis.com/", |
| 2194 "schemas": { | 2571 "schemas": { |
| 2572 "Administrator": { |
| 2573 "description": "This represents an enterprise administrator who can
manage the enterprise in the Google Play for Work Store.", |
| 2574 "id": "Administrator", |
| 2575 "properties": { |
| 2576 "email": { |
| 2577 "description": "The administrator's email address.", |
| 2578 "type": "string" |
| 2579 } |
| 2580 }, |
| 2581 "type": "object" |
| 2582 }, |
| 2195 "AppRestrictionsSchema": { | 2583 "AppRestrictionsSchema": { |
| 2196 "description": "Represents the list of app restrictions available to
be pre-configured for the product.", | 2584 "description": "Represents the list of app restrictions available to
be pre-configured for the product.", |
| 2197 "id": "AppRestrictionsSchema", | 2585 "id": "AppRestrictionsSchema", |
| 2198 "properties": { | 2586 "properties": { |
| 2199 "kind": { | 2587 "kind": { |
| 2200 "default": "androidenterprise#appRestrictionsSchema", | 2588 "default": "androidenterprise#appRestrictionsSchema", |
| 2201 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#appRestrictionsSchema\".", | 2589 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#appRestrictionsSchema\".", |
| 2202 "type": "string" | 2590 "type": "string" |
| 2203 }, | 2591 }, |
| 2204 "restrictions": { | 2592 "restrictions": { |
| 2205 "description": "The set of restrictions that make up this sc
hema.", | 2593 "description": "The set of restrictions that make up this sc
hema.", |
| 2206 "items": { | 2594 "items": { |
| 2207 "$ref": "AppRestrictionsSchemaRestriction" | 2595 "$ref": "AppRestrictionsSchemaRestriction" |
| 2208 }, | 2596 }, |
| 2209 "type": "array" | 2597 "type": "array" |
| 2210 } | 2598 } |
| 2211 }, | 2599 }, |
| 2212 "type": "object" | 2600 "type": "object" |
| 2213 }, | 2601 }, |
| 2602 "AppRestrictionsSchemaChangeEvent": { |
| 2603 "description": "An event generated when a new app version is uploade
d to Google Play and its app restrictions schema changed. To fetch the app restr
ictions schema for an app, use Products.getAppRestrictionsSchema on the EMM API.
", |
| 2604 "id": "AppRestrictionsSchemaChangeEvent", |
| 2605 "properties": { |
| 2606 "productId": { |
| 2607 "description": "The id of the product (e.g. \"app:com.google
.android.gm\") for which the app restriction schema changed. This field will alw
ays be present.", |
| 2608 "type": "string" |
| 2609 } |
| 2610 }, |
| 2611 "type": "object" |
| 2612 }, |
| 2214 "AppRestrictionsSchemaRestriction": { | 2613 "AppRestrictionsSchemaRestriction": { |
| 2215 "description": "A restriction in the App Restriction Schema represen
ts a piece of configuration that may be pre-applied.", | 2614 "description": "A restriction in the App Restriction Schema represen
ts a piece of configuration that may be pre-applied.", |
| 2216 "id": "AppRestrictionsSchemaRestriction", | 2615 "id": "AppRestrictionsSchemaRestriction", |
| 2217 "properties": { | 2616 "properties": { |
| 2218 "defaultValue": { | 2617 "defaultValue": { |
| 2219 "$ref": "AppRestrictionsSchemaRestrictionRestrictionValue", | 2618 "$ref": "AppRestrictionsSchemaRestrictionRestrictionValue", |
| 2220 "description": "The default value of the restriction." | 2619 "description": "The default value of the restriction." |
| 2221 }, | 2620 }, |
| 2222 "description": { | 2621 "description": { |
| 2223 "description": "A longer description of the restriction, giv
ing more detail of what it affects.", | 2622 "description": "A longer description of the restriction, giv
ing more detail of what it affects.", |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2276 }, | 2675 }, |
| 2277 "type": "array" | 2676 "type": "array" |
| 2278 }, | 2677 }, |
| 2279 "valueString": { | 2678 "valueString": { |
| 2280 "description": "The string value - this will be present for
types string, choice and hidden.", | 2679 "description": "The string value - this will be present for
types string, choice and hidden.", |
| 2281 "type": "string" | 2680 "type": "string" |
| 2282 } | 2681 } |
| 2283 }, | 2682 }, |
| 2284 "type": "object" | 2683 "type": "object" |
| 2285 }, | 2684 }, |
| 2685 "AppUpdateEvent": { |
| 2686 "description": "An event generated when a new version of an app is u
ploaded to Google Play. Notifications are sent for new public versions only: alp
ha, beta, or canary versions do not generate this event. To fetch up-to-date ver
sion history for an app, use Products.Get on the EMM API.", |
| 2687 "id": "AppUpdateEvent", |
| 2688 "properties": { |
| 2689 "productId": { |
| 2690 "description": "The id of the product (e.g. \"app:com.google
.android.gm\") that was updated. This field will always be present.", |
| 2691 "type": "string" |
| 2692 } |
| 2693 }, |
| 2694 "type": "object" |
| 2695 }, |
| 2286 "AppVersion": { | 2696 "AppVersion": { |
| 2287 "description": "This represents a single version of the app.", | 2697 "description": "This represents a single version of the app.", |
| 2288 "id": "AppVersion", | 2698 "id": "AppVersion", |
| 2289 "properties": { | 2699 "properties": { |
| 2290 "versionCode": { | 2700 "versionCode": { |
| 2291 "description": "Unique increasing identifier for the app ver
sion.", | 2701 "description": "Unique increasing identifier for the app ver
sion.", |
| 2292 "format": "int32", | 2702 "format": "int32", |
| 2293 "type": "integer" | 2703 "type": "integer" |
| 2294 }, | 2704 }, |
| 2295 "versionString": { | 2705 "versionString": { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 2308 "type": "string" | 2718 "type": "string" |
| 2309 }, | 2719 }, |
| 2310 "kind": { | 2720 "kind": { |
| 2311 "default": "androidenterprise#approvalUrlInfo", | 2721 "default": "androidenterprise#approvalUrlInfo", |
| 2312 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#approvalUrlInfo\".", | 2722 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#approvalUrlInfo\".", |
| 2313 "type": "string" | 2723 "type": "string" |
| 2314 } | 2724 } |
| 2315 }, | 2725 }, |
| 2316 "type": "object" | 2726 "type": "object" |
| 2317 }, | 2727 }, |
| 2728 "AuthenticationToken": { |
| 2729 "description": "An AuthenticationToken is used by the EMM's device p
olicy client on a device to provision the given EMM-managed user on that device.
", |
| 2730 "id": "AuthenticationToken", |
| 2731 "properties": { |
| 2732 "kind": { |
| 2733 "default": "androidenterprise#authenticationToken", |
| 2734 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#authenticationToken\".", |
| 2735 "type": "string" |
| 2736 }, |
| 2737 "token": { |
| 2738 "description": "The authentication token to be passed to the
device policy client on the device where it can be used to provision the accoun
t for which this token was generated.", |
| 2739 "type": "string" |
| 2740 } |
| 2741 }, |
| 2742 "type": "object" |
| 2743 }, |
| 2318 "Collection": { | 2744 "Collection": { |
| 2319 "description": "A collection resource defines a named set of apps th
at is visible to a set of users in the Google Play Store app running on those us
ers' managed devices. Those users can then install any of those apps if they wis
h (which will trigger creation of install and entitlement resources). A user can
not install an app on a managed device unless the app is listed in at least one
collection that is visible to that user.\n\nNote that the API can be used to dir
ectly install an app regardless of whether it is in any collection - so an enter
prise has a choice of either directly pushing apps to users, or allowing users t
o install apps if they want. Which is appropriate will depend on the enterprise'
s policies and the purpose of the apps concerned.", | 2745 "description": "A collection resource defines a named set of apps th
at is visible to a set of users in the Google Play Store app running on those us
ers' managed devices. Those users can then install any of those apps if they wis
h (which will trigger creation of install and entitlement resources). A user can
not install an app on a managed device unless the app is listed in at least one
collection that is visible to that user.\n\nNote that the API can be used to dir
ectly install an app regardless of whether it is in any collection - so an enter
prise has a choice of either directly pushing apps to users, or allowing users t
o install apps if they want. Which is appropriate will depend on the enterprise'
s policies and the purpose of the apps concerned.", |
| 2320 "id": "Collection", | 2746 "id": "Collection", |
| 2321 "properties": { | 2747 "properties": { |
| 2322 "collectionId": { | 2748 "collectionId": { |
| 2323 "description": "Arbitrary unique ID, allocated by the API on
creation.", | 2749 "description": "Arbitrary unique ID, allocated by the API on
creation.", |
| 2324 "type": "string" | 2750 "type": "string" |
| 2325 }, | 2751 }, |
| 2326 "kind": { | 2752 "kind": { |
| 2327 "default": "androidenterprise#collection", | 2753 "default": "androidenterprise#collection", |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2403 "androidId": { | 2829 "androidId": { |
| 2404 "description": "The Google Play Services Android ID for the
device encoded as a lowercase hex string, e.g. \"123456789abcdef0\".", | 2830 "description": "The Google Play Services Android ID for the
device encoded as a lowercase hex string, e.g. \"123456789abcdef0\".", |
| 2405 "type": "string" | 2831 "type": "string" |
| 2406 }, | 2832 }, |
| 2407 "kind": { | 2833 "kind": { |
| 2408 "default": "androidenterprise#device", | 2834 "default": "androidenterprise#device", |
| 2409 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#device\".", | 2835 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#device\".", |
| 2410 "type": "string" | 2836 "type": "string" |
| 2411 }, | 2837 }, |
| 2412 "managementType": { | 2838 "managementType": { |
| 2413 "description": "The mechanism by which this device is manage
d by the EMM. \"managedDevice\" means that the EMM's app is a device owner. \"ma
nagedProfile\" means that the EMM's app is the profile owner (and there is a sep
arate personal profile which is not managed). \"containerApp\" means that the EM
M's app is managing the Android for Work container app on the device. ?unmanaged
Profile? means that the EMM?s app is managing a managed user on an unmanaged dev
ice", | 2839 "description": "The mechanism by which this device is manage
d by the EMM. \"managedDevice\" means that the EMM's app is a device owner. \"ma
nagedProfile\" means that the EMM's app is the profile owner (and there is a sep
arate personal profile which is not managed). \"containerApp\" means that the EM
M's app is managing the Android for Work container app on the device.", |
| 2414 "type": "string" | 2840 "type": "string" |
| 2415 } | 2841 } |
| 2416 }, | 2842 }, |
| 2417 "type": "object" | 2843 "type": "object" |
| 2418 }, | 2844 }, |
| 2419 "DeviceState": { | 2845 "DeviceState": { |
| 2420 "description": "The state of a user's device, as accessed by the get
State and setState methods on device resources.", | 2846 "description": "The state of a user's device, as accessed by the get
State and setState methods on device resources.", |
| 2421 "id": "DeviceState", | 2847 "id": "DeviceState", |
| 2422 "properties": { | 2848 "properties": { |
| 2423 "accountState": { | 2849 "accountState": { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 2445 }, | 2871 }, |
| 2446 "kind": { | 2872 "kind": { |
| 2447 "default": "androidenterprise#devicesListResponse", | 2873 "default": "androidenterprise#devicesListResponse", |
| 2448 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#devicesListResponse\".", | 2874 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#devicesListResponse\".", |
| 2449 "type": "string" | 2875 "type": "string" |
| 2450 } | 2876 } |
| 2451 }, | 2877 }, |
| 2452 "type": "object" | 2878 "type": "object" |
| 2453 }, | 2879 }, |
| 2454 "Enterprise": { | 2880 "Enterprise": { |
| 2455 "description": "An enterprise resource represents a binding between
an organization and their EMM.\n\nTo create an enterprise, an admin of the enter
prise must first go through a Play for Work sign-up flow. At the end of this the
admin will be presented with a token (a short opaque alphanumeric string). They
must then present this to the EMM, who then supplies it to the enroll method. U
ntil this is done the EMM will not have any access to the enterprise.\n\nAfter c
alling enroll the EMM should call setAccount to specify the service account that
will be allowed to act on behalf of the enterprise, which will be required for
access to the enterprise's data through this API. Only one call of setAccount is
allowed for a given enterprise; the only way to change the account later is to
unenroll the enterprise and enroll it again (obtaining a new token).\n\nThe EMM
can unenroll an enterprise in order to sever the binding between them. Re-enroll
ing an enterprise is possible, but requires a new token to be retrieved. Enterpr
ises.unenroll requires the EMM's credentials (as enroll does), not the enterpris
e's. Enterprises.unenroll can only be used for enterprises that were previously
enrolled with the enroll call. Any enterprises that were enrolled using the (dep
recated) Enterprises.insert call must be unenrolled with Enterprises.delete and
can then be re-enrolled using the Enterprises.enroll call.\n\nThe ID for an ente
rprise is an opaque string. It is returned by insert and enroll and can also be
retrieved if the enterprise's primary domain is known using the list method.", | 2881 "description": "An enterprise resource represents the binding betwee
n an EMM and a specific organization.\n\n\nThat binding can be instantiated in o
ne of two different ways using this API as follows:\n\n\n \n- For Google managed
domain customers, the process involves using Enterprises.enroll and Enterprises
.setAccount (in conjunction with artifacts obtained from the Admin console and t
he Google Developers console) and submitted to the EMM through a more-or-less ma
nual process. \n\n\n- An alternative process that takes advantage of Google-prov
ided mechanisms (Android for Work Sign-up UI) that expedite the process involves
Enterprises.generateSignupUrl, Enterprises.completeSignup, Enterprises.getServi
ceAccount (optional), and Enterprises.setAccount. \n\n\nThe overall processes
are very different and involve different identity models, but as an EMM, you can
support either or both approaches in your EMM console. See EMM Developer's Guid
e for details.", |
| 2456 "id": "Enterprise", | 2882 "id": "Enterprise", |
| 2457 "properties": { | 2883 "properties": { |
| 2884 "administrator": { |
| 2885 "description": "Administrators of the enterprise. This is on
ly supported for enterprises created via the EMM-initiated flow.", |
| 2886 "items": { |
| 2887 "$ref": "Administrator" |
| 2888 }, |
| 2889 "type": "array" |
| 2890 }, |
| 2458 "id": { | 2891 "id": { |
| 2459 "description": "The unique ID for the enterprise.", | 2892 "description": "The unique ID for the enterprise.", |
| 2460 "type": "string" | 2893 "type": "string" |
| 2461 }, | 2894 }, |
| 2462 "kind": { | 2895 "kind": { |
| 2463 "default": "androidenterprise#enterprise", | 2896 "default": "androidenterprise#enterprise", |
| 2464 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#enterprise\".", | 2897 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#enterprise\".", |
| 2465 "type": "string" | 2898 "type": "string" |
| 2466 }, | 2899 }, |
| 2467 "name": { | 2900 "name": { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2658 "type": "string" | 3091 "type": "string" |
| 2659 }, | 3092 }, |
| 2660 "versionCode": { | 3093 "versionCode": { |
| 2661 "description": "The version of the installed product. Guaran
teed to be set only if the install state is \"installed\".", | 3094 "description": "The version of the installed product. Guaran
teed to be set only if the install state is \"installed\".", |
| 2662 "format": "int32", | 3095 "format": "int32", |
| 2663 "type": "integer" | 3096 "type": "integer" |
| 2664 } | 3097 } |
| 2665 }, | 3098 }, |
| 2666 "type": "object" | 3099 "type": "object" |
| 2667 }, | 3100 }, |
| 3101 "InstallFailureEvent": { |
| 3102 "description": "An event generated when an app installation failed o
n a device", |
| 3103 "id": "InstallFailureEvent", |
| 3104 "properties": { |
| 3105 "deviceId": { |
| 3106 "description": "The Android ID of the device. This field wil
l always be present.", |
| 3107 "type": "string" |
| 3108 }, |
| 3109 "failureDetails": { |
| 3110 "description": "Additional details on the failure if applica
ble.", |
| 3111 "type": "string" |
| 3112 }, |
| 3113 "failureReason": { |
| 3114 "description": "The reason for the installation failure. Thi
s field will always be present.", |
| 3115 "type": "string" |
| 3116 }, |
| 3117 "productId": { |
| 3118 "description": "The id of the product (e.g. \"app:com.google
.android.gm\") for which the install failure event occured. This field will alwa
ys be present.", |
| 3119 "type": "string" |
| 3120 }, |
| 3121 "userId": { |
| 3122 "description": "The ID of the user. This field will always b
e present.", |
| 3123 "type": "string" |
| 3124 } |
| 3125 }, |
| 3126 "type": "object" |
| 3127 }, |
| 2668 "InstallsListResponse": { | 3128 "InstallsListResponse": { |
| 2669 "description": "The install resources for the device.", | 3129 "description": "The install resources for the device.", |
| 2670 "id": "InstallsListResponse", | 3130 "id": "InstallsListResponse", |
| 2671 "properties": { | 3131 "properties": { |
| 2672 "install": { | 3132 "install": { |
| 2673 "description": "An installation of an app for a user on a sp
ecific device. The existence of an install implies that the user must have an en
titlement to the app.", | 3133 "description": "An installation of an app for a user on a sp
ecific device. The existence of an install implies that the user must have an en
titlement to the app.", |
| 2674 "items": { | 3134 "items": { |
| 2675 "$ref": "Install" | 3135 "$ref": "Install" |
| 2676 }, | 3136 }, |
| 2677 "type": "array" | 3137 "type": "array" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 2692 "description": "The BCP47 tag for a locale. (e.g. \"en-US\",
\"de\").", | 3152 "description": "The BCP47 tag for a locale. (e.g. \"en-US\",
\"de\").", |
| 2693 "type": "string" | 3153 "type": "string" |
| 2694 }, | 3154 }, |
| 2695 "text": { | 3155 "text": { |
| 2696 "description": "The text localized in the associated locale.
", | 3156 "description": "The text localized in the associated locale.
", |
| 2697 "type": "string" | 3157 "type": "string" |
| 2698 } | 3158 } |
| 2699 }, | 3159 }, |
| 2700 "type": "object" | 3160 "type": "object" |
| 2701 }, | 3161 }, |
| 3162 "NewPermissionsEvent": { |
| 3163 "description": "An event generated when new permissions are added to
an app.", |
| 3164 "id": "NewPermissionsEvent", |
| 3165 "properties": { |
| 3166 "approvedPermissions": { |
| 3167 "description": "The set of permissions that the enterprise a
dmin has already approved for this application. Use Permissions.Get on the EMM A
PI to retrieve details about these permissions.", |
| 3168 "items": { |
| 3169 "type": "string" |
| 3170 }, |
| 3171 "type": "array" |
| 3172 }, |
| 3173 "productId": { |
| 3174 "description": "The id of the product (e.g. \"app:com.google
.android.gm\") for which new permissions were added. This field will always be p
resent.", |
| 3175 "type": "string" |
| 3176 }, |
| 3177 "requestedPermissions": { |
| 3178 "description": "The set of permissions that the app is curre
ntly requesting. Use Permissions.Get on the EMM API to retrieve details about th
ese permissions.", |
| 3179 "items": { |
| 3180 "type": "string" |
| 3181 }, |
| 3182 "type": "array" |
| 3183 } |
| 3184 }, |
| 3185 "type": "object" |
| 3186 }, |
| 3187 "Notification": { |
| 3188 "description": "A notification of one event relating to an enterpris
e.", |
| 3189 "id": "Notification", |
| 3190 "properties": { |
| 3191 "appRestrictionsSchemaChangeEvent": { |
| 3192 "$ref": "AppRestrictionsSchemaChangeEvent", |
| 3193 "description": "Notifications about new app restrictions sch
ema changes." |
| 3194 }, |
| 3195 "appUpdateEvent": { |
| 3196 "$ref": "AppUpdateEvent", |
| 3197 "description": "Notifications about app updates." |
| 3198 }, |
| 3199 "enterpriseId": { |
| 3200 "description": "The ID of the enterprise for which the notif
ication is sent. This will always be present.", |
| 3201 "type": "string" |
| 3202 }, |
| 3203 "installFailureEvent": { |
| 3204 "$ref": "InstallFailureEvent", |
| 3205 "description": "Notifications about an app installation fail
ure." |
| 3206 }, |
| 3207 "newPermissionsEvent": { |
| 3208 "$ref": "NewPermissionsEvent", |
| 3209 "description": "Notifications about new app permissions." |
| 3210 }, |
| 3211 "productApprovalEvent": { |
| 3212 "$ref": "ProductApprovalEvent", |
| 3213 "description": "Notifications about changes to a product's a
pproval status." |
| 3214 }, |
| 3215 "productAvailabilityChangeEvent": { |
| 3216 "$ref": "ProductAvailabilityChangeEvent", |
| 3217 "description": "Notifications about product availability cha
nges." |
| 3218 }, |
| 3219 "timestampMillis": { |
| 3220 "description": "The time when the notification was published
in milliseconds since 1970-01-01T00:00:00Z. This will always be present.", |
| 3221 "format": "int64", |
| 3222 "type": "string" |
| 3223 } |
| 3224 }, |
| 3225 "type": "object" |
| 3226 }, |
| 3227 "NotificationSet": { |
| 3228 "description": "A resource returned by the PullNotificationSet API,
which contains a collection of notifications for enterprises associated with the
service account authenticated for the request.", |
| 3229 "id": "NotificationSet", |
| 3230 "properties": { |
| 3231 "kind": { |
| 3232 "default": "androidenterprise#notificationSet", |
| 3233 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#notificationSet\".", |
| 3234 "type": "string" |
| 3235 }, |
| 3236 "notification": { |
| 3237 "description": "The notifications received, or empty if no n
otifications are present.", |
| 3238 "items": { |
| 3239 "$ref": "Notification" |
| 3240 }, |
| 3241 "type": "array" |
| 3242 }, |
| 3243 "notificationSetId": { |
| 3244 "description": "The notification set ID, required to mark th
e notification as received with the Enterprises.AcknowledgeNotification API. Thi
s will be omitted if no notifications are present.", |
| 3245 "type": "string" |
| 3246 } |
| 3247 }, |
| 3248 "type": "object" |
| 3249 }, |
| 2702 "PageInfo": { | 3250 "PageInfo": { |
| 2703 "id": "PageInfo", | 3251 "id": "PageInfo", |
| 2704 "properties": { | 3252 "properties": { |
| 2705 "resultPerPage": { | 3253 "resultPerPage": { |
| 2706 "format": "int32", | 3254 "format": "int32", |
| 2707 "type": "integer" | 3255 "type": "integer" |
| 2708 }, | 3256 }, |
| 2709 "startIndex": { | 3257 "startIndex": { |
| 2710 "format": "int32", | 3258 "format": "int32", |
| 2711 "type": "integer" | 3259 "type": "integer" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 2735 "type": "string" | 3283 "type": "string" |
| 2736 }, | 3284 }, |
| 2737 "permissionId": { | 3285 "permissionId": { |
| 2738 "description": "An opaque string uniquely identifying the pe
rmission.", | 3286 "description": "An opaque string uniquely identifying the pe
rmission.", |
| 2739 "type": "string" | 3287 "type": "string" |
| 2740 } | 3288 } |
| 2741 }, | 3289 }, |
| 2742 "type": "object" | 3290 "type": "object" |
| 2743 }, | 3291 }, |
| 2744 "Product": { | 3292 "Product": { |
| 2745 "description": "A product represents an app in the Google Play Store
that is available to at least some users in the enterprise. (Some apps are rest
ricted to a single enterprise, and no information about them is made available o
utside that enterprise.)\n\nThe information provided for each product (localized
name, icon, link to the full Google Play details page) is intended to allow a b
asic representation of the product within an EMM user interface.", | 3293 "description": "A Products resource represents an app in the Google
Play Store that is available to at least some users in the enterprise. (Some app
s are restricted to a single enterprise, and no information about them is made a
vailable outside that enterprise.)\n\nThe information provided for each product
(localized name, icon, link to the full Google Play details page) is intended to
allow a basic representation of the product within an EMM user interface.", |
| 2746 "id": "Product", | 3294 "id": "Product", |
| 2747 "properties": { | 3295 "properties": { |
| 2748 "appVersion": { | 3296 "appVersion": { |
| 2749 "description": "App versions currently available for this pr
oduct. The returned list contains only public versions. Alpha and beta versions
are not included.", | 3297 "description": "App versions currently available for this pr
oduct. The returned list contains only public versions. Alpha and beta versions
are not included.", |
| 2750 "items": { | 3298 "items": { |
| 2751 "$ref": "AppVersion" | 3299 "$ref": "AppVersion" |
| 2752 }, | 3300 }, |
| 2753 "type": "array" | 3301 "type": "array" |
| 2754 }, | 3302 }, |
| 2755 "authorName": { | 3303 "authorName": { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 2771 "kind": { | 3319 "kind": { |
| 2772 "default": "androidenterprise#product", | 3320 "default": "androidenterprise#product", |
| 2773 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#product\".", | 3321 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#product\".", |
| 2774 "type": "string" | 3322 "type": "string" |
| 2775 }, | 3323 }, |
| 2776 "productId": { | 3324 "productId": { |
| 2777 "description": "A string of the form app:<package name>. For
example, app:com.google.android.gm represents the Gmail app.", | 3325 "description": "A string of the form app:<package name>. For
example, app:com.google.android.gm represents the Gmail app.", |
| 2778 "type": "string" | 3326 "type": "string" |
| 2779 }, | 3327 }, |
| 2780 "productPricing": { | 3328 "productPricing": { |
| 2781 "description": "Whether this product is free, free with in-a
pp purchases, or paid.", | 3329 "description": "Whether this product is free, free with in-a
pp purchases, or paid. If the pricing is unknown, this means the product is not
generally available anymore (even though it might still be available to people w
ho own it).", |
| 2782 "type": "string" | 3330 "type": "string" |
| 2783 }, | 3331 }, |
| 2784 "requiresContainerApp": { | 3332 "requiresContainerApp": { |
| 2785 "description": "Whether this app can only be installed on de
vices using the Android for Work container app.", | 3333 "description": "Whether this app can only be installed on de
vices using the Android for Work container app.", |
| 2786 "type": "boolean" | 3334 "type": "boolean" |
| 2787 }, | 3335 }, |
| 2788 "smallIconUrl": { | 3336 "smallIconUrl": { |
| 2789 "description": "A link to a smaller image that can be used a
s an icon for the product. This image is suitable for use at up to 128px x 128px
.", | 3337 "description": "A link to a smaller image that can be used a
s an icon for the product. This image is suitable for use at up to 128px x 128px
.", |
| 2790 "type": "string" | 3338 "type": "string" |
| 2791 }, | 3339 }, |
| 2792 "title": { | 3340 "title": { |
| 2793 "description": "The name of the product.", | 3341 "description": "The name of the product.", |
| 2794 "type": "string" | 3342 "type": "string" |
| 2795 }, | 3343 }, |
| 2796 "workDetailsUrl": { | 3344 "workDetailsUrl": { |
| 2797 "description": "A link to the Google Play for Work details p
age for the product, for use by an Enterprise administrator.", | 3345 "description": "A link to the Google Play for Work details p
age for the product, for use by an Enterprise administrator.", |
| 2798 "type": "string" | 3346 "type": "string" |
| 2799 } | 3347 } |
| 2800 }, | 3348 }, |
| 2801 "type": "object" | 3349 "type": "object" |
| 2802 }, | 3350 }, |
| 3351 "ProductApprovalEvent": { |
| 3352 "description": "An event generated when a product's approval status
is changed.", |
| 3353 "id": "ProductApprovalEvent", |
| 3354 "properties": { |
| 3355 "approved": { |
| 3356 "description": "Whether the product was approved or unapprov
ed. This field will always be present.", |
| 3357 "type": "string" |
| 3358 }, |
| 3359 "productId": { |
| 3360 "description": "The id of the product (e.g. \"app:com.google
.android.gm\") for which the approval status has changed. This field will always
be present.", |
| 3361 "type": "string" |
| 3362 } |
| 3363 }, |
| 3364 "type": "object" |
| 3365 }, |
| 3366 "ProductAvailabilityChangeEvent": { |
| 3367 "description": "An event generated whenever a product's availability
changes.", |
| 3368 "id": "ProductAvailabilityChangeEvent", |
| 3369 "properties": { |
| 3370 "availabilityStatus": { |
| 3371 "description": "The new state of the product. This field wil
l always be present.", |
| 3372 "type": "string" |
| 3373 }, |
| 3374 "productId": { |
| 3375 "description": "The id of the product (e.g. \"app:com.google
.android.gm\") for which the product availability changed. This field will alway
s be present.", |
| 3376 "type": "string" |
| 3377 } |
| 3378 }, |
| 3379 "type": "object" |
| 3380 }, |
| 2803 "ProductPermission": { | 3381 "ProductPermission": { |
| 2804 "description": "A product permissions resource represents the set of
permissions required by a specific app and whether or not they have been accept
ed by an enterprise admin.\n\nThe API can be used to read the set of permissions
, and also to update the set to indicate that permissions have been accepted.", | 3382 "description": "A product permissions resource represents the set of
permissions required by a specific app and whether or not they have been accept
ed by an enterprise admin.\n\nThe API can be used to read the set of permissions
, and also to update the set to indicate that permissions have been accepted.", |
| 2805 "id": "ProductPermission", | 3383 "id": "ProductPermission", |
| 2806 "properties": { | 3384 "properties": { |
| 2807 "permissionId": { | 3385 "permissionId": { |
| 2808 "description": "An opaque string uniquely identifying the pe
rmission.", | 3386 "description": "An opaque string uniquely identifying the pe
rmission.", |
| 2809 "type": "string" | 3387 "type": "string" |
| 2810 }, | 3388 }, |
| 2811 "state": { | 3389 "state": { |
| 2812 "description": "Whether the permission has been accepted or
not.", | 3390 "description": "Whether the permission has been accepted or
not.", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2902 }, | 3480 }, |
| 2903 "type": "array" | 3481 "type": "array" |
| 2904 }, | 3482 }, |
| 2905 "tokenPagination": { | 3483 "tokenPagination": { |
| 2906 "$ref": "TokenPagination", | 3484 "$ref": "TokenPagination", |
| 2907 "description": "Pagination information for token pagination.
" | 3485 "description": "Pagination information for token pagination.
" |
| 2908 } | 3486 } |
| 2909 }, | 3487 }, |
| 2910 "type": "object" | 3488 "type": "object" |
| 2911 }, | 3489 }, |
| 3490 "ServiceAccount": { |
| 3491 "description": "A service account identity, including the name and c
redentials that can be used to authenticate as the service account.", |
| 3492 "id": "ServiceAccount", |
| 3493 "properties": { |
| 3494 "key": { |
| 3495 "$ref": "ServiceAccountKey", |
| 3496 "description": "Credentials that can be used to authenticate
as this ServiceAccount." |
| 3497 }, |
| 3498 "kind": { |
| 3499 "default": "androidenterprise#serviceAccount", |
| 3500 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#serviceAccount\".", |
| 3501 "type": "string" |
| 3502 }, |
| 3503 "name": { |
| 3504 "description": "The account name of the service account, in
the form of an email address. Assigned by the server.", |
| 3505 "type": "string" |
| 3506 } |
| 3507 }, |
| 3508 "type": "object" |
| 3509 }, |
| 3510 "ServiceAccountKey": { |
| 3511 "description": "Credentials that can be used to authenticate as a se
rvice account.", |
| 3512 "id": "ServiceAccountKey", |
| 3513 "properties": { |
| 3514 "data": { |
| 3515 "description": "The body of the private key credentials file
, in string format. This is only populated when the ServiceAccountKey is created
, and is not stored by Google.", |
| 3516 "type": "string" |
| 3517 }, |
| 3518 "id": { |
| 3519 "description": "An opaque, unique identifier for this Servic
eAccountKey. Assigned by the server.", |
| 3520 "type": "string" |
| 3521 }, |
| 3522 "kind": { |
| 3523 "default": "androidenterprise#serviceAccountKey", |
| 3524 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#serviceAccountKey\".", |
| 3525 "type": "string" |
| 3526 }, |
| 3527 "type": { |
| 3528 "annotations": { |
| 3529 "required": [ |
| 3530 "androidenterprise.serviceaccountkeys.insert" |
| 3531 ] |
| 3532 }, |
| 3533 "description": "The file format of the generated key data.", |
| 3534 "type": "string" |
| 3535 } |
| 3536 }, |
| 3537 "type": "object" |
| 3538 }, |
| 3539 "ServiceAccountKeysListResponse": { |
| 3540 "id": "ServiceAccountKeysListResponse", |
| 3541 "properties": { |
| 3542 "serviceAccountKey": { |
| 3543 "description": "The service account credentials.", |
| 3544 "items": { |
| 3545 "$ref": "ServiceAccountKey" |
| 3546 }, |
| 3547 "type": "array" |
| 3548 } |
| 3549 }, |
| 3550 "type": "object" |
| 3551 }, |
| 3552 "SignupInfo": { |
| 3553 "description": "A resource returned by the GenerateSignupUrl API, wh
ich contains the Signup URL and Completion Token.", |
| 3554 "id": "SignupInfo", |
| 3555 "properties": { |
| 3556 "completionToken": { |
| 3557 "description": "An opaque token that will be required, along
with the Enterprise Token, for obtaining the enterprise resource from CompleteS
ignup.", |
| 3558 "type": "string" |
| 3559 }, |
| 3560 "kind": { |
| 3561 "default": "androidenterprise#signupInfo", |
| 3562 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#signupInfo\".", |
| 3563 "type": "string" |
| 3564 }, |
| 3565 "url": { |
| 3566 "description": "A URL under which the Admin can sign up for
an enterprise. The page pointed to cannot be rendered in an iframe.", |
| 3567 "type": "string" |
| 3568 } |
| 3569 }, |
| 3570 "type": "object" |
| 3571 }, |
| 2912 "StoreCluster": { | 3572 "StoreCluster": { |
| 2913 "description": "Definition of a Google Play for Work store cluster,
a list of products displayed as part of a store page.", | 3573 "description": "Definition of a Google Play for Work store cluster,
a list of products displayed as part of a store page.", |
| 2914 "id": "StoreCluster", | 3574 "id": "StoreCluster", |
| 2915 "properties": { | 3575 "properties": { |
| 2916 "id": { | 3576 "id": { |
| 2917 "description": "Unique ID of this cluster. Assigned by the s
erver. Immutable once assigned.", | 3577 "description": "Unique ID of this cluster. Assigned by the s
erver. Immutable once assigned.", |
| 2918 "type": "string" | 3578 "type": "string" |
| 2919 }, | 3579 }, |
| 2920 "kind": { | 3580 "kind": { |
| 2921 "default": "androidenterprise#storeCluster", | 3581 "default": "androidenterprise#storeCluster", |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3033 "nextPageToken": { | 3693 "nextPageToken": { |
| 3034 "type": "string" | 3694 "type": "string" |
| 3035 }, | 3695 }, |
| 3036 "previousPageToken": { | 3696 "previousPageToken": { |
| 3037 "type": "string" | 3697 "type": "string" |
| 3038 } | 3698 } |
| 3039 }, | 3699 }, |
| 3040 "type": "object" | 3700 "type": "object" |
| 3041 }, | 3701 }, |
| 3042 "User": { | 3702 "User": { |
| 3043 "description": "A user resource represents an individual user within
the enterprise's domain.\n\nNote that each user is associated with a Google acc
ount based on the user's corporate email address (which must be in one of the en
terprise's domains). As part of installing the EMM's DPC app to manage a device
the Google account must be provisioned to the device, and so the user resource m
ust be created before that. This can be done using the Google Admin SDK Director
y API.\n\nThe ID for a user is an opaque string. It can be retrieved using the l
ist method queried by the user's primary email address.", | 3703 "description": "A Users resource represents an account associated wi
th an enterprise. The account may be specific to a device or to an individual us
er (who can then use the account across multiple devices). The account may provi
de access to Google Play for Work only, or to other Google services, depending o
n the identity model used: \n- Google managed domain identity model requires sy
nchronization to Google account sources (via primaryEmail). \n\n\n- Android for
Work accounts identity model provides a dynamic means for enterprises to create
user or device accounts as needed. These accounts provide access to Google Play
for Work only.", |
| 3044 "id": "User", | 3704 "id": "User", |
| 3045 "properties": { | 3705 "properties": { |
| 3706 "accountIdentifier": { |
| 3707 "annotations": { |
| 3708 "required": [ |
| 3709 "androidenterprise.users.insert" |
| 3710 ] |
| 3711 }, |
| 3712 "description": "The id as used by the EMM for this user, e.g
. \"user342\" or \"asset#44418\". Will always be set for EMM managed users and n
ot set for Google managed users. For privacy sensitive deployments it should not
be possible to identify the individual with this identifier.", |
| 3713 "type": "string" |
| 3714 }, |
| 3715 "accountType": { |
| 3716 "annotations": { |
| 3717 "required": [ |
| 3718 "androidenterprise.users.insert" |
| 3719 ] |
| 3720 }, |
| 3721 "description": "The type of account that this user represent
s. A \"deviceAccount\" is specific to a single device while a \"userAccount\" re
presents a traditional user account, i.e. one that can be installed on multiple
devices. \"googleManaged\" users will always be a \"userAccount\" but \"emmManag
ed\" users can be either a \"userAccount\" or a \"deviceAccount\".", |
| 3722 "type": "string" |
| 3723 }, |
| 3724 "displayName": { |
| 3725 "description": "The user's name as it is to be presented in
user interfaces, e.g. \"John\". Can optionally be set for EMM managed users and
will not be set for Google managed users. For privacy sensitive deployments this
should be left unset or set to something generic.", |
| 3726 "type": "string" |
| 3727 }, |
| 3046 "id": { | 3728 "id": { |
| 3047 "description": "The unique ID for the user.", | 3729 "description": "The unique ID for the user.", |
| 3048 "type": "string" | 3730 "type": "string" |
| 3049 }, | 3731 }, |
| 3050 "kind": { | 3732 "kind": { |
| 3051 "default": "androidenterprise#user", | 3733 "default": "androidenterprise#user", |
| 3052 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#user\".", | 3734 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#user\".", |
| 3053 "type": "string" | 3735 "type": "string" |
| 3054 }, | 3736 }, |
| 3737 "managementType": { |
| 3738 "description": "The entity that manages the user. With \"goo
gleManaged\" users, the source of truth is Google so EMMs have to make sure a Go
ogle account exists for the user. With \"emmManaged\" users, the EMM is in charg
e.", |
| 3739 "type": "string" |
| 3740 }, |
| 3055 "primaryEmail": { | 3741 "primaryEmail": { |
| 3056 "description": "The user's primary email address, e.g. \"jsm
ith@example.com\".", | 3742 "description": "The user's primary email address, for exampl
e, \"jsmith@example.com\". Will always be set for Google managed users and not s
et for EMM managed users.", |
| 3057 "type": "string" | 3743 "type": "string" |
| 3058 } | 3744 } |
| 3059 }, | 3745 }, |
| 3060 "type": "object" | 3746 "type": "object" |
| 3061 }, | 3747 }, |
| 3062 "UserToken": { | 3748 "UserToken": { |
| 3063 "description": "A UserToken is used by a user when setting up a mana
ged device or profile with their work account on a device. When the user enters
their email address and token (activation code) the appropriate EMM app can be a
utomatically downloaded.", | 3749 "description": "A UserToken is used by a user when setting up a mana
ged device or profile with their work account on a device. When the user enters
their email address and token (activation code) the appropriate EMM app can be a
utomatically downloaded.", |
| 3064 "id": "UserToken", | 3750 "id": "UserToken", |
| 3065 "properties": { | 3751 "properties": { |
| 3066 "kind": { | 3752 "kind": { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 3096 "type": "array" | 3782 "type": "array" |
| 3097 } | 3783 } |
| 3098 }, | 3784 }, |
| 3099 "type": "object" | 3785 "type": "object" |
| 3100 } | 3786 } |
| 3101 }, | 3787 }, |
| 3102 "servicePath": "androidenterprise/v1/", | 3788 "servicePath": "androidenterprise/v1/", |
| 3103 "title": "Google Play EMM API", | 3789 "title": "Google Play EMM API", |
| 3104 "version": "v1" | 3790 "version": "v1" |
| 3105 } | 3791 } |
| OLD | NEW |