Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessmentData

Inherits:
Object
  • Object
show all
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 data about an extension/app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1RiskAssessmentData

Returns a new instance of GoogleChromeManagementV1RiskAssessmentData.



2816
2817
2818
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2816

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

Instance Attribute Details

#entriesArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessmentEntry>

Individual risk assessments. Corresponds to the JSON property entries



2808
2809
2810
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2808

def entries
  @entries
end

#overall_risk_levelString

Overall assessed risk level across all entries. This will be the highest risk level from all entries. Corresponds to the JSON property overallRiskLevel

Returns:

  • (String)


2814
2815
2816
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2814

def overall_risk_level
  @overall_risk_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2821
2822
2823
2824
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2821

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