# Google Cloud Confidential Computing V1 Client - Class VerifyAttestationRequest (1.7.1)

1.7.1 (latest) 1.7.0 1.6.2 1.5.0 1.4.1 1.3.0 1.2.2 1.1.1 1.0.0 0.8.3 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.2 0.1.1 Reference documentation and code samples for the Google Cloud Confidential Computing V1 Client class VerifyAttestationRequest.

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

Generated from protobuf message `google.cloud.confidentialcomputing.v1.VerifyAttestationRequest`

## Namespace

Google \\ Cloud \\ ConfidentialComputing \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getTdCcel

Optional. A TDX with CCEL and RTMR Attestation Quote.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.TdxCcelAttestation|null` |   |

### hasTdCcel

### setTdCcel

Optional. A TDX with CCEL and RTMR Attestation Quote.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.TdxCcelAttestation` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSevSnpAttestation

Optional. An SEV-SNP Attestation Report.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.SevSnpAttestation|null` |   |

### hasSevSnpAttestation

### setSevSnpAttestation

Optional. An SEV-SNP Attestation Report.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.SevSnpAttestation` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNvidiaAttestation

Optional. An Nvidia attestation report for GPU and NVSwitch devices.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.NvidiaAttestation|null` |   |

### hasNvidiaAttestation

### setNvidiaAttestation

Optional. An Nvidia attestation report for GPU and NVSwitch devices.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.NvidiaAttestation` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getChallenge

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setChallenge

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGcpCredentials

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.GcpCredentials|null` |   |

### hasGcpCredentials

### clearGcpCredentials

### setGcpCredentials

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.GcpCredentials` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTpmAttestation

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.TpmAttestation|null` |   |

### hasTpmAttestation

### clearTpmAttestation

### setTpmAttestation

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.TpmAttestation` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConfidentialSpaceInfo

Optional. Optional information related to the Confidential Space TEE.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.ConfidentialSpaceInfo|null` |   |

### hasConfidentialSpaceInfo

### clearConfidentialSpaceInfo

### setConfidentialSpaceInfo

Optional. Optional information related to the Confidential Space TEE.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.ConfidentialSpaceInfo` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTokenOptions

Optional. A collection of optional, workload-specified claims that modify
the token output.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.TokenOptions|null` |   |

### hasTokenOptions

### clearTokenOptions

### setTokenOptions

Optional. A collection of optional, workload-specified claims that modify
the token output.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.TokenOptions` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAttester

Optional. An optional indicator of the attester, only applies to certain
products.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setAttester

Optional. An optional indicator of the attester, only applies to certain
products.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTeeAttestation

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### getDeviceAttestation

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |