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

An Nvidia attestation report for GPU and NVSwitch devices.

Contains necessary attestation evidence that the client collects for
verification.

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

## Namespace

Google \\ Cloud \\ ConfidentialComputing \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ spt` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.NvidiaAttestation.SinglePassthroughAttestation` Single GPU Passthrough (SPT) attestation. |
| `↳ ppcie` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.NvidiaAttestation.ProtectedPcieAttestation` Protected PCIe (PPCIE) attestation. |
| `↳ mpt` | `https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.NvidiaAttestation.MultiGpuSecurePassthroughAttestation` Multi-GPU Secure Passthrough (MPT) attestation. |

### getSpt

Single GPU Passthrough (SPT) attestation.

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

### hasSpt

### setSpt

Single GPU Passthrough (SPT) attestation.

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

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

### getPpcie

Protected PCIe (PPCIE) attestation.

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

### hasPpcie

### setPpcie

Protected PCIe (PPCIE) attestation.

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

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

### getMpt

Multi-GPU Secure Passthrough (MPT) attestation.

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

### hasMpt

### setMpt

Multi-GPU Secure Passthrough (MPT) attestation.

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

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

### getCcFeature

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