[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Secret Manager V1BETA2 API - Module Google::Cloud::SecretManager::V1beta2::SecretVersion::State (v0.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.0 (latest)](/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-SecretVersion-State)\n- [0.3.1](/ruby/docs/reference/google-cloud-secret_manager-v1beta2/0.3.1/Google-Cloud-SecretManager-V1beta2-SecretVersion-State)\n- [0.2.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta2/0.2.0/Google-Cloud-SecretManager-V1beta2-SecretVersion-State)\n- [0.1.1](/ruby/docs/reference/google-cloud-secret_manager-v1beta2/0.1.1/Google-Cloud-SecretManager-V1beta2-SecretVersion-State) \nReference documentation and code samples for the Secret Manager V1BETA2 API module Google::Cloud::SecretManager::V1beta2::SecretVersion::State.\n\nThe state of a\n[SecretVersion](/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-SecretVersion \"Google::Cloud::SecretManager::V1beta2::SecretVersion (class)\"),\nindicating if it can be accessed.\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n**value:** 0 \nNot specified. This value is unused and invalid.\n\n### ENABLED\n\n**value:** 1 \nThe [SecretVersion](/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-SecretVersion \"Google::Cloud::SecretManager::V1beta2::SecretVersion (class)\") may\nbe accessed.\n\n### DISABLED\n\n**value:** 2 \nThe [SecretVersion](/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-SecretVersion \"Google::Cloud::SecretManager::V1beta2::SecretVersion (class)\") may\nnot be accessed, but the secret data is still available and can be placed\nback into the\n[ENABLED](/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-SecretVersion-State#Google__Cloud__SecretManager__V1beta2__SecretVersion__State__ENABLED \"Google::Cloud::SecretManager::V1beta2::SecretVersion::State::ENABLED (constant)\")\nstate.\n\n### DESTROYED\n\n**value:** 3 \nThe [SecretVersion](/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-SecretVersion \"Google::Cloud::SecretManager::V1beta2::SecretVersion (class)\") is\ndestroyed and the secret data is no longer stored. A version may not\nleave this state once entered."]]