Class Mode (1.50.0)
Stay organized with collections
Save and categorize content based on your preferences.
The mode in which this disk is attached to the source instance,
eitherREAD_WRITE or READ_ONLY.
Enums |
| Name |
Description |
UNDEFINED_MODE |
A value indicating that the enum field is not set. |
READ_ONLY |
Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time. |
READ_WRITE |
*[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode. |
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 2026-07-18 UTC.
[null,null,["Last updated 2026-07-18 UTC."],[],[]]