Enum SecretVersion.State

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.secrets.v1beta1.SecretVersion.State

Implements

ProtocolMessageEnum

Fields

NameDescription
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

Methods

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

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()