Class: Google::Apis::ContaineranalysisV1::LicensesSummary
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::LicensesSummary
- 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
Per license count
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The number of fixable vulnerabilities associated with this resource.
-
#license ⇒ String
The license of the package.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LicensesSummary
constructor
A new instance of LicensesSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LicensesSummary
Returns a new instance of LicensesSummary.
4159 4160 4161 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4159 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
The number of fixable vulnerabilities associated with this resource.
Corresponds to the JSON property count
4150 4151 4152 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4150 def count @count end |
#license ⇒ String
The license of the package. Note that the format of this value is not
guaranteed. It may be nil, an empty string, a boolean value (A | B), a
differently formed boolean value (A OR B), etc...
Corresponds to the JSON property license
4157 4158 4159 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4157 def license @license end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4164 4165 4166 4167 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4164 def update!(**args) @count = args[:count] if args.key?(:count) @license = args[:license] if args.key?(:license) end |