# Confidential Computing v1alpha1 API - Class VerifyAttestationRequest (1.0.0-alpha06)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-alpha06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationRequest)
- [1.0.0-alpha05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/1.0.0-alpha05/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationRequest)

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

Reference documentation and code samples for the Confidential Computing v1alpha1 API class VerifyAttestationRequest.

A request for an OIDC token, providing all the necessary information needed
for this service to verify the plaform state of the requestor.

## Inheritance

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

## Implements

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

[Google.Cloud.ConfidentialComputing.V1Alpha1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1)

## Assembly

Google.Cloud.ConfidentialComputing.V1Alpha1.dll

## Constructors

### VerifyAttestationRequest()

    public VerifyAttestationRequest()

### VerifyAttestationRequest(VerifyAttestationRequest)

    public VerifyAttestationRequest(VerifyAttestationRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationRequest` |

## Properties

### Challenge

    public string Challenge { get; set; }

Required. The name of the Challenge whose nonce was used to generate the
attestation, in the format `projects/*/locations/*/challenges/*`. The
provided Challenge will be consumed, and cannot be used again.

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

### ChallengeAsChallengeName

    public ChallengeName ChallengeAsChallengeName { get; set; }

[ChallengeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ChallengeName)-typed view over the [Challenge](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.VerifyAttestationRequest#Google_Cloud_ConfidentialComputing_V1Alpha1_VerifyAttestationRequest_Challenge) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.ChallengeName` |   |

### GcpCredentials

    public GcpCredentials GcpCredentials { get; set; }

Optional. Credentials used to populate the "emails" claim in the
claims_token.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.GcpCredentials` |   |

### TpmAttestation

    public TpmAttestation TpmAttestation { get; set; }

Required. The TPM-specific data provided by the attesting platform, used to
populate any of the claims regarding platform state.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1Alpha1/latest/Google.Cloud.ConfidentialComputing.V1Alpha1.TpmAttestation` |   |