Class: Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides
- 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
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AdvancedSecurityOverrides
Returns a new instance of AdvancedSecurityOverrides.
37 38 39 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 37 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
35 36 37 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 35 def untrusted_apps_policy @untrusted_apps_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42 43 44 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 42 def update!(**args) @untrusted_apps_policy = args[:untrusted_apps_policy] if args.key?(:untrusted_apps_policy) end |