1.57.0 (latest) 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.48.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.0 1.21.0 1.20.1 1.19.2 1.18.0 1.17.0 1.16.1 1.15.0 1.14.1 1.13.0 1.12.1 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

```python
SavedAttachedDisk(mapping=None, *, ignore_unknown_fields=False, **kwargs)
```
DEPRECATED: Please use compute#savedDisk instead.
An instance-attached disk resource.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `auto_delete` | `bool` Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). This field is a member of `oneof`_ `_auto_delete`. |
| `boot` | `bool` Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. This field is a member of `oneof`_ `_boot`. |
| `device_name` | `str` Specifies the name of the disk attached to the source instance. This field is a member of `oneof`_ `_device_name`. |
| `disk_encryption_key` | `google.cloud.compute_v1.types.CustomerEncryptionKey` The encryption key for the disk. This field is a member of `oneof`_ `_disk_encryption_key`. |
| `disk_size_gb` | `int` The size of the disk in base-2 GB. This field is a member of `oneof`_ `_disk_size_gb`. |
| `disk_type` | `str` Output only. \[Output Only\] URL of the disk type resource. For example:projects/project/zones/zone/diskTypes/pd-standard or pd-ssd This field is a member of `oneof`_ `_disk_type`. |
| `guest_os_features` | `MutableSequence[google.cloud.compute_v1.types.GuestOsFeature]` A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. |
| `index` | `int` Output only. Specifies zero-based index of the disk that is attached to the source instance. This field is a member of `oneof`_ `_index`. |
| `interface` | `str` Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. Check the Interface enum for the list of possible values. This field is a member of `oneof`_ `_interface`. |
| `kind` | `str` Output only. \[Output Only\] Type of the resource. Alwayscompute#attachedDisk for attached disks. This field is a member of `oneof`_ `_kind`. |
| `licenses` | `MutableSequence[str]` Output only. \[Output Only\] Any valid publicly visible licenses. |
| `mode` | `str` The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY. Check the Mode enum for the list of possible values. This field is a member of `oneof`_ `_mode`. |
| `source` | `str` Specifies a URL of the disk attached to the source instance. This field is a member of `oneof`_ `_source`. |
| `storage_bytes` | `int` Output only. \[Output Only\] A size of the storage used by the disk's snapshot by this machine image. This field is a member of `oneof`_ `_storage_bytes`. |
| `storage_bytes_status` | `str` Output only. \[Output Only\] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values. This field is a member of `oneof`_ `_storage_bytes_status`. |
| `type_` | `str` Specifies the type of the attached disk, either SCRATCH orPERSISTENT. Check the Type enum for the list of possible values. This field is a member of `oneof`_ `_type`. |

## Classes

### Interface

```python
Interface(value)
```
Specifies the disk interface to use for attaching this disk,
which is either SCSI or NVME.

### Mode

```python
Mode(value)
```
The mode in which this disk is attached to the source instance,
eitherREAD_WRITE or READ_ONLY.

### StorageBytesStatus

```python
StorageBytesStatus(value)
```
Output only. \[Output Only\] An indicator whether storageBytes is in a
stable state or it is being adjusted as a result of shared storage
reallocation. This status can either be UPDATING, meaning the size
of the snapshot is being updated, or UP_TO_DATE, meaning the size of
the snapshot is up-to-date.

### Type

```python
Type(value)
```
Specifies the type of the attached disk, either SCRATCH
orPERSISTENT.