Enum DeprecationStatus.State (1.39.0)

public enum DeprecationStatus.State extends Enum<DeprecationStatus.State> implements ProtocolMessageEnum

The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.

Protobuf enum google.cloud.compute.v1.DeprecationStatus.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACTIVE

ACTIVE = 314733318;

ACTIVE_VALUE

ACTIVE = 314733318;

DELETED

DELETED = 120962041;

DELETED_VALUE

DELETED = 120962041;

DEPRECATED

DEPRECATED = 463360435;

DEPRECATED_VALUE

DEPRECATED = 463360435;

OBSOLETE

OBSOLETE = 66532761;

OBSOLETE_VALUE

OBSOLETE = 66532761;

UNDEFINED_STATE

A value indicating that the enum field is not set.

UNDEFINED_STATE = 0;

UNDEFINED_STATE_VALUE

A value indicating that the enum field is not set.

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