public enum AttachedDiskInitializeParams.OnUpdateAction extends Enum<AttachedDiskInitializeParams.OnUpdateAction> implements ProtocolMessageEnum
Specifies which action to take on instance update with this disk. Default is to use the existing disk.
Protobuf enum google.cloud.compute.v1.AttachedDiskInitializeParams.OnUpdateAction
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
RECREATE_DISK |
Always recreate the disk. |
RECREATE_DISK_IF_SOURCE_CHANGED |
Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. |
RECREATE_DISK_IF_SOURCE_CHANGED_VALUE |
Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. |
RECREATE_DISK_VALUE |
Always recreate the disk. |
UNDEFINED_ON_UPDATE_ACTION |
A value indicating that the enum field is not set. |
UNDEFINED_ON_UPDATE_ACTION_VALUE |
A value indicating that the enum field is not set. |
UNRECOGNIZED |
|
USE_EXISTING_DISK |
Use the existing disk, this is the default behaviour. |
USE_EXISTING_DISK_VALUE |
Use the existing disk, this is the default behaviour. |
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() |