Class: Google::Apis::AndroidmanagementV1::SecurityPosture
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::SecurityPosture
- 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
. Device's security posture value that reflects how secure the device is.
Instance Attribute Summary collapse
-
#device_posture ⇒ String
Device's security posture value.
-
#posture_details ⇒ Array<Google::Apis::AndroidmanagementV1::PostureDetail>
Details that provide further information if the device is not in the most secure state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPosture
constructor
A new instance of SecurityPosture.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SecurityPosture
Returns a new instance of SecurityPosture
2710 2711 2712 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_posture ⇒ String
Device's security posture value.
Corresponds to the JSON property devicePosture
2702 2703 2704 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2702 def device_posture @device_posture end |
#posture_details ⇒ Array<Google::Apis::AndroidmanagementV1::PostureDetail>
Details that provide further information if the device is not in the most
secure state.
Corresponds to the JSON property postureDetails
2708 2709 2710 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2708 def posture_details @posture_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2715 2716 2717 2718 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2715 def update!(**args) @device_posture = args[:device_posture] if args.key?(:device_posture) @posture_details = args[:posture_details] if args.key?(:posture_details) end |