# Class AttachedDisk (1.27.0)

1.27.0 (latest) 1.26.0 1.25.0 1.24.0 1.23.2 1.22.0 1.21.0 1.20.0 1.19.1 1.18.5 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.2 1.10.1 1.9.0 1.8.0 1.7.2 1.6.0 1.5.2 1.4.1 1.3.4 1.2.1 1.1.0 1.0.2 0.2.2 0.1.0

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

A node-attached disk resource.
Next ID: 8;

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `source_disk` | `str` Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk". |
| `mode` | `https://docs.cloud.google.com/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.AttachedDisk.DiskMode` The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks. |

## Classes

### DiskMode

    DiskMode(value)

The different mode of the attached disk.