Reference documentation and code samples for the Google IAM V1beta API module Google::Iam::V1beta::WorkloadIdentityPool::State.
The current state of the pool.
Constants
STATE_UNSPECIFIED
value: 0 State unspecified.
ACTIVE
value: 1 The pool is active, and may be used in Google Cloud policies.
DELETED
value: 2 The pool is soft-deleted. Soft-deleted pools are permanently deleted
after approximately 30 days. You can restore a soft-deleted pool using
UndeleteWorkloadIdentityPool.
You cannot reuse the ID of a soft-deleted pool until it is permanently
deleted.
While a pool is deleted, you cannot use it to exchange tokens, or use
existing tokens to access resources. If the pool is undeleted, existing
tokens grant access again.
[[["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,["# Google IAM V1beta API - Module Google::Iam::V1beta::WorkloadIdentityPool::State (v0.3.6)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.6 (latest)](/ruby/docs/reference/google-iam-v1beta/latest/Google-Iam-V1beta-WorkloadIdentityPool-State)\n- [0.3.5](/ruby/docs/reference/google-iam-v1beta/0.3.5/Google-Iam-V1beta-WorkloadIdentityPool-State) \nReference documentation and code samples for the Google IAM V1beta API module Google::Iam::V1beta::WorkloadIdentityPool::State.\n\nThe current state of the pool.\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n**value:** 0 \nState unspecified.\n\n### ACTIVE\n\n**value:** 1 \nThe pool is active, and may be used in Google Cloud policies.\n\n### DELETED\n\n**value:** 2 \nThe pool is soft-deleted. Soft-deleted pools are permanently deleted\nafter approximately 30 days. You can restore a soft-deleted pool using\n[UndeleteWorkloadIdentityPool](/ruby/docs/reference/google-iam-v1beta/latest/Google-Iam-V1beta-WorkloadIdentityPools-Client#Google__Iam__V1beta__WorkloadIdentityPools__Client_undelete_workload_identity_pool_instance_ \"Google::Iam::V1beta::WorkloadIdentityPools::Client#undelete_workload_identity_pool (method)\").\n\n\nYou cannot reuse the ID of a soft-deleted pool until it is permanently\ndeleted.\n\n\u003cbr /\u003e\n\nWhile a pool is deleted, you cannot use it to exchange tokens, or use\nexisting tokens to access resources. If the pool is undeleted, existing\ntokens grant access again."]]