Class: Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::VulnerabilityOccurrencesSummary
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb
Overview
A summary of how many vulnerability occurrences there are per resource and severity type.
Instance Attribute Summary collapse
-
#counts ⇒ Array<Google::Apis::ContaineranalysisV1::FixableTotalByDigest>
A listing by resource of the number of fixable and total vulnerabilities.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VulnerabilityOccurrencesSummary
constructor
A new instance of VulnerabilityOccurrencesSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VulnerabilityOccurrencesSummary
Returns a new instance of VulnerabilityOccurrencesSummary.
7013 7014 7015 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 7013 def initialize(**args) update!(**args) end |
Instance Attribute Details
#counts ⇒ Array<Google::Apis::ContaineranalysisV1::FixableTotalByDigest>
A listing by resource of the number of fixable and total vulnerabilities.
Corresponds to the JSON property counts
7011 7012 7013 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 7011 def counts @counts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7018 7019 7020 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 7018 def update!(**args) @counts = args[:counts] if args.key?(:counts) end |