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.



3242
3243
3244
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3242

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



3234
3235
3236
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3234

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)


3240
3241
3242
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3240

def security_risk
  @security_risk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3247
3248
3249
3250
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3247

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