Skip to content

Commit fb153c0

Browse files
feat(all): auto-regenerate discovery clients (#2556)
1 parent a5d7734 commit fb153c0

File tree

14 files changed

+909
-80
lines changed

14 files changed

+909
-80
lines changed

androidmanagement/v1/androidmanagement-api.json

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@
11631163
}
11641164
}
11651165
},
1166-
"revision": "20240416",
1166+
"revision": "20240425",
11671167
"rootUrl": "https://androidmanagement.googleapis.com/",
11681168
"schemas": {
11691169
"AdbShellCommandEvent": {
@@ -2736,6 +2736,10 @@
27362736
"The user is not allowed to use Wi-Fi direct. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13."
27372737
],
27382738
"type": "string"
2739+
},
2740+
"wifiSsidPolicy": {
2741+
"$ref": "WifiSsidPolicy",
2742+
"description": "Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this does not affect which networks can be configured on the device. Supported on company-owned devices running Android 13 and above."
27392743
}
27402744
},
27412745
"type": "object"
@@ -5292,7 +5296,7 @@
52925296
},
52935297
"systemUpdate": {
52945298
"$ref": "SystemUpdate",
5295-
"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."
5299+
"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.Note: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded and require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details."
52965300
},
52975301
"tetheringConfigDisabled": {
52985302
"deprecated": true,
@@ -5898,7 +5902,7 @@
58985902
"type": "object"
58995903
},
59005904
"SystemUpdate": {
5901-
"description": "Configuration for managing system updates",
5905+
"description": "Configuration for managing system updatesNote: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded but require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details.",
59025906
"id": "SystemUpdate",
59035907
"properties": {
59045908
"endMinutes": {
@@ -6126,9 +6130,7 @@
61266130
"STOP_LOST_MODE_USER_ATTEMPT",
61276131
"LOST_MODE_OUTGOING_PHONE_CALL",
61286132
"LOST_MODE_LOCATION",
6129-
"ENROLLMENT_COMPLETE",
6130-
"MAX_DEVICES_REGISTRATION_QUOTA_WARNING",
6131-
"MAX_DEVICES_REGISTRATION_QUOTA_EXHAUSTED"
6133+
"ENROLLMENT_COMPLETE"
61326134
],
61336135
"enumDescriptions": [
61346136
"This value is not used",
@@ -6162,9 +6164,7 @@
61626164
"Indicates stopLostModeUserAttemptEvent has been set.",
61636165
"Indicates lostModeOutgoingPhoneCallEvent has been set.",
61646166
"Indicates lostModeLocationEvent has been set.",
6165-
"Indicates enrollment_complete_event has been set.",
6166-
"Indicates max_devices_registration_quota_warning_event has been set.",
6167-
"Indicates max_devices_registration_quota_exhausted_event has been set."
6167+
"Indicates enrollment_complete_event has been set."
61686168
],
61696169
"type": "string"
61706170
},
@@ -6402,6 +6402,45 @@
64026402
},
64036403
"type": "object"
64046404
},
6405+
"WifiSsid": {
6406+
"description": "Represents a Wi-Fi SSID.",
6407+
"id": "WifiSsid",
6408+
"properties": {
6409+
"wifiSsid": {
6410+
"description": "Required. Wi-Fi SSID represented as a string.",
6411+
"type": "string"
6412+
}
6413+
},
6414+
"type": "object"
6415+
},
6416+
"WifiSsidPolicy": {
6417+
"description": "Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this does not affect which networks can be configured on the device. Supported on company-owned devices running Android 13 and above.",
6418+
"id": "WifiSsidPolicy",
6419+
"properties": {
6420+
"wifiSsidPolicyType": {
6421+
"description": "Type of the Wi-Fi SSID policy to be applied.",
6422+
"enum": [
6423+
"WIFI_SSID_POLICY_TYPE_UNSPECIFIED",
6424+
"WIFI_SSID_DENYLIST",
6425+
"WIFI_SSID_ALLOWLIST"
6426+
],
6427+
"enumDescriptions": [
6428+
"Defaults to WIFI_SSID_DENYLIST. wifiSsids must not be set. There are no restrictions on which SSID the device can connect to.",
6429+
"The device cannot connect to any Wi-Fi network whose SSID is in wifiSsids, but can connect to other networks.",
6430+
"The device can make Wi-Fi connections only to the SSIDs in wifiSsids. wifiSsids must not be empty. The device will not be able to connect to any other Wi-Fi network."
6431+
],
6432+
"type": "string"
6433+
},
6434+
"wifiSsids": {
6435+
"description": "Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If this is set to a non-empty list, then a nonComplianceDetail detail with API_LEVEL is reported if the Android version is less than 13 and a nonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned devices.",
6436+
"items": {
6437+
"$ref": "WifiSsid"
6438+
},
6439+
"type": "array"
6440+
}
6441+
},
6442+
"type": "object"
6443+
},
64056444
"WipeAction": {
64066445
"description": "An action to reset a company owned device or delete a work profile. Note: blockAction must also be specified.",
64076446
"id": "WipeAction",

androidmanagement/v1/androidmanagement-gen.go

Lines changed: 80 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)