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.



4443
4444
4445
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4443

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



4435
4436
4437
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4435

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)


4441
4442
4443
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4441

def security_risk
  @security_risk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4448
4449
4450
4451
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4448

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