# Google Cloud Notebooks V1 Client - Class GuestOsFeature (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 GuestOsFeature.

Guest OS features for boot disk.

Generated from protobuf message `google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `string` The ID of a supported feature. Read Enabling guest operating system features to see a list of available options. Valid values: \* \* `FEATURE_TYPE_UNSPECIFIED` \* \* `MULTI_IP_SUBNET` \* \* `SECURE_BOOT` \* \* `UEFI_COMPATIBLE` \* \* `VIRTIO_SCSI_MULTIQUEUE` \* \* `WINDOWS` |

### getType

The ID of a supported feature. Read Enabling guest operating system
features to see a list of available options.

Valid values:

- `FEATURE_TYPE_UNSPECIFIED`
- `MULTI_IP_SUBNET`
- `SECURE_BOOT`
- `UEFI_COMPATIBLE`
- `VIRTIO_SCSI_MULTIQUEUE`
- `WINDOWS`

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

### setType

The ID of a supported feature. Read Enabling guest operating system
features to see a list of available options.

Valid values:

- `FEATURE_TYPE_UNSPECIFIED`
- `MULTI_IP_SUBNET`
- `SECURE_BOOT`
- `UEFI_COMPATIBLE`
- `VIRTIO_SCSI_MULTIQUEUE`
- `WINDOWS`

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

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