[[["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,["# Privileged Access Manager V1 API - Module Google::Cloud::PrivilegedAccessManager::V1::Grant::State (v1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/latest/Google-Cloud-PrivilegedAccessManager-V1-Grant-State)\n- [1.1.0](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/1.1.0/Google-Cloud-PrivilegedAccessManager-V1-Grant-State)\n- [1.0.1](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/1.0.1/Google-Cloud-PrivilegedAccessManager-V1-Grant-State)\n- [0.3.0](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/0.3.0/Google-Cloud-PrivilegedAccessManager-V1-Grant-State)\n- [0.2.0](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/0.2.0/Google-Cloud-PrivilegedAccessManager-V1-Grant-State)\n- [0.1.2](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/0.1.2/Google-Cloud-PrivilegedAccessManager-V1-Grant-State) \nReference documentation and code samples for the Privileged Access Manager V1 API module Google::Cloud::PrivilegedAccessManager::V1::Grant::State.\n\nDifferent states a grant can be in.\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n**value:** 0 \nUnspecified state. This value is never returned by the server.\n\n### APPROVAL_AWAITED\n\n**value:** 1 \nThe entitlement had an approval workflow configured and this grant is\nwaiting for the workflow to complete.\n\n### DENIED\n\n**value:** 3 \nThe approval workflow completed with a denied result. No access is\ngranted for this grant. This is a terminal state.\n\n### SCHEDULED\n\n**value:** 4 \nThe approval workflow completed successfully with an approved result or\nnone was configured. Access is provided at an appropriate time.\n\n### ACTIVATING\n\n**value:** 5 \nAccess is being given.\n\n### ACTIVE\n\n**value:** 6 \nAccess was successfully given and is currently active.\n\n### ACTIVATION_FAILED\n\n**value:** 7 \nThe system could not give access due to a non-retriable error. This is a\nterminal state.\n\n### EXPIRED\n\n**value:** 8 \nExpired after waiting for the approval workflow to complete. This is a\nterminal state.\n\n### REVOKING\n\n**value:** 9 \nAccess is being revoked.\n\n### REVOKED\n\n**value:** 10 \nAccess was revoked by a user. This is a terminal state.\n\n### ENDED\n\n**value:** 11 \nSystem took back access as the requested duration was over. This is a\nterminal state.\n\n### WITHDRAWING\n\n**value:** 12 \nAccess is being withdrawn.\n\n### WITHDRAWN\n\n**value:** 13 \nGrant was withdrawn by the grant owner. This is a terminal state."]]