Class: Google::Apis::SecuritycenterV1::VulnerabilityCountBySeverity
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::VulnerabilityCountBySeverity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Overview
Vulnerability count by severity.
Instance Attribute Summary collapse
-
#severity_to_finding_count ⇒ Hash<String,Fixnum>
Key is the Severity enum.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VulnerabilityCountBySeverity
constructor
A new instance of VulnerabilityCountBySeverity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VulnerabilityCountBySeverity
Returns a new instance of VulnerabilityCountBySeverity.
11343 11344 11345 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11343 def initialize(**args) update!(**args) end |
Instance Attribute Details
#severity_to_finding_count ⇒ Hash<String,Fixnum>
Key is the Severity enum.
Corresponds to the JSON property severityToFindingCount
11341 11342 11343 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11341 def severity_to_finding_count @severity_to_finding_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11348 11349 11350 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11348 def update!(**args) @severity_to_finding_count = args[:severity_to_finding_count] if args.key?(:severity_to_finding_count) end |