Reference documentation and code samples for the Grafeas V1 Client class 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.
Generated from protobuf message grafeas.v1.UpgradeOccurrence
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ package
string
Required for non-Windows OS. The package this Upgrade is for.
↳ parsed_version
↳ distribution
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.
↳ windows_update
getPackage
Required for non-Windows OS. The package this Upgrade is for.
string
setPackage
Required for non-Windows OS. The package this Upgrade is for.
var
string
$this
getParsedVersion
Required for non-Windows OS. The version of the package in a machine + human readable form.
hasParsedVersion
clearParsedVersion
setParsedVersion
Required for non-Windows OS. The version of the package in a machine + human readable form.
$this
getDistribution
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.
hasDistribution
clearDistribution
setDistribution
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.
$this
getWindowsUpdate
Required for Windows OS. Represents the metadata about the Windows update.
hasWindowsUpdate
clearWindowsUpdate
setWindowsUpdate
Required for Windows OS. Represents the metadata about the Windows update.
$this