Send feedback
Secret Manager V1beta2 Client - Class State (2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
2.3.0 (latest)
2.2.2
2.1.1
2.0.2
1.15.4
1.13.0
1.12.3
1.11.0
1.10.4
1.9.7
Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
Reference documentation and code samples for the Secret Manager V1beta2 Client class State.
The state of a
SecretVersion ,
indicating if it can be accessed.
Protobuf type google.cloud.secretmanager.v1beta2.SecretVersion.State
Namespace
Google \ Cloud \ SecretManager \ V1beta2 \ SecretVersion
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
STATE_UNSPECIFIED
Not specified. This value is unused and invalid.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
ENABLED
The SecretVersion may
be accessed.
Generated from protobuf enum ENABLED = 1;
DISABLED
The SecretVersion may
not be accessed, but the secret data is still available and can be placed
back into the
ENABLED
state.
Generated from protobuf enum DISABLED = 2;
DESTROYED
The SecretVersion is
destroyed and the secret data is no longer stored. A version may not
leave this state once entered.
Generated from protobuf enum DESTROYED = 3;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-18 UTC.
Need to tell us more?
[[["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 2026-03-18 UTC."],[],[]]