# Google Cloud Notebooks V1 Client - Class ShieldedInstanceConfig (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.7.5 0.6.2 0.5.0 0.4.1 0.3.6 Reference documentation and code samples for the Google Cloud Notebooks V1 Client class ShieldedInstanceConfig.

A set of Shielded Instance options.

Check [Images using supported Shielded VM
features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
Not all combinations are valid.

Generated from protobuf message `google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig`

## Namespace

Google \\ Cloud \\ Notebooks \\ V1 \\ Instance

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enable_secure_boot` | `bool` Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default. |
| `↳ enable_vtpm` | `bool` Defines whether the instance has the vTPM enabled. Enabled by default. |
| `↳ enable_integrity_monitoring` | `bool` Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default. |

### getEnableSecureBoot

Defines whether the instance has Secure Boot enabled.

Secure Boot helps ensure that the system only runs authentic software by
verifying the digital signature of all boot components, and halting the
boot process if signature verification fails. Disabled by default.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnableSecureBoot

Defines whether the instance has Secure Boot enabled.

Secure Boot helps ensure that the system only runs authentic software by
verifying the digital signature of all boot components, and halting the
boot process if signature verification fails. Disabled by default.

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

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

### getEnableVtpm

Defines whether the instance has the vTPM enabled. Enabled by default.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnableVtpm

Defines whether the instance has the vTPM enabled. Enabled by default.

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

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

### getEnableIntegrityMonitoring

Defines whether the instance has integrity monitoring enabled.

Enables monitoring and attestation of the boot integrity of the instance.
The attestation is performed against the integrity policy baseline. This
baseline is initially derived from the implicitly trusted boot image when
the instance is created. Enabled by default.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnableIntegrityMonitoring

Defines whether the instance has integrity monitoring enabled.

Enables monitoring and attestation of the boot integrity of the instance.
The attestation is performed against the integrity policy baseline. This
baseline is initially derived from the implicitly trusted boot image when
the instance is created. Enabled by default.

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

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