Enum AttachedDiskInitializeParams.OnUpdateAction (1.46.0)

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

ProtocolMessageEnum

Static Fields

NameDescription
RECREATE_DISK

Always recreate the disk.

RECREATE_DISK = 494767853;

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 = 398099712;

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_IF_SOURCE_CHANGED = 398099712;

RECREATE_DISK_VALUE

Always recreate the disk.

RECREATE_DISK = 494767853;

UNDEFINED_ON_UPDATE_ACTION

A value indicating that the enum field is not set.

UNDEFINED_ON_UPDATE_ACTION = 0;

UNDEFINED_ON_UPDATE_ACTION_VALUE

A value indicating that the enum field is not set.

UNDEFINED_ON_UPDATE_ACTION = 0;

UNRECOGNIZED
USE_EXISTING_DISK

Use the existing disk, this is the default behaviour.

USE_EXISTING_DISK = 232682233;

USE_EXISTING_DISK_VALUE

Use the existing disk, this is the default behaviour.

USE_EXISTING_DISK = 232682233;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()