class Google::Apis::ContaineranalysisV1::UpgradeNote

An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update.

Attributes

distributions[RW]

Metadata about the upgrade for each specific operating system. Corresponds to the JSON property ‘distributions` @return [Array<Google::Apis::ContaineranalysisV1::UpgradeDistribution>]

package[RW]

Required for non-Windows OS. The package this Upgrade is for. Corresponds to the JSON property ‘package` @return [String]

version[RW]

Version contains structured information about the version of a package. Corresponds to the JSON property ‘version` @return [Google::Apis::ContaineranalysisV1::Version]

windows_update[RW]

Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at docs.microsoft.com/en-us/windows/win32/api/wuapi/nn- wuapi-iupdate. Corresponds to the JSON property ‘windowsUpdate` @return [Google::Apis::ContaineranalysisV1::WindowsUpdate]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 4664
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_v1/classes.rb, line 4669
def update!(**args)
  @distributions = args[:distributions] if args.key?(:distributions)
  @package = args[:package] if args.key?(:package)
  @version = args[:version] if args.key?(:version)
  @windows_update = args[:windows_update] if args.key?(:windows_update)
end