Class: Google::Apis::AndroidmanagementV1::PostureDetail
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::PostureDetail
- 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
Additional details regarding the security posture of the device.
Instance Attribute Summary collapse
-
#advice ⇒ Array<Google::Apis::AndroidmanagementV1::UserFacingMessage>
Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device.
-
#security_risk ⇒ String
A specific security risk that negatively affects the security posture of the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostureDetail
constructor
A new instance of PostureDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostureDetail
Returns a new instance of PostureDetail.
3539 3540 3541 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advice ⇒ Array<Google::Apis::AndroidmanagementV1::UserFacingMessage>
Corresponding admin-facing advice to mitigate this security risk and improve
the security posture of the device.
Corresponds to the JSON property advice
3531 3532 3533 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3531 def advice @advice end |
#security_risk ⇒ String
A specific security risk that negatively affects the security posture of the
device.
Corresponds to the JSON property securityRisk
3537 3538 3539 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3537 def security_risk @security_risk end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3544 3545 3546 3547 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3544 def update!(**args) @advice = args[:advice] if args.key?(:advice) @security_risk = args[:security_risk] if args.key?(:security_risk) end |