View Source GoogleApi.OnDemandScanning.V1.Model.UpgradeOccurrence (google_api_on_demand_scanning v0.3.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.

Attributes

  • distribution (type: GoogleApi.OnDemandScanning.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.OnDemandScanning.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.OnDemandScanning.V1.Model.WindowsUpdate.t, default: nil) - Required for Windows OS. Represents the metadata about the Windows update.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.