public sealed class PackageOccurrence : IMessage<PackageOccurrence>, IEquatable<PackageOccurrence>, IDeepCloneable<PackageOccurrence>, IBufferMessage, IMessageReference documentation and code samples for the Grafeas v1 API class PackageOccurrence.
Details on how a particular software package was installed on a system.
Implements
IMessagePackageOccurrence, IEquatablePackageOccurrence, IDeepCloneablePackageOccurrence, IBufferMessage, IMessageNamespace
GrafeasV1Assembly
Grafeas.V1.dll
Constructors
PackageOccurrence()
public PackageOccurrence()PackageOccurrence(PackageOccurrence)
public PackageOccurrence(PackageOccurrence other)| Parameter | |
|---|---|
| Name | Description | 
| other | PackageOccurrence | 
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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| string | |
License
public License License { get; set; }Licenses that have been declared by the authors of the package.
| Property Value | |
|---|---|
| Type | Description | 
| License | |
Location
public RepeatedField<Location> Location { get; }All of the places within the filesystem versions of this package have been found.
| Property Value | |
|---|---|
| Type | Description | 
| RepeatedFieldLocation | |
Name
public string Name { get; set; }The name of the installed package.
| Property Value | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| string | |
Version
public Version Version { get; set; }The version of the package.
| Property Value | |
|---|---|
| Type | Description | 
| Version | |