Send feedback
Class DiskConfig (5.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
DiskConfig ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Attributes
Name
Description
boot_disk_type
str
Optional. Type of the boot disk (default is "pd-standard").
Valid values: "pd-balanced" (Persistent Disk Balanced Solid
State Drive), "pd-ssd" (Persistent Disk Solid State Drive),
or "pd-standard" (Persistent Disk Hard Disk Drive). See
`Disk
types
boot_disk_size_gb
int
Optional. Size in GB of the boot disk
(default is 500GB).
num_local_ssds
int
Optional. Number of attached SSDs, from 0 to 8 (default is
0). If SSDs are not attached, the boot disk is used to store
runtime logs and
HDFS
__
data. If one or more SSDs are attached, this runtime bulk
data is spread across them, and the boot disk contains only
basic config and installed binaries.
Note: Local SSD options may vary by machine type and number
of vCPUs selected.
local_ssd_interface
str
Optional. Interface type of local SSDs (default is "scsi").
Valid values: "scsi" (Small Computer System Interface),
"nvme" (Non-Volatile Memory Express). See `local SSD
performance
boot_disk_provisioned_iops
int
Optional. Indicates how many IOPS to provision for the disk.
This sets the number of I/O operations per second that the
disk can handle. Note: This field is only supported if
boot_disk_type is hyperdisk-balanced.
This field is a member of oneof
_ _boot_disk_provisioned_iops
.
boot_disk_provisioned_throughput
int
Optional. Indicates how much throughput to provision for the
disk. This sets the number of throughput mb per second that
the disk can handle. Values must be greater than or equal to
1. Note: This field is only supported if boot_disk_type is
hyperdisk-balanced.
This field is a member of oneof
_ _boot_disk_provisioned_throughput
.
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-08-07 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-08-07 UTC."],[],[],null,["# Class DiskConfig (5.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.21.0 (latest)](/python/docs/reference/dataproc/latest/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.20.0](/python/docs/reference/dataproc/5.20.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.18.1](/python/docs/reference/dataproc/5.18.1/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.17.1](/python/docs/reference/dataproc/5.17.1/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.16.0](/python/docs/reference/dataproc/5.16.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.15.1](/python/docs/reference/dataproc/5.15.1/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.14.0](/python/docs/reference/dataproc/5.14.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.13.0](/python/docs/reference/dataproc/5.13.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.12.0](/python/docs/reference/dataproc/5.12.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.10.2](/python/docs/reference/dataproc/5.10.2/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.9.3](/python/docs/reference/dataproc/5.9.3/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.8.0](/python/docs/reference/dataproc/5.8.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.7.0](/python/docs/reference/dataproc/5.7.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.6.0](/python/docs/reference/dataproc/5.6.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.5.1](/python/docs/reference/dataproc/5.5.1/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.4.3](/python/docs/reference/dataproc/5.4.3/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.3.0](/python/docs/reference/dataproc/5.3.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.2.0](/python/docs/reference/dataproc/5.2.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.1.0](/python/docs/reference/dataproc/5.1.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [5.0.3](/python/docs/reference/dataproc/5.0.3/google.cloud.dataproc_v1.types.DiskConfig)\n- [4.0.3](/python/docs/reference/dataproc/4.0.3/google.cloud.dataproc_v1.types.DiskConfig)\n- [3.3.2](/python/docs/reference/dataproc/3.3.2/google.cloud.dataproc_v1.types.DiskConfig)\n- [3.2.0](/python/docs/reference/dataproc/3.2.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [3.1.1](/python/docs/reference/dataproc/3.1.1/google.cloud.dataproc_v1.types.DiskConfig)\n- [3.0.0](/python/docs/reference/dataproc/3.0.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [2.6.2](/python/docs/reference/dataproc/2.6.2/google.cloud.dataproc_v1.types.DiskConfig)\n- [2.5.0](/python/docs/reference/dataproc/2.5.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [2.4.0](/python/docs/reference/dataproc/2.4.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [2.3.1](/python/docs/reference/dataproc/2.3.1/google.cloud.dataproc_v1.types.DiskConfig)\n- [2.2.0](/python/docs/reference/dataproc/2.2.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [2.0.2](/python/docs/reference/dataproc/2.0.2/google.cloud.dataproc_v1.types.DiskConfig)\n- [1.1.3](/python/docs/reference/dataproc/1.1.3/google.cloud.dataproc_v1.types.DiskConfig)\n- [1.0.1](/python/docs/reference/dataproc/1.0.1/google.cloud.dataproc_v1.types.DiskConfig)\n- [0.8.2](/python/docs/reference/dataproc/0.8.2/google.cloud.dataproc_v1.types.DiskConfig)\n- [0.7.0](/python/docs/reference/dataproc/0.7.0/google.cloud.dataproc_v1.types.DiskConfig)\n- [0.6.1](/python/docs/reference/dataproc/0.6.1/google.cloud.dataproc_v1.types.DiskConfig)\n- [0.5.0](/python/docs/reference/dataproc/0.5.0/google.cloud.dataproc_v1.types.DiskConfig) \n\n DiskConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nSpecifies the config of disk options for a group of VM\ninstances.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]