NAME
Grafeas::V1::Upgrade - Compiled Protocol Buffers messages for grafeas/v1/upgrade.proto
SYNOPSIS
use Grafeas::V1::Upgrade;
my $msg = Grafeas::V1::Upgrade::UpgradeNote->new({
package => $package,
version => $version,
distributions => $distributions,
windows_update => $windows_update,
});
# Read or update a field
my $val = $msg->package();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Grafeas::V1::Upgrade::UpgradeNote->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from grafeas/v1/upgrade.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Grafeas::V1::Upgrade::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 from Protobuf::Message.
Accessors
$msg->package()/$msg->package($value)Type:
StringRequired for non-Windows OS. The package this Upgrade is for.
$msg->version()/$msg->version($value)Type:
Message(Grafeas::V1::Package::Version)Required for non-Windows OS. The version of the package in machine + human readable form.
$msg->distributions()/$msg->distributions($value)Type:
Message(Grafeas::V1::Upgrade::UpgradeDistribution)Metadata about the upgrade for each specific operating system.
$msg->windows_update()/$msg->windows_update($value)Type:
Message(Grafeas::V1::Upgrade::WindowsUpdate)Required for Windows OS. Represents the metadata about the Windows update.
Grafeas::V1::Upgrade::UpgradeDistribution
The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.
Inherits from Protobuf::Message.
Accessors
$msg->cpe_uri()/$msg->cpe_uri($value)Type:
StringRequired - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
$msg->classification()/$msg->classification($value)Type:
StringThe operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
$msg->severity()/$msg->severity($value)Type:
StringThe severity as specified by the upstream operating system.
$msg->cve()/$msg->cve($value)Type:
StringThe cve tied to this Upgrade.
Grafeas::V1::Upgrade::WindowsUpdate
Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate.
Inherits from Protobuf::Message.
Accessors
$msg->identity()/$msg->identity($value)Type:
Message(Grafeas::V1::Upgrade::WindowsUpdate::Identity)Required - The unique identifier for the update.
$msg->title()/$msg->title($value)Type:
StringThe localized title of the update.
$msg->description()/$msg->description($value)Type:
StringThe localized description of the update.
$msg->categories()/$msg->categories($value)Type:
Message(Grafeas::V1::Upgrade::WindowsUpdate::Category)The list of categories to which the update belongs.
$msg->kb_article_ids()/$msg->kb_article_ids($value)Type:
StringThe Microsoft Knowledge Base article IDs that are associated with the update.
$msg->support_url()/$msg->support_url($value)Type:
StringThe hyperlink to the support information for the update.
$msg->last_published_timestamp()/$msg->last_published_timestamp($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The last published timestamp of the update.
Grafeas::V1::Upgrade::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 from Protobuf::Message.
Accessors
$msg->package()/$msg->package($value)Type:
StringRequired for non-Windows OS. The package this Upgrade is for.
$msg->parsed_version()/$msg->parsed_version($value)Type:
Message(Grafeas::V1::Package::Version)Required for non-Windows OS. The version of the package in a machine + human readable form.
$msg->distribution()/$msg->distribution($value)Type:
Message(Grafeas::V1::Upgrade::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.
$msg->windows_update()/$msg->windows_update($value)Type:
Message(Grafeas::V1::Upgrade::WindowsUpdate)Required for Windows OS. Represents the metadata about the Windows update.
SEE ALSO
Protobuf, Protobuf::Message, Grafeas::V1::Upgrade::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.