Class: Google::Apis::ContaineranalysisV1beta1::FixableTotalByDigest
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::FixableTotalByDigest
- Defined in:
- generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb
Overview
Per resource and severity counts of fixable and total vulnerabilities.
Instance Attribute Summary collapse
-
#fixable_count ⇒ Fixnum
The number of fixable vulnerabilities associated with this resource.
-
#resource ⇒ Google::Apis::ContaineranalysisV1beta1::Resource
An entity that can have metadata.
-
#severity ⇒ String
The severity for this count.
-
#total_count ⇒ Fixnum
The total number of vulnerabilities associated with this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FixableTotalByDigest
constructor
A new instance of FixableTotalByDigest.
-
#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) ⇒ FixableTotalByDigest
Returns a new instance of FixableTotalByDigest
1198 1199 1200 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1198 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fixable_count ⇒ Fixnum
The number of fixable vulnerabilities associated with this resource.
Corresponds to the JSON property fixableCount
1180 1181 1182 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1180 def fixable_count @fixable_count end |
#resource ⇒ Google::Apis::ContaineranalysisV1beta1::Resource
An entity that can have metadata. For example, a Docker image.
Corresponds to the JSON property resource
1185 1186 1187 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1185 def resource @resource end |
#severity ⇒ String
The severity for this count. SEVERITY_UNSPECIFIED indicates total across
all severities.
Corresponds to the JSON property severity
1191 1192 1193 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1191 def severity @severity end |
#total_count ⇒ Fixnum
The total number of vulnerabilities associated with this resource.
Corresponds to the JSON property totalCount
1196 1197 1198 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1196 def total_count @total_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1203 1204 1205 1206 1207 1208 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1203 def update!(**args) @fixable_count = args[:fixable_count] if args.key?(:fixable_count) @resource = args[:resource] if args.key?(:resource) @severity = args[:severity] if args.key?(:severity) @total_count = args[:total_count] if args.key?(:total_count) end |