Grafeas v1 API - Class UpgradeNote (3.4.0)

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.

Inheritance

object > UpgradeNote

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

UpgradeNote()

public UpgradeNote()

UpgradeNote(UpgradeNote)

public UpgradeNote(UpgradeNote other)
Parameter
NameDescription
otherUpgradeNote

Properties

Distributions

public RepeatedField<UpgradeDistribution> Distributions { get; }

Metadata about the upgrade for each specific operating system.

Property Value
TypeDescription
RepeatedFieldUpgradeDistribution

Package

public string Package { get; set; }

Required for non-Windows OS. The package this Upgrade is for.

Property Value
TypeDescription
string

Version

public Version Version { get; set; }

Required for non-Windows OS. The version of the package in machine + human readable form.

Property Value
TypeDescription
Version

WindowsUpdate

public WindowsUpdate WindowsUpdate { get; set; }

Required for Windows OS. Represents the metadata about the Windows update.

Property Value
TypeDescription
WindowsUpdate