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

GpuInfo contains the attestation evidence for a GPU device.

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

## Namespace

Google \\ Cloud \\ ConfidentialComputing \\ V1 \\ NvidiaAttestation

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uuid` | `string` Optional. The UUID of the GPU device. |
| `↳ driver_version` | `string` Optional. The driver version of the GPU. |
| `↳ vbios_version` | `string` Optional. The vBIOS version of the GPU. |
| `↳ gpu_architecture_type` | `int` Optional. The GPU architecture type. |
| `↳ attestation_certificate_chain` | `string` Optional. The raw attestation certificate chain for the GPU device. |
| `↳ attestation_report` | `string` Optional. The raw attestation report for the GPU device. This field contains SPDM request/response defined in <https://www.dmtf.org/sites/default/files/standards/documents/DSP0274_1.1.0.pdf> |

### getUuid

Optional. The UUID of the GPU device.

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

### setUuid

Optional. The UUID of the GPU device.

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

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

### getDriverVersion

Optional. The driver version of the GPU.

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

### setDriverVersion

Optional. The driver version of the GPU.

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

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

### getVbiosVersion

Optional. The vBIOS version of the GPU.

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

### setVbiosVersion

Optional. The vBIOS version of the GPU.

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

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

### getGpuArchitectureType

Optional. The GPU architecture type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [GpuArchitectureType](https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.NvidiaAttestation.GpuArchitectureType). |

### setGpuArchitectureType

Optional. The GPU architecture type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [GpuArchitectureType](https://docs.cloud.google.com/php/docs/reference/cloud-confidentialcomputing/latest/V1.NvidiaAttestation.GpuArchitectureType). |

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

### getAttestationCertificateChain

Optional. The raw attestation certificate chain for the GPU device.

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

### setAttestationCertificateChain

Optional. The raw attestation certificate chain for the GPU device.

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

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

### getAttestationReport

Optional. The raw attestation report for the GPU device.

This field contains SPDM request/response defined in
<https://www.dmtf.org/sites/default/files/standards/documents/DSP0274_1.1.0.pdf>

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

### setAttestationReport

Optional. The raw attestation report for the GPU device.

This field contains SPDM request/response defined in
<https://www.dmtf.org/sites/default/files/standards/documents/DSP0274_1.1.0.pdf>

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

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