# Class AllocatedDisk (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.0

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

A specification of the interface and size of disk attached to
the instance.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `disk_size_gb` | `int` Specifies the size of the disk in base-2 GB. |
| `disk_interface` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface` Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. |

## Classes

### DiskInterface

    DiskInterface(value)

guest device interface options to use for the disk.