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.
12058 12059 12060 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12058 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
12056 12057 12058 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12056 def severity_to_finding_count @severity_to_finding_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12063 12064 12065 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12063 def update!(**args) @severity_to_finding_count = args[:severity_to_finding_count] if args.key?(:severity_to_finding_count) end |