| 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": "\"tbys6C40o18GZwyMen5GMkdK-3s/C94wtsy8mrHkcQY94KxE1tVMlOU\"", | 18 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/AnvhsO1al4ataX8d07JiUi-38Ec\"", |
| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 "type": "string" | 65 "type": "string" |
| 66 }, | 66 }, |
| 67 "userIp": { | 67 "userIp": { |
| 68 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", | 68 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 69 "location": "query", | 69 "location": "query", |
| 70 "type": "string" | 70 "type": "string" |
| 71 } | 71 } |
| 72 }, | 72 }, |
| 73 "protocol": "rest", | 73 "protocol": "rest", |
| 74 "resources": { | 74 "resources": { |
| 75 "collections": { | |
| 76 "methods": { | |
| 77 "delete": { | |
| 78 "description": "Deletes a collection.", | |
| 79 "httpMethod": "DELETE", | |
| 80 "id": "androidenterprise.collections.delete", | |
| 81 "parameterOrder": [ | |
| 82 "enterpriseId", | |
| 83 "collectionId" | |
| 84 ], | |
| 85 "parameters": { | |
| 86 "collectionId": { | |
| 87 "description": "The ID of the collection.", | |
| 88 "location": "path", | |
| 89 "required": true, | |
| 90 "type": "string" | |
| 91 }, | |
| 92 "enterpriseId": { | |
| 93 "description": "The ID of the enterprise.", | |
| 94 "location": "path", | |
| 95 "required": true, | |
| 96 "type": "string" | |
| 97 } | |
| 98 }, | |
| 99 "path": "enterprises/{enterpriseId}/collections/{collectionI
d}", | |
| 100 "scopes": [ | |
| 101 "https://www.googleapis.com/auth/androidenterprise" | |
| 102 ] | |
| 103 }, | |
| 104 "get": { | |
| 105 "description": "Retrieves the details of a collection.", | |
| 106 "httpMethod": "GET", | |
| 107 "id": "androidenterprise.collections.get", | |
| 108 "parameterOrder": [ | |
| 109 "enterpriseId", | |
| 110 "collectionId" | |
| 111 ], | |
| 112 "parameters": { | |
| 113 "collectionId": { | |
| 114 "description": "The ID of the collection.", | |
| 115 "location": "path", | |
| 116 "required": true, | |
| 117 "type": "string" | |
| 118 }, | |
| 119 "enterpriseId": { | |
| 120 "description": "The ID of the enterprise.", | |
| 121 "location": "path", | |
| 122 "required": true, | |
| 123 "type": "string" | |
| 124 } | |
| 125 }, | |
| 126 "path": "enterprises/{enterpriseId}/collections/{collectionI
d}", | |
| 127 "response": { | |
| 128 "$ref": "Collection" | |
| 129 }, | |
| 130 "scopes": [ | |
| 131 "https://www.googleapis.com/auth/androidenterprise" | |
| 132 ] | |
| 133 }, | |
| 134 "insert": { | |
| 135 "description": "Creates a new collection.", | |
| 136 "httpMethod": "POST", | |
| 137 "id": "androidenterprise.collections.insert", | |
| 138 "parameterOrder": [ | |
| 139 "enterpriseId" | |
| 140 ], | |
| 141 "parameters": { | |
| 142 "enterpriseId": { | |
| 143 "description": "The ID of the enterprise.", | |
| 144 "location": "path", | |
| 145 "required": true, | |
| 146 "type": "string" | |
| 147 } | |
| 148 }, | |
| 149 "path": "enterprises/{enterpriseId}/collections", | |
| 150 "request": { | |
| 151 "$ref": "Collection" | |
| 152 }, | |
| 153 "response": { | |
| 154 "$ref": "Collection" | |
| 155 }, | |
| 156 "scopes": [ | |
| 157 "https://www.googleapis.com/auth/androidenterprise" | |
| 158 ] | |
| 159 }, | |
| 160 "list": { | |
| 161 "description": "Retrieves the IDs of all the collections for
an enterprise.", | |
| 162 "httpMethod": "GET", | |
| 163 "id": "androidenterprise.collections.list", | |
| 164 "parameterOrder": [ | |
| 165 "enterpriseId" | |
| 166 ], | |
| 167 "parameters": { | |
| 168 "enterpriseId": { | |
| 169 "description": "The ID of the enterprise.", | |
| 170 "location": "path", | |
| 171 "required": true, | |
| 172 "type": "string" | |
| 173 } | |
| 174 }, | |
| 175 "path": "enterprises/{enterpriseId}/collections", | |
| 176 "response": { | |
| 177 "$ref": "CollectionsListResponse" | |
| 178 }, | |
| 179 "scopes": [ | |
| 180 "https://www.googleapis.com/auth/androidenterprise" | |
| 181 ] | |
| 182 }, | |
| 183 "patch": { | |
| 184 "description": "Updates a collection. This method supports p
atch semantics.", | |
| 185 "httpMethod": "PATCH", | |
| 186 "id": "androidenterprise.collections.patch", | |
| 187 "parameterOrder": [ | |
| 188 "enterpriseId", | |
| 189 "collectionId" | |
| 190 ], | |
| 191 "parameters": { | |
| 192 "collectionId": { | |
| 193 "description": "The ID of the collection.", | |
| 194 "location": "path", | |
| 195 "required": true, | |
| 196 "type": "string" | |
| 197 }, | |
| 198 "enterpriseId": { | |
| 199 "description": "The ID of the enterprise.", | |
| 200 "location": "path", | |
| 201 "required": true, | |
| 202 "type": "string" | |
| 203 } | |
| 204 }, | |
| 205 "path": "enterprises/{enterpriseId}/collections/{collectionI
d}", | |
| 206 "request": { | |
| 207 "$ref": "Collection" | |
| 208 }, | |
| 209 "response": { | |
| 210 "$ref": "Collection" | |
| 211 }, | |
| 212 "scopes": [ | |
| 213 "https://www.googleapis.com/auth/androidenterprise" | |
| 214 ] | |
| 215 }, | |
| 216 "update": { | |
| 217 "description": "Updates a collection.", | |
| 218 "httpMethod": "PUT", | |
| 219 "id": "androidenterprise.collections.update", | |
| 220 "parameterOrder": [ | |
| 221 "enterpriseId", | |
| 222 "collectionId" | |
| 223 ], | |
| 224 "parameters": { | |
| 225 "collectionId": { | |
| 226 "description": "The ID of the collection.", | |
| 227 "location": "path", | |
| 228 "required": true, | |
| 229 "type": "string" | |
| 230 }, | |
| 231 "enterpriseId": { | |
| 232 "description": "The ID of the enterprise.", | |
| 233 "location": "path", | |
| 234 "required": true, | |
| 235 "type": "string" | |
| 236 } | |
| 237 }, | |
| 238 "path": "enterprises/{enterpriseId}/collections/{collectionI
d}", | |
| 239 "request": { | |
| 240 "$ref": "Collection" | |
| 241 }, | |
| 242 "response": { | |
| 243 "$ref": "Collection" | |
| 244 }, | |
| 245 "scopes": [ | |
| 246 "https://www.googleapis.com/auth/androidenterprise" | |
| 247 ] | |
| 248 } | |
| 249 } | |
| 250 }, | |
| 251 "collectionviewers": { | |
| 252 "methods": { | |
| 253 "delete": { | |
| 254 "description": "Removes the user from the list of those spec
ifically allowed to see the collection. If the collection's visibility is set to
viewersOnly then only such users will see the collection.", | |
| 255 "httpMethod": "DELETE", | |
| 256 "id": "androidenterprise.collectionviewers.delete", | |
| 257 "parameterOrder": [ | |
| 258 "enterpriseId", | |
| 259 "collectionId", | |
| 260 "userId" | |
| 261 ], | |
| 262 "parameters": { | |
| 263 "collectionId": { | |
| 264 "description": "The ID of the collection.", | |
| 265 "location": "path", | |
| 266 "required": true, | |
| 267 "type": "string" | |
| 268 }, | |
| 269 "enterpriseId": { | |
| 270 "description": "The ID of the enterprise.", | |
| 271 "location": "path", | |
| 272 "required": true, | |
| 273 "type": "string" | |
| 274 }, | |
| 275 "userId": { | |
| 276 "description": "The ID of the user.", | |
| 277 "location": "path", | |
| 278 "required": true, | |
| 279 "type": "string" | |
| 280 } | |
| 281 }, | |
| 282 "path": "enterprises/{enterpriseId}/collections/{collectionI
d}/users/{userId}", | |
| 283 "scopes": [ | |
| 284 "https://www.googleapis.com/auth/androidenterprise" | |
| 285 ] | |
| 286 }, | |
| 287 "get": { | |
| 288 "description": "Retrieves the ID of the user if they have be
en specifically allowed to see the collection. If the collection's visibility is
set to viewersOnly then only these users will see the collection.", | |
| 289 "httpMethod": "GET", | |
| 290 "id": "androidenterprise.collectionviewers.get", | |
| 291 "parameterOrder": [ | |
| 292 "enterpriseId", | |
| 293 "collectionId", | |
| 294 "userId" | |
| 295 ], | |
| 296 "parameters": { | |
| 297 "collectionId": { | |
| 298 "description": "The ID of the collection.", | |
| 299 "location": "path", | |
| 300 "required": true, | |
| 301 "type": "string" | |
| 302 }, | |
| 303 "enterpriseId": { | |
| 304 "description": "The ID of the enterprise.", | |
| 305 "location": "path", | |
| 306 "required": true, | |
| 307 "type": "string" | |
| 308 }, | |
| 309 "userId": { | |
| 310 "description": "The ID of the user.", | |
| 311 "location": "path", | |
| 312 "required": true, | |
| 313 "type": "string" | |
| 314 } | |
| 315 }, | |
| 316 "path": "enterprises/{enterpriseId}/collections/{collectionI
d}/users/{userId}", | |
| 317 "response": { | |
| 318 "$ref": "User" | |
| 319 }, | |
| 320 "scopes": [ | |
| 321 "https://www.googleapis.com/auth/androidenterprise" | |
| 322 ] | |
| 323 }, | |
| 324 "list": { | |
| 325 "description": "Retrieves the IDs of the users who have been
specifically allowed to see the collection. If the collection's visibility is s
et to viewersOnly then only these users will see the collection.", | |
| 326 "httpMethod": "GET", | |
| 327 "id": "androidenterprise.collectionviewers.list", | |
| 328 "parameterOrder": [ | |
| 329 "enterpriseId", | |
| 330 "collectionId" | |
| 331 ], | |
| 332 "parameters": { | |
| 333 "collectionId": { | |
| 334 "description": "The ID of the collection.", | |
| 335 "location": "path", | |
| 336 "required": true, | |
| 337 "type": "string" | |
| 338 }, | |
| 339 "enterpriseId": { | |
| 340 "description": "The ID of the enterprise.", | |
| 341 "location": "path", | |
| 342 "required": true, | |
| 343 "type": "string" | |
| 344 } | |
| 345 }, | |
| 346 "path": "enterprises/{enterpriseId}/collections/{collectionI
d}/users", | |
| 347 "response": { | |
| 348 "$ref": "CollectionViewersListResponse" | |
| 349 }, | |
| 350 "scopes": [ | |
| 351 "https://www.googleapis.com/auth/androidenterprise" | |
| 352 ] | |
| 353 }, | |
| 354 "patch": { | |
| 355 "description": "Adds the user to the list of those specifica
lly allowed to see the collection. If the collection's visibility is set to view
ersOnly then only such users will see the collection. This method supports patch
semantics.", | |
| 356 "httpMethod": "PATCH", | |
| 357 "id": "androidenterprise.collectionviewers.patch", | |
| 358 "parameterOrder": [ | |
| 359 "enterpriseId", | |
| 360 "collectionId", | |
| 361 "userId" | |
| 362 ], | |
| 363 "parameters": { | |
| 364 "collectionId": { | |
| 365 "description": "The ID of the collection.", | |
| 366 "location": "path", | |
| 367 "required": true, | |
| 368 "type": "string" | |
| 369 }, | |
| 370 "enterpriseId": { | |
| 371 "description": "The ID of the enterprise.", | |
| 372 "location": "path", | |
| 373 "required": true, | |
| 374 "type": "string" | |
| 375 }, | |
| 376 "userId": { | |
| 377 "description": "The ID of the user.", | |
| 378 "location": "path", | |
| 379 "required": true, | |
| 380 "type": "string" | |
| 381 } | |
| 382 }, | |
| 383 "path": "enterprises/{enterpriseId}/collections/{collectionI
d}/users/{userId}", | |
| 384 "request": { | |
| 385 "$ref": "User" | |
| 386 }, | |
| 387 "response": { | |
| 388 "$ref": "User" | |
| 389 }, | |
| 390 "scopes": [ | |
| 391 "https://www.googleapis.com/auth/androidenterprise" | |
| 392 ] | |
| 393 }, | |
| 394 "update": { | |
| 395 "description": "Adds the user to the list of those specifica
lly allowed to see the collection. If the collection's visibility is set to view
ersOnly then only such users will see the collection.", | |
| 396 "httpMethod": "PUT", | |
| 397 "id": "androidenterprise.collectionviewers.update", | |
| 398 "parameterOrder": [ | |
| 399 "enterpriseId", | |
| 400 "collectionId", | |
| 401 "userId" | |
| 402 ], | |
| 403 "parameters": { | |
| 404 "collectionId": { | |
| 405 "description": "The ID of the collection.", | |
| 406 "location": "path", | |
| 407 "required": true, | |
| 408 "type": "string" | |
| 409 }, | |
| 410 "enterpriseId": { | |
| 411 "description": "The ID of the enterprise.", | |
| 412 "location": "path", | |
| 413 "required": true, | |
| 414 "type": "string" | |
| 415 }, | |
| 416 "userId": { | |
| 417 "description": "The ID of the user.", | |
| 418 "location": "path", | |
| 419 "required": true, | |
| 420 "type": "string" | |
| 421 } | |
| 422 }, | |
| 423 "path": "enterprises/{enterpriseId}/collections/{collectionI
d}/users/{userId}", | |
| 424 "request": { | |
| 425 "$ref": "User" | |
| 426 }, | |
| 427 "response": { | |
| 428 "$ref": "User" | |
| 429 }, | |
| 430 "scopes": [ | |
| 431 "https://www.googleapis.com/auth/androidenterprise" | |
| 432 ] | |
| 433 } | |
| 434 } | |
| 435 }, | |
| 436 "devices": { | 75 "devices": { |
| 437 "methods": { | 76 "methods": { |
| 438 "get": { | 77 "get": { |
| 439 "description": "Retrieves the details of a device.", | 78 "description": "Retrieves the details of a device.", |
| 440 "httpMethod": "GET", | 79 "httpMethod": "GET", |
| 441 "id": "androidenterprise.devices.get", | 80 "id": "androidenterprise.devices.get", |
| 442 "parameterOrder": [ | 81 "parameterOrder": [ |
| 443 "enterpriseId", | 82 "enterpriseId", |
| 444 "userId", | 83 "userId", |
| 445 "deviceId" | 84 "deviceId" |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 }, | 256 }, |
| 618 "path": "enterprises/completeSignup", | 257 "path": "enterprises/completeSignup", |
| 619 "response": { | 258 "response": { |
| 620 "$ref": "Enterprise" | 259 "$ref": "Enterprise" |
| 621 }, | 260 }, |
| 622 "scopes": [ | 261 "scopes": [ |
| 623 "https://www.googleapis.com/auth/androidenterprise" | 262 "https://www.googleapis.com/auth/androidenterprise" |
| 624 ] | 263 ] |
| 625 }, | 264 }, |
| 626 "createWebToken": { | 265 "createWebToken": { |
| 627 "description": "Returns a unique token to access an embeddab
le UI. To generate a web UI, pass the generated token into the Play for Work jav
ascript API. Each token may only be used to start one UI session. See the javasc
ript API documentation for further information.", | 266 "description": "Returns a unique token to access an embeddab
le UI. To generate a web UI, pass the generated token into the managed Google Pl
ay javascript API. Each token may only be used to start one UI session. See the
javascript API documentation for further information.", |
| 628 "httpMethod": "POST", | 267 "httpMethod": "POST", |
| 629 "id": "androidenterprise.enterprises.createWebToken", | 268 "id": "androidenterprise.enterprises.createWebToken", |
| 630 "parameterOrder": [ | 269 "parameterOrder": [ |
| 631 "enterpriseId" | 270 "enterpriseId" |
| 632 ], | 271 ], |
| 633 "parameters": { | 272 "parameters": { |
| 634 "enterpriseId": { | 273 "enterpriseId": { |
| 635 "description": "The ID of the enterprise.", | 274 "description": "The ID of the enterprise.", |
| 636 "location": "path", | 275 "location": "path", |
| 637 "required": true, | 276 "required": true, |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 "$ref": "EnterpriseAccount" | 554 "$ref": "EnterpriseAccount" |
| 916 }, | 555 }, |
| 917 "response": { | 556 "response": { |
| 918 "$ref": "EnterpriseAccount" | 557 "$ref": "EnterpriseAccount" |
| 919 }, | 558 }, |
| 920 "scopes": [ | 559 "scopes": [ |
| 921 "https://www.googleapis.com/auth/androidenterprise" | 560 "https://www.googleapis.com/auth/androidenterprise" |
| 922 ] | 561 ] |
| 923 }, | 562 }, |
| 924 "setStoreLayout": { | 563 "setStoreLayout": { |
| 925 "description": "Sets the store layout for the enterprise. By
default, storeLayoutType is set to \"basic\" and the basic store layout is enab
led. The basic layout only contains apps approved by the administrator, and that
have been added to the available product set for a user (using the setAvailabl
eProductSet call). Apps on the page are sorted in order of their product ID valu
e. If you create a custom store layout (by setting storeLayoutType = \"custom\")
, the basic store layout is disabled.", | 564 "description": "Sets the store layout for the enterprise. By
default, storeLayoutType is set to \"basic\" and the basic store layout is enab
led. The basic layout only contains apps approved by the admin, and that have be
en added to the available product set for a user (using the setAvailableProduct
Set call). Apps on the page are sorted in order of their product ID value. If yo
u create a custom store layout (by setting storeLayoutType = \"custom\"), the ba
sic store layout is disabled.", |
| 926 "httpMethod": "PUT", | 565 "httpMethod": "PUT", |
| 927 "id": "androidenterprise.enterprises.setStoreLayout", | 566 "id": "androidenterprise.enterprises.setStoreLayout", |
| 928 "parameterOrder": [ | 567 "parameterOrder": [ |
| 929 "enterpriseId" | 568 "enterpriseId" |
| 930 ], | 569 ], |
| 931 "parameters": { | 570 "parameters": { |
| 932 "enterpriseId": { | 571 "enterpriseId": { |
| 933 "description": "The ID of the enterprise.", | 572 "description": "The ID of the enterprise.", |
| 934 "location": "path", | 573 "location": "path", |
| 935 "required": true, | 574 "required": true, |
| (...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1908 }, | 1547 }, |
| 1909 "scopes": [ | 1548 "scopes": [ |
| 1910 "https://www.googleapis.com/auth/androidenterprise" | 1549 "https://www.googleapis.com/auth/androidenterprise" |
| 1911 ] | 1550 ] |
| 1912 } | 1551 } |
| 1913 } | 1552 } |
| 1914 }, | 1553 }, |
| 1915 "products": { | 1554 "products": { |
| 1916 "methods": { | 1555 "methods": { |
| 1917 "approve": { | 1556 "approve": { |
| 1918 "description": "Approves the specified product and the relev
ant app permissions, if any. The maximum number of products that you can approve
per enterprise customer is 1,000.\n\nTo learn how to use Google Play for Work t
o design and create a store layout to display approved products to your users, s
ee Store Layout Design.", | 1557 "description": "Approves the specified product and the relev
ant app permissions, if any. The maximum number of products that you can approve
per enterprise customer is 1,000.\n\nTo learn how to use managed Google Play to
design and create a store layout to display approved products to your users, se
e Store Layout Design.", |
| 1919 "httpMethod": "POST", | 1558 "httpMethod": "POST", |
| 1920 "id": "androidenterprise.products.approve", | 1559 "id": "androidenterprise.products.approve", |
| 1921 "parameterOrder": [ | 1560 "parameterOrder": [ |
| 1922 "enterpriseId", | 1561 "enterpriseId", |
| 1923 "productId" | 1562 "productId" |
| 1924 ], | 1563 ], |
| 1925 "parameters": { | 1564 "parameters": { |
| 1926 "enterpriseId": { | 1565 "enterpriseId": { |
| 1927 "description": "The ID of the enterprise.", | 1566 "description": "The ID of the enterprise.", |
| 1928 "location": "path", | 1567 "location": "path", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2008 }, | 1647 }, |
| 2009 "path": "enterprises/{enterpriseId}/products/{productId}", | 1648 "path": "enterprises/{enterpriseId}/products/{productId}", |
| 2010 "response": { | 1649 "response": { |
| 2011 "$ref": "Product" | 1650 "$ref": "Product" |
| 2012 }, | 1651 }, |
| 2013 "scopes": [ | 1652 "scopes": [ |
| 2014 "https://www.googleapis.com/auth/androidenterprise" | 1653 "https://www.googleapis.com/auth/androidenterprise" |
| 2015 ] | 1654 ] |
| 2016 }, | 1655 }, |
| 2017 "getAppRestrictionsSchema": { | 1656 "getAppRestrictionsSchema": { |
| 2018 "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.", | 1657 "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 admin to configure the product. To apply a
managed configuration based on the schema obtained using this API, see Managed C
onfigurations through Play.", |
| 2019 "httpMethod": "GET", | 1658 "httpMethod": "GET", |
| 2020 "id": "androidenterprise.products.getAppRestrictionsSchema", | 1659 "id": "androidenterprise.products.getAppRestrictionsSchema", |
| 2021 "parameterOrder": [ | 1660 "parameterOrder": [ |
| 2022 "enterpriseId", | 1661 "enterpriseId", |
| 2023 "productId" | 1662 "productId" |
| 2024 ], | 1663 ], |
| 2025 "parameters": { | 1664 "parameters": { |
| 2026 "enterpriseId": { | 1665 "enterpriseId": { |
| 2027 "description": "The ID of the enterprise.", | 1666 "description": "The ID of the enterprise.", |
| 2028 "location": "path", | 1667 "location": "path", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2103 "location": "query", | 1742 "location": "query", |
| 2104 "type": "string" | 1743 "type": "string" |
| 2105 }, | 1744 }, |
| 2106 "maxResults": { | 1745 "maxResults": { |
| 2107 "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.", | 1746 "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.", |
| 2108 "format": "uint32", | 1747 "format": "uint32", |
| 2109 "location": "query", | 1748 "location": "query", |
| 2110 "type": "integer" | 1749 "type": "integer" |
| 2111 }, | 1750 }, |
| 2112 "query": { | 1751 "query": { |
| 2113 "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).", | 1752 "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).", |
| 2114 "location": "query", | 1753 "location": "query", |
| 2115 "type": "string" | 1754 "type": "string" |
| 2116 }, | 1755 }, |
| 2117 "token": { | 1756 "token": { |
| 2118 "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.", | 1757 "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.", |
| 2119 "location": "query", | 1758 "location": "query", |
| 2120 "type": "string" | 1759 "type": "string" |
| 2121 } | 1760 } |
| 2122 }, | 1761 }, |
| 2123 "path": "enterprises/{enterpriseId}/products", | 1762 "path": "enterprises/{enterpriseId}/products", |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2717 }, | 2356 }, |
| 2718 "path": "enterprises/{enterpriseId}/users/{userId}/authentic
ationToken", | 2357 "path": "enterprises/{enterpriseId}/users/{userId}/authentic
ationToken", |
| 2719 "response": { | 2358 "response": { |
| 2720 "$ref": "AuthenticationToken" | 2359 "$ref": "AuthenticationToken" |
| 2721 }, | 2360 }, |
| 2722 "scopes": [ | 2361 "scopes": [ |
| 2723 "https://www.googleapis.com/auth/androidenterprise" | 2362 "https://www.googleapis.com/auth/androidenterprise" |
| 2724 ] | 2363 ] |
| 2725 }, | 2364 }, |
| 2726 "generateToken": { | 2365 "generateToken": { |
| 2727 "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.", | 2366 "description": "Generates a token (activation code) to allow
this user to configure their managed account in the Android Setup Wizard. Revok
es any previously generated token.\n\nThis call only works with Google managed a
ccounts.", |
| 2728 "httpMethod": "POST", | 2367 "httpMethod": "POST", |
| 2729 "id": "androidenterprise.users.generateToken", | 2368 "id": "androidenterprise.users.generateToken", |
| 2730 "parameterOrder": [ | 2369 "parameterOrder": [ |
| 2731 "enterpriseId", | 2370 "enterpriseId", |
| 2732 "userId" | 2371 "userId" |
| 2733 ], | 2372 ], |
| 2734 "parameters": { | 2373 "parameters": { |
| 2735 "enterpriseId": { | 2374 "enterpriseId": { |
| 2736 "description": "The ID of the enterprise.", | 2375 "description": "The ID of the enterprise.", |
| 2737 "location": "path", | 2376 "location": "path", |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2991 "response": { | 2630 "response": { |
| 2992 "$ref": "User" | 2631 "$ref": "User" |
| 2993 }, | 2632 }, |
| 2994 "scopes": [ | 2633 "scopes": [ |
| 2995 "https://www.googleapis.com/auth/androidenterprise" | 2634 "https://www.googleapis.com/auth/androidenterprise" |
| 2996 ] | 2635 ] |
| 2997 } | 2636 } |
| 2998 } | 2637 } |
| 2999 } | 2638 } |
| 3000 }, | 2639 }, |
| 3001 "revision": "20161207", | 2640 "revision": "20170111", |
| 3002 "rootUrl": "https://www.googleapis.com/", | 2641 "rootUrl": "https://www.googleapis.com/", |
| 3003 "schemas": { | 2642 "schemas": { |
| 3004 "Administrator": { | 2643 "Administrator": { |
| 3005 "description": "This represents an enterprise administrator who can
manage the enterprise in the Google Play for Work Store.", | 2644 "description": "This represents an enterprise admin who can manage t
he enterprise in the managed Google Play store.", |
| 3006 "id": "Administrator", | 2645 "id": "Administrator", |
| 3007 "properties": { | 2646 "properties": { |
| 3008 "email": { | 2647 "email": { |
| 3009 "description": "The administrator's email address.", | 2648 "description": "The admin's email address.", |
| 3010 "type": "string" | 2649 "type": "string" |
| 3011 } | 2650 } |
| 3012 }, | 2651 }, |
| 3013 "type": "object" | 2652 "type": "object" |
| 3014 }, | 2653 }, |
| 3015 "AdministratorWebToken": { | 2654 "AdministratorWebToken": { |
| 3016 "description": "A token authorizing an administrator to access an if
rame.", | 2655 "description": "A token authorizing an admin to access an iframe.", |
| 3017 "id": "AdministratorWebToken", | 2656 "id": "AdministratorWebToken", |
| 3018 "properties": { | 2657 "properties": { |
| 3019 "kind": { | 2658 "kind": { |
| 3020 "default": "androidenterprise#administratorWebToken", | 2659 "default": "androidenterprise#administratorWebToken", |
| 3021 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#administratorWebToken\".", | 2660 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#administratorWebToken\".", |
| 3022 "type": "string" | 2661 "type": "string" |
| 3023 }, | 2662 }, |
| 3024 "token": { | 2663 "token": { |
| 3025 "description": "An opaque token to be passed to the Play fro
nt-end to generate an iframe.", | 2664 "description": "An opaque token to be passed to the Play fro
nt-end to generate an iframe.", |
| 3026 "type": "string" | 2665 "type": "string" |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3174 "AppVersion": { | 2813 "AppVersion": { |
| 3175 "description": "This represents a single version of the app.", | 2814 "description": "This represents a single version of the app.", |
| 3176 "id": "AppVersion", | 2815 "id": "AppVersion", |
| 3177 "properties": { | 2816 "properties": { |
| 3178 "versionCode": { | 2817 "versionCode": { |
| 3179 "description": "Unique increasing identifier for the app ver
sion.", | 2818 "description": "Unique increasing identifier for the app ver
sion.", |
| 3180 "format": "int32", | 2819 "format": "int32", |
| 3181 "type": "integer" | 2820 "type": "integer" |
| 3182 }, | 2821 }, |
| 3183 "versionString": { | 2822 "versionString": { |
| 3184 "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\").", | 2823 "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\").", |
| 3185 "type": "string" | 2824 "type": "string" |
| 3186 } | 2825 } |
| 3187 }, | 2826 }, |
| 3188 "type": "object" | 2827 "type": "object" |
| 3189 }, | 2828 }, |
| 3190 "ApprovalUrlInfo": { | 2829 "ApprovalUrlInfo": { |
| 3191 "description": "Information on an approval URL.", | 2830 "description": "Information on an approval URL.", |
| 3192 "id": "ApprovalUrlInfo", | 2831 "id": "ApprovalUrlInfo", |
| 3193 "properties": { | 2832 "properties": { |
| 3194 "approvalUrl": { | 2833 "approvalUrl": { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 3212 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#authenticationToken\".", | 2851 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#authenticationToken\".", |
| 3213 "type": "string" | 2852 "type": "string" |
| 3214 }, | 2853 }, |
| 3215 "token": { | 2854 "token": { |
| 3216 "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.", | 2855 "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.", |
| 3217 "type": "string" | 2856 "type": "string" |
| 3218 } | 2857 } |
| 3219 }, | 2858 }, |
| 3220 "type": "object" | 2859 "type": "object" |
| 3221 }, | 2860 }, |
| 3222 "Collection": { | |
| 3223 "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.", | |
| 3224 "id": "Collection", | |
| 3225 "properties": { | |
| 3226 "collectionId": { | |
| 3227 "description": "Arbitrary unique ID, allocated by the API on
creation.", | |
| 3228 "type": "string" | |
| 3229 }, | |
| 3230 "kind": { | |
| 3231 "default": "androidenterprise#collection", | |
| 3232 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#collection\".", | |
| 3233 "type": "string" | |
| 3234 }, | |
| 3235 "name": { | |
| 3236 "annotations": { | |
| 3237 "required": [ | |
| 3238 "androidenterprise.collections.insert", | |
| 3239 "androidenterprise.collections.update" | |
| 3240 ] | |
| 3241 }, | |
| 3242 "description": "A user-friendly name for the collection (sho
uld be unique), e.g. \"Accounting apps\".", | |
| 3243 "type": "string" | |
| 3244 }, | |
| 3245 "productId": { | |
| 3246 "annotations": { | |
| 3247 "required": [ | |
| 3248 "androidenterprise.collections.insert", | |
| 3249 "androidenterprise.collections.update" | |
| 3250 ] | |
| 3251 }, | |
| 3252 "description": "The IDs of the products in the collection, i
n the order in which they should be displayed.", | |
| 3253 "items": { | |
| 3254 "type": "string" | |
| 3255 }, | |
| 3256 "type": "array" | |
| 3257 }, | |
| 3258 "visibility": { | |
| 3259 "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.", | |
| 3260 "type": "string" | |
| 3261 } | |
| 3262 }, | |
| 3263 "type": "object" | |
| 3264 }, | |
| 3265 "CollectionViewersListResponse": { | |
| 3266 "description": "The user resources for the collection.", | |
| 3267 "id": "CollectionViewersListResponse", | |
| 3268 "properties": { | |
| 3269 "kind": { | |
| 3270 "default": "androidenterprise#collectionViewersListResponse"
, | |
| 3271 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#collectionViewersListResponse\".", | |
| 3272 "type": "string" | |
| 3273 }, | |
| 3274 "user": { | |
| 3275 "description": "A user of an enterprise.", | |
| 3276 "items": { | |
| 3277 "$ref": "User" | |
| 3278 }, | |
| 3279 "type": "array" | |
| 3280 } | |
| 3281 }, | |
| 3282 "type": "object" | |
| 3283 }, | |
| 3284 "CollectionsListResponse": { | |
| 3285 "description": "The collection resources for the enterprise.", | |
| 3286 "id": "CollectionsListResponse", | |
| 3287 "properties": { | |
| 3288 "collection": { | |
| 3289 "description": "An ordered collection of products which can
be made visible on the Google Play Store to a selected group of users.", | |
| 3290 "items": { | |
| 3291 "$ref": "Collection" | |
| 3292 }, | |
| 3293 "type": "array" | |
| 3294 }, | |
| 3295 "kind": { | |
| 3296 "default": "androidenterprise#collectionsListResponse", | |
| 3297 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#collectionsListResponse\".", | |
| 3298 "type": "string" | |
| 3299 } | |
| 3300 }, | |
| 3301 "type": "object" | |
| 3302 }, | |
| 3303 "Device": { | 2861 "Device": { |
| 3304 "description": "A device resource represents a mobile device managed
by the EMM and belonging to a specific enterprise user.\n\nThis collection cann
ot be modified via the API; it is automatically populated as devices are set up
to be managed.", | 2862 "description": "A device resource represents a mobile device managed
by the EMM and belonging to a specific enterprise user.\n\nThis collection cann
ot be modified via the API; it is automatically populated as devices are set up
to be managed.", |
| 3305 "id": "Device", | 2863 "id": "Device", |
| 3306 "properties": { | 2864 "properties": { |
| 3307 "androidId": { | 2865 "androidId": { |
| 3308 "description": "The Google Play Services Android ID for the
device encoded as a lowercase hex string, e.g. \"123456789abcdef0\".", | 2866 "description": "The Google Play Services Android ID for the
device encoded as a lowercase hex string, e.g. \"123456789abcdef0\".", |
| 3309 "type": "string" | 2867 "type": "string" |
| 3310 }, | 2868 }, |
| 3311 "kind": { | 2869 "kind": { |
| 3312 "default": "androidenterprise#device", | 2870 "default": "androidenterprise#device", |
| 3313 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#device\".", | 2871 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#device\".", |
| 3314 "type": "string" | 2872 "type": "string" |
| 3315 }, | 2873 }, |
| 3316 "managementType": { | 2874 "managementType": { |
| 3317 "description": "Identifies the extent to which the device is
controlled by an Android for Work EMM in various deployment configurations.\n\n
Possible values include: \n- \"managedDevice\", a device that has the EMM's devi
ce policy controller (DPC) as the device owner, \n- \"managedProfile\", a device
that has a work profile managed by the DPC (DPC is profile owner) in addition t
o a separate, personal profile that is unavailable to the DPC, \n- \"containerAp
p\", a device running the Android for Work App. The Android for Work App is mana
ged by the DPC, \n- \"unmanagedProfile\", a device that has been allowed (by the
domain's admin, using the Admin Console to enable the privilege) to use Android
for Work apps or Google Apps for Work, but the profile is itself not owned by a
DPC.", | 2875 "description": "Identifies the extent to which the device is
controlled by a managed Google Play EMM in various deployment configurations.\n
\nPossible values include: \n- \"managedDevice\", a device that has the EMM's de
vice policy controller (DPC) as the device owner, \n- \"managedProfile\", a devi
ce that has a profile managed by the DPC (DPC is profile owner) in addition to a
separate, personal profile that is unavailable to the DPC, \n- \"containerApp\"
, a device running the container App. The container App is managed by the DPC, \
n- \"unmanagedProfile\", a device that has been allowed (by the domain's admin,
using the Admin Console to enable the privilege) to use managed Google Play, but
the profile is itself not owned by a DPC.", |
| 3318 "type": "string" | 2876 "type": "string" |
| 3319 } | 2877 } |
| 3320 }, | 2878 }, |
| 3321 "type": "object" | 2879 "type": "object" |
| 3322 }, | 2880 }, |
| 3323 "DeviceState": { | 2881 "DeviceState": { |
| 3324 "description": "The state of a user's device, as accessed by the get
State and setState methods on device resources.", | 2882 "description": "The state of a user's device, as accessed by the get
State and setState methods on device resources.", |
| 3325 "id": "DeviceState", | 2883 "id": "DeviceState", |
| 3326 "properties": { | 2884 "properties": { |
| 3327 "accountState": { | 2885 "accountState": { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 3349 }, | 2907 }, |
| 3350 "kind": { | 2908 "kind": { |
| 3351 "default": "androidenterprise#devicesListResponse", | 2909 "default": "androidenterprise#devicesListResponse", |
| 3352 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#devicesListResponse\".", | 2910 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#devicesListResponse\".", |
| 3353 "type": "string" | 2911 "type": "string" |
| 3354 } | 2912 } |
| 3355 }, | 2913 }, |
| 3356 "type": "object" | 2914 "type": "object" |
| 3357 }, | 2915 }, |
| 3358 "Enterprise": { | 2916 "Enterprise": { |
| 3359 "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.", | 2917 "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 managed Google Play Accounts customers, the process involves using Enterpri
ses.generateSignupUrl and Enterprises.completeSignup in conjunction with the man
aged Google Play sign-up UI (Google-provided mechanism) to create the binding wi
thout manual steps. As an EMM, you can support either or both approaches in your
EMM console. See Create an Enterprise for details.", |
| 3360 "id": "Enterprise", | 2918 "id": "Enterprise", |
| 3361 "properties": { | 2919 "properties": { |
| 3362 "administrator": { | 2920 "administrator": { |
| 3363 "description": "Administrators of the enterprise. This is on
ly supported for enterprises created via the EMM-initiated flow.", | 2921 "description": "Admins of the enterprise. This is only suppo
rted for enterprises created via the EMM-initiated flow.", |
| 3364 "items": { | 2922 "items": { |
| 3365 "$ref": "Administrator" | 2923 "$ref": "Administrator" |
| 3366 }, | 2924 }, |
| 3367 "type": "array" | 2925 "type": "array" |
| 3368 }, | 2926 }, |
| 3369 "id": { | 2927 "id": { |
| 3370 "description": "The unique ID for the enterprise.", | 2928 "description": "The unique ID for the enterprise.", |
| 3371 "type": "string" | 2929 "type": "string" |
| 3372 }, | 2930 }, |
| 3373 "kind": { | 2931 "kind": { |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3747 "managedProperty": { | 3305 "managedProperty": { |
| 3748 "description": "The list of managed properties.", | 3306 "description": "The list of managed properties.", |
| 3749 "items": { | 3307 "items": { |
| 3750 "$ref": "ManagedProperty" | 3308 "$ref": "ManagedProperty" |
| 3751 }, | 3309 }, |
| 3752 "type": "array" | 3310 "type": "array" |
| 3753 } | 3311 } |
| 3754 }, | 3312 }, |
| 3755 "type": "object" | 3313 "type": "object" |
| 3756 }, | 3314 }, |
| 3315 "NewDeviceEvent": { |
| 3316 "description": "An event generated when a new device is ready to be
managed.", |
| 3317 "id": "NewDeviceEvent", |
| 3318 "properties": { |
| 3319 "deviceId": { |
| 3320 "description": "The Android ID of the device. This field wil
l always be present.", |
| 3321 "type": "string" |
| 3322 }, |
| 3323 "managementType": { |
| 3324 "description": "Identifies the extent to which the device is
controlled by an Android for Work EMM in various deployment configurations.\n\n
Possible values include: \n- \"managedDevice\", a device that has the EMM's devi
ce policy controller (DPC) as the device owner, \n- \"managedProfile\", a device
that has a work profile managed by the DPC (DPC is profile owner) in addition t
o a separate, personal profile that is unavailable to the DPC,", |
| 3325 "type": "string" |
| 3326 }, |
| 3327 "userId": { |
| 3328 "description": "The ID of the user. This field will always b
e present.", |
| 3329 "type": "string" |
| 3330 } |
| 3331 }, |
| 3332 "type": "object" |
| 3333 }, |
| 3757 "NewPermissionsEvent": { | 3334 "NewPermissionsEvent": { |
| 3758 "description": "An event generated when new permissions are added to
an app.", | 3335 "description": "An event generated when new permissions are added to
an app.", |
| 3759 "id": "NewPermissionsEvent", | 3336 "id": "NewPermissionsEvent", |
| 3760 "properties": { | 3337 "properties": { |
| 3761 "approvedPermissions": { | 3338 "approvedPermissions": { |
| 3762 "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.", | 3339 "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.", |
| 3763 "items": { | 3340 "items": { |
| 3764 "type": "string" | 3341 "type": "string" |
| 3765 }, | 3342 }, |
| 3766 "type": "array" | 3343 "type": "array" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 3792 "description": "Notifications about app updates." | 3369 "description": "Notifications about app updates." |
| 3793 }, | 3370 }, |
| 3794 "enterpriseId": { | 3371 "enterpriseId": { |
| 3795 "description": "The ID of the enterprise for which the notif
ication is sent. This will always be present.", | 3372 "description": "The ID of the enterprise for which the notif
ication is sent. This will always be present.", |
| 3796 "type": "string" | 3373 "type": "string" |
| 3797 }, | 3374 }, |
| 3798 "installFailureEvent": { | 3375 "installFailureEvent": { |
| 3799 "$ref": "InstallFailureEvent", | 3376 "$ref": "InstallFailureEvent", |
| 3800 "description": "Notifications about an app installation fail
ure." | 3377 "description": "Notifications about an app installation fail
ure." |
| 3801 }, | 3378 }, |
| 3379 "newDeviceEvent": { |
| 3380 "$ref": "NewDeviceEvent", |
| 3381 "description": "Notifications about new devices." |
| 3382 }, |
| 3802 "newPermissionsEvent": { | 3383 "newPermissionsEvent": { |
| 3803 "$ref": "NewPermissionsEvent", | 3384 "$ref": "NewPermissionsEvent", |
| 3804 "description": "Notifications about new app permissions." | 3385 "description": "Notifications about new app permissions." |
| 3805 }, | 3386 }, |
| 3806 "productApprovalEvent": { | 3387 "productApprovalEvent": { |
| 3807 "$ref": "ProductApprovalEvent", | 3388 "$ref": "ProductApprovalEvent", |
| 3808 "description": "Notifications about changes to a product's a
pproval status." | 3389 "description": "Notifications about changes to a product's a
pproval status." |
| 3809 }, | 3390 }, |
| 3810 "productAvailabilityChangeEvent": { | 3391 "productAvailabilityChangeEvent": { |
| 3811 "$ref": "ProductAvailabilityChangeEvent", | 3392 "$ref": "ProductAvailabilityChangeEvent", |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3878 "type": "string" | 3459 "type": "string" |
| 3879 }, | 3460 }, |
| 3880 "permissionId": { | 3461 "permissionId": { |
| 3881 "description": "An opaque string uniquely identifying the pe
rmission.", | 3462 "description": "An opaque string uniquely identifying the pe
rmission.", |
| 3882 "type": "string" | 3463 "type": "string" |
| 3883 } | 3464 } |
| 3884 }, | 3465 }, |
| 3885 "type": "object" | 3466 "type": "object" |
| 3886 }, | 3467 }, |
| 3887 "Product": { | 3468 "Product": { |
| 3888 "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.", | 3469 "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.", |
| 3889 "id": "Product", | 3470 "id": "Product", |
| 3890 "properties": { | 3471 "properties": { |
| 3891 "appVersion": { | 3472 "appVersion": { |
| 3892 "description": "App versions currently available for this pr
oduct. The returned list contains only public versions. Alpha and beta versions
are not included.", | 3473 "description": "App versions currently available for this pr
oduct. The returned list contains only public versions. Alpha and beta versions
are not included.", |
| 3893 "items": { | 3474 "items": { |
| 3894 "$ref": "AppVersion" | 3475 "$ref": "AppVersion" |
| 3895 }, | 3476 }, |
| 3896 "type": "array" | 3477 "type": "array" |
| 3897 }, | 3478 }, |
| 3898 "authorName": { | 3479 "authorName": { |
| 3899 "description": "The name of the author of the product (e.g.
the app developer).", | 3480 "description": "The name of the author of the product (e.g.
the app developer).", |
| 3900 "type": "string" | 3481 "type": "string" |
| 3901 }, | 3482 }, |
| 3902 "detailsUrl": { | 3483 "detailsUrl": { |
| 3903 "description": "A link to the (consumer) Google Play details
page for the product.", | 3484 "description": "A link to the (consumer) Google Play details
page for the product.", |
| 3904 "type": "string" | 3485 "type": "string" |
| 3905 }, | 3486 }, |
| 3906 "distributionChannel": { | 3487 "distributionChannel": { |
| 3907 "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.", | 3488 "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.", |
| 3908 "type": "string" | 3489 "type": "string" |
| 3909 }, | 3490 }, |
| 3910 "iconUrl": { | 3491 "iconUrl": { |
| 3911 "description": "A link to an image that can be used as an ic
on for the product. This image is suitable for use at up to 512px x 512px.", | 3492 "description": "A link to an image that can be used as an ic
on for the product. This image is suitable for use at up to 512px x 512px.", |
| 3912 "type": "string" | 3493 "type": "string" |
| 3913 }, | 3494 }, |
| 3914 "kind": { | 3495 "kind": { |
| 3915 "default": "androidenterprise#product", | 3496 "default": "androidenterprise#product", |
| 3916 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#product\".", | 3497 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#product\".", |
| 3917 "type": "string" | 3498 "type": "string" |
| 3918 }, | 3499 }, |
| 3919 "productId": { | 3500 "productId": { |
| 3920 "description": "A string of the form app:<package name>. For
example, app:com.google.android.gm represents the Gmail app.", | 3501 "description": "A string of the form app:<package name>. For
example, app:com.google.android.gm represents the Gmail app.", |
| 3921 "type": "string" | 3502 "type": "string" |
| 3922 }, | 3503 }, |
| 3923 "productPricing": { | 3504 "productPricing": { |
| 3924 "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).", | 3505 "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).", |
| 3925 "type": "string" | 3506 "type": "string" |
| 3926 }, | 3507 }, |
| 3927 "requiresContainerApp": { | 3508 "requiresContainerApp": { |
| 3928 "description": "Whether this app can only be installed on de
vices using the Android for Work container app.", | 3509 "description": "Whether this app can only be installed on de
vices using the Android container app.", |
| 3929 "type": "boolean" | 3510 "type": "boolean" |
| 3930 }, | 3511 }, |
| 3931 "smallIconUrl": { | 3512 "smallIconUrl": { |
| 3932 "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
.", | 3513 "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
.", |
| 3933 "type": "string" | 3514 "type": "string" |
| 3934 }, | 3515 }, |
| 3935 "title": { | 3516 "title": { |
| 3936 "description": "The name of the product.", | 3517 "description": "The name of the product.", |
| 3937 "type": "string" | 3518 "type": "string" |
| 3938 }, | 3519 }, |
| 3939 "workDetailsUrl": { | 3520 "workDetailsUrl": { |
| 3940 "description": "A link to the Google Play for Work details p
age for the product, for use by an Enterprise administrator.", | 3521 "description": "A link to the managed Google Play details pa
ge for the product, for use by an Enterprise admin.", |
| 3941 "type": "string" | 3522 "type": "string" |
| 3942 } | 3523 } |
| 3943 }, | 3524 }, |
| 3944 "type": "object" | 3525 "type": "object" |
| 3945 }, | 3526 }, |
| 3946 "ProductApprovalEvent": { | 3527 "ProductApprovalEvent": { |
| 3947 "description": "An event generated when a product's approval status
is changed.", | 3528 "description": "An event generated when a product's approval status
is changed.", |
| 3948 "id": "ProductApprovalEvent", | 3529 "id": "ProductApprovalEvent", |
| 3949 "properties": { | 3530 "properties": { |
| 3950 "approved": { | 3531 "approved": { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4066 "kind": { | 3647 "kind": { |
| 4067 "default": "androidenterprise#productsListResponse", | 3648 "default": "androidenterprise#productsListResponse", |
| 4068 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#productsListResponse\".", | 3649 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#productsListResponse\".", |
| 4069 "type": "string" | 3650 "type": "string" |
| 4070 }, | 3651 }, |
| 4071 "pageInfo": { | 3652 "pageInfo": { |
| 4072 "$ref": "PageInfo", | 3653 "$ref": "PageInfo", |
| 4073 "description": "General pagination information." | 3654 "description": "General pagination information." |
| 4074 }, | 3655 }, |
| 4075 "product": { | 3656 "product": { |
| 4076 "description": "Information about a product (e.g. an app) in
the Google Play Store, for display to an enterprise admin.", | 3657 "description": "Information about a product (e.g. an app) in
the Google Play store, for display to an enterprise admin.", |
| 4077 "items": { | 3658 "items": { |
| 4078 "$ref": "Product" | 3659 "$ref": "Product" |
| 4079 }, | 3660 }, |
| 4080 "type": "array" | 3661 "type": "array" |
| 4081 }, | 3662 }, |
| 4082 "tokenPagination": { | 3663 "tokenPagination": { |
| 4083 "$ref": "TokenPagination", | 3664 "$ref": "TokenPagination", |
| 4084 "description": "Pagination information for token pagination.
" | 3665 "description": "Pagination information for token pagination.
" |
| 4085 } | 3666 } |
| 4086 }, | 3667 }, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4166 "type": "string" | 3747 "type": "string" |
| 4167 }, | 3748 }, |
| 4168 "url": { | 3749 "url": { |
| 4169 "description": "A URL under which the Admin can sign up for
an enterprise. The page pointed to cannot be rendered in an iframe.", | 3750 "description": "A URL under which the Admin can sign up for
an enterprise. The page pointed to cannot be rendered in an iframe.", |
| 4170 "type": "string" | 3751 "type": "string" |
| 4171 } | 3752 } |
| 4172 }, | 3753 }, |
| 4173 "type": "object" | 3754 "type": "object" |
| 4174 }, | 3755 }, |
| 4175 "StoreCluster": { | 3756 "StoreCluster": { |
| 4176 "description": "Definition of a Google Play for Work store cluster,
a list of products displayed as part of a store page.", | 3757 "description": "Definition of a managed Google Play store cluster, a
list of products displayed as part of a store page.", |
| 4177 "id": "StoreCluster", | 3758 "id": "StoreCluster", |
| 4178 "properties": { | 3759 "properties": { |
| 4179 "id": { | 3760 "id": { |
| 4180 "description": "Unique ID of this cluster. Assigned by the s
erver. Immutable once assigned.", | 3761 "description": "Unique ID of this cluster. Assigned by the s
erver. Immutable once assigned.", |
| 4181 "type": "string" | 3762 "type": "string" |
| 4182 }, | 3763 }, |
| 4183 "kind": { | 3764 "kind": { |
| 4184 "default": "androidenterprise#storeCluster", | 3765 "default": "androidenterprise#storeCluster", |
| 4185 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#storeCluster\".", | 3766 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#storeCluster\".", |
| 4186 "type": "string" | 3767 "type": "string" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4200 "description": "List of products in the order they are displ
ayed in the cluster. There should not be duplicates within a cluster.", | 3781 "description": "List of products in the order they are displ
ayed in the cluster. There should not be duplicates within a cluster.", |
| 4201 "items": { | 3782 "items": { |
| 4202 "type": "string" | 3783 "type": "string" |
| 4203 }, | 3784 }, |
| 4204 "type": "array" | 3785 "type": "array" |
| 4205 } | 3786 } |
| 4206 }, | 3787 }, |
| 4207 "type": "object" | 3788 "type": "object" |
| 4208 }, | 3789 }, |
| 4209 "StoreLayout": { | 3790 "StoreLayout": { |
| 4210 "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.", | 3791 "description": "General setting for the managed Google Play store la
yout, currently only specifying the page to display the first time the store is
opened.", |
| 4211 "id": "StoreLayout", | 3792 "id": "StoreLayout", |
| 4212 "properties": { | 3793 "properties": { |
| 4213 "homepageId": { | 3794 "homepageId": { |
| 4214 "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.", | 3795 "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 managed Google
Play 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 t
he store.\n\nIf there exists at least one page, this field must be set to the ID
of a valid page.", |
| 4215 "type": "string" | 3796 "type": "string" |
| 4216 }, | 3797 }, |
| 4217 "kind": { | 3798 "kind": { |
| 4218 "default": "androidenterprise#storeLayout", | 3799 "default": "androidenterprise#storeLayout", |
| 4219 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#storeLayout\".", | 3800 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#storeLayout\".", |
| 4220 "type": "string" | 3801 "type": "string" |
| 4221 }, | 3802 }, |
| 4222 "storeLayoutType": { | 3803 "storeLayoutType": { |
| 4223 "description": "The store layout type. By default, this valu
e is set to \"basic\". If set to \"custom\", \"homepageId\" must be specified. I
f set to \"basic\", the layout will consist of all approved apps accessible by t
he user, split in pages of 100 each; in this case, \"homepageId\" must not be sp
ecified. The \"basic\" setting takes precedence over any existing collections se
tup for this enterprise (if any). Should the enterprise use collectionViewers fo
r controlling access rights, these will still be respected.", | 3804 "description": "The store layout type. By default, this valu
e is set to \"basic\". If set to \"custom\", \"homepageId\" must be specified. I
f set to \"basic\", the layout will consist of all approved apps accessible by t
he user, split in pages of 100 each; in this case, \"homepageId\" must not be sp
ecified. The \"basic\" setting takes precedence over any existing collections se
tup for this enterprise (if any). Should the enterprise use collectionViewers fo
r controlling access rights, these will still be respected.", |
| 4224 "type": "string" | 3805 "type": "string" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4258 "description": "A store page of an enterprise.", | 3839 "description": "A store page of an enterprise.", |
| 4259 "items": { | 3840 "items": { |
| 4260 "$ref": "StorePage" | 3841 "$ref": "StorePage" |
| 4261 }, | 3842 }, |
| 4262 "type": "array" | 3843 "type": "array" |
| 4263 } | 3844 } |
| 4264 }, | 3845 }, |
| 4265 "type": "object" | 3846 "type": "object" |
| 4266 }, | 3847 }, |
| 4267 "StorePage": { | 3848 "StorePage": { |
| 4268 "description": "Definition of a Google Play for Work store page, mad
e of a localized name and links to other pages. A page also contains clusters de
fined as a subcollection.", | 3849 "description": "Definition of a managed Google Play store page, made
of a localized name and links to other pages. A page also contains clusters def
ined as a subcollection.", |
| 4269 "id": "StorePage", | 3850 "id": "StorePage", |
| 4270 "properties": { | 3851 "properties": { |
| 4271 "id": { | 3852 "id": { |
| 4272 "description": "Unique ID of this page. Assigned by the serv
er. Immutable once assigned.", | 3853 "description": "Unique ID of this page. Assigned by the serv
er. Immutable once assigned.", |
| 4273 "type": "string" | 3854 "type": "string" |
| 4274 }, | 3855 }, |
| 4275 "kind": { | 3856 "kind": { |
| 4276 "default": "androidenterprise#storePage", | 3857 "default": "androidenterprise#storePage", |
| 4277 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#storePage\".", | 3858 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#storePage\".", |
| 4278 "type": "string" | 3859 "type": "string" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 4300 "nextPageToken": { | 3881 "nextPageToken": { |
| 4301 "type": "string" | 3882 "type": "string" |
| 4302 }, | 3883 }, |
| 4303 "previousPageToken": { | 3884 "previousPageToken": { |
| 4304 "type": "string" | 3885 "type": "string" |
| 4305 } | 3886 } |
| 4306 }, | 3887 }, |
| 4307 "type": "object" | 3888 "type": "object" |
| 4308 }, | 3889 }, |
| 4309 "User": { | 3890 "User": { |
| 4310 "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.", | 3891 "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 managed Google Play only, or to other Google services, depending on
the identity model: \n- The Google managed domain identity model requires synch
ronization to Google account sources (via primaryEmail). \n- The managed Google
Play Accounts identity model provides a dynamic means for enterprises to create
user or device accounts as needed. These accounts provide access to managed Goog
le Play.", |
| 4311 "id": "User", | 3892 "id": "User", |
| 4312 "properties": { | 3893 "properties": { |
| 4313 "accountIdentifier": { | 3894 "accountIdentifier": { |
| 4314 "annotations": { | 3895 "annotations": { |
| 4315 "required": [ | 3896 "required": [ |
| 4316 "androidenterprise.users.insert" | 3897 "androidenterprise.users.insert" |
| 4317 ] | 3898 ] |
| 4318 }, | 3899 }, |
| 4319 "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.", | 3900 "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.", |
| 4320 "type": "string" | 3901 "type": "string" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 4346 "type": "string" | 3927 "type": "string" |
| 4347 }, | 3928 }, |
| 4348 "primaryEmail": { | 3929 "primaryEmail": { |
| 4349 "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.", | 3930 "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.", |
| 4350 "type": "string" | 3931 "type": "string" |
| 4351 } | 3932 } |
| 4352 }, | 3933 }, |
| 4353 "type": "object" | 3934 "type": "object" |
| 4354 }, | 3935 }, |
| 4355 "UserToken": { | 3936 "UserToken": { |
| 4356 "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.", | 3937 "description": "A UserToken is used by a user when setting up a mana
ged device or profile with their managed Google Play account on a device. When t
he user enters their email address and token (activation code) the appropriate E
MM app can be automatically downloaded.", |
| 4357 "id": "UserToken", | 3938 "id": "UserToken", |
| 4358 "properties": { | 3939 "properties": { |
| 4359 "kind": { | 3940 "kind": { |
| 4360 "default": "androidenterprise#userToken", | 3941 "default": "androidenterprise#userToken", |
| 4361 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#userToken\".", | 3942 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#userToken\".", |
| 4362 "type": "string" | 3943 "type": "string" |
| 4363 }, | 3944 }, |
| 4364 "token": { | 3945 "token": { |
| 4365 "description": "The token (activation code) to be entered by
the user. This consists of a sequence of decimal digits. Note that the leading
digit may be 0.", | 3946 "description": "The token (activation code) to be entered by
the user. This consists of a sequence of decimal digits. Note that the leading
digit may be 0.", |
| 4366 "type": "string" | 3947 "type": "string" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 4389 "type": "array" | 3970 "type": "array" |
| 4390 } | 3971 } |
| 4391 }, | 3972 }, |
| 4392 "type": "object" | 3973 "type": "object" |
| 4393 } | 3974 } |
| 4394 }, | 3975 }, |
| 4395 "servicePath": "androidenterprise/v1/", | 3976 "servicePath": "androidenterprise/v1/", |
| 4396 "title": "Google Play EMM API", | 3977 "title": "Google Play EMM API", |
| 4397 "version": "v1" | 3978 "version": "v1" |
| 4398 } | 3979 } |
| OLD | NEW |