Chromium Code Reviews

Unified Diff: discovery/googleapis/androidmanagement__v1.json

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « discovery/googleapis/androidenterprise__v1.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/androidmanagement__v1.json
diff --git a/discovery/googleapis/androidmanagement__v1.json b/discovery/googleapis/androidmanagement__v1.json
index 229c9f5779ae2f3c9eff61df75b0d66e3d1453a9..aab7bd84c468997cd78a0609c188a97ebc766b13 100644
--- a/discovery/googleapis/androidmanagement__v1.json
+++ b/discovery/googleapis/androidmanagement__v1.json
@@ -1,4 +1,13 @@
{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/androidmanagement": {
+ "description": "Manage Android devices and apps for your customers"
+ }
+ }
+ }
+ },
"basePath": "",
"baseUrl": "https://androidmanagement.googleapis.com/",
"batchPath": "batch",
@@ -114,7 +123,7 @@
"parameterOrder": [],
"parameters": {
"callbackUrl": {
- "description": "The callback URL to which the admin will be redirected after successfully\ncreating an enterprise. Before redirecting there the system will add a\nquery parameter to this URL named `enterpriseToken` which will\ncontain an opaque token to be used for the\n[create enterprise](/android/management/reference/rest/v1/enterprises/create)\nrequest. The URL will be parsed then reformatted in order to add the\n`enterpriseToken` parameter, so there may be some minor formatting changes.",
+ "description": "The callback URL to which the admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a query parameter to this URL named enterpriseToken which will contain an opaque token to be used for the create enterprise request. The URL will be parsed then reformatted in order to add the enterpriseToken parameter, so there may be some minor formatting changes.",
"location": "query",
"type": "string"
},
@@ -127,7 +136,10 @@
"path": "v1/signupUrls",
"response": {
"$ref": "SignupUrl"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
}
}
},
@@ -140,7 +152,7 @@
"parameterOrder": [],
"parameters": {
"signupUrlName": {
- "description": "The name of the\n[`SignupUrl`](/android/management/reference/rest/v1/signupUrls#SignupUrl)\nused to sign up for the enterprise.",
+ "description": "The name of the SignupUrl used to sign up for the enterprise.",
"location": "query",
"type": "string"
},
@@ -161,7 +173,10 @@
},
"response": {
"$ref": "Enterprise"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"get": {
"description": "Gets an enterprise.",
@@ -172,7 +187,7 @@
],
"parameters": {
"name": {
- "description": "The name of the enterprise in the form\n`enterprises/{enterpriseId}`",
+ "description": "The name of the enterprise in the form enterprises/{enterpriseId}",
"location": "path",
"pattern": "^enterprises/[^/]+$",
"required": true,
@@ -182,7 +197,10 @@
"path": "v1/{+name}",
"response": {
"$ref": "Enterprise"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"patch": {
"description": "Updates an enterprise.",
@@ -193,13 +211,13 @@
],
"parameters": {
"updateMask": {
- "description": "The field mask indicating the fields to update.\nIf not set, all modifiable fields will be modified.",
+ "description": "The field mask indicating the fields to update. If not set, all modifiable fields will be modified.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
},
"name": {
- "description": "The name of the enterprise in the form\n`enterprises/{enterpriseId}`",
+ "description": "The name of the enterprise in the form enterprises/{enterpriseId}",
"location": "path",
"pattern": "^enterprises/[^/]+$",
"required": true,
@@ -212,7 +230,10 @@
},
"response": {
"$ref": "Enterprise"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
}
},
"resources": {
@@ -227,7 +248,7 @@
],
"parameters": {
"name": {
- "description": "The name of the policy in the form\n`enterprises/{enterpriseId}/policies/{policyId}`",
+ "description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}",
"location": "path",
"pattern": "^enterprises/[^/]+/policies/[^/]+$",
"required": true,
@@ -237,7 +258,10 @@
"path": "v1/{+name}",
"response": {
"$ref": "Policy"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"list": {
"description": "Lists policies for a given enterprise.",
@@ -248,13 +272,13 @@
],
"parameters": {
"pageSize": {
- "description": "The requested page size. The actual page size may be fixed to a min or max\nvalue.",
+ "description": "The requested page size. The actual page size may be fixed to a min or max value.",
"format": "int32",
"location": "query",
"type": "integer"
},
"parent": {
- "description": "The name of the enterprise in the form\n`enterprises/{enterpriseId}`",
+ "description": "The name of the enterprise in the form enterprises/{enterpriseId}",
"location": "path",
"pattern": "^enterprises/[^/]+$",
"required": true,
@@ -269,7 +293,10 @@
"path": "v1/{+parent}/policies",
"response": {
"$ref": "ListPoliciesResponse"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"patch": {
"description": "Updates or creates a policy.",
@@ -280,13 +307,13 @@
],
"parameters": {
"updateMask": {
- "description": "The field mask indicating the fields to update.\nIf not set, all modifiable fields will be modified.",
+ "description": "The field mask indicating the fields to update. If not set, all modifiable fields will be modified.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
},
"name": {
- "description": "The name of the policy in the form\n`enterprises/{enterpriseId}/policies/{policyId}`",
+ "description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}",
"location": "path",
"pattern": "^enterprises/[^/]+/policies/[^/]+$",
"required": true,
@@ -299,10 +326,13 @@
},
"response": {
"$ref": "Policy"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"delete": {
- "description": "Deletes a policy. This operation is only permitted if no devices are\ncurrently referencing the policy.",
+ "description": "Deletes a policy. This operation is only permitted if no devices are currently referencing the policy.",
"httpMethod": "DELETE",
"id": "androidmanagement.enterprises.policies.delete",
"parameterOrder": [
@@ -310,7 +340,7 @@
],
"parameters": {
"name": {
- "description": "The name of the policy in the form\n`enterprises/{enterpriseId}/policies/{policyId}`",
+ "description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}",
"location": "path",
"pattern": "^enterprises/[^/]+/policies/[^/]+$",
"required": true,
@@ -320,7 +350,10 @@
"path": "v1/{+name}",
"response": {
"$ref": "Empty"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
}
}
},
@@ -335,12 +368,12 @@
],
"parameters": {
"languageCode": {
- "description": "The preferred language for localized application info, as a BCP47 tag\n(e.g. \"en-US\", \"de\"). If not specified the default language of the\napplication will be used.",
+ "description": "The preferred language for localized application info, as a BCP47 tag (e.g. \"en-US\", \"de\"). If not specified the default language of the application will be used.",
"location": "query",
"type": "string"
},
"name": {
- "description": "The name of the application in the form\n`enterprises/{enterpriseId}/applications/{package_name}`",
+ "description": "The name of the application in the form enterprises/{enterpriseId}/applications/{package_name}",
"location": "path",
"pattern": "^enterprises/[^/]+/applications/[^/]+$",
"required": true,
@@ -350,7 +383,10 @@
"path": "v1/{+name}",
"response": {
"$ref": "Application"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
}
}
},
@@ -365,7 +401,7 @@
],
"parameters": {
"parent": {
- "description": "The name of the enterprise in the form\n`enterprises/{enterpriseId}`",
+ "description": "The name of the enterprise in the form enterprises/{enterpriseId}",
"location": "path",
"pattern": "^enterprises/[^/]+$",
"required": true,
@@ -378,7 +414,10 @@
},
"response": {
"$ref": "EnrollmentToken"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"delete": {
"description": "Deletes an enrollment token, which prevents future use of the token.",
@@ -389,7 +428,7 @@
],
"parameters": {
"name": {
- "description": "The name of the enrollment token in the form\n`enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}`",
+ "description": "The name of the enrollment token in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}",
"location": "path",
"pattern": "^enterprises/[^/]+/enrollmentTokens/[^/]+$",
"required": true,
@@ -399,14 +438,17 @@
"path": "v1/{+name}",
"response": {
"$ref": "Empty"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
}
}
},
"webTokens": {
"methods": {
"create": {
- "description": "Creates a web token to access an embeddable managed Google Play web UI for\na given enterprise.",
+ "description": "Creates a web token to access an embeddable managed Google Play web UI for a given enterprise.",
"httpMethod": "POST",
"id": "androidmanagement.enterprises.webTokens.create",
"parameterOrder": [
@@ -414,7 +456,7 @@
],
"parameters": {
"parent": {
- "description": "The name of the enterprise in the form\n`enterprises/{enterpriseId}`",
+ "description": "The name of the enterprise in the form enterprises/{enterpriseId}",
"location": "path",
"pattern": "^enterprises/[^/]+$",
"required": true,
@@ -427,7 +469,10 @@
},
"response": {
"$ref": "WebToken"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
}
}
},
@@ -442,7 +487,7 @@
],
"parameters": {
"name": {
- "description": "The name of the device in the form\n`enterprises/{enterpriseId}/devices/{deviceId}`",
+ "description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}",
"location": "path",
"pattern": "^enterprises/[^/]+/devices/[^/]+$",
"required": true,
@@ -452,7 +497,10 @@
"path": "v1/{+name}",
"response": {
"$ref": "Device"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"list": {
"description": "Lists devices for a given enterprise.",
@@ -463,13 +511,13 @@
],
"parameters": {
"pageSize": {
- "description": "The requested page size. The actual page size may be fixed to a min or max\nvalue.",
+ "description": "The requested page size. The actual page size may be fixed to a min or max value.",
"format": "int32",
"location": "query",
"type": "integer"
},
"parent": {
- "description": "The name of the enterprise in the form\n`enterprises/{enterpriseId}`",
+ "description": "The name of the enterprise in the form enterprises/{enterpriseId}",
"location": "path",
"pattern": "^enterprises/[^/]+$",
"required": true,
@@ -484,10 +532,13 @@
"path": "v1/{+parent}/devices",
"response": {
"$ref": "ListDevicesResponse"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"issueCommand": {
- "description": "Issues a command to a device. The\n[`Operation`](/android/management/reference/rest/v1/enterprises.devices.operations#Operation)\nresource returned contains a\n[`Command`](/android/management/reference/rest/v1/enterprises.devices/issueCommand#Command)\nin its `metadata` field.\nUse the\n[get operation method](/android/management/reference/rest/v1/enterprises.devices.operations/get)\nto get the status of the command.",
+ "description": "Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the command.",
"httpMethod": "POST",
"id": "androidmanagement.enterprises.devices.issueCommand",
"parameterOrder": [
@@ -495,7 +546,7 @@
],
"parameters": {
"name": {
- "description": "The name of the device in the form\n`enterprises/{enterpriseId}/devices/{deviceId}`",
+ "description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}",
"location": "path",
"pattern": "^enterprises/[^/]+/devices/[^/]+$",
"required": true,
@@ -508,7 +559,10 @@
},
"response": {
"$ref": "Operation"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"patch": {
"description": "Updates a device.",
@@ -519,13 +573,13 @@
],
"parameters": {
"updateMask": {
- "description": "The field mask indicating the fields to update.\nIf not set, all modifiable fields will be modified.",
+ "description": "The field mask indicating the fields to update. If not set, all modifiable fields will be modified.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
},
"name": {
- "description": "The name of the device in the form\n`enterprises/{enterpriseId}/devices/{deviceId}`",
+ "description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}",
"location": "path",
"pattern": "^enterprises/[^/]+/devices/[^/]+$",
"required": true,
@@ -538,7 +592,10 @@
},
"response": {
"$ref": "Device"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"delete": {
"description": "Deletes a device, which causes the device to be wiped.",
@@ -549,7 +606,7 @@
],
"parameters": {
"name": {
- "description": "The name of the device in the form\n`enterprises/{enterpriseId}/devices/{deviceId}`",
+ "description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}",
"location": "path",
"pattern": "^enterprises/[^/]+/devices/[^/]+$",
"required": true,
@@ -559,14 +616,17 @@
"path": "v1/{+name}",
"response": {
"$ref": "Empty"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
}
},
"resources": {
"operations": {
"methods": {
"get": {
- "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
"httpMethod": "GET",
"id": "androidmanagement.enterprises.devices.operations.get",
"parameterOrder": [
@@ -584,10 +644,13 @@
"path": "v1/{+name}",
"response": {
"$ref": "Operation"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"list": {
- "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as \"/v1/{name=users/*}/operations\" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
"httpMethod": "GET",
"id": "androidmanagement.enterprises.devices.operations.list",
"parameterOrder": [
@@ -621,10 +684,13 @@
"path": "v1/{+name}",
"response": {
"$ref": "ListOperationsResponse"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"delete": {
- "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.",
+ "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.",
"httpMethod": "DELETE",
"id": "androidmanagement.enterprises.devices.operations.delete",
"parameterOrder": [
@@ -642,10 +708,13 @@
"path": "v1/{+name}",
"response": {
"$ref": "Empty"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
},
"cancel": {
- "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
+ "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
"httpMethod": "POST",
"id": "androidmanagement.enterprises.devices.operations.cancel",
"parameterOrder": [
@@ -663,7 +732,10 @@
"path": "v1/{+name}:cancel",
"response": {
"$ref": "Empty"
- }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/androidmanagement"
+ ]
}
}
}
@@ -672,23 +744,23 @@
}
}
},
- "revision": "20170717",
+ "revision": "20170804",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"Device": {
- "description": "A device owned by an enterprise.\nUnless otherwise noted, all fields are read-only and cannot be modified by\nan update device request.",
+ "description": "A device owned by an enterprise. Unless otherwise noted, all fields are read-only and cannot be modified by an update device request.",
"id": "Device",
"properties": {
"userName": {
- "description": "The resource name of the user of the device in the form\n`enterprises/{enterpriseId}/users/{userId}`. This is the name of the\ndevice account automatically created for this device.",
+ "description": "The resource name of the user of the device in the form enterprises/{enterpriseId}/users/{userId}. This is the name of the device account automatically created for this device.",
"type": "string"
},
"disabledReason": {
"$ref": "UserFacingMessage",
- "description": "If the device state is `DISABLED`, an optional message that is displayed on\nthe device indicating the reason the device is disabled. This field may be\nmodified by an update request."
+ "description": "If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field may be modified by an update request."
},
"policyName": {
- "description": "The name of the policy that is intended to be applied to the device. If\nempty, the policy with id `default` is applied.\nThis field may be modified by an update request.\nThe name of the policy is in the form\n`enterprises/{enterpriseId}/policies/{policyId}`.\nIt is also permissible to only specify the `policyId` when updating this\nfield as long as the `policyId` contains no slashes since the rest of the\npolicy name can be inferred from context.",
+ "description": "The name of the policy that is intended to be applied to the device. If empty, the policy with id default is applied. This field may be modified by an update request. The name of the policy is in the form enterprises/{enterpriseId}/policies/{policyId}. It is also permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
"type": "string"
},
"lastPolicyComplianceReportTime": {
@@ -710,7 +782,7 @@
},
"networkInfo": {
"$ref": "NetworkInfo",
- "description": "Device network information. This information is only available when\n`networkInfoEnabled` is true in the device's policy."
+ "description": "Device network information. This information is only available when networkInfoEnabled is true in the device's policy."
},
"appliedState": {
"description": "The state that is currently applied by the device.",
@@ -725,25 +797,25 @@
"This value is disallowed.",
"The device is active.",
"The device is disabled.",
- "The device was deleted. This state will never be returned by an API call,\nbut will be used in the final policy compliance report published to Cloud\nPub/Sub when the device acknowledges the deletion.",
- "The device is being provisioned. Newly enrolled devices will be in this\nstate until they have applied policy."
+ "The device was deleted. This state will never be returned by an API call, but will be used in the final policy compliance report published to Cloud Pub/Sub when the device acknowledges the deletion.",
+ "The device is being provisioned. Newly enrolled devices will be in this state until they have applied policy."
],
"type": "string"
},
"enrollmentTokenData": {
- "description": "If this device was enrolled with an enrollment token with additional data\nprovided, this field contains that data.",
+ "description": "If this device was enrolled with an enrollment token with additional data provided, this field contains that data.",
"type": "string"
},
"enrollmentTokenName": {
- "description": "If this device was enrolled with an enrollment token, this field contains\nthe name of the token.",
+ "description": "If this device was enrolled with an enrollment token, this field contains the name of the token.",
"type": "string"
},
"memoryInfo": {
"$ref": "MemoryInfo",
- "description": "Memory information. This information is only available when\n`memoryInfoEnabled` is true in the device's policy."
+ "description": "Memory information. This information is only available when memoryInfoEnabled is true in the device's policy."
},
"state": {
- "description": "The state that is intended to be applied to the device. This field may be\nmodified by an update request.\nNote that UpdateDevice only handles toggling between `ACTIVE` and\n`DISABLED` states. Use the\n[delete device method](/android/management/reference/rest/v1/enterprises.devices/delete)\nto cause the device to enter the `DELETED` state.",
+ "description": "The state that is intended to be applied to the device. This field may be modified by an update request. Note that UpdateDevice only handles toggling between ACTIVE and DISABLED states. Use the delete device method to cause the device to enter the DELETED state.",
"enum": [
"DEVICE_STATE_UNSPECIFIED",
"ACTIVE",
@@ -755,24 +827,24 @@
"This value is disallowed.",
"The device is active.",
"The device is disabled.",
- "The device was deleted. This state will never be returned by an API call,\nbut will be used in the final policy compliance report published to Cloud\nPub/Sub when the device acknowledges the deletion.",
- "The device is being provisioned. Newly enrolled devices will be in this\nstate until they have applied policy."
+ "The device was deleted. This state will never be returned by an API call, but will be used in the final policy compliance report published to Cloud Pub/Sub when the device acknowledges the deletion.",
+ "The device is being provisioned. Newly enrolled devices will be in this state until they have applied policy."
],
"type": "string"
},
"softwareInfo": {
"$ref": "SoftwareInfo",
- "description": "Detailed information about the device software. This information is only\navailable when `softwareInfoEnabled` is true in the device's policy."
+ "description": "Detailed information about the device software. This information is only available when softwareInfoEnabled is true in the device's policy."
},
"memoryEvents": {
- "description": "Events related to memory and storage measurements in chronological order.\nThis information is only available when `memoryInfoEnabled` is true in the\ndevice's policy.",
+ "description": "Events related to memory and storage measurements in chronological order. This information is only available when memoryInfoEnabled is true in the device's policy.",
"items": {
"$ref": "MemoryEvent"
},
"type": "array"
},
"previousDeviceNames": {
- "description": "The previous device names used for the same physical device when it has\nbeen enrolled multiple times. The serial number is used as the unique\nidentifier to determine if the same physical device has enrolled\npreviously. The names are in chronological order.",
+ "description": "The previous device names used for the same physical device when it has been enrolled multiple times. The serial number is used as the unique identifier to determine if the same physical device has enrolled previously. The names are in chronological order.",
"items": {
"type": "string"
},
@@ -788,11 +860,11 @@
"type": "string"
},
"name": {
- "description": "The name of the device in the form\n`enterprises/{enterpriseId}/devices/{deviceId}`",
+ "description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}",
"type": "string"
},
"hardwareStatusSamples": {
- "description": "Hardware status samples in chronological order. This information is only\navailable when `hardwareStatusEnabled` is true in the device's policy.",
+ "description": "Hardware status samples in chronological order. This information is only available when hardwareStatusEnabled is true in the device's policy.",
"items": {
"$ref": "HardwareStatus"
},
@@ -822,14 +894,14 @@
"type": "string"
},
"displays": {
- "description": "Displays on the device. This information is only available when\n`displayInfoEnabled` is true in the device's policy.",
+ "description": "Displays on the device. This information is only available when displayInfoEnabled is true in the device's policy.",
"items": {
"$ref": "Display"
},
"type": "array"
},
"powerManagementEvents": {
- "description": "Power management events on the device in chronological order. This\ninformation is only available when `powerManagementEventsEnabled` is true\nin the device's policy.",
+ "description": "Power management events on the device in chronological order. This information is only available when powerManagementEventsEnabled is true in the device's policy.",
"items": {
"$ref": "PowerManagementEvent"
},
@@ -843,7 +915,7 @@
"id": "PermissionGrant",
"properties": {
"permission": {
- "description": "The android permission, e.g. `android.permission.READ_CALENDAR`.",
+ "description": "The android permission, e.g. android.permission.READ_CALENDAR.",
"type": "string"
},
"policy": {
@@ -855,7 +927,7 @@
"DENY"
],
"enumDescriptions": [
- "Policy not specified. If no policy is specified for a permission at any\nlevel, then the `PROMPT` behavior is used by default.",
+ "Policy not specified. If no policy is specified for a permission at any level, then the PROMPT behavior is used by default.",
"Prompt the user to grant a permission.",
"Automatically grant a permission.",
"Automatically deny a permission."
@@ -870,7 +942,7 @@
"id": "Application",
"properties": {
"managedProperties": {
- "description": "The set of managed properties available to be pre-configured for the\napplication.",
+ "description": "The set of managed properties available to be pre-configured for the application.",
"items": {
"$ref": "ManagedProperty"
},
@@ -888,14 +960,14 @@
"type": "array"
},
"name": {
- "description": "The name of the application in the form\n`enterprises/{enterpriseId}/applications/{package_name}`",
+ "description": "The name of the application in the form enterprises/{enterpriseId}/applications/{package_name}",
"type": "string"
}
},
"type": "object"
},
"Status": {
- "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
+ "description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). The error model is designed to be:\nSimple to use and understand for most users\nFlexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc that can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include:\nPartial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting.\nBatch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response.\nAsynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.",
"id": "Status",
"properties": {
"code": {
@@ -904,7 +976,7 @@
"type": "integer"
},
"details": {
- "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
+ "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
@@ -915,7 +987,7 @@
"type": "array"
},
"message": {
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
+ "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
"type": "string"
}
},
@@ -930,7 +1002,7 @@
"type": "boolean"
},
"permissionGrants": {
- "description": "Explicit permission grants or denials for the app. These values override\nthe `default_permission_policy`.",
+ "description": "Explicit permission grants or denials for the app. These values override the default_permission_policy.",
"items": {
"$ref": "PermissionGrant"
},
@@ -941,11 +1013,11 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Managed configuration applied to the app. The format for the configuration\nis dictated by the\n[`ManagedProperty`](/android/management/reference/rest/v1/enterprises.applications#ManagedProperty)\nvalues supported by the app. Each field name in the managed configuration\nmust match the `key` field of the `ManagedProperty`. The field value must\nbe compatible with the `type` of the `ManagedProperty`:\n<table>\n<tr><td><i>type</i></td><td><i>JSON value</i></td></tr>\n<tr><td>`BOOL`</td><td>`true` or `false`</td></tr>\n<tr><td>`STRING`</td><td>string</td></tr>\n<tr><td>`INTEGER`</td><td>number</td></tr>\n<tr><td>`CHOICE`</td><td>string</td></tr>\n<tr><td>`MULTISELECT`</td><td>array of strings</td></tr>\n<tr><td>`HIDDEN`</td><td>string</td></tr>\n<tr><td>`BUNDLE_ARRAY`</td><td>array of objects</td></tr>\n</table>",
+ "description": "Managed configuration applied to the app. The format for the configuration is dictated by the ManagedProperty values supported by the app. Each field name in the managed configuration must match the key field of the ManagedProperty. The field value must be compatible with the type of the ManagedProperty: <table> <tr><td><i>type</i></td><td><i>JSON value</i></td></tr> <tr><td>BOOL</td><td>true or false</td></tr> <tr><td>STRING</td><td>string</td></tr> <tr><td>INTEGER</td><td>number</td></tr> <tr><td>CHOICE</td><td>string</td></tr> <tr><td>MULTISELECT</td><td>array of strings</td></tr> <tr><td>HIDDEN</td><td>string</td></tr> <tr><td>BUNDLE_ARRAY</td><td>array of objects</td></tr> </table>",
"type": "object"
},
"packageName": {
- "description": "The package name of the app, e.g. `com.google.android.youtube` for the\nYouTube app.",
+ "description": "The package name of the app, e.g. com.google.android.youtube for the YouTube app.",
"type": "string"
},
"installType": {
@@ -956,14 +1028,14 @@
"FORCE_INSTALLED"
],
"enumDescriptions": [
- "No automatic installation is performed. Any other app policies will be\napplied if the user installs the app.",
- "The application is automatically installed and can be removed by the\nuser.",
- "The application is automatically installed and cannot be removed by the\nuser."
+ "No automatic installation is performed. Any other app policies will be applied if the user installs the app.",
+ "The application is automatically installed and can be removed by the user.",
+ "The application is automatically installed and cannot be removed by the user."
],
"type": "string"
},
"defaultPermissionPolicy": {
- "description": "The default policy for all permissions requested by the app. If specified,\nthis overrides the policy-level `default_permission_policy` which applies\nto all apps.",
+ "description": "The default policy for all permissions requested by the app. If specified, this overrides the policy-level default_permission_policy which applies to all apps.",
"enum": [
"PERMISSION_POLICY_UNSPECIFIED",
"PROMPT",
@@ -971,7 +1043,7 @@
"DENY"
],
"enumDescriptions": [
- "Policy not specified. If no policy is specified for a permission at any\nlevel, then the `PROMPT` behavior is used by default.",
+ "Policy not specified. If no policy is specified for a permission at any level, then the PROMPT behavior is used by default.",
"Prompt the user to grant a permission.",
"Automatically grant a permission.",
"Automatically deny a permission."
@@ -986,7 +1058,7 @@
"id": "ApplicationPermission",
"properties": {
"description": {
- "description": "A longer description of the permission, giving more details of\nwhat it affects. Localized.",
+ "description": "A longer description of the permission, giving more details of what it affects. Localized.",
"type": "string"
},
"permissionId": {
@@ -1005,18 +1077,18 @@
"id": "ManagedProperty",
"properties": {
"nestedProperties": {
- "description": "For `BUNDLE_ARRAY` properties, the list of nested properties. A\n`BUNDLE_ARRAY` property is at most two levels deep.",
+ "description": "For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most two levels deep.",
"items": {
"$ref": "ManagedProperty"
},
"type": "array"
},
"description": {
- "description": "A longer description of the property, giving more detail of what it\naffects. Localized.",
+ "description": "A longer description of the property, giving more detail of what it affects. Localized.",
"type": "string"
},
"defaultValue": {
- "description": "The default value of the properties. `BUNDLE_ARRAY` properties\nnever have a default value.",
+ "description": "The default value of the properties. BUNDLE_ARRAY properties never have a default value.",
"type": "any"
},
"title": {
@@ -1024,11 +1096,11 @@
"type": "string"
},
"key": {
- "description": "The unique key that the application uses to identify the property,\ne.g. \"com.google.android.gm.fieldname\".",
+ "description": "The unique key that the application uses to identify the property, e.g. \"com.google.android.gm.fieldname\".",
"type": "string"
},
"entries": {
- "description": "For `CHOICE` or `MULTISELECT` properties, the list\nof possible entries.",
+ "description": "For CHOICE or MULTISELECT properties, the list of possible entries.",
"items": {
"$ref": "ManagedPropertyEntry"
},
@@ -1053,7 +1125,7 @@
"A property of integer type.",
"A choice of one item from a set.",
"A choice of multiple items from a set.",
- "A hidden restriction of string type (the default value can be used\nto pass along information that cannot be modified, such as a version\ncode).",
+ "A hidden restriction of string type (the default value can be used to pass along information that cannot be modified, such as a version code).",
"An array of property bundles."
],
"type": "string"
@@ -1062,7 +1134,7 @@
"type": "object"
},
"Operation": {
- "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
"properties": {
"error": {
@@ -1070,7 +1142,7 @@
"description": "The error result of the operation in case of failure or cancellation."
},
"done": {
- "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
+ "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.",
"type": "boolean"
},
"metadata": {
@@ -1078,7 +1150,7 @@
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
- "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.",
+ "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
"type": "object"
},
"response": {
@@ -1086,22 +1158,22 @@
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
- "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
+ "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.",
"type": "object"
},
"name": {
- "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
+ "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name.",
"type": "string"
}
},
"type": "object"
},
"NonComplianceDetailCondition": {
- "description": "A compliance rule condition which is satisfied if there exists *any*\nmatching\n[`NonComplianceDetail`](/android/management/reference/rest/v1/enterprises.devices#NonComplianceDetail)\nfor the device. A `NonComplianceDetail` matches a\n`NonComplianceDetailCondition` if *all* the fields which are set within the\n`NonComplianceDetailCondition` match the corresponding `NonComplianceDetail`\nfields.",
+ "description": "A compliance rule condition which is satisfied if there exists any matching NonComplianceDetail for the device. A NonComplianceDetail matches a NonComplianceDetailCondition if all the fields which are set within the NonComplianceDetailCondition match the corresponding NonComplianceDetail fields.",
"id": "NonComplianceDetailCondition",
"properties": {
"nonComplianceReason": {
- "description": "The reason the device is not in compliance with the setting. If not set,\nthen this condition matches any reason.",
+ "description": "The reason the device is not in compliance with the setting. If not set, then this condition matches any reason.",
"enum": [
"NON_COMPLIANCE_REASON_UNSPECIFIED",
"API_LEVEL",
@@ -1116,24 +1188,24 @@
],
"enumDescriptions": [
"This value is disallowed.",
- "The setting is not supported in the API level of Android OS version the\ndevice is running.",
- "The admin type (profile owner, device owner, etc.) does not support the\nsetting.",
+ "The setting is not supported in the API level of Android OS version the device is running.",
+ "The admin type (profile owner, device owner, etc.) does not support the setting.",
"The user has not taken required action to comply with the setting.",
"The setting has an invalid value.",
"The application required to implement the policy is not installed.",
- "The policy is not supported by the version of Android Device Policy on\nthe device.",
+ "The policy is not supported by the version of Android Device Policy on the device.",
"A blocked application is installed.",
- "The setting was not applied yet at the time of the report, but is\nexpected to be applied shortly.",
- "The setting cannot be applied to the application because its target SDK\nversion is not high enough."
+ "The setting was not applied yet at the time of the report, but is expected to be applied shortly.",
+ "The setting cannot be applied to the application because its target SDK version is not high enough."
],
"type": "string"
},
"settingName": {
- "description": "The name of the policy setting. This is the JSON field name of a top-level\n[`Policy`](/android/management/reference/rest/v1/enterprises.policies#Policy)\nfield. If not set, then this condition matches any setting name.",
+ "description": "The name of the policy setting. This is the JSON field name of a top-level Policy field. If not set, then this condition matches any setting name.",
"type": "string"
},
"packageName": {
- "description": "The package name indicating which application is out of compliance. If not\nset, then this condition matches any package name. If this field is set,\nthen `setting_name` must be unset or set to `applications`; otherwise, the\ncondition would never be satisfied.",
+ "description": "The package name indicating which application is out of compliance. If not set, then this condition matches any package name. If this field is set, then setting_name must be unset or set to applications; otherwise, the condition would never be satisfied.",
"type": "string"
}
},
@@ -1144,19 +1216,19 @@
"id": "NonComplianceDetail",
"properties": {
"settingName": {
- "description": "The name of the policy setting. This is the JSON field name of a top-level\n[`Policy`](/android/management/reference/rest/v1/enterprises.policies#Policy)\n field.",
+ "description": "The name of the policy setting. This is the JSON field name of a top-level Policy field.",
"type": "string"
},
"currentValue": {
- "description": "If the policy setting could not be applied, the current value of the\nsetting on the device.",
+ "description": "If the policy setting could not be applied, the current value of the setting on the device.",
"type": "any"
},
"packageName": {
- "description": "The package name indicating which application is out of compliance, if\napplicable.",
+ "description": "The package name indicating which application is out of compliance, if applicable.",
"type": "string"
},
"installationFailureReason": {
- "description": "If `package_name` is set and the non-compliance reason is\n`APP_NOT_INSTALLED`, the detailed reason the app cannot be installed.",
+ "description": "If package_name is set and the non-compliance reason is APP_NOT_INSTALLED, the detailed reason the app cannot be installed.",
"enum": [
"INSTALLATION_FAILURE_REASON_UNSPECIFIED",
"INSTALLATION_FAILURE_REASON_UNKNOWN",
@@ -1167,11 +1239,12 @@
"PERMISSIONS_NOT_ACCEPTED",
"NOT_AVAILABLE_IN_COUNTRY",
"NO_LICENSES_REMAINING",
- "NOT_ENROLLED"
+ "NOT_ENROLLED",
+ "USER_INVALID"
],
"enumDescriptions": [
"This value is disallowed.",
- "An unknown condition is preventing the app from being installed. Some\npotential reaons are that the device does not have enough storage, the\ndevice network connection is unreliable, or the installation is taking\nlonger than expected. The installation will be retried automatically.",
+ "An unknown condition is preventing the app from being installed. Some potential reaons are that the device does not have enough storage, the device network connection is unreliable, or the installation is taking longer than expected. The installation will be retried automatically.",
"The installation is still in progress.",
"The app was not found in Play.",
"The app is incompatible with the device.",
@@ -1179,12 +1252,13 @@
"The app has new permissions that have not been accepted by the admin.",
"The app is not available in the user's country.",
"There are no more licenses to assign to the user.",
- "The enterprise is no longer enrolled with Play for Work or Android Device\nPolicy is not enabled for the enterprise."
+ "The enterprise is no longer enrolled with Play for Work or Android Device Policy is not enabled for the enterprise.",
+ "The user is no longer valid. The user may have been deleted or disabled."
],
"type": "string"
},
"fieldPath": {
- "description": "For settings with nested fields, if a particular nested field is out of\ncompliance, this specifies the full path to the offending field. The path\nis formatted in the same way the policy JSON field would be referenced in\nJavaScript, that is:\n1) For object-typed fields, the field name is followed by a dot then by a\n subfield name.\n2) For array-typed fields, the field name is followed by the array index\n enclosed in brackets.\nFor example, to indicate a problem with the `url` field in the\n`externalData` field in the 3rd application, the path would be\n`applications[2].externalData.url`",
+ "description": "For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url",
"type": "string"
},
"nonComplianceReason": {
@@ -1203,15 +1277,15 @@
],
"enumDescriptions": [
"This value is disallowed.",
- "The setting is not supported in the API level of Android OS version the\ndevice is running.",
- "The admin type (profile owner, device owner, etc.) does not support the\nsetting.",
+ "The setting is not supported in the API level of Android OS version the device is running.",
+ "The admin type (profile owner, device owner, etc.) does not support the setting.",
"The user has not taken required action to comply with the setting.",
"The setting has an invalid value.",
"The application required to implement the policy is not installed.",
- "The policy is not supported by the version of Android Device Policy on\nthe device.",
+ "The policy is not supported by the version of Android Device Policy on the device.",
"A blocked application is installed.",
- "The setting was not applied yet at the time of the report, but is\nexpected to be applied shortly.",
- "The setting cannot be applied to the application because its target SDK\nversion is not high enough."
+ "The setting was not applied yet at the time of the report, but is expected to be applied shortly.",
+ "The setting cannot be applied to the application because its target SDK version is not high enough."
],
"type": "string"
}
@@ -1237,22 +1311,22 @@
"type": "object"
},
"PersistentPreferredActivity": {
- "description": "A default activity for handling intents that match a particular intent\nfilter.",
+ "description": "A default activity for handling intents that match a particular intent filter.",
"id": "PersistentPreferredActivity",
"properties": {
"receiverActivity": {
- "description": "The activity that should be the default intent handler. This should be an\nAndroid component name, e.g. `com.android.enterprise.app/.MainActivity`.\nAlternatively, the value may be the package name of an app, which causes\nAndroid Device Policy to choose an appropriate activity from the app to\nhandle the intent.",
+ "description": "The activity that should be the default intent handler. This should be an Android component name, e.g. com.android.enterprise.app/.MainActivity. Alternatively, the value may be the package name of an app, which causes Android Device Policy to choose an appropriate activity from the app to handle the intent.",
"type": "string"
},
"actions": {
- "description": "The intent actions to match in the filter. If any actions are included in\nthe filter, then an intent's action must be one of those values for it to\nmatch. If no actions are included, the intent action is ignored.",
+ "description": "The intent actions to match in the filter. If any actions are included in the filter, then an intent's action must be one of those values for it to match. If no actions are included, the intent action is ignored.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
- "description": "The intent categories to match in the filter. An intent includes the\ncategories that it requires, all of which must be included in the filter in\norder to match. In other words, adding a category to the filter has no\nimpact on matching unless that category is specified in the intent.",
+ "description": "The intent categories to match in the filter. An intent includes the categories that it requires, all of which must be included in the filter in order to match. In other words, adding a category to the filter has no impact on matching unless that category is specified in the intent.",
"items": {
"type": "string"
},
@@ -1270,7 +1344,7 @@
"description": "Properties of the object.",
"type": "any"
},
- "description": "Network configuration for the device. See\n[configure networks](/android/management/configure-networks)\nfor more information.",
+ "description": "Network configuration for the device. See configure networks for more information.",
"type": "object"
},
"adjustVolumeDisabled": {
@@ -1293,6 +1367,10 @@
"description": "Whether factory resetting from settings is disabled.",
"type": "boolean"
},
+ "funDisabled": {
+ "description": "Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled.",
+ "type": "boolean"
+ },
"applications": {
"description": "Policy applied to apps.",
"items": {
@@ -1305,18 +1383,18 @@
"type": "boolean"
},
"complianceRules": {
- "description": "Rules declaring which mitigating actions to take when a device is not\ncompliant with its policy. When the conditions for multiple rules are\nsatisfied, all of the mitigating actions for the rules are taken. There is\na maximum limit of 100 rules.",
+ "description": "Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules.",
"items": {
"$ref": "ComplianceRule"
},
"type": "array"
},
"unmuteMicrophoneDisabled": {
- "description": "Whether the microphone is muted and adjusting microphone volume is\ndisabled.",
+ "description": "Whether the microphone is muted and adjusting microphone volume is disabled.",
"type": "boolean"
},
"installUnknownSourcesAllowed": {
- "description": "Whether the user is allowed to enable the \"Unknown Sources\" setting,\nwhich allows installation of apps from unknown sources.",
+ "description": "Whether the user is allowed to enable the \"Unknown Sources\" setting, which allows installation of apps from unknown sources.",
"type": "boolean"
},
"removeUserDisabled": {
@@ -1324,11 +1402,11 @@
"type": "boolean"
},
"statusBarDisabled": {
- "description": "Whether the status bar is disabled. This disables notifications, quick\nsettings and other screen overlays that allow escape from full-screen mode.",
+ "description": "Whether the status bar is disabled. This disables notifications, quick settings and other screen overlays that allow escape from full-screen mode.",
"type": "boolean"
},
"stayOnPluggedModes": {
- "description": "The battery plugged in modes for which the device stays on. When using this\nsetting, it is recommended to clear `maximum_time_to_lock` so that the\ndevice doesn't lock itself while it stays on.",
+ "description": "The battery plugged in modes for which the device stays on. When using this setting, it is recommended to clear maximum_time_to_lock so that the device doesn't lock itself while it stays on.",
"enumDescriptions": [
"This value is ignored.",
"Power source is an AC charger.",
@@ -1351,7 +1429,7 @@
"type": "boolean"
},
"blockApplicationsEnabled": {
- "description": "Whether applications other than the ones configured in `applications` are\nblocked from being installed. When set, applications that were\ninstalled under a previous policy but no longer appear in the policy are\nautomatically uninstalled.",
+ "description": "Whether applications other than the ones configured in applications are blocked from being installed. When set, applications that were installed under a previous policy but no longer appear in the policy are automatically uninstalled.",
"type": "boolean"
},
"debuggingFeaturesAllowed": {
@@ -1359,12 +1437,12 @@
"type": "boolean"
},
"maximumTimeToLock": {
- "description": "Maximum time in milliseconds for user activity until the device will lock.\nA value of 0 means there is no restriction.",
+ "description": "Maximum time in milliseconds for user activity until the device will lock. A value of 0 means there is no restriction.",
"format": "int64",
"type": "string"
},
"name": {
- "description": "The name of the policy in the form\n`enterprises/{enterpriseId}/policies/{policyId}`",
+ "description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}",
"type": "string"
},
"defaultPermissionPolicy": {
@@ -1376,7 +1454,7 @@
"DENY"
],
"enumDescriptions": [
- "Policy not specified. If no policy is specified for a permission at any\nlevel, then the `PROMPT` behavior is used by default.",
+ "Policy not specified. If no policy is specified for a permission at any level, then the PROMPT behavior is used by default.",
"Prompt the user to grant a permission.",
"Automatically grant a permission.",
"Automatically deny a permission."
@@ -1391,22 +1469,22 @@
"type": "array"
},
"networkEscapeHatchEnabled": {
- "description": "Flag to specify if network escape hatch is enabled. If this flag has been\nenabled then upon device boot if device has no network connection, then an\nactivity will be shown that allows the user to temporarily connect to a\nnetwork to fetch the latest policy. The launched activity will time out if\nno network has been connected for a given while and will return to the\nprevious activity that was shown.",
+ "description": "Flag to specify if network escape hatch is enabled. If this flag has been enabled then upon device boot if device has no network connection, then an activity will be shown that allows the user to temporarily connect to a network to fetch the latest policy. The launched activity will time out if no network has been connected for a given while and will return to the previous activity that was shown.",
"type": "boolean"
},
"systemUpdate": {
"$ref": "SystemUpdate",
- "description": "The system update policy, which controls how OS updates are applied. If the\nupdate type is `WINDOWED` and the device has a device account, the update\nwindow will automatically apply to Play app updates as well."
+ "description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED and the device has a device account, the update window will automatically apply to Play app updates as well."
},
"frpAdminEmails": {
- "description": "Email addresses of device administrators for factory reset protection.\nWhen the device is factory reset, it will require one of these admins to\nlog in with the Google account email and password to unlock the device.\nIf no admins are specified, the device will not provide factory reset\nprotection.",
+ "description": "Email addresses of device administrators for factory reset protection. When the device is factory reset, it will require one of these admins to log in with the Google account email and password to unlock the device. If no admins are specified, the device will not provide factory reset protection.",
"items": {
"type": "string"
},
"type": "array"
},
"version": {
- "description": "The version of the policy. This is a read-only field. The version is\nincremented each time the policy is updated.",
+ "description": "The version of the policy. This is a read-only field. The version is incremented each time the policy is updated.",
"format": "int64",
"type": "string"
},
@@ -1430,12 +1508,12 @@
"id": "Command",
"properties": {
"duration": {
- "description": "The duration for which the command is valid. The command will expire if not\nexecuted by the device during this time. The default duration if\nunspecified is ten minutes. There is no maximum duration.",
+ "description": "The duration for which the command is valid. The command will expire if not executed by the device during this time. The default duration if unspecified is ten minutes. There is no maximum duration.",
"format": "google-duration",
"type": "string"
},
"newPassword": {
- "description": "For commands of type `RESET_PASSWORD`, optionally specifies the new\npassword.",
+ "description": "For commands of type RESET_PASSWORD, optionally specifies the new password.",
"type": "string"
},
"type": {
@@ -1455,15 +1533,15 @@
"type": "string"
},
"createTime": {
- "description": "The timestamp at which the command was created. The timestamp is\nautomatically generated by the server.",
+ "description": "The timestamp at which the command was created. The timestamp is automatically generated by the server.",
"format": "google-datetime",
"type": "string"
},
"resetPasswordFlags": {
- "description": "For commands of type `RESET_PASSWORD`, optionally specifies flags.",
+ "description": "For commands of type RESET_PASSWORD, optionally specifies flags.",
"enumDescriptions": [
"This value is ignored.",
- "Don't allow other admins to change the password again until the user has\nentered it.",
+ "Don't allow other admins to change the password again until the user has entered it.",
"Don't ask for user credentials on device boot."
],
"items": {
@@ -1480,20 +1558,20 @@
"type": "object"
},
"ComplianceRule": {
- "description": "A rule declaring which mitigating actions to take when a device is not\ncompliant with its policy. For every rule, there is always an implicit\nmitigating action to set `policy_compliant` to false for the\n[`Device`](/android/management/reference/rest/v1/enterprises.devices#Device)\nresource, and display a message on the device indicating that the device is\nnot compliant with its policy. Other mitigating actions may optionally be\ntaken as well, depending on the field values in the rule.",
+ "description": "A rule declaring which mitigating actions to take when a device is not compliant with its policy. For every rule, there is always an implicit mitigating action to set policy_compliant to false for the Device resource, and display a message on the device indicating that the device is not compliant with its policy. Other mitigating actions may optionally be taken as well, depending on the field values in the rule.",
"id": "ComplianceRule",
"properties": {
"nonComplianceDetailCondition": {
"$ref": "NonComplianceDetailCondition",
- "description": "A condition which is satisfied if there exists *any* matching\n[`NonComplianceDetail`](/android/management/reference/rest/v1/enterprises.devices#NonComplianceDetail)\nfor the device."
+ "description": "A condition which is satisfied if there exists any matching NonComplianceDetail for the device."
},
"disableApps": {
- "description": "If set to true, the rule includes a mitigating action to disable\napplications so that the device is effectively disabled, but application\ndata is preserved. If the device is running an app in locked task mode, the\napp will be closed and a UI showing the reason for non-compliance will be\ndisplayed.",
+ "description": "If set to true, the rule includes a mitigating action to disable applications so that the device is effectively disabled, but application data is preserved. If the device is running an app in locked task mode, the app will be closed and a UI showing the reason for non-compliance will be displayed.",
"type": "boolean"
},
"apiLevelCondition": {
"$ref": "ApiLevelCondition",
- "description": "A condition which is satisfied if the Android Framework API level on the\ndevice does not meet a minimum requirement."
+ "description": "A condition which is satisfied if the Android Framework API level on the device does not meet a minimum requirement."
}
},
"type": "object"
@@ -1606,11 +1684,11 @@
"id": "SignupUrl",
"properties": {
"url": {
- "description": "A URL under which the Admin can sign up for an enterprise.\nThe page pointed to cannot be rendered in an iframe.",
+ "description": "A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe.",
"type": "string"
},
"name": {
- "description": "The name of the resource. This must be included in the\n[create enterprise](/android/management/reference/rest/v1/enterprises/create)\nrequest at the end of the signup flow.",
+ "description": "The name of the resource. This must be included in the create enterprise request at the end of the signup flow.",
"type": "string"
}
},
@@ -1621,33 +1699,33 @@
"id": "EnrollmentToken",
"properties": {
"expirationTimestamp": {
- "description": "The expiration time of the token. This is a read-only field generated by\nthe server.",
+ "description": "The expiration time of the token. This is a read-only field generated by the server.",
"format": "google-datetime",
"type": "string"
},
"policyName": {
- "description": "The name of the policy that will be initially applied to the enrolled\ndevice in the form `enterprises/{enterpriseId}/policies/{policyId}`.\nIf not specified, the policy with id `default` is applied.\nIt is permissible to only specify the `policyId` when updating this\nfield as long as the `policyId` contains no slashes since the rest of the\npolicy name can be inferred from context.",
+ "description": "The name of the policy that will be initially applied to the enrolled device in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy with id default is applied. It is permissible to only specify the policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context.",
"type": "string"
},
"name": {
- "description": "The name of the enrollment token, which is generated by the server during\ncreation, in the form\n`enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}`",
+ "description": "The name of the enrollment token, which is generated by the server during creation, in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}",
"type": "string"
},
"duration": {
- "description": "The duration of the token. If not specified, the duration will be 1 hour.\nThe allowed range is 1 minute to 30 days.",
+ "description": "The duration of the token. If not specified, the duration will be 1 hour. The allowed range is 1 minute to 30 days.",
"format": "google-duration",
"type": "string"
},
"value": {
- "description": "The token value which is passed to the device and authorizes the device to\nenroll. This is a read-only field generated by the server.",
+ "description": "The token value which is passed to the device and authorizes the device to enroll. This is a read-only field generated by the server.",
"type": "string"
},
"additionalData": {
- "description": "Optional, arbitrary data associated with the enrollment token.\nThis could contain, for example, the id of an org unit to which the device\nis assigned after enrollment.\nAfter a device enrolls with the token, this data will be exposed in the\n`enrollment_token_data` field of the\n[`Device`](/android/management/reference/rest/v1/enterprises.devices#Device)\nresource. The data must be 1024 characters or less; otherwise, the creation\nrequest will fail.",
+ "description": "Optional, arbitrary data associated with the enrollment token. This could contain, for example, the id of an org unit to which the device is assigned after enrollment. After a device enrolls with the token, this data will be exposed in the enrollment_token_data field of the Device resource. The data must be 1024 characters or less; otherwise, the creation request will fail.",
"type": "string"
},
"qrCode": {
- "description": "A JSON string whose UTF-8 representation can be used to generate a QR code\nto enroll a device with this enrollment token. To enroll a device using\nNFC, the NFC record must contain a serialized `java.util.Properties`\nrepresentation of the properties in the JSON.",
+ "description": "A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON.",
"type": "string"
}
},
@@ -1658,11 +1736,11 @@
"id": "SoftwareInfo",
"properties": {
"androidVersion": {
- "description": "The user visible Android version string, e.g. `6.0.1`.",
+ "description": "The user visible Android version string, e.g. 6.0.1.",
"type": "string"
},
"androidBuildNumber": {
- "description": "Android build Id string meant for displaying to the user,\ne.g. `shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys`.",
+ "description": "Android build Id string meant for displaying to the user, e.g. shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.",
"type": "string"
},
"androidBuildTime": {
@@ -1671,15 +1749,15 @@
"type": "string"
},
"bootloaderVersion": {
- "description": "The system bootloader version number, e.g. `0.6.7`.",
+ "description": "The system bootloader version number, e.g. 0.6.7.",
"type": "string"
},
"securityPatchLevel": {
- "description": "Security patch level, e.g. `2016-05-01`.",
+ "description": "Security patch level, e.g. 2016-05-01.",
"type": "string"
},
"deviceKernelVersion": {
- "description": "Kernel version, e.g. `2.6.32.9-g103d848`.",
+ "description": "Kernel version, e.g. 2.6.32.9-g103d848.",
"type": "string"
}
},
@@ -1690,7 +1768,7 @@
"id": "ManagedPropertyEntry",
"properties": {
"value": {
- "description": "The machine-readable value of the entry, which should be used in the\nconfiguration. Not localized.",
+ "description": "The machine-readable value of the entry, which should be used in the configuration. Not localized.",
"type": "string"
},
"name": {
@@ -1705,11 +1783,11 @@
"id": "WebToken",
"properties": {
"value": {
- "description": "The token value which is used in the hosting page to generate the iframe\nwith the embedded UI. This is a read-only field generated by the server.",
+ "description": "The token value which is used in the hosting page to generate the iframe with the embedded UI. This is a read-only field generated by the server.",
"type": "string"
},
"permissions": {
- "description": "Permissions the admin may exercise in the embedded UI. The admin must have\nall of these permissions in order to view the UI.",
+ "description": "Permissions the admin may exercise in the embedded UI. The admin must have all of these permissions in order to view the UI.",
"enumDescriptions": [
"This value is ignored.",
"The permission to approve apps for the enterprise."
@@ -1724,11 +1802,11 @@
"type": "array"
},
"name": {
- "description": "The name of the web token, which is generated by the server during\ncreation, in the form\n`enterprises/{enterpriseId}/webTokens/{webTokenId}`.",
+ "description": "The name of the web token, which is generated by the server during creation, in the form enterprises/{enterpriseId}/webTokens/{webTokenId}.",
"type": "string"
},
"parentFrameUrl": {
- "description": "The URL of the parent frame hosting the iframe with the embedded UI. To\nprevent XSS, the iframe may not be hosted at other URLs. The URL must use\nthe https scheme.",
+ "description": "The URL of the parent frame hosting the iframe with the embedded UI. To prevent XSS, the iframe may not be hosted at other URLs. The URL must use the https scheme.",
"type": "string"
}
},
@@ -1739,12 +1817,12 @@
"id": "Enterprise",
"properties": {
"pubsubTopic": {
- "description": "When Cloud Pub/Sub notifications are enabled, this field is required to\nindicate the topic to which the notifications will be published. The format\nof this field is `projects/{project}/topics/{topic}`. You must have granted\nthe publish permission on this topic to\nandroid-cloud-policy@system.gserviceaccount.com",
+ "description": "When Cloud Pub/Sub notifications are enabled, this field is required to indicate the topic to which the notifications will be published. The format of this field is projects/{project}/topics/{topic}. You must have granted the publish permission on this topic to android-cloud-policy@system.gserviceaccount.com",
"type": "string"
},
"logo": {
"$ref": "ExternalData",
- "description": "An image displayed as a logo during device provisioning. Supported types\nare: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp,\nimage/vnd.wap.wbmp, image/x-adobe-dng."
+ "description": "An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng."
},
"enabledNotificationTypes": {
"description": "The notification types to enable via Google Cloud Pub/Sub.",
@@ -1768,16 +1846,16 @@
"type": "array"
},
"name": {
- "description": "The name of the enterprise which is generated by the server during\ncreation, in the form\n`enterprises/{enterpriseId}`",
+ "description": "The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}",
"type": "string"
},
"primaryColor": {
- "description": "A color in RGB format indicating the predominant color to display in the\ndevice management app UI. The color components are stored as follows:\n`(red << 16) | (green << 8) | blue`, where each component may take a value\nbetween 0 and 255 inclusive.",
+ "description": "A color in RGB format indicating the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where each component may take a value between 0 and 255 inclusive.",
"format": "int32",
"type": "integer"
},
"appAutoApprovalEnabled": {
- "description": "Whether app auto-approval is enabled. When enabled, apps installed via\npolicy for this enterprise have all permissions automatically approved.\nWhen enabled, it is the caller's responsibility to display the permissions\nrequired by an app to the enterprise admin before setting the app to be\ninstalled in a policy.",
+ "description": "Whether app auto-approval is enabled. When enabled, apps installed via policy for this enterprise have all permissions automatically approved. When enabled, it is the caller's responsibility to display the permissions required by an app to the enterprise admin before setting the app to be installed in a policy.",
"type": "boolean"
},
"enterpriseDisplayName": {
@@ -1810,7 +1888,7 @@
"id": "MemoryEvent",
"properties": {
"byteCount": {
- "description": "The number of free bytes in the medium, or for `EXTERNAL_STORAGE_DETECTED`,\nthe total capacity in bytes of the storage medium.",
+ "description": "The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.",
"format": "int64",
"type": "string"
},
@@ -1828,7 +1906,7 @@
"Unspecified. No events have this type.",
"Free space in RAM was measured.",
"Free space in internal storage was measured.",
- "A new external storage medium was detected. The reported byte count is\nthe total capacity of the storage medium.",
+ "A new external storage medium was detected. The reported byte count is the total capacity of the storage medium.",
"An external storage medium was removed. The reported byte count is zero.",
"Free space in an external storage medium was measured."
],
@@ -1843,33 +1921,33 @@
"type": "object"
},
"ExternalData": {
- "description": "Data hosted at an external location. The data is to be downloaded by Android\nDevice Policy and verified against the hash.",
+ "description": "Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash.",
"id": "ExternalData",
"properties": {
"url": {
- "description": "The absolute URL to the data, which must use either the http or https\nscheme. Android Device Policy does not provide any credentials in the GET\nrequest, so the URL must be publicly accessible. Including a long, random\ncomponent in the URL may be used to prevent attackers from discovering the\nURL.",
+ "description": "The absolute URL to the data, which must use either the http or https scheme. Android Device Policy does not provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.",
"type": "string"
},
"sha256Hash": {
- "description": "The base-64 encoded SHA-256 hash of the content hosted at url. If the\ncontent does not match this hash, Android Device Policy will not use the\ndata.",
+ "description": "The base-64 encoded SHA-256 hash of the content hosted at url. If the content does not match this hash, Android Device Policy will not use the data.",
"type": "string"
}
},
"type": "object"
},
"UserFacingMessage": {
- "description": "Provides user facing message with locale info. The maximum message length is\n4096 characters.",
+ "description": "Provides user facing message with locale info. The maximum message length is 4096 characters.",
"id": "UserFacingMessage",
"properties": {
"localizedMessages": {
"additionalProperties": {
"type": "string"
},
- "description": "A map which contains <locale, message> pairs.\nThe locale is a BCP 47 language code, e.g. en-US, es-ES, fr.",
+ "description": "A map which contains <locale, message> pairs. The locale is a BCP 47 language code, e.g. en-US, es-ES, fr.",
"type": "object"
},
"defaultMessage": {
- "description": "The default message that gets displayed if no localized message is\nspecified, or the user's locale does not match with any of the localized\nmessages. A default message must be provided if any localized messages are\nprovided.",
+ "description": "The default message that gets displayed if no localized message is specified, or the user's locale does not match with any of the localized messages. A default message must be provided if any localized messages are provided.",
"type": "string"
}
},
@@ -1880,7 +1958,7 @@
"id": "PowerManagementEvent",
"properties": {
"batteryLevel": {
- "description": "For `BATTERY_LEVEL_COLLECTED` events, the battery level as a percentage.",
+ "description": "For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.",
"format": "float",
"type": "number"
},
@@ -1921,27 +1999,27 @@
"id": "PasswordRequirements",
"properties": {
"passwordMinimumNumeric": {
- "description": "Minimum number of numerical digits required in the password.\nOnly enforced when `password_quality` is `COMPLEX`.",
+ "description": "Minimum number of numerical digits required in the password. Only enforced when password_quality is COMPLEX.",
"format": "int32",
"type": "integer"
},
"passwordMinimumNonLetter": {
- "description": "Minimum number of non-letter characters (numerical digits or symbols)\nrequired in the password.\nOnly enforced when `password_quality` is `COMPLEX`.",
+ "description": "Minimum number of non-letter characters (numerical digits or symbols) required in the password. Only enforced when password_quality is COMPLEX.",
"format": "int32",
"type": "integer"
},
"maximumFailedPasswordsForWipe": {
- "description": "A device will be wiped after too many incorrect device-unlock passwords\nhave been entered. A value of 0 means there is no restriction.",
+ "description": "A device will be wiped after too many incorrect device-unlock passwords have been entered. A value of 0 means there is no restriction.",
"format": "int32",
"type": "integer"
},
"passwordMinimumLetters": {
- "description": "Minimum number of letters required in the password.\nOnly enforced when `password_quality` is `COMPLEX`.",
+ "description": "Minimum number of letters required in the password. Only enforced when password_quality is COMPLEX.",
"format": "int32",
"type": "integer"
},
"passwordMinimumUpperCase": {
- "description": "Minimum number of upper case letters required in the password.\nOnly enforced when `password_quality` is `COMPLEX`.",
+ "description": "Minimum number of upper case letters required in the password. Only enforced when password_quality is COMPLEX.",
"format": "int32",
"type": "integer"
},
@@ -1958,17 +2036,17 @@
],
"enumDescriptions": [
"There are no requirements for the password.",
- "There must be a password, but there are no restrictions on its\ncharacters.",
+ "There must be a password, but there are no restrictions on its characters.",
"The password must contain numeric characters.",
- "The password must contain numeric characters with no repeating (4444) or\nordered (1234, 4321, 2468) sequences.",
+ "The password must contain numeric characters with no repeating (4444) or ordered (1234, 4321, 2468) sequences.",
"The password must contain alphabetic (or symbol) characters.",
- "The password must contain at both numeric and alphabetic (or symbol)\ncharacters.",
- "The password must contain at least a letter, a numerical digit and a\nspecial symbol. Other password constraints, for example,\n`password_minimum_letters` are enforced."
+ "The password must contain at both numeric and alphabetic (or symbol) characters.",
+ "The password must contain at least a letter, a numerical digit and a special symbol. Other password constraints, for example, password_minimum_letters are enforced."
],
"type": "string"
},
"passwordMinimumLength": {
- "description": "The minimum allowed password length. A value of 0 means there is no\nrestriction.\nOnly enforced when `password_quality` is `NUMERIC`, `NUMERIC_COMPLEX`,\n`ALPHABETIC`, `ALPHANUMERIC`, or `COMPLEX`.",
+ "description": "The minimum allowed password length. A value of 0 means there is no restriction. Only enforced when password_quality is NUMERIC, NUMERIC_COMPLEX, ALPHABETIC, ALPHANUMERIC, or COMPLEX.",
"format": "int32",
"type": "integer"
},
@@ -1978,17 +2056,17 @@
"type": "string"
},
"passwordMinimumSymbols": {
- "description": "Minimum number of symbols required in the password.\nOnly enforced when `password_quality` is `COMPLEX`.",
+ "description": "Minimum number of symbols required in the password. Only enforced when password_quality is COMPLEX.",
"format": "int32",
"type": "integer"
},
"passwordHistoryLength": {
- "description": "The length of the password history. After setting this, the user will\nnot be able to enter a new password that is the same as any password in\nthe history. A value of 0 means there is no restriction.",
+ "description": "The length of the password history. After setting this, the user will not be able to enter a new password that is the same as any password in the history. A value of 0 means there is no restriction.",
"format": "int32",
"type": "integer"
},
"passwordMinimumLowerCase": {
- "description": "Minimum number of lower case letters required in the password.\nOnly enforced when `password_quality` is `COMPLEX`.",
+ "description": "Minimum number of lower case letters required in the password. Only enforced when password_quality is COMPLEX.",
"format": "int32",
"type": "integer"
}
@@ -1996,11 +2074,11 @@
"type": "object"
},
"HardwareInfo": {
- "description": "Information about device hardware. The fields related to temperature\nthresholds are only available when hardwareStatusEnabled is true in the\ndevice's policy.",
+ "description": "Information about device hardware. The fields related to temperature thresholds are only available when hardwareStatusEnabled is true in the device's policy.",
"id": "HardwareInfo",
"properties": {
"gpuThrottlingTemperatures": {
- "description": "GPU throttling temperature thresholds in Celsius for each GPU on the\ndevice.",
+ "description": "GPU throttling temperature thresholds in Celsius for each GPU on the device.",
"items": {
"format": "float",
"type": "number"
@@ -2024,11 +2102,11 @@
"type": "array"
},
"manufacturer": {
- "description": "Manufacturer, e.g. `Motorola`.",
+ "description": "Manufacturer, e.g. Motorola.",
"type": "string"
},
"model": {
- "description": "The model of the device, e.g. `Asus Nexus 7`.",
+ "description": "The model of the device, e.g. Asus Nexus 7.",
"type": "string"
},
"serialNumber": {
@@ -2036,11 +2114,11 @@
"type": "string"
},
"brand": {
- "description": "Brand of the device, e.g. `Google`.",
+ "description": "Brand of the device, e.g. Google.",
"type": "string"
},
"cpuThrottlingTemperatures": {
- "description": "CPU throttling temperature thresholds in Celsius for each CPU on the\ndevice.",
+ "description": "CPU throttling temperature thresholds in Celsius for each CPU on the device.",
"items": {
"format": "float",
"type": "number"
@@ -2056,11 +2134,11 @@
"type": "array"
},
"deviceBasebandVersion": {
- "description": "Baseband version, e.g. `MDM9625_104662.22.05.34p`.",
+ "description": "Baseband version, e.g. MDM9625_104662.22.05.34p.",
"type": "string"
},
"hardware": {
- "description": "Name of the hardware, e.g. `Angler`.",
+ "description": "Name of the hardware, e.g. Angler.",
"type": "string"
},
"skinShutdownTemperatures": {
@@ -2072,7 +2150,7 @@
"type": "array"
},
"batteryShutdownTemperatures": {
- "description": "Battery shutdown temperature thresholds in Celsius for each battery on the\ndevice.",
+ "description": "Battery shutdown temperature thresholds in Celsius for each battery on the device.",
"items": {
"format": "float",
"type": "number"
@@ -2080,7 +2158,7 @@
"type": "array"
},
"batteryThrottlingTemperatures": {
- "description": "Battery throttling temperature thresholds in Celsius for each battery on\nthe device.",
+ "description": "Battery throttling temperature thresholds in Celsius for each battery on the device.",
"items": {
"format": "float",
"type": "number"
@@ -2091,7 +2169,7 @@
"type": "object"
},
"Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.",
"id": "Empty",
"properties": {},
"type": "object"
@@ -2101,15 +2179,15 @@
"id": "NetworkInfo",
"properties": {
"meid": {
- "description": "MEID number of the CDMA device, e.g. `A00000292788E1`.",
+ "description": "MEID number of the CDMA device, e.g. A00000292788E1.",
"type": "string"
},
"wifiMacAddress": {
- "description": "WiFi MAC address of the device, e.g. `7c:11:11:11:11:11`.",
+ "description": "WiFi MAC address of the device, e.g. 7c:11:11:11:11:11.",
"type": "string"
},
"imei": {
- "description": "IMEI number of the GSM device, e.g. `A1000031212`.",
+ "description": "IMEI number of the GSM device, e.g. A1000031212.",
"type": "string"
}
},
@@ -2133,11 +2211,11 @@
"type": "object"
},
"ApiLevelCondition": {
- "description": "A compliance rule condition which is satisfied if the Android Framework API\nlevel on the device does not meet a minimum requirement. There can only be\none rule with this type of condition per policy.",
+ "description": "A compliance rule condition which is satisfied if the Android Framework API level on the device does not meet a minimum requirement. There can only be one rule with this type of condition per policy.",
"id": "ApiLevelCondition",
"properties": {
"minApiLevel": {
- "description": "The minimum desired Android Framework API level. If the device does not\nmeet the minimum requirement, this condition is satisfied. Must be greater\nthan zero.",
+ "description": "The minimum desired Android Framework API level. If the device does not meet the minimum requirement, this condition is satisfied. Must be greater than zero.",
"format": "int32",
"type": "integer"
}
@@ -2149,7 +2227,7 @@
"id": "SystemUpdate",
"properties": {
"startMinutes": {
- "description": "If the type is `WINDOWED`, the start of the maintenance window, measured as\nthe number of minutes after midnight in device local time. This value must\nbe between 0 and 1439, inclusive.",
+ "description": "If the type is WINDOWED, the start of the maintenance window, measured as the number of minutes after midnight in device local time. This value must be between 0 and 1439, inclusive.",
"format": "int32",
"type": "integer"
},
@@ -2162,15 +2240,15 @@
"POSTPONE"
],
"enumDescriptions": [
- "Follow the default update behavior for the device, which typically\nrequires the user to accept system updates.",
+ "Follow the default update behavior for the device, which typically requires the user to accept system updates.",
"Install automatically as soon as an update is available.",
- "Install automatically within a daily maintenance window. If the device\nhas a device account, this also configures Play apps to be updated within\nthe window. This is strongly recommended for kiosk devices because this\nis the only way apps persistently pinned to the foreground can be updated\nby Play.",
+ "Install automatically within a daily maintenance window. If the device has a device account, this also configures Play apps to be updated within the window. This is strongly recommended for kiosk devices because this is the only way apps persistently pinned to the foreground can be updated by Play.",
"Postpone automatic install up to a maximum of 30 days."
],
"type": "string"
},
"endMinutes": {
- "description": "If the type is `WINDOWED`, the end of the maintenance window, measured as\nthe number of minutes after midnight in device local time. This value must\nbe between 0 and 1439, inclusive. If this value is less than\n`start_minutes`, then the maintenance window spans midnight. If the\nmaintenance window specified is smaller than 30 minutes, the actual window\nis extended to 30 minutes beyond the start time.",
+ "description": "If the type is WINDOWED, the end of the maintenance window, measured as the number of minutes after midnight in device local time. This value must be between 0 and 1439, inclusive. If this value is less than start_minutes, then the maintenance window spans midnight. If the maintenance window specified is smaller than 30 minutes, the actual window is extended to 30 minutes beyond the start time.",
"format": "int32",
"type": "integer"
}
@@ -2178,11 +2256,11 @@
"type": "object"
},
"HardwareStatus": {
- "description": "Hardware status. Temperatures may be compared to the temperature thresholds\navailable in `hardwareInfo` to determine hardware health.",
+ "description": "Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health.",
"id": "HardwareStatus",
"properties": {
"fanSpeeds": {
- "description": "Fan speeds in RPM for each fan on the device. Empty array means that there\nare no fans or fan speed is not supported on the system.",
+ "description": "Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system.",
"items": {
"format": "float",
"type": "number"
@@ -2227,7 +2305,7 @@
"type": "array"
},
"cpuUsages": {
- "description": "CPU usages in percentage for each core available on the device.\nUsage is 0 for each unplugged core. Empty array implies that CPU usage\nis not supported in the system.",
+ "description": "CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported in the system.",
"items": {
"format": "float",
"type": "number"
« no previous file with comments | « discovery/googleapis/androidenterprise__v1.json ('k') | discovery/googleapis/androidpublisher__v2.json » ('j') | no next file with comments »

Powered by Google App Engine