update all json files

This commit is contained in:
Sebastian Thiel
2020-04-12 18:55:37 +08:00
parent ea3b428364
commit aacc30f08d
260 changed files with 138411 additions and 26293 deletions

View File

@@ -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": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/cVTv8b9hTTB3FqZyWpqQbG2zALc\"",
"etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/dchEQv1fOU-CrzLmTHLQqSguxQA\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/android-16.png",
"x32": "https://www.google.com/images/icons/product/android-32.png"
@@ -212,51 +212,6 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"patch": {
"description": "Updates the device policy. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidenterprise.devices.patch",
"parameterOrder": [
"enterpriseId",
"userId",
"deviceId"
],
"parameters": {
"deviceId": {
"description": "The ID of the device.",
"location": "path",
"required": true,
"type": "string"
},
"enterpriseId": {
"description": "The ID of the enterprise.",
"location": "path",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Mask that identifies which fields to update. If not set, all modifiable fields will be modified.\n\nWhen set in a query parameter, this field should be specified as updateMask=<field1>,<field2>,...",
"location": "query",
"type": "string"
},
"userId": {
"description": "The ID of the user.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}",
"request": {
"$ref": "Device"
},
"response": {
"$ref": "Device"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"setState": {
"description": "Sets whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users.",
"httpMethod": "PUT",
@@ -789,51 +744,6 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"patch": {
"description": "Adds or updates an entitlement to an app for a user. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidenterprise.entitlements.patch",
"parameterOrder": [
"enterpriseId",
"userId",
"entitlementId"
],
"parameters": {
"enterpriseId": {
"description": "The ID of the enterprise.",
"location": "path",
"required": true,
"type": "string"
},
"entitlementId": {
"description": "The ID of the entitlement (a product ID), e.g. \"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
},
"install": {
"description": "Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this operation from returning successfully, as long as the entitlement was successfully assigned to the user.",
"location": "query",
"type": "boolean"
},
"userId": {
"description": "The ID of the user.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}",
"request": {
"$ref": "Entitlement"
},
"response": {
"$ref": "Entitlement"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"update": {
"description": "Adds or updates an entitlement to an app for a user.",
"httpMethod": "PUT",
@@ -1096,53 +1006,6 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"patch": {
"description": "Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidenterprise.installs.patch",
"parameterOrder": [
"enterpriseId",
"userId",
"deviceId",
"installId"
],
"parameters": {
"deviceId": {
"description": "The Android ID of the device.",
"location": "path",
"required": true,
"type": "string"
},
"enterpriseId": {
"description": "The ID of the enterprise.",
"location": "path",
"required": true,
"type": "string"
},
"installId": {
"description": "The ID of the product represented by the install, e.g. \"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
"description": "The ID of the user.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}",
"request": {
"$ref": "Install"
},
"response": {
"$ref": "Install"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"update": {
"description": "Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary.",
"httpMethod": "PUT",
@@ -1316,53 +1179,6 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"patch": {
"description": "Adds or updates a per-device managed configuration for an app for the specified device. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidenterprise.managedconfigurationsfordevice.patch",
"parameterOrder": [
"enterpriseId",
"userId",
"deviceId",
"managedConfigurationForDeviceId"
],
"parameters": {
"deviceId": {
"description": "The Android ID of the device.",
"location": "path",
"required": true,
"type": "string"
},
"enterpriseId": {
"description": "The ID of the enterprise.",
"location": "path",
"required": true,
"type": "string"
},
"managedConfigurationForDeviceId": {
"description": "The ID of the managed configuration (a product ID), e.g. \"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
"description": "The ID of the user.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}",
"request": {
"$ref": "ManagedConfiguration"
},
"response": {
"$ref": "ManagedConfiguration"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"update": {
"description": "Adds or updates a per-device managed configuration for an app for the specified device.",
"httpMethod": "PUT",
@@ -1515,46 +1331,6 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"patch": {
"description": "Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidenterprise.managedconfigurationsforuser.patch",
"parameterOrder": [
"enterpriseId",
"userId",
"managedConfigurationForUserId"
],
"parameters": {
"enterpriseId": {
"description": "The ID of the enterprise.",
"location": "path",
"required": true,
"type": "string"
},
"managedConfigurationForUserId": {
"description": "The ID of the managed configuration (a product ID), e.g. \"app:com.google.android.gm\".",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
"description": "The ID of the user.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}",
"request": {
"$ref": "ManagedConfiguration"
},
"response": {
"$ref": "ManagedConfiguration"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"update": {
"description": "Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.",
"httpMethod": "PUT",
@@ -1600,7 +1376,7 @@
"managedconfigurationssettings": {
"methods": {
"list": {
"description": "Lists all the managed configurations settings for the specified app. Only the ID and the name is set.",
"description": "Lists all the managed configurations settings for the specified app.",
"httpMethod": "GET",
"id": "androidenterprise.managedconfigurationssettings.list",
"parameterOrder": [
@@ -2124,46 +1900,6 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"patch": {
"description": "Updates a cluster. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidenterprise.storelayoutclusters.patch",
"parameterOrder": [
"enterpriseId",
"pageId",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "The ID of the cluster.",
"location": "path",
"required": true,
"type": "string"
},
"enterpriseId": {
"description": "The ID of the enterprise.",
"location": "path",
"required": true,
"type": "string"
},
"pageId": {
"description": "The ID of the page.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}",
"request": {
"$ref": "StoreCluster"
},
"response": {
"$ref": "StoreCluster"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"update": {
"description": "Updates a cluster.",
"httpMethod": "PUT",
@@ -2314,39 +2050,6 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"patch": {
"description": "Updates the content of a store page. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidenterprise.storelayoutpages.patch",
"parameterOrder": [
"enterpriseId",
"pageId"
],
"parameters": {
"enterpriseId": {
"description": "The ID of the enterprise.",
"location": "path",
"required": true,
"type": "string"
},
"pageId": {
"description": "The ID of the page.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "enterprises/{enterpriseId}/storeLayout/pages/{pageId}",
"request": {
"$ref": "StorePage"
},
"response": {
"$ref": "StorePage"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"update": {
"description": "Updates the content of a store page.",
"httpMethod": "PUT",
@@ -2587,39 +2290,6 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"patch": {
"description": "Updates the details of an EMM-managed user.\n\nCan be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the displayName field can be changed. Other fields must either be unset or have the currently active value. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidenterprise.users.patch",
"parameterOrder": [
"enterpriseId",
"userId"
],
"parameters": {
"enterpriseId": {
"description": "The ID of the enterprise.",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
"description": "The ID of the user.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "enterprises/{enterpriseId}/users/{userId}",
"request": {
"$ref": "User"
},
"response": {
"$ref": "User"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"revokeDeviceAccess": {
"description": "Revokes access to all devices currently provisioned to the user. The user will no longer be able to use the managed Play store on any of their managed devices.\n\nThis call only works with EMM-managed accounts.",
"httpMethod": "DELETE",
@@ -2850,39 +2520,6 @@
"https://www.googleapis.com/auth/androidenterprise"
]
},
"patch": {
"description": "Updates an existing web app. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidenterprise.webapps.patch",
"parameterOrder": [
"enterpriseId",
"webAppId"
],
"parameters": {
"enterpriseId": {
"description": "The ID of the enterprise.",
"location": "path",
"required": true,
"type": "string"
},
"webAppId": {
"description": "The ID of the web app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "enterprises/{enterpriseId}/webApps/{webAppId}",
"request": {
"$ref": "WebApp"
},
"response": {
"$ref": "WebApp"
},
"scopes": [
"https://www.googleapis.com/auth/androidenterprise"
]
},
"update": {
"description": "Updates an existing web app.",
"httpMethod": "PUT",
@@ -2919,7 +2556,7 @@
}
}
},
"revision": "20190624",
"revision": "20200325",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Administrator": {
@@ -2939,7 +2576,6 @@
"properties": {
"kind": {
"default": "androidenterprise#administratorWebToken",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#administratorWebToken\".",
"type": "string"
},
"token": {
@@ -2955,7 +2591,6 @@
"properties": {
"kind": {
"default": "androidenterprise#administratorWebTokenSpec",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#administratorWebTokenSpec\".",
"type": "string"
},
"managedConfigurations": {
@@ -2963,7 +2598,7 @@
"description": "Options for displaying the Managed Configuration page."
},
"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.",
"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. Use whitespaces to separate multiple parent URIs.",
"type": "string"
},
"permission": {
@@ -3051,8 +2686,7 @@
"id": "AppRestrictionsSchema",
"properties": {
"kind": {
"default": "androidenterprise#appRestrictionsSchema",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#appRestrictionsSchema\".",
"description": "Deprecated.",
"type": "string"
},
"restrictions": {
@@ -3225,7 +2859,6 @@
},
"kind": {
"default": "androidenterprise#approvalUrlInfo",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#approvalUrlInfo\".",
"type": "string"
}
},
@@ -3237,7 +2870,6 @@
"properties": {
"kind": {
"default": "androidenterprise#authenticationToken",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#authenticationToken\".",
"type": "string"
},
"token": {
@@ -3286,7 +2918,7 @@
"type": "integer"
},
"minimumVersionCode": {
"description": "The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update.",
"description": "The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.",
"format": "int32",
"type": "integer"
}
@@ -3299,7 +2931,6 @@
"properties": {
"kind": {
"default": "androidenterprise#configurationVariables",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#configurationVariables\".",
"type": "string"
},
"mcmId": {
@@ -3326,7 +2957,6 @@
},
"kind": {
"default": "androidenterprise#device",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#device\".",
"type": "string"
},
"managementType": {
@@ -3392,7 +3022,6 @@
},
"kind": {
"default": "androidenterprise#deviceState",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#deviceState\".",
"type": "string"
}
},
@@ -3434,7 +3063,6 @@
},
"kind": {
"default": "androidenterprise#enterprise",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#enterprise\".",
"type": "string"
},
"name": {
@@ -3458,7 +3086,6 @@
},
"kind": {
"default": "androidenterprise#enterpriseAccount",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#enterpriseAccount\".",
"type": "string"
}
},
@@ -3503,7 +3130,6 @@
"properties": {
"kind": {
"default": "androidenterprise#entitlement",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#entitlement\".",
"type": "string"
},
"productId": {
@@ -3550,7 +3176,6 @@
},
"kind": {
"default": "androidenterprise#groupLicense",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#groupLicense\".",
"type": "string"
},
"numProvisioned": {
@@ -3622,7 +3247,6 @@
},
"kind": {
"default": "androidenterprise#install",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#install\".",
"type": "string"
},
"productId": {
@@ -3752,8 +3376,7 @@
"description": "Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user."
},
"kind": {
"default": "androidenterprise#managedConfiguration",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#managedConfiguration\".",
"description": "Deprecated.",
"type": "string"
},
"managedProperty": {
@@ -3814,7 +3437,6 @@
"properties": {
"kind": {
"default": "androidenterprise#managedConfigurationsSettings",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#managedConfigurationsSettings\".",
"type": "string"
},
"lastUpdatedTimestampMillis": {
@@ -3822,13 +3444,6 @@
"format": "int64",
"type": "string"
},
"managedProperty": {
"description": "The set of managed properties for this configuration.",
"items": {
"$ref": "ManagedProperty"
},
"type": "array"
},
"mcmId": {
"description": "The ID of the managed configurations settings.",
"type": "string"
@@ -4021,7 +3636,6 @@
"properties": {
"kind": {
"default": "androidenterprise#notificationSet",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#notificationSet\".",
"type": "string"
},
"notification": {
@@ -4066,7 +3680,6 @@
},
"kind": {
"default": "androidenterprise#permission",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#permission\".",
"type": "string"
},
"name": {
@@ -4166,13 +3779,19 @@
"description": "How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not restricted to a specific enterprise. The value privateGoogleHosted 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 private app (restricted to an enterprise) and is privately hosted.",
"type": "string"
},
"features": {
"description": "Noteworthy features (if any) of this product.",
"items": {
"type": "string"
},
"type": "array"
},
"iconUrl": {
"description": "A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px.",
"type": "string"
},
"kind": {
"default": "androidenterprise#product",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#product\".",
"type": "string"
},
"lastUpdatedTimestampMillis": {
@@ -4285,7 +3904,6 @@
"properties": {
"kind": {
"default": "androidenterprise#productPermissions",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#productPermissions\".",
"type": "string"
},
"permission": {
@@ -4341,7 +3959,6 @@
"properties": {
"kind": {
"default": "androidenterprise#productSet",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#productSet\".",
"type": "string"
},
"productId": {
@@ -4465,7 +4082,6 @@
},
"kind": {
"default": "androidenterprise#serviceAccount",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#serviceAccount\".",
"type": "string"
},
"name": {
@@ -4489,7 +4105,6 @@
},
"kind": {
"default": "androidenterprise#serviceAccountKey",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#serviceAccountKey\".",
"type": "string"
},
"publicData": {
@@ -4530,8 +4145,7 @@
"type": "string"
},
"kind": {
"default": "androidenterprise#signupInfo",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#signupInfo\".",
"description": "Deprecated.",
"type": "string"
},
"url": {
@@ -4551,7 +4165,6 @@
},
"kind": {
"default": "androidenterprise#storeCluster",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#storeCluster\".",
"type": "string"
},
"name": {
@@ -4585,7 +4198,6 @@
},
"kind": {
"default": "androidenterprise#storeLayout",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#storeLayout\".",
"type": "string"
},
"storeLayoutType": {
@@ -4643,7 +4255,6 @@
},
"kind": {
"default": "androidenterprise#storePage",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#storePage\".",
"type": "string"
},
"link": {
@@ -4722,7 +4333,6 @@
},
"kind": {
"default": "androidenterprise#user",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#user\".",
"type": "string"
},
"managementType": {
@@ -4742,7 +4352,6 @@
"properties": {
"kind": {
"default": "androidenterprise#userToken",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#userToken\".",
"type": "string"
},
"token": {
@@ -4781,7 +4390,6 @@
"properties": {
"kind": {
"default": "androidenterprise#variableSet",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#variableSet\".",
"type": "string"
},
"placeholder": {