Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResult
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResult
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb 
Overview
The result of the assessment.
Instance Attribute Summary collapse
- 
  
    
      #assessment_recommendations  ⇒ Hash<String,Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The recommendations of the assessment.
 - 
  
    
      #data_update_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time when resource data was last fetched for this resource.
 - 
  
    
      #failed_assessment_per_weight  ⇒ Hash<String,Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The number of failed assessments grouped by its weight.
 - 
  
    
      #score  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The security score of the assessment.
 - 
  
    
      #severity  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The severity of the assessment.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudApigeeV1SecurityAssessmentResultScoringResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudApigeeV1SecurityAssessmentResultScoringResult.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultScoringResult
Returns a new instance of GoogleCloudApigeeV1SecurityAssessmentResultScoringResult.
      9766 9767 9768  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 9766 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#assessment_recommendations ⇒ Hash<String,Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation>
The recommendations of the assessment. The key is the "name" of the assessment
(not display_name), and the value are the recommendations.
Corresponds to the JSON property assessmentRecommendations
      9741 9742 9743  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 9741 def assessment_recommendations @assessment_recommendations end  | 
  
#data_update_time ⇒ String
The time when resource data was last fetched for this resource. This time may
be different than when the resource was actually updated due to lag in data
collection.
Corresponds to the JSON property dataUpdateTime
      9748 9749 9750  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 9748 def data_update_time @data_update_time end  | 
  
#failed_assessment_per_weight ⇒ Hash<String,Fixnum>
The number of failed assessments grouped by its weight. Keys are one of the
following: "MAJOR", "MODERATE", "MINOR".
Corresponds to the JSON property failedAssessmentPerWeight
      9754 9755 9756  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 9754 def failed_assessment_per_weight @failed_assessment_per_weight end  | 
  
#score ⇒ Fixnum
The security score of the assessment.
Corresponds to the JSON property score
      9759 9760 9761  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 9759 def score @score end  | 
  
#severity ⇒ String
The severity of the assessment.
Corresponds to the JSON property severity
      9764 9765 9766  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 9764 def severity @severity end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      9771 9772 9773 9774 9775 9776 9777  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 9771 def update!(**args) @assessment_recommendations = args[:assessment_recommendations] if args.key?(:assessment_recommendations) @data_update_time = args[:data_update_time] if args.key?(:data_update_time) @failed_assessment_per_weight = args[:failed_assessment_per_weight] if args.key?(:failed_assessment_per_weight) @score = args[:score] if args.key?(:score) @severity = args[:severity] if args.key?(:severity) end  |