Enum Disk.AccessMode (1.65.0)

public enum Disk.AccessMode extends Enum<Disk.AccessMode> implements ProtocolMessageEnum

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 enum google.cloud.compute.v1.Disk.AccessMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
READ_ONLY_MANY

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

READ_ONLY_MANY = 63460265;

READ_ONLY_MANY_VALUE

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

READ_ONLY_MANY = 63460265;

READ_WRITE_MANY

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

READ_WRITE_MANY = 488743208;

READ_WRITE_MANY_VALUE

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

READ_WRITE_MANY = 488743208;

READ_WRITE_SINGLE

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

READ_WRITE_SINGLE = 99323089;

READ_WRITE_SINGLE_VALUE

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

READ_WRITE_SINGLE = 99323089;

UNDEFINED_ACCESS_MODE

A value indicating that the enum field is not set.

UNDEFINED_ACCESS_MODE = 0;

UNDEFINED_ACCESS_MODE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_ACCESS_MODE = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()