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.
11331 11332 11333 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11331 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
11329 11330 11331 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11329 def severity_to_finding_count @severity_to_finding_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11336 11337 11338 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11336 def update!(**args) @severity_to_finding_count = args[:severity_to_finding_count] if args.key?(:severity_to_finding_count) end |