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
- ( ::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
- 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.
- ( ::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
- (::String) — Required for non-Windows OS. The package this Upgrade is for.
#package=
def
package=
(
value
)
-
>
::
String
- value(::String) — Required for non-Windows OS. The package this Upgrade is for.
- (::String) — Required for non-Windows OS. The package this Upgrade is for.
#parsed_version
def
parsed_version
()
-
>
::
Grafeas
::
V1
::
Version
- ( ::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
- value( ::Grafeas::V1::Version ) — Required for non-Windows OS. The version of the package in a machine + human readable form.
- ( ::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
- ( ::Grafeas::V1::WindowsUpdate ) — Required for Windows OS. Represents the metadata about the Windows update.
#windows_update=
def
windows_update=
(
value
)
-
>
::
Grafeas
::
V1
::
WindowsUpdate
- value( ::Grafeas::V1::WindowsUpdate ) — Required for Windows OS. Represents the metadata about the Windows update.
- ( ::Grafeas::V1::WindowsUpdate ) — Required for Windows OS. Represents the metadata about the Windows update.