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/androidenterprise/v1", |
14 "canonicalName": "Android Enterprise", | 14 "canonicalName": "Android Enterprise", |
15 "description": "Manages the deployment of apps to Android for Work users.", | 15 "description": "Manages the deployment of apps to Android for Work users.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://developers.google.com/android/work/play/emm-ap
i", | 17 "documentationLink": "https://developers.google.com/android/work/play/emm-ap
i", |
18 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/NquYLxR1-tsUnZG1v-8eQMTpQks\"", | 18 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/RhIHx1SwfJ96Awey5il5_fqGJDg\"", |
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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 }, | 528 }, |
529 "path": "enterprises/pullNotificationSet", | 529 "path": "enterprises/pullNotificationSet", |
530 "response": { | 530 "response": { |
531 "$ref": "NotificationSet" | 531 "$ref": "NotificationSet" |
532 }, | 532 }, |
533 "scopes": [ | 533 "scopes": [ |
534 "https://www.googleapis.com/auth/androidenterprise" | 534 "https://www.googleapis.com/auth/androidenterprise" |
535 ] | 535 ] |
536 }, | 536 }, |
537 "sendTestPushNotification": { | 537 "sendTestPushNotification": { |
538 "description": "Sends a test push notification to validate t
he EMM integration with the Google Cloud Pub/Sub service for this enterprise.", | 538 "description": "Sends a test notification to validate the EM
M integration with the Google Cloud Pub/Sub service for this enterprise.", |
539 "httpMethod": "POST", | 539 "httpMethod": "POST", |
540 "id": "androidenterprise.enterprises.sendTestPushNotificatio
n", | 540 "id": "androidenterprise.enterprises.sendTestPushNotificatio
n", |
541 "parameterOrder": [ | 541 "parameterOrder": [ |
542 "enterpriseId" | 542 "enterpriseId" |
543 ], | 543 ], |
544 "parameters": { | 544 "parameters": { |
545 "enterpriseId": { | 545 "enterpriseId": { |
546 "description": "The ID of the enterprise.", | 546 "description": "The ID of the enterprise.", |
547 "location": "path", | 547 "location": "path", |
548 "required": true, | 548 "required": true, |
(...skipping 2097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2646 "response": { | 2646 "response": { |
2647 "$ref": "User" | 2647 "$ref": "User" |
2648 }, | 2648 }, |
2649 "scopes": [ | 2649 "scopes": [ |
2650 "https://www.googleapis.com/auth/androidenterprise" | 2650 "https://www.googleapis.com/auth/androidenterprise" |
2651 ] | 2651 ] |
2652 } | 2652 } |
2653 } | 2653 } |
2654 } | 2654 } |
2655 }, | 2655 }, |
2656 "revision": "20170809", | 2656 "revision": "20170830", |
2657 "rootUrl": "https://www.googleapis.com/", | 2657 "rootUrl": "https://www.googleapis.com/", |
2658 "schemas": { | 2658 "schemas": { |
2659 "Administrator": { | 2659 "Administrator": { |
2660 "description": "This represents an enterprise admin who can manage t
he enterprise in the managed Google Play store.", | 2660 "description": "This represents an enterprise admin who can manage t
he enterprise in the managed Google Play store.", |
2661 "id": "Administrator", | 2661 "id": "Administrator", |
2662 "properties": { | 2662 "properties": { |
2663 "email": { | 2663 "email": { |
2664 "description": "The admin's email address.", | 2664 "description": "The admin's email address.", |
2665 "type": "string" | 2665 "type": "string" |
2666 } | 2666 } |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3063 }, | 3063 }, |
3064 "kind": { | 3064 "kind": { |
3065 "default": "androidenterprise#entitlementsListResponse", | 3065 "default": "androidenterprise#entitlementsListResponse", |
3066 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#entitlementsListResponse\".", | 3066 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#entitlementsListResponse\".", |
3067 "type": "string" | 3067 "type": "string" |
3068 } | 3068 } |
3069 }, | 3069 }, |
3070 "type": "object" | 3070 "type": "object" |
3071 }, | 3071 }, |
3072 "GroupLicense": { | 3072 "GroupLicense": { |
3073 "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.", | 3073 "description": "Group license objects allow you to keep track of lic
enses (called entitlements) for both free and paid apps. For a free app, a group
license is created when an enterprise admin first approves the product in Googl
e Play or when the first entitlement for the product is created for a user via t
he API. For a paid app, a group license object is only created when an enterpris
e admin purchases the product in Google Play for the first time.\n\nUse the API
to query group licenses. A Grouplicenses resource includes the total number of l
icenses purchased (paid apps only) and the total number of licenses currently in
use. Iyn other words, the total number of Entitlements that exist for the produ
ct.\n\nOnly one group license object is created per product and group license ob
jects are never deleted. If a product is unapproved, its group license remains.
This allows enterprise admins to keep track of any remaining entitlements for th
e product.", |
3074 "id": "GroupLicense", | 3074 "id": "GroupLicense", |
3075 "properties": { | 3075 "properties": { |
3076 "acquisitionKind": { | 3076 "acquisitionKind": { |
3077 "description": "How this group license was acquired. \"bulkP
urchase\" means that this Grouplicenses resource was created because the enterpr
ise purchased licenses for this product; otherwise, the value is \"free\" (for f
ree products).", | 3077 "description": "How this group license was acquired. \"bulkP
urchase\" means that this Grouplicenses resource was created because the enterpr
ise purchased licenses for this product; otherwise, the value is \"free\" (for f
ree products).", |
3078 "type": "string" | 3078 "type": "string" |
3079 }, | 3079 }, |
3080 "approval": { | 3080 "approval": { |
3081 "description": "Whether the product to which this group lice
nse relates is currently approved by the enterprise. Products are approved when
a group license is first created, but this approval may be revoked by an enterpr
ise 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.", | 3081 "description": "Whether the product to which this group lice
nse relates is currently approved by the enterprise. Products are approved when
a group license is first created, but this approval may be revoked by an enterpr
ise 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.", |
3082 "type": "string" | 3082 "type": "string" |
3083 }, | 3083 }, |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3503 "type": "string" | 3503 "type": "string" |
3504 } | 3504 } |
3505 }, | 3505 }, |
3506 "type": "object" | 3506 "type": "object" |
3507 }, | 3507 }, |
3508 "Product": { | 3508 "Product": { |
3509 "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.", | 3509 "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.", |
3510 "id": "Product", | 3510 "id": "Product", |
3511 "properties": { | 3511 "properties": { |
3512 "appVersion": { | 3512 "appVersion": { |
3513 "description": "App versions currently available for this pr
oduct. The returned list contains only public versions. Alpha and beta versions
are not included.", | 3513 "description": "App versions currently available for this pr
oduct.", |
3514 "items": { | 3514 "items": { |
3515 "$ref": "AppVersion" | 3515 "$ref": "AppVersion" |
3516 }, | 3516 }, |
3517 "type": "array" | 3517 "type": "array" |
3518 }, | 3518 }, |
3519 "authorName": { | 3519 "authorName": { |
3520 "description": "The name of the author of the product (for e
xample, the app developer).", | 3520 "description": "The name of the author of the product (for e
xample, the app developer).", |
3521 "type": "string" | 3521 "type": "string" |
3522 }, | 3522 }, |
3523 "detailsUrl": { | 3523 "detailsUrl": { |
(...skipping 18 matching lines...) Expand all Loading... |
3542 "type": "string" | 3542 "type": "string" |
3543 }, | 3543 }, |
3544 "productPricing": { | 3544 "productPricing": { |
3545 "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).", | 3545 "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).", |
3546 "type": "string" | 3546 "type": "string" |
3547 }, | 3547 }, |
3548 "requiresContainerApp": { | 3548 "requiresContainerApp": { |
3549 "description": "Deprecated.", | 3549 "description": "Deprecated.", |
3550 "type": "boolean" | 3550 "type": "boolean" |
3551 }, | 3551 }, |
| 3552 "signingCertificate": { |
| 3553 "$ref": "ProductSigningCertificate", |
| 3554 "description": "The certificate used to sign this product." |
| 3555 }, |
3552 "smallIconUrl": { | 3556 "smallIconUrl": { |
3553 "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
.", | 3557 "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
.", |
3554 "type": "string" | 3558 "type": "string" |
3555 }, | 3559 }, |
3556 "title": { | 3560 "title": { |
3557 "description": "The name of the product.", | 3561 "description": "The name of the product.", |
3558 "type": "string" | 3562 "type": "string" |
3559 }, | 3563 }, |
3560 "workDetailsUrl": { | 3564 "workDetailsUrl": { |
3561 "description": "A link to the managed Google Play details pa
ge for the product, for use by an Enterprise admin.", | 3565 "description": "A link to the managed Google Play details pa
ge for the product, for use by an Enterprise admin.", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3648 }, | 3652 }, |
3649 "type": "array" | 3653 "type": "array" |
3650 }, | 3654 }, |
3651 "productSetBehavior": { | 3655 "productSetBehavior": { |
3652 "description": "The interpretation of this product set. \"un
known\" should never be sent and is ignored if received. \"whitelist\" means tha
t the user is entitled to access the product set. \"includeAll\" means that all
products are accessible, including products that are approved, products with rev
oked approval, and products that have never been approved. \"allApproved\" means
that the user is entitled to access all products that are approved for the ente
rprise. If the value is \"allApproved\" or \"includeAll\", the productId field i
s ignored. If no value is provided, it is interpreted as \"whitelist\" for backw
ards compatibility. Further \"allApproved\" or \"includeAll\" does not enable au
tomatic visibility of \"alpha\" or \"beta\" tracks for Android app. Use ProductV
isibility to enable \"alpha\" or \"beta\" tracks per user.", | 3656 "description": "The interpretation of this product set. \"un
known\" should never be sent and is ignored if received. \"whitelist\" means tha
t the user is entitled to access the product set. \"includeAll\" means that all
products are accessible, including products that are approved, products with rev
oked approval, and products that have never been approved. \"allApproved\" means
that the user is entitled to access all products that are approved for the ente
rprise. If the value is \"allApproved\" or \"includeAll\", the productId field i
s ignored. If no value is provided, it is interpreted as \"whitelist\" for backw
ards compatibility. Further \"allApproved\" or \"includeAll\" does not enable au
tomatic visibility of \"alpha\" or \"beta\" tracks for Android app. Use ProductV
isibility to enable \"alpha\" or \"beta\" tracks per user.", |
3653 "type": "string" | 3657 "type": "string" |
3654 } | 3658 } |
3655 }, | 3659 }, |
3656 "type": "object" | 3660 "type": "object" |
3657 }, | 3661 }, |
| 3662 "ProductSigningCertificate": { |
| 3663 "id": "ProductSigningCertificate", |
| 3664 "properties": { |
| 3665 "certificateHashSha1": { |
| 3666 "description": "The base64 urlsafe encoded SHA1 hash of the
certificate. (This field is deprecated in favor of SHA2-256. It should not be us
ed and may be removed at any time.)", |
| 3667 "type": "string" |
| 3668 }, |
| 3669 "certificateHashSha256": { |
| 3670 "description": "The base64 urlsafe encoded SHA2-256 hash of
the certificate.", |
| 3671 "type": "string" |
| 3672 } |
| 3673 }, |
| 3674 "type": "object" |
| 3675 }, |
3658 "ProductsApproveRequest": { | 3676 "ProductsApproveRequest": { |
3659 "id": "ProductsApproveRequest", | 3677 "id": "ProductsApproveRequest", |
3660 "properties": { | 3678 "properties": { |
3661 "approvalUrlInfo": { | 3679 "approvalUrlInfo": { |
3662 "$ref": "ApprovalUrlInfo", | 3680 "$ref": "ApprovalUrlInfo", |
3663 "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." | 3681 "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." |
3664 }, | 3682 }, |
3665 "approvedPermissions": { | 3683 "approvedPermissions": { |
3666 "description": "Sets how new permission requests for the pro
duct are handled. \"allPermissions\" automatically approves all current and futu
re permissions for the product. \"currentPermissionsOnly\" approves the current
set of permissions for the product, but any future permissions added through upd
ates will require manual reapproval. If not specified, only the current set of p
ermissions will be approved.", | 3684 "description": "Sets how new permission requests for the pro
duct are handled. \"allPermissions\" automatically approves all current and futu
re permissions for the product. \"currentPermissionsOnly\" approves the current
set of permissions for the product, but any future permissions added through upd
ates will require manual reapproval. If not specified, only the current set of p
ermissions will be approved.", |
3667 "type": "string" | 3685 "type": "string" |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4009 "type": "array" | 4027 "type": "array" |
4010 } | 4028 } |
4011 }, | 4029 }, |
4012 "type": "object" | 4030 "type": "object" |
4013 } | 4031 } |
4014 }, | 4032 }, |
4015 "servicePath": "androidenterprise/v1/", | 4033 "servicePath": "androidenterprise/v1/", |
4016 "title": "Google Play EMM API", | 4034 "title": "Google Play EMM API", |
4017 "version": "v1" | 4035 "version": "v1" |
4018 } | 4036 } |
OLD | NEW |