[[["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,["# Policy Simulator V1 API - Module Google::Cloud::PolicySimulator::V1::AccessState (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-AccessState)\n- [1.3.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.3.0/Google-Cloud-PolicySimulator-V1-AccessState)\n- [1.2.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.2.1/Google-Cloud-PolicySimulator-V1-AccessState)\n- [1.1.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.1.0/Google-Cloud-PolicySimulator-V1-AccessState)\n- [1.0.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.0.1/Google-Cloud-PolicySimulator-V1-AccessState)\n- [0.4.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.4.0/Google-Cloud-PolicySimulator-V1-AccessState)\n- [0.3.2](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.3.2/Google-Cloud-PolicySimulator-V1-AccessState)\n- [0.2.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.2.0/Google-Cloud-PolicySimulator-V1-AccessState)\n- [0.1.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.1.1/Google-Cloud-PolicySimulator-V1-AccessState) \nReference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::AccessState.\n\nWhether a principal has a permission for a resource.\n\nConstants\n---------\n\n### ACCESS_STATE_UNSPECIFIED\n\n**value:** 0 \nDefault value. This value is unused.\n\n### GRANTED\n\n**value:** 1 \nThe principal has the permission.\n\n### NOT_GRANTED\n\n**value:** 2 \nThe principal does not have the permission.\n\n### UNKNOWN_CONDITIONAL\n\n**value:** 3 \nThe principal has the permission only if a condition expression evaluates\nto `true`.\n\n### UNKNOWN_INFO_DENIED\n\n**value:** 4 \nThe user who created the\n[Replay](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay \"Google::Cloud::PolicySimulator::V1::Replay (class)\") does not have\naccess to all of the policies that Policy Simulator needs to evaluate."]]