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
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.
3022 3023 3024 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3022 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
3014 3015 3016 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3014 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
3020 3021 3022 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3020 def security_risk @security_risk end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3027 3028 3029 3030 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3027 def update!(**args) @advice = args[:advice] if args.key?(:advice) @security_risk = args[:security_risk] if args.key?(:security_risk) end |