Google Cloud Backup Dr V1beta Client - Class DiskMode (0.15.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class DiskMode.
List of the Disk Modes.
Protobuf type google.cloud.backupdr.v1beta.AttachedDisk.DiskMode
Namespace
Google \ Cloud \ BackupDR \ V1beta \ AttachedDisk
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
DISK_MODE_UNSPECIFIED
Value: 0
Default value, which is unused.
Generated from protobuf enum DISK_MODE_UNSPECIFIED = 0;
READ_WRITE
Value: 1
Attaches this disk in read-write mode. Only one
virtual machine at a time can be attached to a disk in read-write mode.
Generated from protobuf enum READ_WRITE = 1;
READ_ONLY
Value: 2
Attaches this disk in read-only mode. Multiple virtual machines can use
a disk in read-only mode at a time.
Generated from protobuf enum READ_ONLY = 2;
LOCKED
Value: 3
The disk is locked for administrative reasons. Nobody else
can use the disk. This mode is used (for example) when taking
a snapshot of a disk to prevent mounting the disk while it is
being snapshotted.
[[["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 2026-10-02 UTC."],[],[]]