Enum SecretVersion.State (2.44.0)

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

The state of a SecretVersion, indicating if it can be accessed.

Protobuf enum google.cloud.secretmanager.v1.SecretVersion.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
DESTROYED

The SecretVersion is destroyed and the secret data is no longer stored. A version may not leave this state once entered.

DESTROYED = 3;

DESTROYED_VALUE

The SecretVersion is destroyed and the secret data is no longer stored. A version may not leave this state once entered.

DESTROYED = 3;

DISABLED

The SecretVersion may not be accessed, but the secret data is still available and can be placed back into the ENABLED state.

DISABLED = 2;

DISABLED_VALUE

The SecretVersion may not be accessed, but the secret data is still available and can be placed back into the ENABLED state.

DISABLED = 2;

ENABLED

The SecretVersion may be accessed.

ENABLED = 1;

ENABLED_VALUE

The SecretVersion may be accessed.

ENABLED = 1;

STATE_UNSPECIFIED

Not specified. This value is unused and invalid.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Not specified. This value is unused and invalid.

STATE_UNSPECIFIED = 0;

UNRECOGNIZED

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