Enum Scheduling.InstanceTerminationAction (1.51.0)

public enum Scheduling.InstanceTerminationAction extends Enum<Scheduling.InstanceTerminationAction> implements ProtocolMessageEnum

Specifies the termination action for the instance.

Protobuf enum google.cloud.compute.v1.Scheduling.InstanceTerminationAction

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DELETE

Delete the VM.

DELETE = 402225579;

DELETE_VALUE

Delete the VM.

DELETE = 402225579;

INSTANCE_TERMINATION_ACTION_UNSPECIFIED

Default value. This value is unused.

INSTANCE_TERMINATION_ACTION_UNSPECIFIED = 92954803;

INSTANCE_TERMINATION_ACTION_UNSPECIFIED_VALUE

Default value. This value is unused.

INSTANCE_TERMINATION_ACTION_UNSPECIFIED = 92954803;

STOP

Stop the VM without storing in-memory content. default action.

STOP = 2555906;

STOP_VALUE

Stop the VM without storing in-memory content. default action.

STOP = 2555906;

UNDEFINED_INSTANCE_TERMINATION_ACTION

A value indicating that the enum field is not set.

UNDEFINED_INSTANCE_TERMINATION_ACTION = 0;

UNDEFINED_INSTANCE_TERMINATION_ACTION_VALUE

A value indicating that the enum field is not set.

UNDEFINED_INSTANCE_TERMINATION_ACTION = 0;

UNRECOGNIZED

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()