| 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/1RjmJ_qP2oWoO3TZiowI1c1EgE0\"", | 18 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/wQZjZY_qOK_e4AuFKM4qGpH1v4k\"", |
| 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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 }, | 713 }, |
| 714 "getServiceAccount": { | 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.", | 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", | 716 "httpMethod": "GET", |
| 717 "id": "androidenterprise.enterprises.getServiceAccount", | 717 "id": "androidenterprise.enterprises.getServiceAccount", |
| 718 "parameterOrder": [ | 718 "parameterOrder": [ |
| 719 "enterpriseId" | 719 "enterpriseId" |
| 720 ], | 720 ], |
| 721 "parameters": { | 721 "parameters": { |
| 722 "enterpriseId": { | 722 "enterpriseId": { |
| 723 "description": "The ID of the enterprise.", |
| 723 "location": "path", | 724 "location": "path", |
| 724 "required": true, | 725 "required": true, |
| 725 "type": "string" | 726 "type": "string" |
| 726 }, | 727 }, |
| 727 "keyType": { | 728 "keyType": { |
| 728 "description": "The type of credential to return wit
h the service account. Required.", | 729 "description": "The type of credential to return wit
h the service account. Required.", |
| 729 "enum": [ | 730 "enum": [ |
| 730 "googleCredentials", | 731 "googleCredentials", |
| 731 "pkcs12" | 732 "pkcs12" |
| 732 ], | 733 ], |
| 733 "enumDescriptions": [ | 734 "enumDescriptions": [ |
| 734 "", | 735 "", |
| 735 "" | 736 "" |
| 736 ], | 737 ], |
| 737 "location": "query", | 738 "location": "query", |
| 738 "type": "string" | 739 "type": "string" |
| 739 } | 740 } |
| 740 }, | 741 }, |
| 741 "path": "enterprises/{enterpriseId}/serviceAccount", | 742 "path": "enterprises/{enterpriseId}/serviceAccount", |
| 742 "response": { | 743 "response": { |
| 743 "$ref": "ServiceAccount" | 744 "$ref": "ServiceAccount" |
| 744 }, | 745 }, |
| 745 "scopes": [ | 746 "scopes": [ |
| 746 "https://www.googleapis.com/auth/androidenterprise" | 747 "https://www.googleapis.com/auth/androidenterprise" |
| 747 ] | 748 ] |
| 748 }, | 749 }, |
| 749 "getStoreLayout": { | 750 "getStoreLayout": { |
| 750 "description": "Returns the store layout resource.", | 751 "description": "Returns the store layout for the enterprise.
If the store layout has not been set, or if the store layout has no homepageId
set, returns a NOT_FOUND error.", |
| 751 "httpMethod": "GET", | 752 "httpMethod": "GET", |
| 752 "id": "androidenterprise.enterprises.getStoreLayout", | 753 "id": "androidenterprise.enterprises.getStoreLayout", |
| 753 "parameterOrder": [ | 754 "parameterOrder": [ |
| 754 "enterpriseId" | 755 "enterpriseId" |
| 755 ], | 756 ], |
| 756 "parameters": { | 757 "parameters": { |
| 757 "enterpriseId": { | 758 "enterpriseId": { |
| 758 "description": "The ID of the enterprise.", | 759 "description": "The ID of the enterprise.", |
| 759 "location": "path", | 760 "location": "path", |
| 760 "required": true, | 761 "required": true, |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 "$ref": "EnterpriseAccount" | 889 "$ref": "EnterpriseAccount" |
| 889 }, | 890 }, |
| 890 "response": { | 891 "response": { |
| 891 "$ref": "EnterpriseAccount" | 892 "$ref": "EnterpriseAccount" |
| 892 }, | 893 }, |
| 893 "scopes": [ | 894 "scopes": [ |
| 894 "https://www.googleapis.com/auth/androidenterprise" | 895 "https://www.googleapis.com/auth/androidenterprise" |
| 895 ] | 896 ] |
| 896 }, | 897 }, |
| 897 "setStoreLayout": { | 898 "setStoreLayout": { |
| 898 "description": "Sets the store layout resource.", | 899 "description": "Sets the store layout for the enterprise.", |
| 899 "httpMethod": "PUT", | 900 "httpMethod": "PUT", |
| 900 "id": "androidenterprise.enterprises.setStoreLayout", | 901 "id": "androidenterprise.enterprises.setStoreLayout", |
| 901 "parameterOrder": [ | 902 "parameterOrder": [ |
| 902 "enterpriseId" | 903 "enterpriseId" |
| 903 ], | 904 ], |
| 904 "parameters": { | 905 "parameters": { |
| 905 "enterpriseId": { | 906 "enterpriseId": { |
| 906 "description": "The ID of the enterprise.", | 907 "description": "The ID of the enterprise.", |
| 907 "location": "path", | 908 "location": "path", |
| 908 "required": true, | 909 "required": true, |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 }, | 1442 }, |
| 1442 "response": { | 1443 "response": { |
| 1443 "$ref": "Install" | 1444 "$ref": "Install" |
| 1444 }, | 1445 }, |
| 1445 "scopes": [ | 1446 "scopes": [ |
| 1446 "https://www.googleapis.com/auth/androidenterprise" | 1447 "https://www.googleapis.com/auth/androidenterprise" |
| 1447 ] | 1448 ] |
| 1448 } | 1449 } |
| 1449 } | 1450 } |
| 1450 }, | 1451 }, |
| 1452 "managedconfigurationsfordevice": { |
| 1453 "methods": { |
| 1454 "delete": { |
| 1455 "description": "Removes a per-device managed configuration f
or an app for the specified device.", |
| 1456 "httpMethod": "DELETE", |
| 1457 "id": "androidenterprise.managedconfigurationsfordevice.dele
te", |
| 1458 "parameterOrder": [ |
| 1459 "enterpriseId", |
| 1460 "userId", |
| 1461 "deviceId", |
| 1462 "managedConfigurationForDeviceId" |
| 1463 ], |
| 1464 "parameters": { |
| 1465 "deviceId": { |
| 1466 "description": "The Android ID of the device.", |
| 1467 "location": "path", |
| 1468 "required": true, |
| 1469 "type": "string" |
| 1470 }, |
| 1471 "enterpriseId": { |
| 1472 "description": "The ID of the enterprise.", |
| 1473 "location": "path", |
| 1474 "required": true, |
| 1475 "type": "string" |
| 1476 }, |
| 1477 "managedConfigurationForDeviceId": { |
| 1478 "description": "The ID of the managed configuration
(a product ID), e.g. \"app:com.google.android.gm\".", |
| 1479 "location": "path", |
| 1480 "required": true, |
| 1481 "type": "string" |
| 1482 }, |
| 1483 "userId": { |
| 1484 "description": "The ID of the user.", |
| 1485 "location": "path", |
| 1486 "required": true, |
| 1487 "type": "string" |
| 1488 } |
| 1489 }, |
| 1490 "path": "enterprises/{enterpriseId}/users/{userId}/devices/{
deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}", |
| 1491 "scopes": [ |
| 1492 "https://www.googleapis.com/auth/androidenterprise" |
| 1493 ] |
| 1494 }, |
| 1495 "get": { |
| 1496 "description": "Retrieves details of a per-device managed co
nfiguration.", |
| 1497 "httpMethod": "GET", |
| 1498 "id": "androidenterprise.managedconfigurationsfordevice.get"
, |
| 1499 "parameterOrder": [ |
| 1500 "enterpriseId", |
| 1501 "userId", |
| 1502 "deviceId", |
| 1503 "managedConfigurationForDeviceId" |
| 1504 ], |
| 1505 "parameters": { |
| 1506 "deviceId": { |
| 1507 "description": "The Android ID of the device.", |
| 1508 "location": "path", |
| 1509 "required": true, |
| 1510 "type": "string" |
| 1511 }, |
| 1512 "enterpriseId": { |
| 1513 "description": "The ID of the enterprise.", |
| 1514 "location": "path", |
| 1515 "required": true, |
| 1516 "type": "string" |
| 1517 }, |
| 1518 "managedConfigurationForDeviceId": { |
| 1519 "description": "The ID of the managed configuration
(a product ID), e.g. \"app:com.google.android.gm\".", |
| 1520 "location": "path", |
| 1521 "required": true, |
| 1522 "type": "string" |
| 1523 }, |
| 1524 "userId": { |
| 1525 "description": "The ID of the user.", |
| 1526 "location": "path", |
| 1527 "required": true, |
| 1528 "type": "string" |
| 1529 } |
| 1530 }, |
| 1531 "path": "enterprises/{enterpriseId}/users/{userId}/devices/{
deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}", |
| 1532 "response": { |
| 1533 "$ref": "ManagedConfiguration" |
| 1534 }, |
| 1535 "scopes": [ |
| 1536 "https://www.googleapis.com/auth/androidenterprise" |
| 1537 ] |
| 1538 }, |
| 1539 "list": { |
| 1540 "description": "Lists all the per-device managed configurati
ons for the specified device. Only the ID is set.", |
| 1541 "httpMethod": "GET", |
| 1542 "id": "androidenterprise.managedconfigurationsfordevice.list
", |
| 1543 "parameterOrder": [ |
| 1544 "enterpriseId", |
| 1545 "userId", |
| 1546 "deviceId" |
| 1547 ], |
| 1548 "parameters": { |
| 1549 "deviceId": { |
| 1550 "description": "The Android ID of the device.", |
| 1551 "location": "path", |
| 1552 "required": true, |
| 1553 "type": "string" |
| 1554 }, |
| 1555 "enterpriseId": { |
| 1556 "description": "The ID of the enterprise.", |
| 1557 "location": "path", |
| 1558 "required": true, |
| 1559 "type": "string" |
| 1560 }, |
| 1561 "userId": { |
| 1562 "description": "The ID of the user.", |
| 1563 "location": "path", |
| 1564 "required": true, |
| 1565 "type": "string" |
| 1566 } |
| 1567 }, |
| 1568 "path": "enterprises/{enterpriseId}/users/{userId}/devices/{
deviceId}/managedConfigurationsForDevice", |
| 1569 "response": { |
| 1570 "$ref": "ManagedConfigurationsForDeviceListResponse" |
| 1571 }, |
| 1572 "scopes": [ |
| 1573 "https://www.googleapis.com/auth/androidenterprise" |
| 1574 ] |
| 1575 }, |
| 1576 "patch": { |
| 1577 "description": "Adds or updates a per-device managed configu
ration for an app for the specified device. This method supports patch semantics
.", |
| 1578 "httpMethod": "PATCH", |
| 1579 "id": "androidenterprise.managedconfigurationsfordevice.patc
h", |
| 1580 "parameterOrder": [ |
| 1581 "enterpriseId", |
| 1582 "userId", |
| 1583 "deviceId", |
| 1584 "managedConfigurationForDeviceId" |
| 1585 ], |
| 1586 "parameters": { |
| 1587 "deviceId": { |
| 1588 "description": "The Android ID of the device.", |
| 1589 "location": "path", |
| 1590 "required": true, |
| 1591 "type": "string" |
| 1592 }, |
| 1593 "enterpriseId": { |
| 1594 "description": "The ID of the enterprise.", |
| 1595 "location": "path", |
| 1596 "required": true, |
| 1597 "type": "string" |
| 1598 }, |
| 1599 "managedConfigurationForDeviceId": { |
| 1600 "description": "The ID of the managed configuration
(a product ID), e.g. \"app:com.google.android.gm\".", |
| 1601 "location": "path", |
| 1602 "required": true, |
| 1603 "type": "string" |
| 1604 }, |
| 1605 "userId": { |
| 1606 "description": "The ID of the user.", |
| 1607 "location": "path", |
| 1608 "required": true, |
| 1609 "type": "string" |
| 1610 } |
| 1611 }, |
| 1612 "path": "enterprises/{enterpriseId}/users/{userId}/devices/{
deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}", |
| 1613 "request": { |
| 1614 "$ref": "ManagedConfiguration" |
| 1615 }, |
| 1616 "response": { |
| 1617 "$ref": "ManagedConfiguration" |
| 1618 }, |
| 1619 "scopes": [ |
| 1620 "https://www.googleapis.com/auth/androidenterprise" |
| 1621 ] |
| 1622 }, |
| 1623 "update": { |
| 1624 "description": "Adds or updates a per-device managed configu
ration for an app for the specified device.", |
| 1625 "httpMethod": "PUT", |
| 1626 "id": "androidenterprise.managedconfigurationsfordevice.upda
te", |
| 1627 "parameterOrder": [ |
| 1628 "enterpriseId", |
| 1629 "userId", |
| 1630 "deviceId", |
| 1631 "managedConfigurationForDeviceId" |
| 1632 ], |
| 1633 "parameters": { |
| 1634 "deviceId": { |
| 1635 "description": "The Android ID of the device.", |
| 1636 "location": "path", |
| 1637 "required": true, |
| 1638 "type": "string" |
| 1639 }, |
| 1640 "enterpriseId": { |
| 1641 "description": "The ID of the enterprise.", |
| 1642 "location": "path", |
| 1643 "required": true, |
| 1644 "type": "string" |
| 1645 }, |
| 1646 "managedConfigurationForDeviceId": { |
| 1647 "description": "The ID of the managed configuration
(a product ID), e.g. \"app:com.google.android.gm\".", |
| 1648 "location": "path", |
| 1649 "required": true, |
| 1650 "type": "string" |
| 1651 }, |
| 1652 "userId": { |
| 1653 "description": "The ID of the user.", |
| 1654 "location": "path", |
| 1655 "required": true, |
| 1656 "type": "string" |
| 1657 } |
| 1658 }, |
| 1659 "path": "enterprises/{enterpriseId}/users/{userId}/devices/{
deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}", |
| 1660 "request": { |
| 1661 "$ref": "ManagedConfiguration" |
| 1662 }, |
| 1663 "response": { |
| 1664 "$ref": "ManagedConfiguration" |
| 1665 }, |
| 1666 "scopes": [ |
| 1667 "https://www.googleapis.com/auth/androidenterprise" |
| 1668 ] |
| 1669 } |
| 1670 } |
| 1671 }, |
| 1672 "managedconfigurationsforuser": { |
| 1673 "methods": { |
| 1674 "delete": { |
| 1675 "description": "Removes a per-user managed configuration for
an app for the specified user.", |
| 1676 "httpMethod": "DELETE", |
| 1677 "id": "androidenterprise.managedconfigurationsforuser.delete
", |
| 1678 "parameterOrder": [ |
| 1679 "enterpriseId", |
| 1680 "userId", |
| 1681 "managedConfigurationForUserId" |
| 1682 ], |
| 1683 "parameters": { |
| 1684 "enterpriseId": { |
| 1685 "description": "The ID of the enterprise.", |
| 1686 "location": "path", |
| 1687 "required": true, |
| 1688 "type": "string" |
| 1689 }, |
| 1690 "managedConfigurationForUserId": { |
| 1691 "description": "The ID of the managed configuration
(a product ID), e.g. \"app:com.google.android.gm\".", |
| 1692 "location": "path", |
| 1693 "required": true, |
| 1694 "type": "string" |
| 1695 }, |
| 1696 "userId": { |
| 1697 "description": "The ID of the user.", |
| 1698 "location": "path", |
| 1699 "required": true, |
| 1700 "type": "string" |
| 1701 } |
| 1702 }, |
| 1703 "path": "enterprises/{enterpriseId}/users/{userId}/managedCo
nfigurationsForUser/{managedConfigurationForUserId}", |
| 1704 "scopes": [ |
| 1705 "https://www.googleapis.com/auth/androidenterprise" |
| 1706 ] |
| 1707 }, |
| 1708 "get": { |
| 1709 "description": "Retrieves details of a per-user managed conf
iguration for an app for the specified user.", |
| 1710 "httpMethod": "GET", |
| 1711 "id": "androidenterprise.managedconfigurationsforuser.get", |
| 1712 "parameterOrder": [ |
| 1713 "enterpriseId", |
| 1714 "userId", |
| 1715 "managedConfigurationForUserId" |
| 1716 ], |
| 1717 "parameters": { |
| 1718 "enterpriseId": { |
| 1719 "description": "The ID of the enterprise.", |
| 1720 "location": "path", |
| 1721 "required": true, |
| 1722 "type": "string" |
| 1723 }, |
| 1724 "managedConfigurationForUserId": { |
| 1725 "description": "The ID of the managed configuration
(a product ID), e.g. \"app:com.google.android.gm\".", |
| 1726 "location": "path", |
| 1727 "required": true, |
| 1728 "type": "string" |
| 1729 }, |
| 1730 "userId": { |
| 1731 "description": "The ID of the user.", |
| 1732 "location": "path", |
| 1733 "required": true, |
| 1734 "type": "string" |
| 1735 } |
| 1736 }, |
| 1737 "path": "enterprises/{enterpriseId}/users/{userId}/managedCo
nfigurationsForUser/{managedConfigurationForUserId}", |
| 1738 "response": { |
| 1739 "$ref": "ManagedConfiguration" |
| 1740 }, |
| 1741 "scopes": [ |
| 1742 "https://www.googleapis.com/auth/androidenterprise" |
| 1743 ] |
| 1744 }, |
| 1745 "list": { |
| 1746 "description": "Lists all the per-user managed configuration
s for the specified user. Only the ID is set.", |
| 1747 "httpMethod": "GET", |
| 1748 "id": "androidenterprise.managedconfigurationsforuser.list", |
| 1749 "parameterOrder": [ |
| 1750 "enterpriseId", |
| 1751 "userId" |
| 1752 ], |
| 1753 "parameters": { |
| 1754 "enterpriseId": { |
| 1755 "description": "The ID of the enterprise.", |
| 1756 "location": "path", |
| 1757 "required": true, |
| 1758 "type": "string" |
| 1759 }, |
| 1760 "userId": { |
| 1761 "description": "The ID of the user.", |
| 1762 "location": "path", |
| 1763 "required": true, |
| 1764 "type": "string" |
| 1765 } |
| 1766 }, |
| 1767 "path": "enterprises/{enterpriseId}/users/{userId}/managedCo
nfigurationsForUser", |
| 1768 "response": { |
| 1769 "$ref": "ManagedConfigurationsForUserListResponse" |
| 1770 }, |
| 1771 "scopes": [ |
| 1772 "https://www.googleapis.com/auth/androidenterprise" |
| 1773 ] |
| 1774 }, |
| 1775 "patch": { |
| 1776 "description": "Adds or updates a per-user managed configura
tion for an app for the specified user. This method supports patch semantics.", |
| 1777 "httpMethod": "PATCH", |
| 1778 "id": "androidenterprise.managedconfigurationsforuser.patch"
, |
| 1779 "parameterOrder": [ |
| 1780 "enterpriseId", |
| 1781 "userId", |
| 1782 "managedConfigurationForUserId" |
| 1783 ], |
| 1784 "parameters": { |
| 1785 "enterpriseId": { |
| 1786 "description": "The ID of the enterprise.", |
| 1787 "location": "path", |
| 1788 "required": true, |
| 1789 "type": "string" |
| 1790 }, |
| 1791 "managedConfigurationForUserId": { |
| 1792 "description": "The ID of the managed configuration
(a product ID), e.g. \"app:com.google.android.gm\".", |
| 1793 "location": "path", |
| 1794 "required": true, |
| 1795 "type": "string" |
| 1796 }, |
| 1797 "userId": { |
| 1798 "description": "The ID of the user.", |
| 1799 "location": "path", |
| 1800 "required": true, |
| 1801 "type": "string" |
| 1802 } |
| 1803 }, |
| 1804 "path": "enterprises/{enterpriseId}/users/{userId}/managedCo
nfigurationsForUser/{managedConfigurationForUserId}", |
| 1805 "request": { |
| 1806 "$ref": "ManagedConfiguration" |
| 1807 }, |
| 1808 "response": { |
| 1809 "$ref": "ManagedConfiguration" |
| 1810 }, |
| 1811 "scopes": [ |
| 1812 "https://www.googleapis.com/auth/androidenterprise" |
| 1813 ] |
| 1814 }, |
| 1815 "update": { |
| 1816 "description": "Adds or updates a per-user managed configura
tion for an app for the specified user.", |
| 1817 "httpMethod": "PUT", |
| 1818 "id": "androidenterprise.managedconfigurationsforuser.update
", |
| 1819 "parameterOrder": [ |
| 1820 "enterpriseId", |
| 1821 "userId", |
| 1822 "managedConfigurationForUserId" |
| 1823 ], |
| 1824 "parameters": { |
| 1825 "enterpriseId": { |
| 1826 "description": "The ID of the enterprise.", |
| 1827 "location": "path", |
| 1828 "required": true, |
| 1829 "type": "string" |
| 1830 }, |
| 1831 "managedConfigurationForUserId": { |
| 1832 "description": "The ID of the managed configuration
(a product ID), e.g. \"app:com.google.android.gm\".", |
| 1833 "location": "path", |
| 1834 "required": true, |
| 1835 "type": "string" |
| 1836 }, |
| 1837 "userId": { |
| 1838 "description": "The ID of the user.", |
| 1839 "location": "path", |
| 1840 "required": true, |
| 1841 "type": "string" |
| 1842 } |
| 1843 }, |
| 1844 "path": "enterprises/{enterpriseId}/users/{userId}/managedCo
nfigurationsForUser/{managedConfigurationForUserId}", |
| 1845 "request": { |
| 1846 "$ref": "ManagedConfiguration" |
| 1847 }, |
| 1848 "response": { |
| 1849 "$ref": "ManagedConfiguration" |
| 1850 }, |
| 1851 "scopes": [ |
| 1852 "https://www.googleapis.com/auth/androidenterprise" |
| 1853 ] |
| 1854 } |
| 1855 } |
| 1856 }, |
| 1451 "permissions": { | 1857 "permissions": { |
| 1452 "methods": { | 1858 "methods": { |
| 1453 "get": { | 1859 "get": { |
| 1454 "description": "Retrieves details of an Android app permissi
on for display to an enterprise admin.", | 1860 "description": "Retrieves details of an Android app permissi
on for display to an enterprise admin.", |
| 1455 "httpMethod": "GET", | 1861 "httpMethod": "GET", |
| 1456 "id": "androidenterprise.permissions.get", | 1862 "id": "androidenterprise.permissions.get", |
| 1457 "parameterOrder": [ | 1863 "parameterOrder": [ |
| 1458 "permissionId" | 1864 "permissionId" |
| 1459 ], | 1865 ], |
| 1460 "parameters": { | 1866 "parameters": { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 }, | 1982 }, |
| 1577 "path": "enterprises/{enterpriseId}/products/{productId}", | 1983 "path": "enterprises/{enterpriseId}/products/{productId}", |
| 1578 "response": { | 1984 "response": { |
| 1579 "$ref": "Product" | 1985 "$ref": "Product" |
| 1580 }, | 1986 }, |
| 1581 "scopes": [ | 1987 "scopes": [ |
| 1582 "https://www.googleapis.com/auth/androidenterprise" | 1988 "https://www.googleapis.com/auth/androidenterprise" |
| 1583 ] | 1989 ] |
| 1584 }, | 1990 }, |
| 1585 "getAppRestrictionsSchema": { | 1991 "getAppRestrictionsSchema": { |
| 1586 "description": "Retrieves the schema defining app restrictio
ns configurable for this product. All products have a schema, but this may be em
pty if no app restrictions are defined.", | 1992 "description": "Retrieves the schema that defines the config
urable properties for this product. All products have a schema, but this schema
may be empty if no managed configurations have been defined. This schema can be
used to populate a UI that allows an administrator to configure the product. To
apply a managed configuration based on the schema obtained using this API, see M
anaged Configurations through Play.", |
| 1587 "httpMethod": "GET", | 1993 "httpMethod": "GET", |
| 1588 "id": "androidenterprise.products.getAppRestrictionsSchema", | 1994 "id": "androidenterprise.products.getAppRestrictionsSchema", |
| 1589 "parameterOrder": [ | 1995 "parameterOrder": [ |
| 1590 "enterpriseId", | 1996 "enterpriseId", |
| 1591 "productId" | 1997 "productId" |
| 1592 ], | 1998 ], |
| 1593 "parameters": { | 1999 "parameters": { |
| 1594 "enterpriseId": { | 2000 "enterpriseId": { |
| 1595 "description": "The ID of the enterprise.", | 2001 "description": "The ID of the enterprise.", |
| 1596 "location": "path", | 2002 "location": "path", |
| (...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2375 }, | 2781 }, |
| 2376 "path": "enterprises/{enterpriseId}/users/{userId}/available
ProductSet", | 2782 "path": "enterprises/{enterpriseId}/users/{userId}/available
ProductSet", |
| 2377 "response": { | 2783 "response": { |
| 2378 "$ref": "ProductSet" | 2784 "$ref": "ProductSet" |
| 2379 }, | 2785 }, |
| 2380 "scopes": [ | 2786 "scopes": [ |
| 2381 "https://www.googleapis.com/auth/androidenterprise" | 2787 "https://www.googleapis.com/auth/androidenterprise" |
| 2382 ] | 2788 ] |
| 2383 }, | 2789 }, |
| 2384 "insert": { | 2790 "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.", | 2791 "description": "Creates a new EMM-managed user.\n\nThe Users
resource passed in the body of the request should include an accountIdentifier
and an accountType.", |
| 2386 "httpMethod": "POST", | 2792 "httpMethod": "POST", |
| 2387 "id": "androidenterprise.users.insert", | 2793 "id": "androidenterprise.users.insert", |
| 2388 "parameterOrder": [ | 2794 "parameterOrder": [ |
| 2389 "enterpriseId" | 2795 "enterpriseId" |
| 2390 ], | 2796 ], |
| 2391 "parameters": { | 2797 "parameters": { |
| 2392 "enterpriseId": { | 2798 "enterpriseId": { |
| 2393 "description": "The ID of the enterprise.", | 2799 "description": "The ID of the enterprise.", |
| 2394 "location": "path", | 2800 "location": "path", |
| 2395 "required": true, | 2801 "required": true, |
| 2396 "type": "string" | 2802 "type": "string" |
| 2397 } | 2803 } |
| 2398 }, | 2804 }, |
| 2399 "path": "enterprises/{enterpriseId}/users", | 2805 "path": "enterprises/{enterpriseId}/users", |
| 2400 "request": { | 2806 "request": { |
| 2401 "$ref": "User" | 2807 "$ref": "User" |
| 2402 }, | 2808 }, |
| 2403 "response": { | 2809 "response": { |
| 2404 "$ref": "User" | 2810 "$ref": "User" |
| 2405 }, | 2811 }, |
| 2406 "scopes": [ | 2812 "scopes": [ |
| 2407 "https://www.googleapis.com/auth/androidenterprise" | 2813 "https://www.googleapis.com/auth/androidenterprise" |
| 2408 ] | 2814 ] |
| 2409 }, | 2815 }, |
| 2410 "list": { | 2816 "list": { |
| 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.", | 2817 "description": "Looks up a user by primary email address. Th
is is only supported for Google-managed users. Lookup of the id is not needed fo
r EMM-managed users because the id is already returned in the result of the User
s.insert call.", |
| 2412 "httpMethod": "GET", | 2818 "httpMethod": "GET", |
| 2413 "id": "androidenterprise.users.list", | 2819 "id": "androidenterprise.users.list", |
| 2414 "parameterOrder": [ | 2820 "parameterOrder": [ |
| 2415 "enterpriseId", | 2821 "enterpriseId", |
| 2416 "email" | 2822 "email" |
| 2417 ], | 2823 ], |
| 2418 "parameters": { | 2824 "parameters": { |
| 2419 "email": { | 2825 "email": { |
| 2420 "description": "The exact primary email address of t
he user to look up.", | 2826 "description": "The exact primary email address of t
he user to look up.", |
| 2421 "location": "query", | 2827 "location": "query", |
| 2422 "required": true, | 2828 "required": true, |
| 2423 "type": "string" | 2829 "type": "string" |
| 2424 }, | 2830 }, |
| 2425 "enterpriseId": { | 2831 "enterpriseId": { |
| 2426 "description": "The ID of the enterprise.", | 2832 "description": "The ID of the enterprise.", |
| 2427 "location": "path", | 2833 "location": "path", |
| 2428 "required": true, | 2834 "required": true, |
| 2429 "type": "string" | 2835 "type": "string" |
| 2430 } | 2836 } |
| 2431 }, | 2837 }, |
| 2432 "path": "enterprises/{enterpriseId}/users", | 2838 "path": "enterprises/{enterpriseId}/users", |
| 2433 "response": { | 2839 "response": { |
| 2434 "$ref": "UsersListResponse" | 2840 "$ref": "UsersListResponse" |
| 2435 }, | 2841 }, |
| 2436 "scopes": [ | 2842 "scopes": [ |
| 2437 "https://www.googleapis.com/auth/androidenterprise" | 2843 "https://www.googleapis.com/auth/androidenterprise" |
| 2438 ] | 2844 ] |
| 2439 }, | 2845 }, |
| 2440 "patch": { | 2846 "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.", | 2847 "description": "Updates the details of an EMM-managed user.\
n\nCan be used with EMM-managed users only (not Google managed users). Pass the
new details in the Users resource in the request body. Only the displayName fiel
d can be changed. Other fields must either be unset or have the currently active
value. This method supports patch semantics.", |
| 2442 "httpMethod": "PATCH", | 2848 "httpMethod": "PATCH", |
| 2443 "id": "androidenterprise.users.patch", | 2849 "id": "androidenterprise.users.patch", |
| 2444 "parameterOrder": [ | 2850 "parameterOrder": [ |
| 2445 "enterpriseId", | 2851 "enterpriseId", |
| 2446 "userId" | 2852 "userId" |
| 2447 ], | 2853 ], |
| 2448 "parameters": { | 2854 "parameters": { |
| 2449 "enterpriseId": { | 2855 "enterpriseId": { |
| 2450 "description": "The ID of the enterprise.", | 2856 "description": "The ID of the enterprise.", |
| 2451 "location": "path", | 2857 "location": "path", |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2524 "$ref": "ProductSet" | 2930 "$ref": "ProductSet" |
| 2525 }, | 2931 }, |
| 2526 "response": { | 2932 "response": { |
| 2527 "$ref": "ProductSet" | 2933 "$ref": "ProductSet" |
| 2528 }, | 2934 }, |
| 2529 "scopes": [ | 2935 "scopes": [ |
| 2530 "https://www.googleapis.com/auth/androidenterprise" | 2936 "https://www.googleapis.com/auth/androidenterprise" |
| 2531 ] | 2937 ] |
| 2532 }, | 2938 }, |
| 2533 "update": { | 2939 "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.", | 2940 "description": "Updates the details of an EMM-managed user.\
n\nCan be used with EMM-managed users only (not Google managed users). Pass the
new details in the Users resource in the request body. Only the displayName fiel
d can be changed. Other fields must either be unset or have the currently active
value.", |
| 2535 "httpMethod": "PUT", | 2941 "httpMethod": "PUT", |
| 2536 "id": "androidenterprise.users.update", | 2942 "id": "androidenterprise.users.update", |
| 2537 "parameterOrder": [ | 2943 "parameterOrder": [ |
| 2538 "enterpriseId", | 2944 "enterpriseId", |
| 2539 "userId" | 2945 "userId" |
| 2540 ], | 2946 ], |
| 2541 "parameters": { | 2947 "parameters": { |
| 2542 "enterpriseId": { | 2948 "enterpriseId": { |
| 2543 "description": "The ID of the enterprise.", | 2949 "description": "The ID of the enterprise.", |
| 2544 "location": "path", | 2950 "location": "path", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 2559 "response": { | 2965 "response": { |
| 2560 "$ref": "User" | 2966 "$ref": "User" |
| 2561 }, | 2967 }, |
| 2562 "scopes": [ | 2968 "scopes": [ |
| 2563 "https://www.googleapis.com/auth/androidenterprise" | 2969 "https://www.googleapis.com/auth/androidenterprise" |
| 2564 ] | 2970 ] |
| 2565 } | 2971 } |
| 2566 } | 2972 } |
| 2567 } | 2973 } |
| 2568 }, | 2974 }, |
| 2569 "revision": "20160706", | 2975 "revision": "20160727", |
| 2570 "rootUrl": "https://www.googleapis.com/", | 2976 "rootUrl": "https://www.googleapis.com/", |
| 2571 "schemas": { | 2977 "schemas": { |
| 2572 "Administrator": { | 2978 "Administrator": { |
| 2573 "description": "This represents an enterprise administrator who can
manage the enterprise in the Google Play for Work Store.", | 2979 "description": "This represents an enterprise administrator who can
manage the enterprise in the Google Play for Work Store.", |
| 2574 "id": "Administrator", | 2980 "id": "Administrator", |
| 2575 "properties": { | 2981 "properties": { |
| 2576 "email": { | 2982 "email": { |
| 2577 "description": "The administrator's email address.", | 2983 "description": "The administrator's email address.", |
| 2578 "type": "string" | 2984 "type": "string" |
| 2579 } | 2985 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2633 "description": "For choice or multiselect restrictions, the
list of possible entries' machine-readable values.", | 3039 "description": "For choice or multiselect restrictions, the
list of possible entries' machine-readable values.", |
| 2634 "items": { | 3040 "items": { |
| 2635 "type": "string" | 3041 "type": "string" |
| 2636 }, | 3042 }, |
| 2637 "type": "array" | 3043 "type": "array" |
| 2638 }, | 3044 }, |
| 2639 "key": { | 3045 "key": { |
| 2640 "description": "The unique key that the product uses to iden
tify the restriction, e.g. \"com.google.android.gm.fieldname\".", | 3046 "description": "The unique key that the product uses to iden
tify the restriction, e.g. \"com.google.android.gm.fieldname\".", |
| 2641 "type": "string" | 3047 "type": "string" |
| 2642 }, | 3048 }, |
| 3049 "nestedRestriction": { |
| 3050 "description": "For bundle or bundleArray restrictions, the
list of nested restrictions.", |
| 3051 "items": { |
| 3052 "$ref": "AppRestrictionsSchemaRestriction" |
| 3053 }, |
| 3054 "type": "array" |
| 3055 }, |
| 2643 "restrictionType": { | 3056 "restrictionType": { |
| 2644 "description": "The type of the restriction.", | 3057 "description": "The type of the restriction.", |
| 2645 "type": "string" | 3058 "type": "string" |
| 2646 }, | 3059 }, |
| 2647 "title": { | 3060 "title": { |
| 2648 "description": "The name of the restriction.", | 3061 "description": "The name of the restriction.", |
| 2649 "type": "string" | 3062 "type": "string" |
| 2650 } | 3063 } |
| 2651 }, | 3064 }, |
| 2652 "type": "object" | 3065 "type": "object" |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2871 }, | 3284 }, |
| 2872 "kind": { | 3285 "kind": { |
| 2873 "default": "androidenterprise#devicesListResponse", | 3286 "default": "androidenterprise#devicesListResponse", |
| 2874 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#devicesListResponse\".", | 3287 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#devicesListResponse\".", |
| 2875 "type": "string" | 3288 "type": "string" |
| 2876 } | 3289 } |
| 2877 }, | 3290 }, |
| 2878 "type": "object" | 3291 "type": "object" |
| 2879 }, | 3292 }, |
| 2880 "Enterprise": { | 3293 "Enterprise": { |
| 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.", | 3294 "description": "An Enterprises resource represents the binding betwe
en an EMM and a specific organization. That binding can be instantiated in one o
f two different ways using this API as follows: \n- For Google managed domain cu
stomers, the process involves using Enterprises.enroll and Enterprises.setAccoun
t (in conjunction with artifacts obtained from the Admin console and the Google
API Console) and submitted to the EMM through a more-or-less manual process. \n-
For Android for Work Accounts customers, the process involves using Enterprises
.generateSignupUrl and Enterprises.completeSignup in conjunction with the Androi
d for Work Sign-up UI (Google-provided mechanism) to create the binding without
manual steps. As an EMM, you can support either or both approaches in your EMM c
onsole. See Create an Enterprise for details.", |
| 2882 "id": "Enterprise", | 3295 "id": "Enterprise", |
| 2883 "properties": { | 3296 "properties": { |
| 2884 "administrator": { | 3297 "administrator": { |
| 2885 "description": "Administrators of the enterprise. This is on
ly supported for enterprises created via the EMM-initiated flow.", | 3298 "description": "Administrators of the enterprise. This is on
ly supported for enterprises created via the EMM-initiated flow.", |
| 2886 "items": { | 3299 "items": { |
| 2887 "$ref": "Administrator" | 3300 "$ref": "Administrator" |
| 2888 }, | 3301 }, |
| 2889 "type": "array" | 3302 "type": "array" |
| 2890 }, | 3303 }, |
| 2891 "id": { | 3304 "id": { |
| 2892 "description": "The unique ID for the enterprise.", | 3305 "description": "The unique ID for the enterprise.", |
| 2893 "type": "string" | 3306 "type": "string" |
| 2894 }, | 3307 }, |
| 2895 "kind": { | 3308 "kind": { |
| 2896 "default": "androidenterprise#enterprise", | 3309 "default": "androidenterprise#enterprise", |
| 2897 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#enterprise\".", | 3310 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#enterprise\".", |
| 2898 "type": "string" | 3311 "type": "string" |
| 2899 }, | 3312 }, |
| 2900 "name": { | 3313 "name": { |
| 2901 "description": "The name of the enterprise, e.g. \"Example I
nc\".", | 3314 "description": "The name of the enterprise, for example, \"E
xample, Inc\".", |
| 2902 "type": "string" | 3315 "type": "string" |
| 2903 }, | 3316 }, |
| 2904 "primaryDomain": { | 3317 "primaryDomain": { |
| 2905 "annotations": { | 3318 "annotations": { |
| 2906 "required": [ | 3319 "required": [ |
| 2907 "androidenterprise.enterprises.insert" | 3320 "androidenterprise.enterprises.insert" |
| 2908 ] | 3321 ] |
| 2909 }, | 3322 }, |
| 2910 "description": "The enterprise's primary domain, e.g. \"exam
ple.com\".", | 3323 "description": "The enterprise's primary domain, such as \"e
xample.com\".", |
| 2911 "type": "string" | 3324 "type": "string" |
| 2912 } | 3325 } |
| 2913 }, | 3326 }, |
| 2914 "type": "object" | 3327 "type": "object" |
| 2915 }, | 3328 }, |
| 2916 "EnterpriseAccount": { | 3329 "EnterpriseAccount": { |
| 2917 "description": "A service account that can be used to authenticate a
s the enterprise to API calls that require such authentication.", | 3330 "description": "A service account that can be used to authenticate a
s the enterprise to API calls that require such authentication.", |
| 2918 "id": "EnterpriseAccount", | 3331 "id": "EnterpriseAccount", |
| 2919 "properties": { | 3332 "properties": { |
| 2920 "accountEmail": { | 3333 "accountEmail": { |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3152 "description": "The BCP47 tag for a locale. (e.g. \"en-US\",
\"de\").", | 3565 "description": "The BCP47 tag for a locale. (e.g. \"en-US\",
\"de\").", |
| 3153 "type": "string" | 3566 "type": "string" |
| 3154 }, | 3567 }, |
| 3155 "text": { | 3568 "text": { |
| 3156 "description": "The text localized in the associated locale.
", | 3569 "description": "The text localized in the associated locale.
", |
| 3157 "type": "string" | 3570 "type": "string" |
| 3158 } | 3571 } |
| 3159 }, | 3572 }, |
| 3160 "type": "object" | 3573 "type": "object" |
| 3161 }, | 3574 }, |
| 3575 "ManagedConfiguration": { |
| 3576 "description": "A managed configuration resource contains the set of
managed properties that have been configured for an Android app. The app's deve
loper would have defined configurable properties in the managed configurations s
chema.", |
| 3577 "id": "ManagedConfiguration", |
| 3578 "properties": { |
| 3579 "kind": { |
| 3580 "default": "androidenterprise#managedConfiguration", |
| 3581 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#managedConfiguration\".", |
| 3582 "type": "string" |
| 3583 }, |
| 3584 "managedProperty": { |
| 3585 "description": "The set of managed properties for this confi
guration.", |
| 3586 "items": { |
| 3587 "$ref": "ManagedProperty" |
| 3588 }, |
| 3589 "type": "array" |
| 3590 }, |
| 3591 "productId": { |
| 3592 "description": "The ID of the product that the managed confi
guration is for, e.g. \"app:com.google.android.gm\".", |
| 3593 "type": "string" |
| 3594 } |
| 3595 }, |
| 3596 "type": "object" |
| 3597 }, |
| 3598 "ManagedConfigurationsForDeviceListResponse": { |
| 3599 "description": "The managed configuration resources for the device."
, |
| 3600 "id": "ManagedConfigurationsForDeviceListResponse", |
| 3601 "properties": { |
| 3602 "kind": { |
| 3603 "default": "androidenterprise#managedConfigurationsForDevice
ListResponse", |
| 3604 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#managedConfigurationsForDeviceListResp
onse\".", |
| 3605 "type": "string" |
| 3606 }, |
| 3607 "managedConfigurationForDevice": { |
| 3608 "description": "A managed configuration for an app on a spec
ific device.", |
| 3609 "items": { |
| 3610 "$ref": "ManagedConfiguration" |
| 3611 }, |
| 3612 "type": "array" |
| 3613 } |
| 3614 }, |
| 3615 "type": "object" |
| 3616 }, |
| 3617 "ManagedConfigurationsForUserListResponse": { |
| 3618 "description": "The managed configuration resources for the user.", |
| 3619 "id": "ManagedConfigurationsForUserListResponse", |
| 3620 "properties": { |
| 3621 "kind": { |
| 3622 "default": "androidenterprise#managedConfigurationsForUserLi
stResponse", |
| 3623 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#managedConfigurationsForUserListRespon
se\".", |
| 3624 "type": "string" |
| 3625 }, |
| 3626 "managedConfigurationForUser": { |
| 3627 "description": "A managed configuration for an app for a spe
cific user.", |
| 3628 "items": { |
| 3629 "$ref": "ManagedConfiguration" |
| 3630 }, |
| 3631 "type": "array" |
| 3632 } |
| 3633 }, |
| 3634 "type": "object" |
| 3635 }, |
| 3636 "ManagedProperty": { |
| 3637 "description": "A managed property of a managed configuration. The p
roperty must match one of the properties in the app restrictions schema of the p
roduct. Exactly one of the value fields must be populated, and it must match the
property's type in the app restrictions schema.", |
| 3638 "id": "ManagedProperty", |
| 3639 "properties": { |
| 3640 "key": { |
| 3641 "description": "The unique key that identifies the property.
", |
| 3642 "type": "string" |
| 3643 }, |
| 3644 "valueBool": { |
| 3645 "description": "The boolean value - this will only be presen
t if type of the property is bool.", |
| 3646 "type": "boolean" |
| 3647 }, |
| 3648 "valueBundle": { |
| 3649 "$ref": "ManagedPropertyBundle", |
| 3650 "description": "The bundle of managed properties - this will
only be present if type of the property is bundle." |
| 3651 }, |
| 3652 "valueBundleArray": { |
| 3653 "description": "The list of bundles of properties - this wil
l only be present if type of the property is bundle_array.", |
| 3654 "items": { |
| 3655 "$ref": "ManagedPropertyBundle" |
| 3656 }, |
| 3657 "type": "array" |
| 3658 }, |
| 3659 "valueInteger": { |
| 3660 "description": "The integer value - this will only be presen
t if type of the property is integer.", |
| 3661 "format": "int32", |
| 3662 "type": "integer" |
| 3663 }, |
| 3664 "valueString": { |
| 3665 "description": "The string value - this will only be present
if type of the property is string, choice or hidden.", |
| 3666 "type": "string" |
| 3667 }, |
| 3668 "valueStringArray": { |
| 3669 "description": "The list of string values - this will only b
e present if type of the property is multiselect.", |
| 3670 "items": { |
| 3671 "type": "string" |
| 3672 }, |
| 3673 "type": "array" |
| 3674 } |
| 3675 }, |
| 3676 "type": "object" |
| 3677 }, |
| 3678 "ManagedPropertyBundle": { |
| 3679 "description": "A bundle of managed properties.", |
| 3680 "id": "ManagedPropertyBundle", |
| 3681 "properties": { |
| 3682 "managedProperty": { |
| 3683 "description": "The list of managed properties.", |
| 3684 "items": { |
| 3685 "$ref": "ManagedProperty" |
| 3686 }, |
| 3687 "type": "array" |
| 3688 } |
| 3689 }, |
| 3690 "type": "object" |
| 3691 }, |
| 3162 "NewPermissionsEvent": { | 3692 "NewPermissionsEvent": { |
| 3163 "description": "An event generated when new permissions are added to
an app.", | 3693 "description": "An event generated when new permissions are added to
an app.", |
| 3164 "id": "NewPermissionsEvent", | 3694 "id": "NewPermissionsEvent", |
| 3165 "properties": { | 3695 "properties": { |
| 3166 "approvedPermissions": { | 3696 "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.", | 3697 "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": { | 3698 "items": { |
| 3169 "type": "string" | 3699 "type": "string" |
| 3170 }, | 3700 }, |
| 3171 "type": "array" | 3701 "type": "array" |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3601 "type": "array" | 4131 "type": "array" |
| 3602 } | 4132 } |
| 3603 }, | 4133 }, |
| 3604 "type": "object" | 4134 "type": "object" |
| 3605 }, | 4135 }, |
| 3606 "StoreLayout": { | 4136 "StoreLayout": { |
| 3607 "description": "General setting for the Google Play for Work store l
ayout, currently only specifying the page to display the first time the store is
opened.", | 4137 "description": "General setting for the Google Play for Work store l
ayout, currently only specifying the page to display the first time the store is
opened.", |
| 3608 "id": "StoreLayout", | 4138 "id": "StoreLayout", |
| 3609 "properties": { | 4139 "properties": { |
| 3610 "homepageId": { | 4140 "homepageId": { |
| 3611 "description": "The ID of the store page to be used as the h
omepage. The homepage will be used as the first page shown in the Google Play fo
r Work store.\n\nIf there is no homepage set, an empty store is shown. The homep
age can be unset (by not specifying it) to empty the store.\n\nIf there exists a
t least one page, this field must be set to the ID of a valid page.", | 4141 "description": "The ID of the store page to be used as the h
omepage. The homepage will be used as the first page shown in the Google Play fo
r Work store.\n\nIf a homepage has not been set, the Play store shown on devices
will be empty. Not specifying a homepage on a store layout effectively empties
the store.\n\nIf there exists at least one page, this field must be set to the I
D of a valid page.", |
| 3612 "type": "string" | 4142 "type": "string" |
| 3613 }, | 4143 }, |
| 3614 "kind": { | 4144 "kind": { |
| 3615 "default": "androidenterprise#storeLayout", | 4145 "default": "androidenterprise#storeLayout", |
| 3616 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#storeLayout\".", | 4146 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#storeLayout\".", |
| 3617 "type": "string" | 4147 "type": "string" |
| 3618 } | 4148 } |
| 3619 }, | 4149 }, |
| 3620 "type": "object" | 4150 "type": "object" |
| 3621 }, | 4151 }, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3693 "nextPageToken": { | 4223 "nextPageToken": { |
| 3694 "type": "string" | 4224 "type": "string" |
| 3695 }, | 4225 }, |
| 3696 "previousPageToken": { | 4226 "previousPageToken": { |
| 3697 "type": "string" | 4227 "type": "string" |
| 3698 } | 4228 } |
| 3699 }, | 4229 }, |
| 3700 "type": "object" | 4230 "type": "object" |
| 3701 }, | 4231 }, |
| 3702 "User": { | 4232 "User": { |
| 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.", | 4233 "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: \n- Google managed domain identity model requires synchron
ization to Google account sources (via primaryEmail). \n- Android for Work Accou
nts identity model provides a dynamic means for enterprises to create user or de
vice accounts as needed. These accounts provide access to Google Play for Work o
nly.", |
| 3704 "id": "User", | 4234 "id": "User", |
| 3705 "properties": { | 4235 "properties": { |
| 3706 "accountIdentifier": { | 4236 "accountIdentifier": { |
| 3707 "annotations": { | 4237 "annotations": { |
| 3708 "required": [ | 4238 "required": [ |
| 3709 "androidenterprise.users.insert" | 4239 "androidenterprise.users.insert" |
| 3710 ] | 4240 ] |
| 3711 }, | 4241 }, |
| 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.", | 4242 "description": "A unique identifier you create for this user
, such as \"user342\" or \"asset#44418\". Do not use personally identifiable inf
ormation (PII) for this property. Must always be set for EMM-managed users. Not
set for Google-managed users.", |
| 3713 "type": "string" | 4243 "type": "string" |
| 3714 }, | 4244 }, |
| 3715 "accountType": { | 4245 "accountType": { |
| 3716 "annotations": { | 4246 "annotations": { |
| 3717 "required": [ | 4247 "required": [ |
| 3718 "androidenterprise.users.insert" | 4248 "androidenterprise.users.insert" |
| 3719 ] | 4249 ] |
| 3720 }, | 4250 }, |
| 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\".", | 4251 "description": "The type of account that this user represent
s. A userAccount can be installed on multiple devices, but a deviceAccount is sp
ecific to a single device. An EMM-managed user (emmManaged) can be either type (
userAccount, deviceAccount), but a Google-managed user (googleManaged) is always
a userAccount.", |
| 3722 "type": "string" | 4252 "type": "string" |
| 3723 }, | 4253 }, |
| 3724 "displayName": { | 4254 "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.", | 4255 "description": "The name that will appear in user interfaces
. Setting this property is optional when creating EMM-managed users. If you do s
et this property, use something generic about the organization (such as \"Exampl
e, Inc.\") or your name (as EMM). Not used for Google-managed user accounts.", |
| 3726 "type": "string" | 4256 "type": "string" |
| 3727 }, | 4257 }, |
| 3728 "id": { | 4258 "id": { |
| 3729 "description": "The unique ID for the user.", | 4259 "description": "The unique ID for the user.", |
| 3730 "type": "string" | 4260 "type": "string" |
| 3731 }, | 4261 }, |
| 3732 "kind": { | 4262 "kind": { |
| 3733 "default": "androidenterprise#user", | 4263 "default": "androidenterprise#user", |
| 3734 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#user\".", | 4264 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#user\".", |
| 3735 "type": "string" | 4265 "type": "string" |
| 3736 }, | 4266 }, |
| 3737 "managementType": { | 4267 "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.", | 4268 "description": "The entity that manages the user. With googl
eManaged users, the source of truth is Google so EMMs have to make sure a Google
Account exists for the user. With emmManaged users, the EMM is in charge.", |
| 3739 "type": "string" | 4269 "type": "string" |
| 3740 }, | 4270 }, |
| 3741 "primaryEmail": { | 4271 "primaryEmail": { |
| 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.", | 4272 "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.", |
| 3743 "type": "string" | 4273 "type": "string" |
| 3744 } | 4274 } |
| 3745 }, | 4275 }, |
| 3746 "type": "object" | 4276 "type": "object" |
| 3747 }, | 4277 }, |
| 3748 "UserToken": { | 4278 "UserToken": { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3782 "type": "array" | 4312 "type": "array" |
| 3783 } | 4313 } |
| 3784 }, | 4314 }, |
| 3785 "type": "object" | 4315 "type": "object" |
| 3786 } | 4316 } |
| 3787 }, | 4317 }, |
| 3788 "servicePath": "androidenterprise/v1/", | 4318 "servicePath": "androidenterprise/v1/", |
| 3789 "title": "Google Play EMM API", | 4319 "title": "Google Play EMM API", |
| 3790 "version": "v1" | 4320 "version": "v1" |
| 3791 } | 4321 } |
| OLD | NEW |