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

Detail that provides further information if the device is not in the most secure state.

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



2614
2615
2616
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2614

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

Instance Attribute Details

#adviceArray<Google::Apis::AndroidmanagementV1::UserFacingMessage>

Corresponding pieces of advice to mitigate the security risk. Corresponds to the JSON property advice



2607
2608
2609
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2607

def advice
  @advice
end

#security_riskString

The risk that makes the device not in the most secure state. Corresponds to the JSON property securityRisk

Returns:

  • (String)


2612
2613
2614
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2612

def security_risk
  @security_risk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2619
2620
2621
2622
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2619

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