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

SwitchInfo contains the attestation evidence for a NVSwitch device.

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

## 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 NVSwitch device. |
| `↳ attestation_certificate_chain` | `string` Optional. The raw attestation certificate chain for the NVSwitch device. |
| `↳ attestation_report` | `string` Optional. The raw attestation report for the NvSwitch 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 NVSwitch device.

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

### setUuid

Optional. The UUID of the NVSwitch device.

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

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

### getAttestationCertificateChain

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

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

### setAttestationCertificateChain

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

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

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

### getAttestationReport

Optional. The raw attestation report for the NvSwitch 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 NvSwitch 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` |   |