Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessment
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessment
- 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
Risk assessment for a Chrome extension.
Instance Attribute Summary collapse
-
#assessment ⇒ String
Risk assessment for the extension.
-
#details_url ⇒ String
A URL that a user can navigate to for more information about the risk assessment.
-
#version ⇒ String
The version of the extension that this assessment applies to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1RiskAssessment
constructor
A new instance of GoogleChromeManagementV1RiskAssessment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1RiskAssessment
Returns a new instance of GoogleChromeManagementV1RiskAssessment.
2789 2790 2791 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2789 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assessment ⇒ String
Risk assessment for the extension. Currently, this is a numerical value, and
its interpretation is specific to each risk assessment provider.
Corresponds to the JSON property assessment
2776 2777 2778 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2776 def assessment @assessment end |
#details_url ⇒ String
A URL that a user can navigate to for more information about the risk
assessment.
Corresponds to the JSON property detailsUrl
2782 2783 2784 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2782 def details_url @details_url end |
#version ⇒ String
The version of the extension that this assessment applies to.
Corresponds to the JSON property version
2787 2788 2789 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2787 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2794 2795 2796 2797 2798 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2794 def update!(**args) @assessment = args[:assessment] if args.key?(:assessment) @details_url = args[:details_url] if args.key?(:details_url) @version = args[:version] if args.key?(:version) end |