Class: Google::Apis::AndroidmanagementV1::PostureDetail
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::PostureDetail
- 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
Detail that provides further information if the device is not in the most secure state.
Instance Attribute Summary collapse
-
#advice ⇒ Array<Google::Apis::AndroidmanagementV1::UserFacingMessage>
Corresponding pieces of advice to mitigate the security risk.
-
#security_risk ⇒ String
The risk that makes the device not in the most secure state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostureDetail
constructor
A new instance of PostureDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PostureDetail
Returns a new instance of PostureDetail
2614 2615 2616 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2614 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advice ⇒ Array<Google::Apis::AndroidmanagementV1::UserFacingMessage>
Corresponding pieces of advice to mitigate the security risk.
Corresponds to the JSON property advice
2607 2608 2609 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2607 def advice @advice end |
#security_risk ⇒ String
The risk that makes the device not in the most secure state.
Corresponds to the JSON property securityRisk
2612 2613 2614 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2612 def security_risk @security_risk end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2619 2620 2621 2622 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2619 def update!(**args) @advice = args[:advice] if args.key?(:advice) @security_risk = args[:security_risk] if args.key?(:security_risk) end |