public enum SavedAttachedDisk.Mode extends Enum<SavedAttachedDisk.Mode> implements ProtocolMessageEnumThe mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY.
Protobuf enum google.cloud.compute.v1.SavedAttachedDisk.Mode
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
READ_ONLY |
Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time. |
READ_ONLY_VALUE |
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. |
READ_WRITE_VALUE |
[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. |
UNDEFINED_MODE |
A value indicating that the enum field is not set. |
UNDEFINED_MODE_VALUE |
A value indicating that the enum field is not set. |
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() |
|