Index: discovery/googleapis/androidenterprise__v1.json |
diff --git a/discovery/googleapis/androidenterprise__v1.json b/discovery/googleapis/androidenterprise__v1.json |
index f94117b85a8111ab22a3717b78d8f13e1784d741..ae4abc2c4ed480fe010350b8ebda6b8ede117acc 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": "\"YWOzh2SDasdU84ArJnpYek-OMdg/H9duqVdKTSndf2JIlZN75jlKC_0\"", |
+ "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/Ivm64IXDz4phaRjFyOAAO1c8CT4\"", |
"icons": { |
"x16": "https://www.google.com/images/icons/product/android-16.png", |
"x32": "https://www.google.com/images/icons/product/android-32.png" |
@@ -376,6 +376,29 @@ |
"https://www.googleapis.com/auth/androidenterprise" |
] |
}, |
+ "getAndroidDevicePolicyConfig": { |
+ "description": "Returns the Android Device Policy config resource.", |
+ "httpMethod": "GET", |
+ "id": "androidenterprise.enterprises.getAndroidDevicePolicyConfig", |
+ "parameterOrder": [ |
+ "enterpriseId" |
+ ], |
+ "parameters": { |
+ "enterpriseId": { |
+ "description": "The ID of the enterprise.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "enterprises/{enterpriseId}/androidDevicePolicyConfig", |
+ "response": { |
+ "$ref": "AndroidDevicePolicyConfig" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/androidenterprise" |
+ ] |
+ }, |
"getServiceAccount": { |
"description": "Returns a service account and credentials. The service account can be bound to the enterprise by calling setAccount. The service account is unique to this enterprise and EMM, and will be deleted if the enterprise is unbound. The credentials contain private key data and are not stored server-side.\n\nThis method can only be called after calling Enterprises.Enroll or Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times it will return an error.\n\nSubsequent calls after the first will generate a new, unique set of credentials, and invalidate the previously generated credentials.\n\nOnce the service account is bound to the enterprise, it can be managed using the serviceAccountKeys resource.", |
"httpMethod": "GET", |
@@ -560,6 +583,32 @@ |
"https://www.googleapis.com/auth/androidenterprise" |
] |
}, |
+ "setAndroidDevicePolicyConfig": { |
+ "description": "Sets the Android Device Policy config resource. EMM may use this API to enable or disable Android Device Policy support for the specified enterprise.", |
+ "httpMethod": "PUT", |
+ "id": "androidenterprise.enterprises.setAndroidDevicePolicyConfig", |
+ "parameterOrder": [ |
+ "enterpriseId" |
+ ], |
+ "parameters": { |
+ "enterpriseId": { |
+ "description": "The ID of the enterprise.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "enterprises/{enterpriseId}/androidDevicePolicyConfig", |
+ "request": { |
+ "$ref": "AndroidDevicePolicyConfig" |
+ }, |
+ "response": { |
+ "$ref": "AndroidDevicePolicyConfig" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/androidenterprise" |
+ ] |
+ }, |
"setStoreLayout": { |
"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 admin, 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\" and setting a homepage), the basic store layout is disabled.", |
"httpMethod": "PUT", |
@@ -2604,7 +2653,7 @@ |
} |
} |
}, |
- "revision": "20170706", |
+ "revision": "20170719", |
"rootUrl": "https://www.googleapis.com/", |
"schemas": { |
"Administrator": { |
@@ -2657,6 +2706,22 @@ |
}, |
"type": "object" |
}, |
+ "AndroidDevicePolicyConfig": { |
+ "description": "The Android Device Policy configuration of an enterprise.", |
+ "id": "AndroidDevicePolicyConfig", |
+ "properties": { |
+ "kind": { |
+ "default": "androidenterprise#androidDevicePolicyConfig", |
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#androidDevicePolicyConfig\".", |
+ "type": "string" |
+ }, |
+ "state": { |
+ "description": "The state of Android Device Policy. \"enabled\" indicates that Android Device Policy is enabled for the enterprise and the EMM is allowed to manage devices with Android Device Policy, while \"disabled\" means that it cannot.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"AppRestrictionsSchema": { |
"description": "Represents the list of app restrictions available to be pre-configured for the product.", |
"id": "AppRestrictionsSchema", |