# Google Cloud Confidential Computing V1 Client - Class VerifyConfidentialSpaceRequest (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 VerifyConfidentialSpaceRequest.

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.VerifyConfidentialSpaceRequest`

## Namespace

Google \\ Cloud \\ ConfidentialComputing \\ V1

## Methods

### __construct

Constructor.

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

### getTdCcel

Input only. 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

Input only. 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` |   |

### getTpmAttestation

Input only. 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

### setTpmAttestation

Input only. 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` |   |

### 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. If not present, token will not contain the "emails" claim.

| **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. If not present, token will not contain the "emails" claim.

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

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

### getSignedEntities

Optional. A list of signed entities containing container image signatures
that can be used for server-side signature verification.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.SignedEntity>` |   |

### setSignedEntities

Optional. A list of signed entities containing container image signatures
that can be used for server-side signature verification.

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

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

### getGceShieldedIdentity

Optional. Information about the associated Compute Engine instance.

Required for td_ccel requests only - tpm_attestation requests will provide
this information in the attestation.

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

### hasGceShieldedIdentity

### clearGceShieldedIdentity

### setGceShieldedIdentity

Optional. Information about the associated Compute Engine instance.

Required for td_ccel requests only - tpm_attestation requests will provide
this information in the attestation.

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

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

### getOptions

Optional. A collection of fields that modify the token output.

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

### hasOptions

### clearOptions

### setOptions

Optional. A collection of fields that modify the token output.

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

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

### getNvidiaAttestation

Optional. An optional Nvidia attestation report, used to populate hardware
rooted claims for Nvidia devices.

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

### hasNvidiaAttestation

### clearNvidiaAttestation

### setNvidiaAttestation

Optional. An optional Nvidia attestation report, used to populate hardware
rooted claims for Nvidia devices.

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

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

### getTeeAttestation

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