Grafeas v1 API - Class PackageOccurrence (3.6.0)

public sealed class PackageOccurrence : IMessage<PackageOccurrence>, IEquatable<PackageOccurrence>, IDeepCloneable<PackageOccurrence>, IBufferMessage, IMessage

Reference documentation and code samples for the Grafeas v1 API class PackageOccurrence.

Details on how a particular software package was installed on a system.

Inheritance

object > PackageOccurrence

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

PackageOccurrence()

public PackageOccurrence()

PackageOccurrence(PackageOccurrence)

public PackageOccurrence(PackageOccurrence other)
Parameter
NameDescription
otherPackageOccurrence

Properties

Architecture

public Architecture Architecture { get; set; }

The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.

Property Value
TypeDescription
Architecture

CpeUri

public string CpeUri { get; set; }

The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.

Property Value
TypeDescription
string

License

public License License { get; set; }

Licenses that have been declared by the authors of the package.

Property Value
TypeDescription
License

Location

public RepeatedField<Location> Location { get; }

All of the places within the filesystem versions of this package have been found.

Property Value
TypeDescription
RepeatedFieldLocation

Name

public string Name { get; set; }

The name of the installed package.

Property Value
TypeDescription
string

PackageType

public string PackageType { get; set; }

The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

Property Value
TypeDescription
string

Version

public Version Version { get; set; }

The version of the package.

Property Value
TypeDescription
Version