Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jul 11, 2023
1 parent 16b834e commit 524f72b
Show file tree
Hide file tree
Showing 37 changed files with 1,299 additions and 109 deletions.
139 changes: 138 additions & 1 deletion androidmanagement/v1/androidmanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,35 @@
}
}
},
"provisioningInfo": {
"methods": {
"get": {
"description": "Get the device provisioning info by the identifier provided via the sign-in url.",
"flatPath": "v1/provisioningInfo/{provisioningInfoId}",
"httpMethod": "GET",
"id": "androidmanagement.provisioningInfo.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The identifier that Android Device Policy passes to the 3P sign-in page in the form of provisioningInfo/{provisioning_info}.",
"location": "path",
"pattern": "^provisioningInfo/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "ProvisioningInfo"
},
"scopes": [
"https://www.googleapis.com/auth/androidmanagement"
]
}
}
},
"signupUrls": {
"methods": {
"create": {
Expand Down Expand Up @@ -1066,7 +1095,7 @@
}
}
},
"revision": "20230628",
"revision": "20230705",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -1174,6 +1203,7 @@
"type": "object"
},
"ApiLevelCondition": {
"deprecated": true,
"description": "A compliance rule condition which is satisfied if the Android Framework API level on the device doesn't meet a minimum requirement. There can only be one rule with this type of condition per policy.",
"id": "ApiLevelCondition",
"properties": {
Expand Down Expand Up @@ -1634,6 +1664,7 @@
"type": "string"
},
"lockTaskAllowed": {
"deprecated": true,
"description": "Whether the app is allowed to lock itself in full-screen mode. DEPRECATED. Use InstallType KIOSK or kioskCustomLauncherEnabled to configure a dedicated device.",
"type": "boolean"
},
Expand Down Expand Up @@ -2059,6 +2090,7 @@
"type": "object"
},
"ComplianceRule": {
"deprecated": true,
"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": {
Expand Down Expand Up @@ -2353,6 +2385,7 @@
"type": "array"
},
"lastPolicyComplianceReportTime": {
"deprecated": true,
"description": "Deprecated.",
"format": "google-datetime",
"type": "string"
Expand Down Expand Up @@ -2783,6 +2816,7 @@
"id": "Enterprise",
"properties": {
"appAutoApprovalEnabled": {
"deprecated": true,
"description": "Deprecated and unused.",
"type": "boolean"
},
Expand All @@ -2801,6 +2835,14 @@
"COMMAND",
"USAGE_LOGS"
],
"enumDeprecated": [
false,
false,
true,
false,
false,
false
],
"enumDescriptions": [
"This value is ignored.",
"A notification sent when a device enrolls.",
Expand Down Expand Up @@ -3644,6 +3686,7 @@
"type": "string"
},
"networkOperatorName": {
"deprecated": true,
"description": "Alphabetic name of current registered operator. For example, Vodafone.",
"type": "string"
},
Expand Down Expand Up @@ -3773,6 +3816,7 @@
"type": "object"
},
"NonComplianceDetailCondition": {
"deprecated": true,
"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": {
Expand Down Expand Up @@ -4229,6 +4273,12 @@
"BLOCKLIST",
"ALLOWLIST"
],
"enumDeprecated": [
false,
true,
false,
false
],
"enumDescriptions": [
"Unspecified. Defaults to BLOCKLIST.",
"All Play Store apps are available for installation in the personal profile, except those whose installType is BLOCKED in personalApplications.",
Expand Down Expand Up @@ -4328,10 +4378,12 @@
"type": "string"
},
"autoTimeRequired": {
"deprecated": true,
"description": "Whether auto time is required, which prevents the user from manually setting the date and time. If autoDateAndTimeZone is set, this field is ignored.",
"type": "boolean"
},
"blockApplicationsEnabled": {
"deprecated": true,
"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"
},
Expand Down Expand Up @@ -4364,6 +4416,7 @@
"type": "string"
},
"cameraDisabled": {
"deprecated": true,
"description": "If camera_access is set to any value other than CAMERA_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether cameras are disabled: If true, all cameras are disabled, otherwise they are available. For fully managed devices this field applies for all apps on the device. For work profiles, this field applies only to apps in the work profile, and the camera access of apps outside the work profile is unaffected.",
"type": "boolean"
},
Expand All @@ -4379,6 +4432,7 @@
"type": "array"
},
"complianceRules": {
"deprecated": true,
"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. Use policy enforcement rules instead.",
"items": {
"$ref": "ComplianceRule"
Expand All @@ -4402,6 +4456,7 @@
"type": "boolean"
},
"debuggingFeaturesAllowed": {
"deprecated": true,
"description": "Whether the user is allowed to enable debugging features.",
"type": "boolean"
},
Expand Down Expand Up @@ -4448,6 +4503,7 @@
"type": "string"
},
"ensureVerifyAppsEnabled": {
"deprecated": true,
"description": "Whether app verification is force-enabled.",
"type": "boolean"
},
Expand All @@ -4471,6 +4527,7 @@
"type": "boolean"
},
"installUnknownSourcesAllowed": {
"deprecated": true,
"description": "This field has no effect.",
"type": "boolean"
},
Expand Down Expand Up @@ -4531,6 +4588,16 @@
"LOCATION_ENFORCED",
"LOCATION_DISABLED"
],
"enumDeprecated": [
false,
true,
true,
true,
true,
false,
false,
false
],
"enumDescriptions": [
"Defaults to LOCATION_USER_CHOICE.",
"On Android 8 and below, all location detection methods are enabled, including GPS, networks, and other sensors. On Android 9 and above, this is equivalent to LOCATION_ENFORCED.",
Expand Down Expand Up @@ -4629,6 +4696,7 @@
},
"passwordRequirements": {
"$ref": "PasswordRequirements",
"deprecated": true,
"description": "Password requirements. The field password_requirements.require_password_unlock must not be set. DEPRECATED - Use passwordPolicies.Note:Complexity-based values of PasswordQuality, that is, COMPLEXITY_LOW, COMPLEXITY_MEDIUM, and COMPLEXITY_HIGH, cannot be used here. unified_lock_settings cannot be used here."
},
"permissionGrants": {
Expand Down Expand Up @@ -4705,6 +4773,7 @@
"type": "boolean"
},
"safeBootDisabled": {
"deprecated": true,
"description": "Whether rebooting the device into safe boot is disabled.",
"type": "boolean"
},
Expand Down Expand Up @@ -4744,6 +4813,7 @@
"type": "boolean"
},
"statusBarDisabled": {
"deprecated": true,
"description": "Whether the status bar is disabled. This disables notifications, quick settings, and other screen overlays that allow escape from full-screen mode. DEPRECATED. To disable the status bar on a kiosk device, use InstallType KIOSK or kioskCustomLauncherEnabled.",
"type": "boolean"
},
Expand Down Expand Up @@ -4775,6 +4845,7 @@
"description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well."
},
"tetheringConfigDisabled": {
"deprecated": true,
"description": "Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored.",
"type": "boolean"
},
Expand All @@ -4783,6 +4854,7 @@
"type": "boolean"
},
"unmuteMicrophoneDisabled": {
"deprecated": true,
"description": "If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether microphones are disabled: If true, all microphones are disabled, otherwise they are available. This is available only on fully managed devices.",
"type": "boolean"
},
Expand All @@ -4791,10 +4863,12 @@
"description": "Configuration of device activity logging."
},
"usbFileTransferDisabled": {
"deprecated": true,
"description": "Whether transferring files over USB is disabled. This is supported only on company-owned devices.",
"type": "boolean"
},
"usbMassStorageEnabled": {
"deprecated": true,
"description": "Whether USB storage is enabled. Deprecated.",
"type": "boolean"
},
Expand All @@ -4808,10 +4882,12 @@
"type": "boolean"
},
"wifiConfigDisabled": {
"deprecated": true,
"description": "Whether configuring Wi-Fi networks is disabled. Supported on fully managed devices and work profiles on company-owned devices. For fully managed devices, setting this to true removes all configured networks and retains only the networks configured using openNetworkConfiguration. For work profiles on company-owned devices, existing configured networks are not affected and the user is not allowed to add, remove, or modify Wi-Fi networks. If configureWifi is set to anything other than CONFIGURE_WIFI_UNSPECIFIED, this setting is ignored. Note: If a network connection can't be made at boot time and configuring Wi-Fi is disabled then network escape hatch will be shown in order to refresh the device policy (see networkEscapeHatchEnabled).",
"type": "boolean"
},
"wifiConfigsLockdownEnabled": {
"deprecated": true,
"description": "DEPRECATED - Use wifi_config_disabled.",
"type": "boolean"
}
Expand Down Expand Up @@ -4908,6 +4984,66 @@
},
"type": "object"
},
"ProvisioningInfo": {
"description": "Information about a device that is available during setup.",
"id": "ProvisioningInfo",
"properties": {
"apiLevel": {
"description": "The API level of the Android platform version running on the device.",
"format": "int32",
"type": "integer"
},
"authenticatedUserEmail": {
"description": "The email address of the authenticated user (only present for Google Account provisioning method).",
"type": "string"
},
"brand": {
"description": "Brand of the device. For example, Google.",
"type": "string"
},
"enterprise": {
"description": "The name of the enterprise in the form enterprises/{enterprise}.",
"type": "string"
},
"managementMode": {
"description": "The management mode of the device or profile.",
"enum": [
"MANAGEMENT_MODE_UNSPECIFIED",
"DEVICE_OWNER",
"PROFILE_OWNER"
],
"enumDescriptions": [
"This value is disallowed.",
"Device owner. Android Device Policy has full control over the device.",
"Profile owner. Android Device Policy has control over a managed profile on the device."
],
"type": "string"
},
"model": {
"description": "The model of the device. For example, Asus Nexus 7.",
"type": "string"
},
"name": {
"description": "The name of this resource in the form provisioningInfo/{provisioning_info}.",
"type": "string"
},
"ownership": {
"description": "Ownership of the managed device.",
"enum": [
"OWNERSHIP_UNSPECIFIED",
"COMPANY_OWNED",
"PERSONALLY_OWNED"
],
"enumDescriptions": [
"Ownership is unspecified.",
"Device is company-owned.",
"Device is personally-owned."
],
"type": "string"
}
},
"type": "object"
},
"ProxyInfo": {
"description": "Configuration info for an HTTP proxy. For a direct proxy, set the host, port, and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.",
"id": "ProxyInfo",
Expand Down Expand Up @@ -5654,6 +5790,7 @@
"type": "string"
},
"permissions": {
"deprecated": true,
"description": "Permissions available to an admin in the embedded UI. An admin must have all of these permissions in order to view the UI. This field is deprecated.",
"items": {
"enum": [
Expand Down
Loading

0 comments on commit 524f72b

Please sign in to comment.