Send feedback
Class DataDisk (1.13.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class DataDisk (1.13.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.13.3 (latest)](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v2.types.DataDisk)\n- [1.13.1](/python/docs/reference/notebooks/1.13.1/google.cloud.notebooks_v2.types.DataDisk)\n- [1.12.0](/python/docs/reference/notebooks/1.12.0/google.cloud.notebooks_v2.types.DataDisk)\n- [1.11.1](/python/docs/reference/notebooks/1.11.1/google.cloud.notebooks_v2.types.DataDisk)\n- [1.10.5](/python/docs/reference/notebooks/1.10.5/google.cloud.notebooks_v2.types.DataDisk)\n- [1.9.0](/python/docs/reference/notebooks/1.9.0/google.cloud.notebooks_v2.types.DataDisk)\n- [1.8.0](/python/docs/reference/notebooks/1.8.0/google.cloud.notebooks_v2.types.DataDisk)\n- [1.7.1](/python/docs/reference/notebooks/1.7.1/google.cloud.notebooks_v2.types.DataDisk)\n- [1.6.1](/python/docs/reference/notebooks/1.6.1/google.cloud.notebooks_v2.types.DataDisk)\n- [1.5.1](/python/docs/reference/notebooks/1.5.1/google.cloud.notebooks_v2.types.DataDisk)\n- [1.4.4](/python/docs/reference/notebooks/1.4.4/google.cloud.notebooks_v2.types.DataDisk)\n- [1.3.2](/python/docs/reference/notebooks/1.3.2/google.cloud.notebooks_v2.types.DataDisk)\n- [1.2.1](/python/docs/reference/notebooks/1.2.1/google.cloud.notebooks_v2.types.DataDisk)\n- [1.1.1](/python/docs/reference/notebooks/1.1.1/google.cloud.notebooks_v2.types.DataDisk)\n- [1.0.0](/python/docs/reference/notebooks/1.0.0/google.cloud.notebooks_v2.types.DataDisk)\n- [0.4.3](/python/docs/reference/notebooks/0.4.3/google.cloud.notebooks_v2.types.DataDisk)\n- [0.3.2](/python/docs/reference/notebooks/0.3.2/google.cloud.notebooks_v2.types.DataDisk)\n- [0.2.0](/python/docs/reference/notebooks/0.2.0/google.cloud.notebooks_v2.types.DataDisk)\n- [0.1.2](/python/docs/reference/notebooks/0.1.2/google.cloud.notebooks_v2.types.DataDisk) \n\n DataDisk(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nAn instance-attached disk resource."]]