Reference documentation and code samples for the Grafeas V1 Client class 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.
Generated from protobuf messagegrafeas.v1.UpgradeNote
Namespace
Grafeas \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ package
string
Required for non-Windows OS. The package this Upgrade is for.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Grafeas V1 Client - Class UpgradeNote (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/grafeas/latest/V1.UpgradeNote)\n- [1.2.1](/php/docs/reference/grafeas/1.2.1/V1.UpgradeNote)\n- [1.1.3](/php/docs/reference/grafeas/1.1.3/V1.UpgradeNote)\n- [1.0.0](/php/docs/reference/grafeas/1.0.0/V1.UpgradeNote)\n- [0.10.3](/php/docs/reference/grafeas/0.10.3/V1.UpgradeNote)\n- [0.9.0](/php/docs/reference/grafeas/0.9.0/V1.UpgradeNote)\n- [0.8.3](/php/docs/reference/grafeas/0.8.3/V1.UpgradeNote)\n- [0.7.1](/php/docs/reference/grafeas/0.7.1/V1.UpgradeNote)\n- [0.6.0](/php/docs/reference/grafeas/0.6.0/V1.UpgradeNote)\n- [0.5.0](/php/docs/reference/grafeas/0.5.0/V1.UpgradeNote)\n- [0.4.4](/php/docs/reference/grafeas/0.4.4/V1.UpgradeNote) \nReference documentation and code samples for the Grafeas V1 Client class UpgradeNote.\n\nAn Upgrade Note represents a potential upgrade of a package to a given\nversion. For each package version combination (i.e. bash 4.0, bash 4.1,\nbash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field\nrepresents the information related to the update.\n\nGenerated from protobuf message `grafeas.v1.UpgradeNote`\n\nNamespace\n---------\n\nGrafeas \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPackage\n\nRequired for non-Windows OS. The package this Upgrade is for.\n\n### setPackage\n\nRequired for non-Windows OS. The package this Upgrade is for.\n\n### getVersion\n\nRequired for non-Windows OS. The version of the package in machine + human\nreadable form.\n\n### hasVersion\n\n### clearVersion\n\n### setVersion\n\nRequired for non-Windows OS. The version of the package in machine + human\nreadable form.\n\n### getDistributions\n\nMetadata about the upgrade for each specific operating system.\n\n### setDistributions\n\nMetadata about the upgrade for each specific operating system.\n\n### getWindowsUpdate\n\nRequired for Windows OS. Represents the metadata about the Windows update.\n\n### hasWindowsUpdate\n\n### clearWindowsUpdate\n\n### setWindowsUpdate\n\nRequired for Windows OS. Represents the metadata about the Windows update."]]