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 SBOMReferenceOccurrence : IMessage<SBOMReferenceOccurrence>, IEquatable<SBOMReferenceOccurrence>, IDeepCloneable<SBOMReferenceOccurrence>, IBufferMessage, IMessage

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

The occurrence representing an SBOM reference as applied to a specific
resource. The occurrence follows the DSSE specification. See
<https://github.com/secure-systems-lab/dsse/blob/master/envelope.md> for more
details.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SBOMReferenceOccurrence

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SBOMReferenceOccurrence](https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.SBOMReferenceOccurrence), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SBOMReferenceOccurrence](https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.SBOMReferenceOccurrence), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SBOMReferenceOccurrence](https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.SBOMReferenceOccurrence), [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

### SBOMReferenceOccurrence()

    public SBOMReferenceOccurrence()

### SBOMReferenceOccurrence(SBOMReferenceOccurrence)

    public SBOMReferenceOccurrence(SBOMReferenceOccurrence other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.SBOMReferenceOccurrence` |

## Properties

### Payload

    public SbomReferenceIntotoPayload Payload { get; set; }

The actual payload that contains the SBOM reference data.

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

### PayloadType

    public string PayloadType { get; set; }

The kind of payload that SbomReferenceIntotoPayload takes. Since it's in
the intoto format, this value is expected to be
'application/vnd.in-toto+json'.

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

### Signatures

    public RepeatedField<EnvelopeSignature> Signatures { get; }

The signatures over the payload.

| **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.EnvelopeSignature` |   |