Enum UpdateInstanceRequest.MostDisruptiveAllowedAction (1.27.0)

public enum UpdateInstanceRequest.MostDisruptiveAllowedAction extends Enum<UpdateInstanceRequest.MostDisruptiveAllowedAction> implements ProtocolMessageEnum

Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART. Additional supported values which may be not listed in the enum directly due to technical reasons: INVALID NO_EFFECT REFRESH RESTART

Protobuf enum google.cloud.compute.v1.UpdateInstanceRequest.MostDisruptiveAllowedAction

Implements

ProtocolMessageEnum

Static Fields

NameDescription
UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION

A value indicating that the enum field is not set.

UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0;

UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION_VALUE

A value indicating that the enum field is not set.

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