class Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution

The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.

Attributes

classification[RW]

The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. Corresponds to the JSON property `classification` @return [String]

cpe_uri[RW]

Required - The specific operating system this metadata applies to. See https:// cpe.mitre.org/specification/. Corresponds to the JSON property `cpeUri` @return [String]

cve[RW]

The cve that would be resolved by this upgrade. Corresponds to the JSON property `cve` @return [Array<String>]

severity[RW]

The severity as specified by the upstream operating system. 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 3652
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 3657
def update!(**args)
  @classification = args[:classification] if args.key?(:classification)
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
  @cve = args[:cve] if args.key?(:cve)
  @severity = args[:severity] if args.key?(:severity)
end