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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PostureDetail

Returns a new instance of PostureDetail.



2852
2853
2854
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2852

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



2844
2845
2846
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2844

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)


2850
2851
2852
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2850

def security_risk
  @security_risk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2857
2858
2859
2860
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2857

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