Class: Google::Apis::AndroidmanagementV1::SecurityPosture
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::SecurityPosture
- 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
The security posture of the device, as determined by the current device state and the policies applied.
Instance Attribute Summary collapse
-
#device_posture ⇒ String
Device's security posture value.
-
#posture_details ⇒ Array<Google::Apis::AndroidmanagementV1::PostureDetail>
Additional details regarding the security posture of the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPosture
constructor
A new instance of SecurityPosture.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPosture
Returns a new instance of SecurityPosture.
5326 5327 5328 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_posture ⇒ String
Device's security posture value.
Corresponds to the JSON property devicePosture
5319 5320 5321 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5319 def device_posture @device_posture end |
#posture_details ⇒ Array<Google::Apis::AndroidmanagementV1::PostureDetail>
Additional details regarding the security posture of the device.
Corresponds to the JSON property postureDetails
5324 5325 5326 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5324 def posture_details @posture_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5331 5332 5333 5334 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5331 def update!(**args) @device_posture = args[:device_posture] if args.key?(:device_posture) @posture_details = args[:posture_details] if args.key?(:posture_details) end |