Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::UpgradeNote.
An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#distributions
def
distributions
()
-
>
::
Array
< ::
Grafeas
::
V1
::
UpgradeDistribution
>
Returns
- (::Array< ::Grafeas::V1::UpgradeDistribution >) — Metadata about the upgrade for each specific operating system.
#distributions=
def
distributions=
(
value
)
-
>
::
Array
< ::
Grafeas
::
V1
::
UpgradeDistribution
>
Parameter
- value(::Array< ::Grafeas::V1::UpgradeDistribution >) — Metadata about the upgrade for each specific operating system.
Returns
- (::Array< ::Grafeas::V1::UpgradeDistribution >) — Metadata about the upgrade for each specific operating system.
#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.
#version
def
version
()
-
>
::
Grafeas
::
V1
::
Version
Returns
- ( ::Grafeas::V1::Version ) — Required for non-Windows OS. The version of the package in machine + human readable form.
#version=
def
version=
(
value
)
-
>
::
Grafeas
::
V1
::
Version
Parameter
- value( ::Grafeas::V1::Version ) — Required for non-Windows OS. The version of the package in machine + human readable form.
Returns
- ( ::Grafeas::V1::Version ) — Required for non-Windows OS. The version of the package in 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.