[[["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-04 UTC."],[],[],null,["# Secret Manager V1 Client - Class State (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-secret-manager/latest/V1.SecretVersion.State)\n- [2.1.0](/php/docs/reference/cloud-secret-manager/2.1.0/V1.SecretVersion.State)\n- [2.0.2](/php/docs/reference/cloud-secret-manager/2.0.2/V1.SecretVersion.State)\n- [1.15.4](/php/docs/reference/cloud-secret-manager/1.15.4/V1.SecretVersion.State)\n- [1.13.0](/php/docs/reference/cloud-secret-manager/1.13.0/V1.SecretVersion.State)\n- [1.12.3](/php/docs/reference/cloud-secret-manager/1.12.3/V1.SecretVersion.State)\n- [1.11.0](/php/docs/reference/cloud-secret-manager/1.11.0/V1.SecretVersion.State)\n- [1.10.4](/php/docs/reference/cloud-secret-manager/1.10.4/V1.SecretVersion.State)\n- [1.9.7](/php/docs/reference/cloud-secret-manager/1.9.7/V1.SecretVersion.State) \nReference documentation and code samples for the Secret Manager V1 Client class State.\n\nThe state of a\n[SecretVersion](/php/docs/reference/cloud-secret-manager/latest/V1.SecretVersion), indicating if\nit can be accessed.\n\nProtobuf type `google.cloud.secretmanager.v1.SecretVersion.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecretManager \\\\ V1 \\\\ SecretVersion\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nNot specified. This value is unused and invalid.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### ENABLED\n\n Value: 1\n\nThe [SecretVersion](/php/docs/reference/cloud-secret-manager/latest/V1.SecretVersion) may be\naccessed.\n\nGenerated from protobuf enum `ENABLED = 1;`\n\n### DISABLED\n\n Value: 2\n\nThe [SecretVersion](/php/docs/reference/cloud-secret-manager/latest/V1.SecretVersion) may not\nbe accessed, but the secret data is still available and can be placed\nback into the\n[ENABLED](/php/docs/reference/cloud-secret-manager/latest/V1.SecretVersion.State#_Google_Cloud_SecretManager_V1_SecretVersion_State__ENABLED)\nstate.\n\nGenerated from protobuf enum `DISABLED = 2;`\n\n### DESTROYED\n\n Value: 3\n\nThe [SecretVersion](/php/docs/reference/cloud-secret-manager/latest/V1.SecretVersion) is\ndestroyed and the secret data is no longer stored. A version may not\nleave this state once entered.\n\nGenerated from protobuf enum `DESTROYED = 3;`"]]