View Source GoogleApi.ContainerAnalysis.V1.Model.UpgradeOccurrence (google_api_container_analysis v0.25.0)

An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows_update contain information for the Windows update.


  • distribution (type: GoogleApi.ContainerAnalysis.V1.Model.UpgradeDistribution.t, default: nil) - Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.
  • package (type: String.t, default: nil) - Required for non-Windows OS. The package this Upgrade is for.
  • parsedVersion (type: GoogleApi.ContainerAnalysis.V1.Model.Version.t, default: nil) - Required for non-Windows OS. The version of the package in a 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.ContainerAnalysis.V1.Model.UpgradeOccurrence{
    GoogleApi.ContainerAnalysis.V1.Model.UpgradeDistribution.t() | nil,
  package: String.t() | nil,
  parsedVersion: GoogleApi.ContainerAnalysis.V1.Model.Version.t() | nil,
  windowsUpdate: GoogleApi.ContainerAnalysis.V1.Model.WindowsUpdate.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.