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": "Allows MDMs/EMMs and enterprises to manage the deployment of
apps to Android for Work users.", | 15 "description": "Allows MDMs/EMMs and enterprises to manage the deployment of
apps to Android for Work users.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VkBuSy958uY6kySPppsXzchEPt4\"", | 17 "documentationLink": "https://developers.google.com/play/enterprise", |
| 18 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/iV3v-C_yUys3U_llqVYPlrZ-gmI\"", |
18 "icons": { | 19 "icons": { |
19 "x16": "https://www.google.com/images/icons/product/android-16.png", | 20 "x16": "https://www.google.com/images/icons/product/android-16.png", |
20 "x32": "https://www.google.com/images/icons/product/android-32.png" | 21 "x32": "https://www.google.com/images/icons/product/android-32.png" |
21 }, | 22 }, |
22 "id": "androidenterprise:v1", | 23 "id": "androidenterprise:v1", |
23 "kind": "discovery#restDescription", | 24 "kind": "discovery#restDescription", |
24 "name": "androidenterprise", | 25 "name": "androidenterprise", |
25 "ownerDomain": "google.com", | 26 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 27 "ownerName": "Google", |
27 "parameters": { | 28 "parameters": { |
(...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 }, | 1313 }, |
1313 "path": "enterprises/{enterpriseId}/products/{productId}/app
rove", | 1314 "path": "enterprises/{enterpriseId}/products/{productId}/app
rove", |
1314 "request": { | 1315 "request": { |
1315 "$ref": "ProductsApproveRequest" | 1316 "$ref": "ProductsApproveRequest" |
1316 }, | 1317 }, |
1317 "scopes": [ | 1318 "scopes": [ |
1318 "https://www.googleapis.com/auth/androidenterprise" | 1319 "https://www.googleapis.com/auth/androidenterprise" |
1319 ] | 1320 ] |
1320 }, | 1321 }, |
1321 "generateApprovalUrl": { | 1322 "generateApprovalUrl": { |
1322 "description": "Generates a URL that can be used to display
an iframe to view the product's permissions (if any) and approve the product. Th
is URL can be used to approve the product for a limited time (currently 1 hour)
using the Products.approve call.", | 1323 "description": "Generates a URL that can be rendered in an i
frame to display the permissions (if any) of a product. An enterprise admin must
view these permissions and accept them on behalf of their organization in order
to approve that product.\n\nAdmins should accept the displayed permissions by i
nteracting with a separate UI element in the EMM console, which in turn should t
rigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Prod
ucts.approve call to approve the product. This URL can only be used to display p
ermissions for up to 1 day.", |
1323 "httpMethod": "POST", | 1324 "httpMethod": "POST", |
1324 "id": "androidenterprise.products.generateApprovalUrl", | 1325 "id": "androidenterprise.products.generateApprovalUrl", |
1325 "parameterOrder": [ | 1326 "parameterOrder": [ |
1326 "enterpriseId", | 1327 "enterpriseId", |
1327 "productId" | 1328 "productId" |
1328 ], | 1329 ], |
1329 "parameters": { | 1330 "parameters": { |
1330 "enterpriseId": { | 1331 "enterpriseId": { |
1331 "description": "The ID of the enterprise.", | 1332 "description": "The ID of the enterprise.", |
1332 "location": "path", | 1333 "location": "path", |
1333 "required": true, | 1334 "required": true, |
1334 "type": "string" | 1335 "type": "string" |
1335 }, | 1336 }, |
1336 "languageCode": { | 1337 "languageCode": { |
1337 "description": "The language code that will be used
for permission names and descriptions in the returned iframe.", | 1338 "description": "The BCP 47 language code used for pe
rmission names and descriptions in the returned iframe, for instance \"en-US\"."
, |
1338 "location": "query", | 1339 "location": "query", |
1339 "type": "string" | 1340 "type": "string" |
1340 }, | 1341 }, |
1341 "productId": { | 1342 "productId": { |
1342 "description": "The ID of the product.", | 1343 "description": "The ID of the product.", |
1343 "location": "path", | 1344 "location": "path", |
1344 "required": true, | 1345 "required": true, |
1345 "type": "string" | 1346 "type": "string" |
1346 } | 1347 } |
1347 }, | 1348 }, |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1543 } | 1544 } |
1544 }, | 1545 }, |
1545 "path": "enterprises/{enterpriseId}/users/{userId}", | 1546 "path": "enterprises/{enterpriseId}/users/{userId}", |
1546 "response": { | 1547 "response": { |
1547 "$ref": "User" | 1548 "$ref": "User" |
1548 }, | 1549 }, |
1549 "scopes": [ | 1550 "scopes": [ |
1550 "https://www.googleapis.com/auth/androidenterprise" | 1551 "https://www.googleapis.com/auth/androidenterprise" |
1551 ] | 1552 ] |
1552 }, | 1553 }, |
| 1554 "getAvailableProductSet": { |
| 1555 "description": "Retrieves the set of products a user is enti
tled to access.", |
| 1556 "httpMethod": "GET", |
| 1557 "id": "androidenterprise.users.getAvailableProductSet", |
| 1558 "parameterOrder": [ |
| 1559 "enterpriseId", |
| 1560 "userId" |
| 1561 ], |
| 1562 "parameters": { |
| 1563 "enterpriseId": { |
| 1564 "description": "The ID of the enterprise.", |
| 1565 "location": "path", |
| 1566 "required": true, |
| 1567 "type": "string" |
| 1568 }, |
| 1569 "userId": { |
| 1570 "description": "The ID of the user.", |
| 1571 "location": "path", |
| 1572 "required": true, |
| 1573 "type": "string" |
| 1574 } |
| 1575 }, |
| 1576 "path": "enterprises/{enterpriseId}/users/{userId}/available
ProductSet", |
| 1577 "response": { |
| 1578 "$ref": "ProductSet" |
| 1579 }, |
| 1580 "scopes": [ |
| 1581 "https://www.googleapis.com/auth/androidenterprise" |
| 1582 ] |
| 1583 }, |
1553 "list": { | 1584 "list": { |
1554 "description": "Looks up a user by email address.", | 1585 "description": "Looks up a user by email address.", |
1555 "httpMethod": "GET", | 1586 "httpMethod": "GET", |
1556 "id": "androidenterprise.users.list", | 1587 "id": "androidenterprise.users.list", |
1557 "parameterOrder": [ | 1588 "parameterOrder": [ |
1558 "enterpriseId", | 1589 "enterpriseId", |
1559 "email" | 1590 "email" |
1560 ], | 1591 ], |
1561 "parameters": { | 1592 "parameters": { |
1562 "email": { | 1593 "email": { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1599 "description": "The ID of the user.", | 1630 "description": "The ID of the user.", |
1600 "location": "path", | 1631 "location": "path", |
1601 "required": true, | 1632 "required": true, |
1602 "type": "string" | 1633 "type": "string" |
1603 } | 1634 } |
1604 }, | 1635 }, |
1605 "path": "enterprises/{enterpriseId}/users/{userId}/token", | 1636 "path": "enterprises/{enterpriseId}/users/{userId}/token", |
1606 "scopes": [ | 1637 "scopes": [ |
1607 "https://www.googleapis.com/auth/androidenterprise" | 1638 "https://www.googleapis.com/auth/androidenterprise" |
1608 ] | 1639 ] |
| 1640 }, |
| 1641 "setAvailableProductSet": { |
| 1642 "description": "Modifies the set of products a user is entit
led to access.", |
| 1643 "httpMethod": "PUT", |
| 1644 "id": "androidenterprise.users.setAvailableProductSet", |
| 1645 "parameterOrder": [ |
| 1646 "enterpriseId", |
| 1647 "userId" |
| 1648 ], |
| 1649 "parameters": { |
| 1650 "enterpriseId": { |
| 1651 "description": "The ID of the enterprise.", |
| 1652 "location": "path", |
| 1653 "required": true, |
| 1654 "type": "string" |
| 1655 }, |
| 1656 "userId": { |
| 1657 "description": "The ID of the user.", |
| 1658 "location": "path", |
| 1659 "required": true, |
| 1660 "type": "string" |
| 1661 } |
| 1662 }, |
| 1663 "path": "enterprises/{enterpriseId}/users/{userId}/available
ProductSet", |
| 1664 "request": { |
| 1665 "$ref": "ProductSet" |
| 1666 }, |
| 1667 "response": { |
| 1668 "$ref": "ProductSet" |
| 1669 }, |
| 1670 "scopes": [ |
| 1671 "https://www.googleapis.com/auth/androidenterprise" |
| 1672 ] |
1609 } | 1673 } |
1610 } | 1674 } |
1611 } | 1675 } |
1612 }, | 1676 }, |
1613 "revision": "20150303", | 1677 "revision": "20150729", |
1614 "rootUrl": "https://www.googleapis.com/", | 1678 "rootUrl": "https://www.googleapis.com/", |
1615 "schemas": { | 1679 "schemas": { |
1616 "AppRestrictionsSchema": { | 1680 "AppRestrictionsSchema": { |
1617 "description": "Represents the list of app restrictions available to
be pre-configured for the product.", | 1681 "description": "Represents the list of app restrictions available to
be pre-configured for the product.", |
1618 "id": "AppRestrictionsSchema", | 1682 "id": "AppRestrictionsSchema", |
1619 "properties": { | 1683 "properties": { |
| 1684 "kind": { |
| 1685 "default": "androidenterprise#appRestrictionsSchema", |
| 1686 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#appRestrictionsSchema\".", |
| 1687 "type": "string" |
| 1688 }, |
1620 "restrictions": { | 1689 "restrictions": { |
1621 "description": "The set of restrictions that make up this sc
hema.", | 1690 "description": "The set of restrictions that make up this sc
hema.", |
1622 "items": { | 1691 "items": { |
1623 "$ref": "AppRestrictionsSchemaRestriction" | 1692 "$ref": "AppRestrictionsSchemaRestriction" |
1624 }, | 1693 }, |
1625 "type": "array" | 1694 "type": "array" |
1626 } | 1695 } |
1627 }, | 1696 }, |
1628 "type": "object" | 1697 "type": "object" |
1629 }, | 1698 }, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1693 "type": "array" | 1762 "type": "array" |
1694 }, | 1763 }, |
1695 "valueString": { | 1764 "valueString": { |
1696 "description": "The string value - this will be present for
types string, choice and hidden.", | 1765 "description": "The string value - this will be present for
types string, choice and hidden.", |
1697 "type": "string" | 1766 "type": "string" |
1698 } | 1767 } |
1699 }, | 1768 }, |
1700 "type": "object" | 1769 "type": "object" |
1701 }, | 1770 }, |
1702 "AppVersion": { | 1771 "AppVersion": { |
1703 "description": "App version represents a single APK version.", | 1772 "description": "This represents a single version of the app.", |
1704 "id": "AppVersion", | 1773 "id": "AppVersion", |
1705 "properties": { | 1774 "properties": { |
1706 "versionCode": { | 1775 "versionCode": { |
1707 "description": "Unique increasing identifier for the apk ver
sion.", | 1776 "description": "Unique increasing identifier for the app ver
sion.", |
1708 "format": "int32", | 1777 "format": "int32", |
1709 "type": "integer" | 1778 "type": "integer" |
1710 }, | 1779 }, |
1711 "versionString": { | 1780 "versionString": { |
1712 "description": "The string used in the Play Store by the app
developer to identify a version of an app. The string is not necessarily unique
or localized (e.g. \"1.4\").", | 1781 "description": "The string used in the Play Store by the app
developer to identify the version. The string is not necessarily unique or loca
lized (for example, the string could be \"1.4\").", |
1713 "type": "string" | 1782 "type": "string" |
1714 } | 1783 } |
1715 }, | 1784 }, |
1716 "type": "object" | 1785 "type": "object" |
1717 }, | 1786 }, |
1718 "ApprovalUrlInfo": { | 1787 "ApprovalUrlInfo": { |
1719 "description": "Information on an approval URL.", | 1788 "description": "Information on an approval URL.", |
1720 "id": "ApprovalUrlInfo", | 1789 "id": "ApprovalUrlInfo", |
1721 "properties": { | 1790 "properties": { |
1722 "approvalUrl": { | 1791 "approvalUrl": { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1761 "androidenterprise.collections.update" | 1830 "androidenterprise.collections.update" |
1762 ] | 1831 ] |
1763 }, | 1832 }, |
1764 "description": "The IDs of the products in the collection, i
n the order in which they should be displayed.", | 1833 "description": "The IDs of the products in the collection, i
n the order in which they should be displayed.", |
1765 "items": { | 1834 "items": { |
1766 "type": "string" | 1835 "type": "string" |
1767 }, | 1836 }, |
1768 "type": "array" | 1837 "type": "array" |
1769 }, | 1838 }, |
1770 "visibility": { | 1839 "visibility": { |
1771 "description": "Whether this collection is visible to all us
ers, or only to the users that have been granted access through the collection_v
iewers api. Even if a collection is visible to allUsers, it is possible to add a
nd remove viewers, but this will have no effect until the collection's visibilit
y changes to viewersOnly.", | 1840 "description": "Whether this collection is visible to all us
ers, or only to the users that have been granted access through the \"Collection
viewers\" API. With the launch of the \"setAvailableProductSet\" API, this prope
rty should always be set to \"viewersOnly\", as the \"allUsers\" option will byp
ass the \"availableProductSet\" for all users within a domain.\n\nThe \"allUsers
\" setting is deprecated, and will be removed.", |
1772 "type": "string" | 1841 "type": "string" |
1773 } | 1842 } |
1774 }, | 1843 }, |
1775 "type": "object" | 1844 "type": "object" |
1776 }, | 1845 }, |
1777 "CollectionViewersListResponse": { | 1846 "CollectionViewersListResponse": { |
1778 "description": "The user resources for the collection.", | 1847 "description": "The user resources for the collection.", |
1779 "id": "CollectionViewersListResponse", | 1848 "id": "CollectionViewersListResponse", |
1780 "properties": { | 1849 "properties": { |
1781 "kind": { | 1850 "kind": { |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1964 }, | 2033 }, |
1965 "kind": { | 2034 "kind": { |
1966 "default": "androidenterprise#entitlementsListResponse", | 2035 "default": "androidenterprise#entitlementsListResponse", |
1967 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#entitlementsListResponse\".", | 2036 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#entitlementsListResponse\".", |
1968 "type": "string" | 2037 "type": "string" |
1969 } | 2038 } |
1970 }, | 2039 }, |
1971 "type": "object" | 2040 "type": "object" |
1972 }, | 2041 }, |
1973 "GroupLicense": { | 2042 "GroupLicense": { |
1974 "description": "A group license object indicates a product that an e
nterprise admin has approved for use in the enterprise. The product may be free
or paid. For free products, a group license object is created in these cases: if
the enterprise admin approves a product in Google Play, if the product is added
to a collection, or if an entitlement for the product is created for a user via
the API. For paid products, a group license object is only created as part of t
he first bulk purchase of that product in Google Play done by the enterprise adm
in.\n\nThe API can be used to query group licenses; the available information in
cludes the total number of licenses purchased (for paid products) and the total
number of licenses that have been provisioned, i.e. the total number of user ent
itlements in existence for the product.\n\nGroup license objects are never delet
ed; if e.g. a free app is added to a collection and then removed, the group lice
nse will remain, allowing to keep track of any remaining entitlements. An enterp
rise admin may indicate they are no longer interested in the group license by ma
rking it as unapproved in Google Play.", | 2043 "description": "A group license object indicates a product that an e
nterprise admin has approved for use in the enterprise. The product may be free
or paid. For free products, a group license object is created in these cases: if
the enterprise admin approves a product in Google Play, if the product is added
to a collection, or if an entitlement for the product is created for a user via
the API. For paid products, a group license object is only created as part of t
he first bulk purchase of that product in Google Play by the enterprise admin.\n
\nThe API can be used to query group licenses; the available information include
s the total number of licenses purchased (for paid products) and the total numbe
r of licenses that have been provisioned, that is, the total number of user enti
tlements in existence for the product.\n\nGroup license objects are never delete
d. If, for example, a free app is added to a collection and then removed, the gr
oup license will remain, allowing the enterprise admin to keep track of any rema
ining entitlements. An enterprise admin may indicate they are no longer interest
ed in the group license by marking it as unapproved in Google Play.", |
1975 "id": "GroupLicense", | 2044 "id": "GroupLicense", |
1976 "properties": { | 2045 "properties": { |
1977 "acquisitionKind": { | 2046 "acquisitionKind": { |
1978 "description": "How this group license was acquired. \"bulkP
urchase\" means that this group license object was created because the enterpris
e purchased licenses for this product; this is \"free\" otherwise (for free prod
ucts).", | 2047 "description": "How this group license was acquired. \"bulkP
urchase\" means that this group license object was created because the enterpris
e purchased licenses for this product; this is \"free\" otherwise (for free prod
ucts).", |
1979 "type": "string" | 2048 "type": "string" |
1980 }, | 2049 }, |
1981 "approval": { | 2050 "approval": { |
1982 "description": "Whether the product to which this group lice
nse relates is currently approved by the enterprise, as either \"approved\" or \
"unapproved\". Products are approved when a group license is first created, but
this approval may be revoked by an enterprise admin via Google Play. Unapproved
products will not be visible to end users in collections and new entitlements to
them should not normally be created.", | 2051 "description": "Whether the product to which this group lice
nse relates is currently approved by the enterprise, as either \"approved\" or \
"unapproved\". Products are approved when a group license is first created, but
this approval may be revoked by an enterprise admin via Google Play. Unapproved
products will not be visible to end users in collections and new entitlements to
them should not normally be created.", |
1983 "type": "string" | 2052 "type": "string" |
1984 }, | 2053 }, |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2108 "type": "string" | 2177 "type": "string" |
2109 } | 2178 } |
2110 }, | 2179 }, |
2111 "type": "object" | 2180 "type": "object" |
2112 }, | 2181 }, |
2113 "Product": { | 2182 "Product": { |
2114 "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 MDM user interface.", | 2183 "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 MDM user interface.", |
2115 "id": "Product", | 2184 "id": "Product", |
2116 "properties": { | 2185 "properties": { |
2117 "appVersion": { | 2186 "appVersion": { |
2118 "description": "List of app versions available for this prod
uct. The returned list contains only public versions. E.g. alpha, beta or canary
versions will not be included.", | 2187 "description": "App versions currently available for this pr
oduct. The returned list contains only public versions. Alpha and beta versions
are not included.", |
2119 "items": { | 2188 "items": { |
2120 "$ref": "AppVersion" | 2189 "$ref": "AppVersion" |
2121 }, | 2190 }, |
2122 "type": "array" | 2191 "type": "array" |
2123 }, | 2192 }, |
2124 "authorName": { | 2193 "authorName": { |
2125 "description": "The name of the author of the product (e.g.
the app developer).", | 2194 "description": "The name of the author of the product (e.g.
the app developer).", |
2126 "type": "string" | 2195 "type": "string" |
2127 }, | 2196 }, |
2128 "detailsUrl": { | 2197 "detailsUrl": { |
2129 "description": "A link to the (consumer) Google Play details
page for the product.", | 2198 "description": "A link to the (consumer) Google Play details
page for the product.", |
2130 "type": "string" | 2199 "type": "string" |
2131 }, | 2200 }, |
2132 "distributionChannel": { | 2201 "distributionChannel": { |
2133 "description": "How and to whom the package is made availabl
e.", | 2202 "description": "How and to whom the package is made availabl
e. The value publicGoogleHosted means that the package is available through the
Play Store and not restricted to a specific enterprise. The value privateGoogleH
osted means that the package is a private app (restricted to an enterprise) but
hosted by Google. The value privateSelfHosted means that the package is a privat
e app (restricted to an enterprise) and is privately hosted.", |
2134 "type": "string" | 2203 "type": "string" |
2135 }, | 2204 }, |
2136 "iconUrl": { | 2205 "iconUrl": { |
2137 "description": "A link to an image that can be used as an ic
on for the product.", | 2206 "description": "A link to an image that can be used as an ic
on for the product.", |
2138 "type": "string" | 2207 "type": "string" |
2139 }, | 2208 }, |
2140 "kind": { | 2209 "kind": { |
2141 "default": "androidenterprise#product", | 2210 "default": "androidenterprise#product", |
2142 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#product\".", | 2211 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#product\".", |
2143 "type": "string" | 2212 "type": "string" |
2144 }, | 2213 }, |
2145 "productId": { | 2214 "productId": { |
2146 "description": "A string of the form \"app:\n\" - e.g. \"app
:com.google.android.gm\" represents the GMail app.", | 2215 "description": "A string of the form app:<package name>. For
example, app:com.google.android.gm represents the Gmail app.", |
2147 "type": "string" | 2216 "type": "string" |
2148 }, | 2217 }, |
2149 "requiresContainerApp": { | 2218 "requiresContainerApp": { |
2150 "description": "Whether this app can only be installed on de
vices using the Android for Work container app.", | 2219 "description": "Whether this app can only be installed on de
vices using the Android for Work container app.", |
2151 "type": "boolean" | 2220 "type": "boolean" |
2152 }, | 2221 }, |
2153 "title": { | 2222 "title": { |
2154 "description": "The name of the product.", | 2223 "description": "The name of the product.", |
2155 "type": "string" | 2224 "type": "string" |
2156 }, | 2225 }, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2197 }, | 2266 }, |
2198 "type": "array" | 2267 "type": "array" |
2199 }, | 2268 }, |
2200 "productId": { | 2269 "productId": { |
2201 "description": "The ID of the app that the permissions relat
e to, e.g. \"app:com.google.android.gm\".", | 2270 "description": "The ID of the app that the permissions relat
e to, e.g. \"app:com.google.android.gm\".", |
2202 "type": "string" | 2271 "type": "string" |
2203 } | 2272 } |
2204 }, | 2273 }, |
2205 "type": "object" | 2274 "type": "object" |
2206 }, | 2275 }, |
| 2276 "ProductSet": { |
| 2277 "description": "A set of products.", |
| 2278 "id": "ProductSet", |
| 2279 "properties": { |
| 2280 "kind": { |
| 2281 "default": "androidenterprise#productSet", |
| 2282 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#productSet\".", |
| 2283 "type": "string" |
| 2284 }, |
| 2285 "productId": { |
| 2286 "description": "The list of product IDs making up the set of
products.", |
| 2287 "items": { |
| 2288 "type": "string" |
| 2289 }, |
| 2290 "type": "array" |
| 2291 } |
| 2292 }, |
| 2293 "type": "object" |
| 2294 }, |
2207 "ProductsApproveRequest": { | 2295 "ProductsApproveRequest": { |
2208 "id": "ProductsApproveRequest", | 2296 "id": "ProductsApproveRequest", |
2209 "properties": { | 2297 "properties": { |
2210 "approvalUrlInfo": { | 2298 "approvalUrlInfo": { |
2211 "$ref": "ApprovalUrlInfo" | 2299 "$ref": "ApprovalUrlInfo", |
| 2300 "description": "The approval URL that was shown to the user.
Only the permissions shown to the user with that URL will be accepted, which ma
y not be the product's entire set of permissions. For example, the URL may only
display new permissions from an update after the product was approved, or not in
clude new permissions if the product was updated since the URL was generated." |
2212 } | 2301 } |
2213 }, | 2302 }, |
2214 "type": "object" | 2303 "type": "object" |
2215 }, | 2304 }, |
2216 "ProductsGenerateApprovalUrlResponse": { | 2305 "ProductsGenerateApprovalUrlResponse": { |
2217 "id": "ProductsGenerateApprovalUrlResponse", | 2306 "id": "ProductsGenerateApprovalUrlResponse", |
2218 "properties": { | 2307 "properties": { |
2219 "url": { | 2308 "url": { |
2220 "description": "A iframe-able URL that displays a product's
permissions (if any). This URL can be used to approve the product only once and
for a limited time (1 hour), using the Products.approve call. If the product is
not currently approved and has no permissions, this URL will point to an empty p
age. If the product is currently approved and all of its permissions (if any) ar
e also approved, this field will not be populated.", | 2309 "description": "A URL that can be rendered in an iframe to d
isplay the permissions (if any) of a product. This URL can be used to approve th
e product only once and only within 24 hours of being generated, using the Produ
cts.approve call. If the product is currently unapproved and has no permissions,
this URL will point to an empty page. If the product is currently approved, a U
RL will only be generated if that product has added permissions since it was las
t approved, and the URL will only display those new permissions that have not ye
t been accepted.", |
2221 "type": "string" | 2310 "type": "string" |
2222 } | 2311 } |
2223 }, | 2312 }, |
2224 "type": "object" | 2313 "type": "object" |
2225 }, | 2314 }, |
2226 "User": { | 2315 "User": { |
2227 "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 an MDM app to manage a device the Goo
gle account must be provisioned to the device, and so the user resource must be
created before that. This can be done using the Google Admin SDK Directory API.\
n\nThe ID for a user is an opaque string. It can be retrieved using the list met
hod queried by the user's primary email address.", | 2316 "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 an MDM app to manage a device the Goo
gle account must be provisioned to the device, and so the user resource must be
created before that. This can be done using the Google Admin SDK Directory API.\
n\nThe ID for a user is an opaque string. It can be retrieved using the list met
hod queried by the user's primary email address.", |
2228 "id": "User", | 2317 "id": "User", |
2229 "properties": { | 2318 "properties": { |
2230 "id": { | 2319 "id": { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2280 "type": "array" | 2369 "type": "array" |
2281 } | 2370 } |
2282 }, | 2371 }, |
2283 "type": "object" | 2372 "type": "object" |
2284 } | 2373 } |
2285 }, | 2374 }, |
2286 "servicePath": "androidenterprise/v1/", | 2375 "servicePath": "androidenterprise/v1/", |
2287 "title": "Google Play EMM API", | 2376 "title": "Google Play EMM API", |
2288 "version": "v1" | 2377 "version": "v1" |
2289 } | 2378 } |
OLD | NEW |