Compute V1 Client - Class AccessMode (2.0.0)

Reference documentation and code samples for the Compute V1 Client class 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.

Protobuf type google.cloud.compute.v1.Disk.AccessMode

Namespace

Google \ Cloud \ Compute \ V1 \ Disk

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_ACCESS_MODE

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_ACCESS_MODE = 0;

READ_ONLY_MANY

Value: 63460265

The AccessMode means the disk can be attached to multiple instances in RO mode.

Generated from protobuf enum READ_ONLY_MANY = 63460265;

READ_WRITE_MANY

Value: 488743208

The AccessMode means the disk can be attached to multiple instances in RW mode.

Generated from protobuf enum READ_WRITE_MANY = 488743208;

READ_WRITE_SINGLE

Value: 99323089

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

Generated from protobuf enum READ_WRITE_SINGLE = 99323089;