The access mode of the disk. - READ_WRITE_SINGLE: The default
AccessMode, means the disk can be attached to single instance in RW
mode. - READ_WRITE_MANY: The AccessMode means the disk can be
attached to multiple instances in RW mode. - READ_ONLY_MANY: The
AccessMode means the disk can be attached to multiple instances in
RO mode. The AccessMode is only valid for Hyperdisk disk types.
Enums
Name
Description
UNDEFINED_ACCESS_MODE
A value indicating that the enum field is not set.
READ_ONLY_MANY
The AccessMode means the disk can be attached to multiple instances in RO mode.
READ_WRITE_MANY
The AccessMode means the disk can be attached to multiple instances in RW mode.
READ_WRITE_SINGLE
The default AccessMode, means the disk can be attached to single instance in RW mode.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class AccessMode (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.Disk.AccessMode)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.Disk.AccessMode) \n\n AccessMode(value)\n\nThe access mode of the disk. - READ_WRITE_SINGLE: The default\nAccessMode, means the disk can be attached to single instance in RW\nmode. - READ_WRITE_MANY: The AccessMode means the disk can be\nattached to multiple instances in RW mode. - READ_ONLY_MANY: The\nAccessMode means the disk can be attached to multiple instances in\nRO mode. The AccessMode is only valid for Hyperdisk disk types."]]