Module: Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionState
- Defined in:
 - lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb
 
Overview
The state of a CryptoKeyVersion, indicating if it can be used.
Constant Summary collapse
- CRYPTO_KEY_VERSION_STATE_UNSPECIFIED =
          
Not specified.
 0- ENABLED =
          
This version may be used in Encrypt and Decrypt requests.
 1- DISABLED =
          
This version may not be used, but the key material is still available, and the version can be placed back into the ENABLED state.
 2- DESTROYED =
          
This version is destroyed, and the key material is no longer stored. A version may not leave this state once entered.
 3- DESTROY_SCHEDULED =
          
This version is scheduled for destruction, and will be destroyed soon. Call RestoreCryptoKeyVersion to put it back into the DISABLED state.
 4