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.
10850 10851 10852 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10850 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
10848 10849 10850 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10848 def severity_to_finding_count @severity_to_finding_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10855 10856 10857 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10855 def update!(**args) @severity_to_finding_count = args[:severity_to_finding_count] if args.key?(:severity_to_finding_count) end |