Skip to content

Commit fcffb8f

Browse files
yoshi-automationsofisl
authored andcommitted
feat(androidmanagement): update the API
#### 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
1 parent dc9cac0 commit fcffb8f

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

discovery/androidmanagement-v1.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@
11681168
}
11691169
}
11701170
},
1171-
"revision": "20240821",
1171+
"revision": "20240902",
11721172
"rootUrl": "https://androidmanagement.googleapis.com/",
11731173
"schemas": {
11741174
"AdbShellCommandEvent": {
@@ -4853,6 +4853,20 @@
48534853
},
48544854
"type": "array"
48554855
},
4856+
"assistContentPolicy": {
4857+
"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.",
4858+
"enum": [
4859+
"ASSIST_CONTENT_POLICY_UNSPECIFIED",
4860+
"ASSIST_CONTENT_DISALLOWED",
4861+
"ASSIST_CONTENT_ALLOWED"
4862+
],
4863+
"enumDescriptions": [
4864+
"Unspecified. Defaults to ASSIST_CONTENT_ALLOWED.",
4865+
"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.",
4866+
"Assist content is allowed to be sent to a privileged app.Supported on Android 15 and above."
4867+
],
4868+
"type": "string"
4869+
},
48564870
"autoDateAndTimeZone": {
48574871
"description": "Whether auto date, time, and time zone are enabled on a company-owned device. If this is set, then autoTimeRequired is ignored.",
48584872
"enum": [
@@ -5412,7 +5426,7 @@
54125426
},
54135427
"wifiConfigsLockdownEnabled": {
54145428
"deprecated": true,
5415-
"description": "DEPRECATED - Use wifi_config_disabled.",
5429+
"description": "This is deprecated.",
54165430
"type": "boolean"
54175431
}
54185432
},

src/apis/androidmanagement/v1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2238,6 +2238,10 @@ export namespace androidmanagement_v1 {
22382238
* Policy applied to apps. This can have at most 3,000 elements.
22392239
*/
22402240
applications?: Schema$ApplicationPolicy[];
2241+
/**
2242+
* 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.
2243+
*/
2244+
assistContentPolicy?: string | null;
22412245
/**
22422246
* Whether auto date, time, and time zone are enabled on a company-owned device. If this is set, then autoTimeRequired is ignored.
22432247
*/
@@ -2575,7 +2579,7 @@ export namespace androidmanagement_v1 {
25752579
*/
25762580
wifiConfigDisabled?: boolean | null;
25772581
/**
2578-
* DEPRECATED - Use wifi_config_disabled.
2582+
* This is deprecated.
25792583
*/
25802584
wifiConfigsLockdownEnabled?: boolean | null;
25812585
}

0 commit comments

Comments
 (0)