Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::UpgradeOccurrence.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#distribution
def distribution() -> ::Grafeas::V1::UpgradeDistribution
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.
#distribution=
def distribution=(value) -> ::Grafeas::V1::UpgradeDistribution
Parameter
- value (::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.
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.
#package
def package() -> ::String
Returns
- (::String) — Required for non-Windows OS. The package this Upgrade is for.
#package=
def package=(value) -> ::String
Parameter
- value (::String) — Required for non-Windows OS. The package this Upgrade is for.
Returns
- (::String) — Required for non-Windows OS. The package this Upgrade is for.
#parsed_version
def parsed_version() -> ::Grafeas::V1::Version
Returns
- (::Grafeas::V1::Version) — Required for non-Windows OS. The version of the package in a machine + human readable form.
#parsed_version=
def parsed_version=(value) -> ::Grafeas::V1::Version
Parameter
- value (::Grafeas::V1::Version) — 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.
#windows_update
def windows_update() -> ::Grafeas::V1::WindowsUpdate
Returns
- (::Grafeas::V1::WindowsUpdate) — Required for Windows OS. Represents the metadata about the Windows update.
#windows_update=
def windows_update=(value) -> ::Grafeas::V1::WindowsUpdate
Parameter
- value (::Grafeas::V1::WindowsUpdate) — Required for Windows OS. Represents the metadata about the Windows update.
Returns
- (::Grafeas::V1::WindowsUpdate) — Required for Windows OS. Represents the metadata about the Windows update.