3.16.0 (latest) 3.15.0 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 DiscoveryOccurrence.Types.VulnerabilityAttestation : IMessage<DiscoveryOccurrence.Types.VulnerabilityAttestation>, IEquatable<DiscoveryOccurrence.Types.VulnerabilityAttestation>, IDeepCloneable<DiscoveryOccurrence.Types.VulnerabilityAttestation>, IBufferMessage, IMessage

Reference documentation and code samples for the Grafeas v1 API class DiscoveryOccurrence.Types.VulnerabilityAttestation.

The status of an vulnerability attestation generation.

## Inheritance

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

## Implements

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

### VulnerabilityAttestation()

    public VulnerabilityAttestation()

### VulnerabilityAttestation(VulnerabilityAttestation)

    public VulnerabilityAttestation(DiscoveryOccurrence.Types.VulnerabilityAttestation other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.DiscoveryOccurrencehttps://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.DiscoveryOccurrence.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.DiscoveryOccurrence.Types.VulnerabilityAttestation` |

## Properties

### Error

    public string Error { get; set; }

If failure, the error reason for why the attestation generation failed.

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

### LastAttemptTime

    public Timestamp LastAttemptTime { get; set; }

The last time we attempted to generate an attestation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### State

    public DiscoveryOccurrence.Types.VulnerabilityAttestation.Types.VulnerabilityAttestationState State { get; set; }

The success/failure state of the latest attestation attempt.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.DiscoveryOccurrencehttps://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.DiscoveryOccurrence.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.DiscoveryOccurrence.Types.VulnerabilityAttestationhttps://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.DiscoveryOccurrence.Types.VulnerabilityAttestation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.DiscoveryOccurrence.Types.VulnerabilityAttestation.Types.VulnerabilityAttestationState` |   |