Class: Google::Apis::WebsecurityscannerV1alpha::FindingTypeStats
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::WebsecurityscannerV1alpha::FindingTypeStats
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/websecurityscanner_v1alpha/classes.rb,
 generated/google/apis/websecurityscanner_v1alpha/representations.rb,
 generated/google/apis/websecurityscanner_v1alpha/representations.rb
Overview
A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.
Instance Attribute Summary collapse
- 
  
    
      #finding_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #finding_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FindingTypeStats 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FindingTypeStats. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FindingTypeStats
Returns a new instance of FindingTypeStats
| 276 277 278 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 276 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#finding_count ⇒ Fixnum
Output only.
The count of findings belonging to this finding type.
Corresponds to the JSON property findingCount
| 268 269 270 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 268 def finding_count @finding_count end | 
#finding_type ⇒ String
Output only.
The finding type associated with the stats.
Corresponds to the JSON property findingType
| 274 275 276 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 274 def finding_type @finding_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 281 282 283 284 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 281 def update!(**args) @finding_count = args[:finding_count] if args.key?(:finding_count) @finding_type = args[:finding_type] if args.key?(:finding_type) end |