# Google Cloud Notebooks V2 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 V2 Client class ShieldedInstanceConfig.

A set of Shielded Instance options.

See [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.v2.ShieldedInstanceConfig`

## Namespace

Google \\ Cloud \\ Notebooks \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enable_secure_boot` | `bool` Optional. Defines whether the VM 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` Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default. |
| `↳ enable_integrity_monitoring` | `bool` Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default. |

### getEnableSecureBoot

Optional. Defines whether the VM 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

Optional. Defines whether the VM 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

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

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

### setEnableVtpm

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

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

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

### getEnableIntegrityMonitoring

Optional. Defines whether the VM instance has integrity monitoring enabled.

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

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

### setEnableIntegrityMonitoring

Optional. Defines whether the VM instance has integrity monitoring enabled.

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

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

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