# Class BootDiskDefaults (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.3 1.10.0 1.9.1 1.8.5 1.7.0 1.6.2 1.5.1 1.4.0 1.3.3 1.2.0 1.1.2 1.0.0 0.1.0

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

BootDiskDefaults hold information about the boot disk of a
VM.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `image` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.BootDiskDefaults.DiskImageDefaults` The image to use when creating the disk. This field is a member of `oneof`_ `source`. |
| `disk_name` | `str` Optional. The name of the disk. |
| `disk_type` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ComputeEngineDiskType` Optional. The type of disk provisioning to use for the VM. |
| `device_name` | `str` Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-\\\* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. |
| `encryption` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.Encryption` Optional. The encryption to apply to the boot disk. |

## Classes

### DiskImageDefaults

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

Contains details about the image source used to create the
disk.