Class: Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb

Overview

Security policies set to the most 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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdvancedSecurityOverrides

Returns a new instance of AdvancedSecurityOverrides.



49
50
51
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 49

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#common_criteria_modeString

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

Returns:

  • (String)


41
42
43
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 41

def common_criteria_mode
  @common_criteria_mode
end

#untrusted_apps_policyString

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

Returns:

  • (String)


47
48
49
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 47

def untrusted_apps_policy
  @untrusted_apps_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



54
55
56
57
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 54

def update!(**args)
  @common_criteria_mode = args[:common_criteria_mode] if args.key?(:common_criteria_mode)
  @untrusted_apps_policy = args[:untrusted_apps_policy] if args.key?(:untrusted_apps_policy)
end