Skip to content

Commit 524f72b

Browse files
feat(all): auto-regenerate discovery clients (#2063)
1 parent 16b834e commit 524f72b

37 files changed

+1299
-109
lines changed

androidmanagement/v1/androidmanagement-api.json

Lines changed: 138 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,35 @@
10351035
}
10361036
}
10371037
},
1038+
"provisioningInfo": {
1039+
"methods": {
1040+
"get": {
1041+
"description": "Get the device provisioning info by the identifier provided via the sign-in url.",
1042+
"flatPath": "v1/provisioningInfo/{provisioningInfoId}",
1043+
"httpMethod": "GET",
1044+
"id": "androidmanagement.provisioningInfo.get",
1045+
"parameterOrder": [
1046+
"name"
1047+
],
1048+
"parameters": {
1049+
"name": {
1050+
"description": "Required. The identifier that Android Device Policy passes to the 3P sign-in page in the form of provisioningInfo/{provisioning_info}.",
1051+
"location": "path",
1052+
"pattern": "^provisioningInfo/[^/]+$",
1053+
"required": true,
1054+
"type": "string"
1055+
}
1056+
},
1057+
"path": "v1/{+name}",
1058+
"response": {
1059+
"$ref": "ProvisioningInfo"
1060+
},
1061+
"scopes": [
1062+
"https://www.googleapis.com/auth/androidmanagement"
1063+
]
1064+
}
1065+
}
1066+
},
10381067
"signupUrls": {
10391068
"methods": {
10401069
"create": {
@@ -1066,7 +1095,7 @@
10661095
}
10671096
}
10681097
},
1069-
"revision": "20230628",
1098+
"revision": "20230705",
10701099
"rootUrl": "https://androidmanagement.googleapis.com/",
10711100
"schemas": {
10721101
"AdbShellCommandEvent": {
@@ -1174,6 +1203,7 @@
11741203
"type": "object"
11751204
},
11761205
"ApiLevelCondition": {
1206+
"deprecated": true,
11771207
"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.",
11781208
"id": "ApiLevelCondition",
11791209
"properties": {
@@ -1634,6 +1664,7 @@
16341664
"type": "string"
16351665
},
16361666
"lockTaskAllowed": {
1667+
"deprecated": true,
16371668
"description": "Whether the app is allowed to lock itself in full-screen mode. DEPRECATED. Use InstallType KIOSK or kioskCustomLauncherEnabled to configure a dedicated device.",
16381669
"type": "boolean"
16391670
},
@@ -2059,6 +2090,7 @@
20592090
"type": "object"
20602091
},
20612092
"ComplianceRule": {
2093+
"deprecated": true,
20622094
"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.",
20632095
"id": "ComplianceRule",
20642096
"properties": {
@@ -2353,6 +2385,7 @@
23532385
"type": "array"
23542386
},
23552387
"lastPolicyComplianceReportTime": {
2388+
"deprecated": true,
23562389
"description": "Deprecated.",
23572390
"format": "google-datetime",
23582391
"type": "string"
@@ -2783,6 +2816,7 @@
27832816
"id": "Enterprise",
27842817
"properties": {
27852818
"appAutoApprovalEnabled": {
2819+
"deprecated": true,
27862820
"description": "Deprecated and unused.",
27872821
"type": "boolean"
27882822
},
@@ -2801,6 +2835,14 @@
28012835
"COMMAND",
28022836
"USAGE_LOGS"
28032837
],
2838+
"enumDeprecated": [
2839+
false,
2840+
false,
2841+
true,
2842+
false,
2843+
false,
2844+
false
2845+
],
28042846
"enumDescriptions": [
28052847
"This value is ignored.",
28062848
"A notification sent when a device enrolls.",
@@ -3644,6 +3686,7 @@
36443686
"type": "string"
36453687
},
36463688
"networkOperatorName": {
3689+
"deprecated": true,
36473690
"description": "Alphabetic name of current registered operator. For example, Vodafone.",
36483691
"type": "string"
36493692
},
@@ -3773,6 +3816,7 @@
37733816
"type": "object"
37743817
},
37753818
"NonComplianceDetailCondition": {
3819+
"deprecated": true,
37763820
"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.",
37773821
"id": "NonComplianceDetailCondition",
37783822
"properties": {
@@ -4229,6 +4273,12 @@
42294273
"BLOCKLIST",
42304274
"ALLOWLIST"
42314275
],
4276+
"enumDeprecated": [
4277+
false,
4278+
true,
4279+
false,
4280+
false
4281+
],
42324282
"enumDescriptions": [
42334283
"Unspecified. Defaults to BLOCKLIST.",
42344284
"All Play Store apps are available for installation in the personal profile, except those whose installType is BLOCKED in personalApplications.",
@@ -4328,10 +4378,12 @@
43284378
"type": "string"
43294379
},
43304380
"autoTimeRequired": {
4381+
"deprecated": true,
43314382
"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.",
43324383
"type": "boolean"
43334384
},
43344385
"blockApplicationsEnabled": {
4386+
"deprecated": true,
43354387
"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.",
43364388
"type": "boolean"
43374389
},
@@ -4364,6 +4416,7 @@
43644416
"type": "string"
43654417
},
43664418
"cameraDisabled": {
4419+
"deprecated": true,
43674420
"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.",
43684421
"type": "boolean"
43694422
},
@@ -4379,6 +4432,7 @@
43794432
"type": "array"
43804433
},
43814434
"complianceRules": {
4435+
"deprecated": true,
43824436
"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.",
43834437
"items": {
43844438
"$ref": "ComplianceRule"
@@ -4402,6 +4456,7 @@
44024456
"type": "boolean"
44034457
},
44044458
"debuggingFeaturesAllowed": {
4459+
"deprecated": true,
44054460
"description": "Whether the user is allowed to enable debugging features.",
44064461
"type": "boolean"
44074462
},
@@ -4448,6 +4503,7 @@
44484503
"type": "string"
44494504
},
44504505
"ensureVerifyAppsEnabled": {
4506+
"deprecated": true,
44514507
"description": "Whether app verification is force-enabled.",
44524508
"type": "boolean"
44534509
},
@@ -4471,6 +4527,7 @@
44714527
"type": "boolean"
44724528
},
44734529
"installUnknownSourcesAllowed": {
4530+
"deprecated": true,
44744531
"description": "This field has no effect.",
44754532
"type": "boolean"
44764533
},
@@ -4531,6 +4588,16 @@
45314588
"LOCATION_ENFORCED",
45324589
"LOCATION_DISABLED"
45334590
],
4591+
"enumDeprecated": [
4592+
false,
4593+
true,
4594+
true,
4595+
true,
4596+
true,
4597+
false,
4598+
false,
4599+
false
4600+
],
45344601
"enumDescriptions": [
45354602
"Defaults to LOCATION_USER_CHOICE.",
45364603
"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.",
@@ -4629,6 +4696,7 @@
46294696
},
46304697
"passwordRequirements": {
46314698
"$ref": "PasswordRequirements",
4699+
"deprecated": true,
46324700
"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."
46334701
},
46344702
"permissionGrants": {
@@ -4705,6 +4773,7 @@
47054773
"type": "boolean"
47064774
},
47074775
"safeBootDisabled": {
4776+
"deprecated": true,
47084777
"description": "Whether rebooting the device into safe boot is disabled.",
47094778
"type": "boolean"
47104779
},
@@ -4744,6 +4813,7 @@
47444813
"type": "boolean"
47454814
},
47464815
"statusBarDisabled": {
4816+
"deprecated": true,
47474817
"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.",
47484818
"type": "boolean"
47494819
},
@@ -4775,6 +4845,7 @@
47754845
"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."
47764846
},
47774847
"tetheringConfigDisabled": {
4848+
"deprecated": true,
47784849
"description": "Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored.",
47794850
"type": "boolean"
47804851
},
@@ -4783,6 +4854,7 @@
47834854
"type": "boolean"
47844855
},
47854856
"unmuteMicrophoneDisabled": {
4857+
"deprecated": true,
47864858
"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.",
47874859
"type": "boolean"
47884860
},
@@ -4791,10 +4863,12 @@
47914863
"description": "Configuration of device activity logging."
47924864
},
47934865
"usbFileTransferDisabled": {
4866+
"deprecated": true,
47944867
"description": "Whether transferring files over USB is disabled. This is supported only on company-owned devices.",
47954868
"type": "boolean"
47964869
},
47974870
"usbMassStorageEnabled": {
4871+
"deprecated": true,
47984872
"description": "Whether USB storage is enabled. Deprecated.",
47994873
"type": "boolean"
48004874
},
@@ -4808,10 +4882,12 @@
48084882
"type": "boolean"
48094883
},
48104884
"wifiConfigDisabled": {
4885+
"deprecated": true,
48114886
"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).",
48124887
"type": "boolean"
48134888
},
48144889
"wifiConfigsLockdownEnabled": {
4890+
"deprecated": true,
48154891
"description": "DEPRECATED - Use wifi_config_disabled.",
48164892
"type": "boolean"
48174893
}
@@ -4908,6 +4984,66 @@
49084984
},
49094985
"type": "object"
49104986
},
4987+
"ProvisioningInfo": {
4988+
"description": "Information about a device that is available during setup.",
4989+
"id": "ProvisioningInfo",
4990+
"properties": {
4991+
"apiLevel": {
4992+
"description": "The API level of the Android platform version running on the device.",
4993+
"format": "int32",
4994+
"type": "integer"
4995+
},
4996+
"authenticatedUserEmail": {
4997+
"description": "The email address of the authenticated user (only present for Google Account provisioning method).",
4998+
"type": "string"
4999+
},
5000+
"brand": {
5001+
"description": "Brand of the device. For example, Google.",
5002+
"type": "string"
5003+
},
5004+
"enterprise": {
5005+
"description": "The name of the enterprise in the form enterprises/{enterprise}.",
5006+
"type": "string"
5007+
},
5008+
"managementMode": {
5009+
"description": "The management mode of the device or profile.",
5010+
"enum": [
5011+
"MANAGEMENT_MODE_UNSPECIFIED",
5012+
"DEVICE_OWNER",
5013+
"PROFILE_OWNER"
5014+
],
5015+
"enumDescriptions": [
5016+
"This value is disallowed.",
5017+
"Device owner. Android Device Policy has full control over the device.",
5018+
"Profile owner. Android Device Policy has control over a managed profile on the device."
5019+
],
5020+
"type": "string"
5021+
},
5022+
"model": {
5023+
"description": "The model of the device. For example, Asus Nexus 7.",
5024+
"type": "string"
5025+
},
5026+
"name": {
5027+
"description": "The name of this resource in the form provisioningInfo/{provisioning_info}.",
5028+
"type": "string"
5029+
},
5030+
"ownership": {
5031+
"description": "Ownership of the managed device.",
5032+
"enum": [
5033+
"OWNERSHIP_UNSPECIFIED",
5034+
"COMPANY_OWNED",
5035+
"PERSONALLY_OWNED"
5036+
],
5037+
"enumDescriptions": [
5038+
"Ownership is unspecified.",
5039+
"Device is company-owned.",
5040+
"Device is personally-owned."
5041+
],
5042+
"type": "string"
5043+
}
5044+
},
5045+
"type": "object"
5046+
},
49115047
"ProxyInfo": {
49125048
"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.",
49135049
"id": "ProxyInfo",
@@ -5654,6 +5790,7 @@
56545790
"type": "string"
56555791
},
56565792
"permissions": {
5793+
"deprecated": true,
56575794
"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.",
56585795
"items": {
56595796
"enum": [

0 commit comments

Comments
 (0)