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
ProtocolMessageEnumStatic 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_VALUE | The SecretVersion is destroyed and the secret data is no longer stored. A version may not leave this state once entered. |
DISABLED | The SecretVersion may not be accessed, but the secret data is still available and can be placed back into the ENABLED state. |
DISABLED_VALUE | The SecretVersion may not be accessed, but the secret data is still available and can be placed back into the ENABLED state. |
ENABLED | The SecretVersion may be accessed. |
ENABLED_VALUE | The SecretVersion may be accessed. |
STATE_UNSPECIFIED | Not specified. This value is unused and invalid. |
STATE_UNSPECIFIED_VALUE | Not specified. This value is unused and invalid. |
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() |