# Class BootDisk (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.3 1.12.0 1.11.1 1.10.5 1.9.0 1.8.0 1.7.1 1.6.1 1.5.1 1.4.4 1.3.2 1.2.1 1.1.1 1.0.0 0.4.3 0.3.2 0.2.0 0.1.2

    BootDisk(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The definition of a boot disk.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `disk_size_gb` | `int` Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB. |
| `disk_type` | `https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiskType` Optional. Indicates the type of the disk. |
| `disk_encryption` | `https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DiskEncryption` Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK. |
| `kms_key` | `str` Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}` Learn more about using your own encryption keys. |