mode property

String? mode
getter/setter pair

The mode in which to attach this disk, either READ_WRITE or READ_ONLY.

If not specified, the default is to attach the disk in READ_WRITE mode. Possible string values are:

  • "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.

Implementation

core.String? mode;