Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2556)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Apr 30, 2024
1 parent a5d7734 commit fb153c0
Show file tree
Hide file tree
Showing 14 changed files with 909 additions and 80 deletions.
57 changes: 48 additions & 9 deletions androidmanagement/v1/androidmanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@
}
}
},
"revision": "20240416",
"revision": "20240425",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -2736,6 +2736,10 @@
"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."
],
"type": "string"
},
"wifiSsidPolicy": {
"$ref": "WifiSsidPolicy",
"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."
}
},
"type": "object"
Expand Down Expand Up @@ -5292,7 +5296,7 @@
},
"systemUpdate": {
"$ref": "SystemUpdate",
"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."
"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."
},
"tetheringConfigDisabled": {
"deprecated": true,
Expand Down Expand Up @@ -5898,7 +5902,7 @@
"type": "object"
},
"SystemUpdate": {
"description": "Configuration for managing system updates",
"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.",
"id": "SystemUpdate",
"properties": {
"endMinutes": {
Expand Down Expand Up @@ -6126,9 +6130,7 @@
"STOP_LOST_MODE_USER_ATTEMPT",
"LOST_MODE_OUTGOING_PHONE_CALL",
"LOST_MODE_LOCATION",
"ENROLLMENT_COMPLETE",
"MAX_DEVICES_REGISTRATION_QUOTA_WARNING",
"MAX_DEVICES_REGISTRATION_QUOTA_EXHAUSTED"
"ENROLLMENT_COMPLETE"
],
"enumDescriptions": [
"This value is not used",
Expand Down Expand Up @@ -6162,9 +6164,7 @@
"Indicates stopLostModeUserAttemptEvent has been set.",
"Indicates lostModeOutgoingPhoneCallEvent has been set.",
"Indicates lostModeLocationEvent has been set.",
"Indicates enrollment_complete_event has been set.",
"Indicates max_devices_registration_quota_warning_event has been set.",
"Indicates max_devices_registration_quota_exhausted_event has been set."
"Indicates enrollment_complete_event has been set."
],
"type": "string"
},
Expand Down Expand Up @@ -6402,6 +6402,45 @@
},
"type": "object"
},
"WifiSsid": {
"description": "Represents a Wi-Fi SSID.",
"id": "WifiSsid",
"properties": {
"wifiSsid": {
"description": "Required. Wi-Fi SSID represented as a string.",
"type": "string"
}
},
"type": "object"
},
"WifiSsidPolicy": {
"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.",
"id": "WifiSsidPolicy",
"properties": {
"wifiSsidPolicyType": {
"description": "Type of the Wi-Fi SSID policy to be applied.",
"enum": [
"WIFI_SSID_POLICY_TYPE_UNSPECIFIED",
"WIFI_SSID_DENYLIST",
"WIFI_SSID_ALLOWLIST"
],
"enumDescriptions": [
"Defaults to WIFI_SSID_DENYLIST. wifiSsids must not be set. There are no restrictions on which SSID the device can connect to.",
"The device cannot connect to any Wi-Fi network whose SSID is in wifiSsids, but can connect to other networks.",
"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."
],
"type": "string"
},
"wifiSsids": {
"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.",
"items": {
"$ref": "WifiSsid"
},
"type": "array"
}
},
"type": "object"
},
"WipeAction": {
"description": "An action to reset a company owned device or delete a work profile. Note: blockAction must also be specified.",
"id": "WipeAction",
Expand Down
86 changes: 80 additions & 6 deletions androidmanagement/v1/androidmanagement-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fb153c0

Please sign in to comment.