3.15.0 (latest) 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.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](https://learn.microsoft.com/dotnet/api/system.object) \> PackageOccurrence

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PackageOccurrence](https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.PackageOccurrence), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PackageOccurrence](https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.PackageOccurrence), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PackageOccurrence](https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.PackageOccurrence), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Grafeas.V1](https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1)

## Assembly

Grafeas.V1.dll

## Constructors

### PackageOccurrence()

    public PackageOccurrence()

### PackageOccurrence(PackageOccurrence)

    public PackageOccurrence(PackageOccurrence other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.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** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Architecture` |   |

### CpeUri

    public string CpeUri { get; set; }

The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
denoting the package manager version distributing a package.
The cpe_uri will be blank for language packages.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### License

    public License License { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Location` |   |

### Name

    public string Name { get; set; }

The name of the installed package.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Version

    public Version Version { get; set; }

The version of the package.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Version` |   |