View Source GoogleApi.ContainerAnalysis.V1.Model.UpgradeNote (google_api_container_analysis v0.28.0)

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 (type: list(GoogleApi.ContainerAnalysis.V1.Model.UpgradeDistribution.t), default: nil) - Metadata about the upgrade for each specific operating system.
  • package (type: String.t, default: nil) - Required for non-Windows OS. The package this Upgrade is for.
  • version (type: GoogleApi.ContainerAnalysis.V1.Model.Version.t, default: nil) - Required for non-Windows OS. The version of the package in machine + human readable form.
  • windowsUpdate (type: GoogleApi.ContainerAnalysis.V1.Model.WindowsUpdate.t, default: nil) - Required for Windows OS. Represents the metadata about the Windows update.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1.Model.UpgradeNote{
  distributions:
    [GoogleApi.ContainerAnalysis.V1.Model.UpgradeDistribution.t()] | nil,
  package: String.t() | nil,
  version: GoogleApi.ContainerAnalysis.V1.Model.Version.t() | nil,
  windowsUpdate: GoogleApi.ContainerAnalysis.V1.Model.WindowsUpdate.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.