Class: Google::Apis::WebsecurityscannerV1beta::FindingTypeStats
- Inherits:
-
Object
- Object
- Google::Apis::WebsecurityscannerV1beta::FindingTypeStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/websecurityscanner_v1beta/classes.rb,
lib/google/apis/websecurityscanner_v1beta/representations.rb,
lib/google/apis/websecurityscanner_v1beta/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
The count of findings belonging to this finding type.
-
#finding_type ⇒ String
The finding type associated with the stats.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FindingTypeStats
constructor
A new instance of FindingTypeStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FindingTypeStats
Returns a new instance of FindingTypeStats.
283 284 285 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finding_count ⇒ Fixnum
The count of findings belonging to this finding type.
Corresponds to the JSON property findingCount
276 277 278 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 276 def finding_count @finding_count end |
#finding_type ⇒ String
The finding type associated with the stats.
Corresponds to the JSON property findingType
281 282 283 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 281 def finding_type @finding_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
288 289 290 291 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 288 def update!(**args) @finding_count = args[:finding_count] if args.key?(:finding_count) @finding_type = args[:finding_type] if args.key?(:finding_type) end |