class Google::Apis::OndemandscanningV1beta1::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. For Windows the classification is one of the category_ids listed at docs.microsoft.com/en-us/previous- versions/windows/desktop/ff357803(v=vs.85) 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 tied to 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/ondemandscanning_v1beta1/classes.rb, line 2021
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ondemandscanning_v1beta1/classes.rb, line 2026
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