class Google::Apis::ContaineranalysisV1alpha1::SeverityCount

The number of occurrences created for a specific severity.

Attributes

count[RW]

The number of occurrences with the severity. Corresponds to the JSON property `count` @return [Fixnum]

severity[RW]

The severity of the occurrences. Corresponds to the JSON property `severity` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 3390
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 3395
def update!(**args)
  @count = args[:count] if args.key?(:count)
  @severity = args[:severity] if args.key?(:severity)
end