Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessmentEntry
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessmentEntry
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb
Overview
One risk assessment entry.
Instance Attribute Summary collapse
-
#provider ⇒ String
The risk assessment provider from which this entry comes from.
-
#risk_assessment ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessment
Risk assessment for a Chrome extension.
-
#risk_level ⇒ String
The bucketed risk level for the risk assessment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1RiskAssessmentEntry
constructor
A new instance of GoogleChromeManagementV1RiskAssessmentEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1RiskAssessmentEntry
Returns a new instance of GoogleChromeManagementV1RiskAssessmentEntry.
2846 2847 2848 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2846 def initialize(**args) update!(**args) end |
Instance Attribute Details
#provider ⇒ String
The risk assessment provider from which this entry comes from.
Corresponds to the JSON property provider
2834 2835 2836 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2834 def provider @provider end |
#risk_assessment ⇒ Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessment
Risk assessment for a Chrome extension.
Corresponds to the JSON property riskAssessment
2839 2840 2841 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2839 def risk_assessment @risk_assessment end |
#risk_level ⇒ String
The bucketed risk level for the risk assessment.
Corresponds to the JSON property riskLevel
2844 2845 2846 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2844 def risk_level @risk_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2851 2852 2853 2854 2855 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2851 def update!(**args) @provider = args[:provider] if args.key?(:provider) @risk_assessment = args[:risk_assessment] if args.key?(:risk_assessment) @risk_level = args[:risk_level] if args.key?(:risk_level) end |