Class: Google::Apis::ContaineranalysisV1alpha1::SeverityCount
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1alpha1::SeverityCount
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb 
Overview
The number of occurrences created for a specific severity.
Instance Attribute Summary collapse
- 
  
    
      #count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The number of occurrences with the severity.
 - 
  
    
      #severity  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The severity of the occurrences.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SeverityCount 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SeverityCount.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ SeverityCount
Returns a new instance of SeverityCount.
      6621 6622 6623  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6621 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#count ⇒ Fixnum
The number of occurrences with the severity.
Corresponds to the JSON property count
      6614 6615 6616  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6614 def count @count end  | 
  
#severity ⇒ String
The severity of the occurrences.
Corresponds to the JSON property severity
      6619 6620 6621  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6619 def severity @severity end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      6626 6627 6628 6629  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6626 def update!(**args) @count = args[:count] if args.key?(:count) @severity = args[:severity] if args.key?(:severity) end  |