Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessmentEntry

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

One risk assessment entry.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#providerString

The risk assessment provider from which this entry comes from. Corresponds to the JSON property provider

Returns:

  • (String)


2834
2835
2836
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2834

def provider
  @provider
end

#risk_assessmentGoogle::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_levelString

The bucketed risk level for the risk assessment. Corresponds to the JSON property riskLevel

Returns:

  • (String)


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