# Class LocalDiskInitializeParams (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

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

Input only. Specifies the parameters for a new disk that will
be created alongside the new instance. Use initialization
parameters to create boot disks or local SSDs attached to the
new runtime.
This property is mutually exclusive with the source property;
you can only define one or the other, but not both.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `description` | `str` Optional. Provide this property when creating the disk. |
| `disk_name` | `str` Optional. Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated. |
| `disk_size_gb` | `int` Optional. Specifies the size of the disk in base-2 GB. If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB. |
| `disk_type` | `https://docs.cloud.google.com/python/docs/reference/notebooks/latest/google.cloud.notebooks_v1.types.LocalDiskInitializeParams.DiskType` Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`). |
| `labels` | `MutableMapping[str, str]` Optional. Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks. |

## Classes

### DiskType

    DiskType(value)

Possible disk types.

### LabelsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |