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.AdvancedSecurityOverrides.properties.personalAppsThatCanReadWorkNotifications (Total Keys: 2)
- schemas.CrossProfilePolicies (Total Keys: 5)
- schemas.Policy.properties.crossProfilePolicies.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Aug 31, 2021
1 parent f2972d0 commit d253dad
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 1 deletion.
32 changes: 32 additions & 0 deletions docs/dyn/androidmanagement_v1.enterprises.policies.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ <h3>Method Details</h3>
&quot;commonCriteriaMode&quot;: &quot;A String&quot;, # Controls Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC). Enabling Common Criteria Mode increases certain security components on a device, including AES-GCM encryption of Bluetooth Long Term Keys, and Wi-Fi configuration stores.Warning: Common Criteria Mode enforces a strict security model typically only required for IT products used in national security systems and other highly sensitive organizations. Standard device use may be affected. Only enabled if required.
&quot;developerSettings&quot;: &quot;A String&quot;, # Controls access to developer settings: developer options and safe boot. Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed (deprecated).
&quot;googlePlayProtectVerifyApps&quot;: &quot;A String&quot;, # Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced. Replaces ensureVerifyAppsEnabled (deprecated).
&quot;personalAppsThatCanReadWorkNotifications&quot;: [ # Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/service/notification/NotificationListenerService). By default, no personal apps (aside from system apps) can read work notifications. Each value in the list must be a package name.
&quot;A String&quot;,
],
&quot;untrustedAppsPolicy&quot;: &quot;A String&quot;, # The policy for untrusted apps (apps from unknown sources) enforced on the device. Replaces install_unknown_sources_allowed (deprecated).
},
&quot;alwaysOnVpnPackage&quot;: { # Configuration for an always-on VPN connection. # Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting.
Expand Down Expand Up @@ -218,6 +221,11 @@ <h3>Method Details</h3>
],
&quot;createWindowsDisabled&quot;: True or False, # Whether creating windows besides app windows is disabled.
&quot;credentialsConfigDisabled&quot;: True or False, # Whether configuring user credentials is disabled.
&quot;crossProfilePolicies&quot;: { # Cross-profile policies applied on the device. # Cross-profile policies applied on the device.
&quot;crossProfileCopyPaste&quot;: &quot;A String&quot;, # Whether text copied from one profile (personal or work) can be pasted in the other profile.
&quot;crossProfileDataSharing&quot;: &quot;A String&quot;, # Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work &amp; personal apps, are configured separately.
&quot;showWorkContactsInPersonalProfile&quot;: &quot;A String&quot;, # Whether contacts stored in the work profile can be shown in personal profile contact searches and incoming calls.
},
&quot;dataRoamingDisabled&quot;: True or False, # Whether roaming data services are disabled.
&quot;debuggingFeaturesAllowed&quot;: True or False, # Whether the user is allowed to enable debugging features.
&quot;defaultPermissionPolicy&quot;: &quot;A String&quot;, # The default permission policy for runtime permission requests.
Expand Down Expand Up @@ -491,6 +499,9 @@ <h3>Method Details</h3>
&quot;commonCriteriaMode&quot;: &quot;A String&quot;, # Controls Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC). Enabling Common Criteria Mode increases certain security components on a device, including AES-GCM encryption of Bluetooth Long Term Keys, and Wi-Fi configuration stores.Warning: Common Criteria Mode enforces a strict security model typically only required for IT products used in national security systems and other highly sensitive organizations. Standard device use may be affected. Only enabled if required.
&quot;developerSettings&quot;: &quot;A String&quot;, # Controls access to developer settings: developer options and safe boot. Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed (deprecated).
&quot;googlePlayProtectVerifyApps&quot;: &quot;A String&quot;, # Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced. Replaces ensureVerifyAppsEnabled (deprecated).
&quot;personalAppsThatCanReadWorkNotifications&quot;: [ # Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/service/notification/NotificationListenerService). By default, no personal apps (aside from system apps) can read work notifications. Each value in the list must be a package name.
&quot;A String&quot;,
],
&quot;untrustedAppsPolicy&quot;: &quot;A String&quot;, # The policy for untrusted apps (apps from unknown sources) enforced on the device. Replaces install_unknown_sources_allowed (deprecated).
},
&quot;alwaysOnVpnPackage&quot;: { # Configuration for an always-on VPN connection. # Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting.
Expand Down Expand Up @@ -569,6 +580,11 @@ <h3>Method Details</h3>
],
&quot;createWindowsDisabled&quot;: True or False, # Whether creating windows besides app windows is disabled.
&quot;credentialsConfigDisabled&quot;: True or False, # Whether configuring user credentials is disabled.
&quot;crossProfilePolicies&quot;: { # Cross-profile policies applied on the device. # Cross-profile policies applied on the device.
&quot;crossProfileCopyPaste&quot;: &quot;A String&quot;, # Whether text copied from one profile (personal or work) can be pasted in the other profile.
&quot;crossProfileDataSharing&quot;: &quot;A String&quot;, # Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work &amp; personal apps, are configured separately.
&quot;showWorkContactsInPersonalProfile&quot;: &quot;A String&quot;, # Whether contacts stored in the work profile can be shown in personal profile contact searches and incoming calls.
},
&quot;dataRoamingDisabled&quot;: True or False, # Whether roaming data services are disabled.
&quot;debuggingFeaturesAllowed&quot;: True or False, # Whether the user is allowed to enable debugging features.
&quot;defaultPermissionPolicy&quot;: &quot;A String&quot;, # The default permission policy for runtime permission requests.
Expand Down Expand Up @@ -848,6 +864,9 @@ <h3>Method Details</h3>
&quot;commonCriteriaMode&quot;: &quot;A String&quot;, # Controls Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC). Enabling Common Criteria Mode increases certain security components on a device, including AES-GCM encryption of Bluetooth Long Term Keys, and Wi-Fi configuration stores.Warning: Common Criteria Mode enforces a strict security model typically only required for IT products used in national security systems and other highly sensitive organizations. Standard device use may be affected. Only enabled if required.
&quot;developerSettings&quot;: &quot;A String&quot;, # Controls access to developer settings: developer options and safe boot. Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed (deprecated).
&quot;googlePlayProtectVerifyApps&quot;: &quot;A String&quot;, # Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced. Replaces ensureVerifyAppsEnabled (deprecated).
&quot;personalAppsThatCanReadWorkNotifications&quot;: [ # Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/service/notification/NotificationListenerService). By default, no personal apps (aside from system apps) can read work notifications. Each value in the list must be a package name.
&quot;A String&quot;,
],
&quot;untrustedAppsPolicy&quot;: &quot;A String&quot;, # The policy for untrusted apps (apps from unknown sources) enforced on the device. Replaces install_unknown_sources_allowed (deprecated).
},
&quot;alwaysOnVpnPackage&quot;: { # Configuration for an always-on VPN connection. # Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting.
Expand Down Expand Up @@ -926,6 +945,11 @@ <h3>Method Details</h3>
],
&quot;createWindowsDisabled&quot;: True or False, # Whether creating windows besides app windows is disabled.
&quot;credentialsConfigDisabled&quot;: True or False, # Whether configuring user credentials is disabled.
&quot;crossProfilePolicies&quot;: { # Cross-profile policies applied on the device. # Cross-profile policies applied on the device.
&quot;crossProfileCopyPaste&quot;: &quot;A String&quot;, # Whether text copied from one profile (personal or work) can be pasted in the other profile.
&quot;crossProfileDataSharing&quot;: &quot;A String&quot;, # Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work &amp; personal apps, are configured separately.
&quot;showWorkContactsInPersonalProfile&quot;: &quot;A String&quot;, # Whether contacts stored in the work profile can be shown in personal profile contact searches and incoming calls.
},
&quot;dataRoamingDisabled&quot;: True or False, # Whether roaming data services are disabled.
&quot;debuggingFeaturesAllowed&quot;: True or False, # Whether the user is allowed to enable debugging features.
&quot;defaultPermissionPolicy&quot;: &quot;A String&quot;, # The default permission policy for runtime permission requests.
Expand Down Expand Up @@ -1188,6 +1212,9 @@ <h3>Method Details</h3>
&quot;commonCriteriaMode&quot;: &quot;A String&quot;, # Controls Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC). Enabling Common Criteria Mode increases certain security components on a device, including AES-GCM encryption of Bluetooth Long Term Keys, and Wi-Fi configuration stores.Warning: Common Criteria Mode enforces a strict security model typically only required for IT products used in national security systems and other highly sensitive organizations. Standard device use may be affected. Only enabled if required.
&quot;developerSettings&quot;: &quot;A String&quot;, # Controls access to developer settings: developer options and safe boot. Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed (deprecated).
&quot;googlePlayProtectVerifyApps&quot;: &quot;A String&quot;, # Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced. Replaces ensureVerifyAppsEnabled (deprecated).
&quot;personalAppsThatCanReadWorkNotifications&quot;: [ # Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/service/notification/NotificationListenerService). By default, no personal apps (aside from system apps) can read work notifications. Each value in the list must be a package name.
&quot;A String&quot;,
],
&quot;untrustedAppsPolicy&quot;: &quot;A String&quot;, # The policy for untrusted apps (apps from unknown sources) enforced on the device. Replaces install_unknown_sources_allowed (deprecated).
},
&quot;alwaysOnVpnPackage&quot;: { # Configuration for an always-on VPN connection. # Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting.
Expand Down Expand Up @@ -1266,6 +1293,11 @@ <h3>Method Details</h3>
],
&quot;createWindowsDisabled&quot;: True or False, # Whether creating windows besides app windows is disabled.
&quot;credentialsConfigDisabled&quot;: True or False, # Whether configuring user credentials is disabled.
&quot;crossProfilePolicies&quot;: { # Cross-profile policies applied on the device. # Cross-profile policies applied on the device.
&quot;crossProfileCopyPaste&quot;: &quot;A String&quot;, # Whether text copied from one profile (personal or work) can be pasted in the other profile.
&quot;crossProfileDataSharing&quot;: &quot;A String&quot;, # Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work &amp; personal apps, are configured separately.
&quot;showWorkContactsInPersonalProfile&quot;: &quot;A String&quot;, # Whether contacts stored in the work profile can be shown in personal profile contact searches and incoming calls.
},
&quot;dataRoamingDisabled&quot;: True or False, # Whether roaming data services are disabled.
&quot;debuggingFeaturesAllowed&quot;: True or False, # Whether the user is allowed to enable debugging features.
&quot;defaultPermissionPolicy&quot;: &quot;A String&quot;, # The default permission policy for runtime permission requests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@
}
}
},
"revision": "20210809",
"revision": "20210818",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdvancedSecurityOverrides": {
Expand Down Expand Up @@ -1053,6 +1053,13 @@
],
"type": "string"
},
"personalAppsThatCanReadWorkNotifications": {
"description": "Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/service/notification/NotificationListenerService). By default, no personal apps (aside from system apps) can read work notifications. Each value in the list must be a package name.",
"items": {
"type": "string"
},
"type": "array"
},
"untrustedAppsPolicy": {
"description": "The policy for untrusted apps (apps from unknown sources) enforced on the device. Replaces install_unknown_sources_allowed (deprecated).",
"enum": [
Expand Down Expand Up @@ -1678,6 +1685,57 @@
},
"type": "object"
},
"CrossProfilePolicies": {
"description": "Cross-profile policies applied on the device.",
"id": "CrossProfilePolicies",
"properties": {
"crossProfileCopyPaste": {
"description": "Whether text copied from one profile (personal or work) can be pasted in the other profile.",
"enum": [
"CROSS_PROFILE_COPY_PASTE_UNSPECIFIED",
"COPY_FROM_WORK_TO_PERSONAL_DISALLOWED",
"CROSS_PROFILE_COPY_PASTE_ALLOWED"
],
"enumDescriptions": [
"Unspecified. Defaults to COPY_FROM_WORK_TO_PERSONAL_DISALLOWED",
"Default. Prevents users from pasting into the personal profile text copied from the work profile. Text copied from the personal profile can be pasted into the work profile, and text copied from the work profile can be pasted into the work profile.",
"Text copied in either profile can be pasted in the other profile."
],
"type": "string"
},
"crossProfileDataSharing": {
"description": "Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work & personal apps, are configured separately.",
"enum": [
"CROSS_PROFILE_DATA_SHARING_UNSPECIFIED",
"CROSS_PROFILE_DATA_SHARING_DISALLOWED",
"DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED",
"CROSS_PROFILE_DATA_SHARING_ALLOWED"
],
"enumDescriptions": [
"Unspecified. Defaults to DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED.",
"Prevents data from being shared from both the personal profile to the work profile and the work profile to the personal profile.",
"Default. Prevents users from sharing data from the work profile to apps in the personal profile. Personal data can be shared with work apps.",
"Data from either profile can be shared with the other profile."
],
"type": "string"
},
"showWorkContactsInPersonalProfile": {
"description": "Whether contacts stored in the work profile can be shown in personal profile contact searches and incoming calls.",
"enum": [
"SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_UNSPECIFIED",
"SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED",
"SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED"
],
"enumDescriptions": [
"Unspecified. Defaults to SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED.",
"Prevents work profile contacts from appearing in personal profile contact searches and incoming calls",
"Default. Allows work profile contacts to appear in personal profile contact searches and incoming calls"
],
"type": "string"
}
},
"type": "object"
},
"Date": {
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values A month and day value, with a zero year, such as an anniversary A year on its own, with zero month and day values A year and month value, with a zero day, such as a credit card expiration dateRelated types are google.type.TimeOfDay and google.protobuf.Timestamp.",
"id": "Date",
Expand Down Expand Up @@ -3337,6 +3395,10 @@
"description": "Whether configuring user credentials is disabled.",
"type": "boolean"
},
"crossProfilePolicies": {
"$ref": "CrossProfilePolicies",
"description": "Cross-profile policies applied on the device."
},
"dataRoamingDisabled": {
"description": "Whether roaming data services are disabled.",
"type": "boolean"
Expand Down

0 comments on commit d253dad

Please sign in to comment.