Class DataDisk (1.11.1)

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

An instance-attached disk resource.

Attributes

Name Description
disk_size_gb int
Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
disk_type google.cloud.notebooks_v2.types.DiskType
Optional. Input only. Indicates the type of the disk.
disk_encryption google.cloud.notebooks_v2.types.DiskEncryption
Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
kms_key str
Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} Learn more about using your own encryption keys.