Class: Grafeas::V1::UpgradeOccurrence

Inherits:
Object
  • Object
show all
Defined in:
lib/grafeas/v1/doc/grafeas/v1/upgrade.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#distributionGrafeas::V1::UpgradeDistribution

Returns 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.

Returns:

  • (Grafeas::V1::UpgradeDistribution)

    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.



124
# File 'lib/grafeas/v1/doc/grafeas/v1/upgrade.rb', line 124

class UpgradeOccurrence; end

#packageString

Returns Required for non-Windows OS. The package this Upgrade is for.

Returns:

  • (String)

    Required for non-Windows OS. The package this Upgrade is for.



124
# File 'lib/grafeas/v1/doc/grafeas/v1/upgrade.rb', line 124

class UpgradeOccurrence; end

#parsed_versionGrafeas::V1::Version

Returns Required for non-Windows OS. The version of the package in a machine + human readable form.

Returns:

  • (Grafeas::V1::Version)

    Required for non-Windows OS. The version of the package in a machine + human readable form.



124
# File 'lib/grafeas/v1/doc/grafeas/v1/upgrade.rb', line 124

class UpgradeOccurrence; end

#windows_updateGrafeas::V1::WindowsUpdate

Returns Required for Windows OS. Represents the metadata about the Windows update.

Returns:



124
# File 'lib/grafeas/v1/doc/grafeas/v1/upgrade.rb', line 124

class UpgradeOccurrence; end