Skip to content

Commit

Permalink
feat(androidmanagement): update the API
Browse files Browse the repository at this point in the history
#### androidmanagement:v1

The following keys were added:
- schemas.Policy.properties.assistContentPolicy.description
- schemas.Policy.properties.assistContentPolicy.enum
- schemas.Policy.properties.assistContentPolicy.enumDescriptions
- schemas.Policy.properties.assistContentPolicy.type

The following keys were changed:
- schemas.Policy.properties.wifiConfigsLockdownEnabled.description
  • Loading branch information
yoshi-automation authored and sofisl committed Sep 4, 2024
1 parent dc9cac0 commit fcffb8f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
18 changes: 16 additions & 2 deletions discovery/androidmanagement-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@
}
}
},
"revision": "20240821",
"revision": "20240902",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -4853,6 +4853,20 @@
},
"type": "array"
},
"assistContentPolicy": {
"description": "Optional. Controls whether AssistContent (https://developer.android.com/reference/android/app/assist/AssistContent) is allowed to be sent to a privileged app such as an assistant app. AssistContent includes screenshots and information about an app, such as package name. This is supported on Android 15 and above.",
"enum": [
"ASSIST_CONTENT_POLICY_UNSPECIFIED",
"ASSIST_CONTENT_DISALLOWED",
"ASSIST_CONTENT_ALLOWED"
],
"enumDescriptions": [
"Unspecified. Defaults to ASSIST_CONTENT_ALLOWED.",
"Assist content is blocked from being sent to a privileged app.Supported on Android 15 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 15.",
"Assist content is allowed to be sent to a privileged app.Supported on Android 15 and above."
],
"type": "string"
},
"autoDateAndTimeZone": {
"description": "Whether auto date, time, and time zone are enabled on a company-owned device. If this is set, then autoTimeRequired is ignored.",
"enum": [
Expand Down Expand Up @@ -5412,7 +5426,7 @@
},
"wifiConfigsLockdownEnabled": {
"deprecated": true,
"description": "DEPRECATED - Use wifi_config_disabled.",
"description": "This is deprecated.",
"type": "boolean"
}
},
Expand Down
6 changes: 5 additions & 1 deletion src/apis/androidmanagement/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2238,6 +2238,10 @@ export namespace androidmanagement_v1 {
* Policy applied to apps. This can have at most 3,000 elements.
*/
applications?: Schema$ApplicationPolicy[];
/**
* Optional. Controls whether AssistContent (https://developer.android.com/reference/android/app/assist/AssistContent) is allowed to be sent to a privileged app such as an assistant app. AssistContent includes screenshots and information about an app, such as package name. This is supported on Android 15 and above.
*/
assistContentPolicy?: string | null;
/**
* Whether auto date, time, and time zone are enabled on a company-owned device. If this is set, then autoTimeRequired is ignored.
*/
Expand Down Expand Up @@ -2575,7 +2579,7 @@ export namespace androidmanagement_v1 {
*/
wifiConfigDisabled?: boolean | null;
/**
* DEPRECATED - Use wifi_config_disabled.
* This is deprecated.
*/
wifiConfigsLockdownEnabled?: boolean | null;
}
Expand Down

0 comments on commit fcffb8f

Please sign in to comment.