Class: Google::Apis::AndroidmanagementV1::PostureDetail

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PostureDetail

Returns a new instance of PostureDetail.



3219
3220
3221
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3219

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#adviceArray<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



3211
3212
3213
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3211

def advice
  @advice
end

#security_riskString

A specific security risk that negatively affects the security posture of the device. Corresponds to the JSON property securityRisk

Returns:

  • (String)


3217
3218
3219
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3217

def security_risk
  @security_risk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3224
3225
3226
3227
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3224

def update!(**args)
  @advice = args[:advice] if args.key?(:advice)
  @security_risk = args[:security_risk] if args.key?(:security_risk)
end