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."],[[["This webpage provides documentation for the `UpgradeOccurrence` class within the Grafeas v1 API, specifically in version 3.5.0, which is a class that signifies the availability of a specific upgrade for a given resource URL."],["The `UpgradeOccurrence` class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its role in message handling, equality checks, deep cloning, and buffer operations within the .NET ecosystem."],["The documentation includes details about the class constructors, including a default constructor and one that accepts another `UpgradeOccurrence` object, allowing the creation of new instances and copies of existing instances."],["The class includes four properties: `Distribution`, `Package`, `ParsedVersion`, and `WindowsUpdate`, which are used to describe the upgrade's metadata, package name, version, and specific Windows update information, respectively, and these are necessary for different operating systems."],["There are other versions of this documentation available, including 3.7.0 (latest), 3.6.0, and down to 2.2.0, which can be accessed via links located in the content provided at the top of the webpage."]]],[]]