public sealed class UpgradeNote : IMessage<UpgradeNote>, IEquatable<UpgradeNote>, IDeepCloneable<UpgradeNote>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API 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.
Implements
IMessageUpgradeNote, IEquatableUpgradeNote, IDeepCloneableUpgradeNote, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
UpgradeNote()
public UpgradeNote()
UpgradeNote(UpgradeNote)
public UpgradeNote(UpgradeNote other)
Parameter | |
---|---|
Name | Description |
other |
UpgradeNote |
Properties
Distributions
public RepeatedField<UpgradeDistribution> Distributions { get; }
Metadata about the upgrade for each specific operating system.
Property Value | |
---|---|
Type | Description |
RepeatedFieldUpgradeDistribution |
Package
public string Package { get; set; }
Required for non-Windows OS. The package this Upgrade is for.
Property Value | |
---|---|
Type | Description |
string |
Version
public Version Version { get; set; }
Required for non-Windows OS. The version of the package in machine + human readable form.
Property Value | |
---|---|
Type | Description |
Version |
WindowsUpdate
public WindowsUpdate WindowsUpdate { get; set; }
Required for Windows OS. Represents the metadata about the Windows update.
Property Value | |
---|---|
Type | Description |
WindowsUpdate |