Class: Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
Security policies set to secure values by default. To maintain the security posture of a device, we don't recommend overriding any of the default values.
Instance Attribute Summary collapse
-
#common_criteria_mode ⇒ String
Controls Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www. commoncriteriaportal.org/) (CC).
-
#developer_settings ⇒ String
Controls access to developer settings: developer options and safe boot.
-
#google_play_protect_verify_apps ⇒ String
Whether Google Play Protect verification (https://support.google.com/accounts/ answer/2812853) is enforced.
-
#personal_apps_that_can_read_work_notifications ⇒ Array<String>
Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/ service/notification/NotificationListenerService).
-
#untrusted_apps_policy ⇒ String
The policy for untrusted apps (apps from unknown sources) enforced on the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdvancedSecurityOverrides
constructor
A new instance of AdvancedSecurityOverrides.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdvancedSecurityOverrides
Returns a new instance of AdvancedSecurityOverrides.
70 71 72 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 70 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_criteria_mode ⇒ String
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.
Corresponds to the JSON property commonCriteriaMode
40 41 42 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 40 def common_criteria_mode @common_criteria_mode end |
#developer_settings ⇒ String
Controls access to developer settings: developer options and safe boot.
Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed (
deprecated).
Corresponds to the JSON property developerSettings
47 48 49 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 47 def developer_settings @developer_settings end |
#google_play_protect_verify_apps ⇒ String
Whether Google Play Protect verification (https://support.google.com/accounts/
answer/2812853) is enforced. Replaces ensureVerifyAppsEnabled (deprecated).
Corresponds to the JSON property googlePlayProtectVerifyApps
53 54 55 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 53 def google_play_protect_verify_apps @google_play_protect_verify_apps end |
#personal_apps_that_can_read_work_notifications ⇒ Array<String>
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.
Corresponds to the JSON property personalAppsThatCanReadWorkNotifications
62 63 64 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 62 def personal_apps_that_can_read_work_notifications @personal_apps_that_can_read_work_notifications end |
#untrusted_apps_policy ⇒ String
The policy for untrusted apps (apps from unknown sources) enforced on the
device. Replaces install_unknown_sources_allowed (deprecated).
Corresponds to the JSON property untrustedAppsPolicy
68 69 70 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 68 def untrusted_apps_policy @untrusted_apps_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
75 76 77 78 79 80 81 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 75 def update!(**args) @common_criteria_mode = args[:common_criteria_mode] if args.key?(:common_criteria_mode) @developer_settings = args[:developer_settings] if args.key?(:developer_settings) @google_play_protect_verify_apps = args[:google_play_protect_verify_apps] if args.key?(:google_play_protect_verify_apps) @personal_apps_that_can_read_work_notifications = args[:personal_apps_that_can_read_work_notifications] if args.key?(:personal_apps_that_can_read_work_notifications) @untrusted_apps_policy = args[:untrusted_apps_policy] if args.key?(:untrusted_apps_policy) end |