public sealed class UpgradeOccurrence : IMessage<UpgradeOccurrence>, IEquatable<UpgradeOccurrence>, IDeepCloneable<UpgradeOccurrence>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API 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.
public UpgradeDistribution Distribution { get; set; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eUpgradeOccurrence\u003c/code\u003e class in the Grafeas v1 API represents the availability of a specific upgrade for a given resource URL, indicating it's present in local sources or mirrors.\u003c/p\u003e\n"],["\u003cp\u003eThis class, part of Grafeas.V1, provides details about potential upgrades, with a primary focus on \u003ccode\u003eDistribution\u003c/code\u003e for OS information and \u003ccode\u003ePackage\u003c/code\u003e and \u003ccode\u003eParsedVersion\u003c/code\u003e for package specifics.\u003c/p\u003e\n"],["\u003cp\u003eFor Windows systems, \u003ccode\u003eUpgradeOccurrence\u003c/code\u003e contains \u003ccode\u003eWindowsUpdate\u003c/code\u003e metadata, while non-Windows systems rely on the \u003ccode\u003ePackage\u003c/code\u003e and \u003ccode\u003eParsedVersion\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpgradeOccurrence\u003c/code\u003e class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring compatibility and versatility within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of the \u003ccode\u003eUpgradeOccurrence\u003c/code\u003e class from 2.2.0 to the latest 3.7.0.\u003c/p\u003e\n"]]],[],null,[]]