# Class SourceDiskEncryptionKey (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `disk_encryption_key` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.CustomerEncryptionKey` Thecustomer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. This field is a member of `oneof`_ `_disk_encryption_key`. |
| `source_disk` | `str` URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk This field is a member of `oneof`_ `_source_disk`. |