Class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary
- Defined in:
- generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/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::ContaineranalysisV1beta1::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ VulnerabilityOccurrencesSummary
Returns a new instance of VulnerabilityOccurrencesSummary.
2896 2897 2898 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 2896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#counts ⇒ Array<Google::Apis::ContaineranalysisV1beta1::FixableTotalByDigest>
A listing by resource of the number of fixable and total vulnerabilities.
Corresponds to the JSON property counts
2894 2895 2896 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 2894 def counts @counts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2901 2902 2903 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 2901 def update!(**args) @counts = args[:counts] if args.key?(:counts) end |