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.
5019 5020 5021 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5019 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
5011 5012 5013 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5011 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
5017 5018 5019 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5017 def security_risk @security_risk end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5024 5025 5026 5027 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5024 def update!(**args) @advice = args[:advice] if args.key?(:advice) @security_risk = args[:security_risk] if args.key?(:security_risk) end |