Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Unified Diff: discovery/googleapis/androidenterprise__v1.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/analyticsreporting__v4.json ('k') | discovery/googleapis/androidpublisher__v2.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/androidenterprise__v1.json
diff --git a/discovery/googleapis/androidenterprise__v1.json b/discovery/googleapis/androidenterprise__v1.json
index c8c83247eace154e1f16000af300ca2a34a384bf..c45653bef9fd0cc83ada4500621611ceba71daeb 100644
--- a/discovery/googleapis/androidenterprise__v1.json
+++ b/discovery/googleapis/androidenterprise__v1.json
@@ -15,7 +15,7 @@
"description": "Manages the deployment of apps to Android for Work users.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android/work/play/emm-api",
- "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/uiNJ6ExiEEycTZwke1yNGg1_Vg8\"",
+ "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/IK528lrZ_G3wj2ykOVn5EPb9raM\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/android-16.png",
"x32": "https://www.google.com/images/icons/product/android-32.png"
@@ -623,6 +623,32 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
+ "createWebToken": {
+ "description": "Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the Play for Work javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.",
+ "httpMethod": "POST",
+ "id": "androidenterprise.enterprises.createWebToken",
+ "parameterOrder": [
+ "enterpriseId"
+ ],
+ "parameters": {
+ "enterpriseId": {
+ "description": "The ID of the enterprise.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "enterprises/{enterpriseId}/createWebToken",
+ "request": {
+ "$ref": "AdministratorWebTokenSpec"
+ },
+ "response": {
+ "$ref": "AdministratorWebToken"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidenterprise"
+ ]
+ },
"delete": {
"description": "Deletes the binding between the EMM and enterprise. This is now deprecated; use this to unenroll customers that were previously enrolled with the 'insert' call, then enroll them again with the 'enroll' call.",
"httpMethod": "DELETE",
@@ -820,12 +846,12 @@
]
},
"pullNotificationSet": {
- "description": "Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending.\nA notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set is empty.\nNotifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy.\nMultiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending.",
+ "description": "Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending.\nA notification set returned needs to be acknowledged within 20 seconds by calling Enterprises​.AcknowledgeNotificationSet, unless the notification set is empty.\nNotifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy.\nMultiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending.\nIf no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available.",
"httpMethod": "POST",
"id": "androidenterprise.enterprises.pullNotificationSet",
"parameters": {
"requestMode": {
- "description": "The request mode for pulling notifications. If omitted, defaults to WAIT_FOR_NOTIFCATIONS.\nIf this is set to WAIT_FOR_NOTIFCATIONS, the request will eventually timeout, in which case it should be retried.",
+ "description": "The request mode for pulling notifications.\nSpecifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification list if no notifications are present after some time.\nSpeciying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present.\nIf omitted, defaults to waitForNotifications.",
"enum": [
"returnImmediately",
"waitForNotifications"
@@ -896,7 +922,7 @@
]
},
"setStoreLayout": {
- "description": "Sets the store layout for the enterprise.",
+ "description": "Sets the store layout for the enterprise. By default, storeLayoutType is set to \"basic\" and the basic store layout is enabled. 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 setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = \"custom\"), the basic store layout is disabled.",
"httpMethod": "PUT",
"id": "androidenterprise.enterprises.setStoreLayout",
"parameterOrder": [
@@ -2788,7 +2814,7 @@
]
},
"insert": {
- "description": "Creates a new EMM-managed user.\n\nThe Users resource passed in the body of the request should include an accountIdentifier and an accountType.",
+ "description": "Creates a new EMM-managed user.\n\nThe Users resource passed in the body of the request should include an accountIdentifier and an accountType.\nIf a corresponding user already exists with the same account identifier, the user will be updated with the resource. In this case only the displayName field can be changed.",
"httpMethod": "POST",
"id": "androidenterprise.users.insert",
"parameterOrder": [
@@ -2972,7 +2998,7 @@
}
}
},
- "revision": "20160818",
+ "revision": "20161025",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Administrator": {
@@ -2986,6 +3012,45 @@
},
"type": "object"
},
+ "AdministratorWebToken": {
+ "description": "A token authorizing an administrator to access an iframe.",
+ "id": "AdministratorWebToken",
+ "properties": {
+ "kind": {
+ "default": "androidenterprise#administratorWebToken",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#administratorWebToken\".",
+ "type": "string"
+ },
+ "token": {
+ "description": "An opaque token to be passed to the Play front-end to generate an iframe.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AdministratorWebTokenSpec": {
+ "description": "Specification for a token used to generate iframes. The token specifies what data the admin is allowed to modify and the URI the iframe is allowed to communiate with.",
+ "id": "AdministratorWebTokenSpec",
+ "properties": {
+ "kind": {
+ "default": "androidenterprise#administratorWebTokenSpec",
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#administratorWebTokenSpec\".",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at other URIs. This URI must be https.",
+ "type": "string"
+ },
+ "permission": {
+ "description": "The list of permissions the admin is granted within the iframe. The admin will only be allowed to view an iframe if they have all of the permissions associated with it. The only valid value is \"approveApps\" that will allow the admin to access the iframe in \"approve\" mode.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"AppRestrictionsSchema": {
"description": "Represents the list of app restrictions available to be pre-configured for the product.",
"id": "AppRestrictionsSchema",
@@ -3022,7 +3087,7 @@
"properties": {
"defaultValue": {
"$ref": "AppRestrictionsSchemaRestrictionRestrictionValue",
- "description": "The default value of the restriction."
+ "description": "The default value of the restriction. bundle and bundleArray restrictions never have a default value."
},
"description": {
"description": "A longer description of the restriction, giving more detail of what it affects.",
@@ -3036,7 +3101,7 @@
"type": "array"
},
"entryValue": {
- "description": "For choice or multiselect restrictions, the list of possible entries' machine-readable values.",
+ "description": "For choice or multiselect restrictions, the list of possible entries' machine-readable values. These values should be used in the configuration, either as a single string value for a choice restriction or in a stringArray for a multiselect restriction.",
"items": {
"type": "string"
},
@@ -3047,7 +3112,7 @@
"type": "string"
},
"nestedRestriction": {
- "description": "For bundle or bundleArray restrictions, the list of nested restrictions.",
+ "description": "For bundle or bundleArray restrictions, the list of nested restrictions. A bundle restriction is always nested within a bundleArray restriction, and a bundleArray restriction is at most two levels deep.",
"items": {
"$ref": "AppRestrictionsSchemaRestriction"
},
@@ -3249,7 +3314,7 @@
"type": "string"
},
"managementType": {
- "description": "Identifies the extent to which the device is controlled by an Android for Work EMM in various deployment configurations.\nPossible values include: \n- \"managedDevice\"—A device that has the EMM's device 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 to a separate, personal profile that is unavailable to the DPC.\n- \"containerApp\"—A device running the Android for Work App. The Android for Work 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 Android for Work apps or Google Apps for Work, but the profile is itself not owned by a DPC.",
+ "description": "Identifies the extent to which the device is controlled by an Android for Work EMM in various deployment configurations.\n\nPossible values include: \n- \"managedDevice\", a device that has the EMM's device 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 to a separate, personal profile that is unavailable to the DPC, \n- \"containerApp\", a device running the Android for Work App. The Android for Work 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 Android for Work apps or Google Apps for Work, but the profile is itself not owned by a DPC.",
"type": "string"
}
},
@@ -3966,6 +4031,10 @@
"type": "string"
},
"type": "array"
+ },
+ "productSetBehavior": {
+ "description": "The interpretation of this product set. \"unknown\" should never be sent and ignored if received. \"whitelist\" means that this product set constitutes a whitelist. \"includeAll\" means that all products are accessible (the value of the productId field is therefore ignored). If a value is not supplied, it is interpreted to be \"whitelist\" for backwards compatibility.",
+ "type": "string"
}
},
"type": "object"
@@ -4145,6 +4214,10 @@
"default": "androidenterprise#storeLayout",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#storeLayout\".",
"type": "string"
+ },
+ "storeLayoutType": {
+ "description": "Sets a store layout type. By default, this value is set to \"basic\". If set to \"custom\", \"homepageId\" must be specified. If set to \"basic\", the layout will consist of all approved apps accessible by the user, split in pages of 100 each; in this case, \"homepageId\" must not be specified. The \"basic\" setting takes precedence over any existing collections setup for this enterprise (if any). Should the enterprise use collectionViewers for controlling access rights, these will still be respected.",
+ "type": "string"
}
},
"type": "object"
« no previous file with comments | « discovery/googleapis/analyticsreporting__v4.json ('k') | discovery/googleapis/androidpublisher__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698