Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::Disk::AccessMode (v2.14.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Disk::AccessMode.

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.

Constants

UNDEFINED_ACCESS_MODE

value: 0
A value indicating that the enum field is not set.

READ_ONLY_MANY

value: 63_460_265
The AccessMode means the disk can be attached to multiple instances in RO mode.

READ_WRITE_MANY

value: 488_743_208
The AccessMode means the disk can be attached to multiple instances in RW mode.

READ_WRITE_SINGLE

value: 99_323_089
The default AccessMode, means the disk can be attached to single instance in RW mode.