Reference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::BindingExplanation::RolePermission.
Whether a role includes a specific permission.
Constants
ROLE_PERMISSION_UNSPECIFIED
value: 0 Default value. This value is unused.
ROLE_PERMISSION_INCLUDED
value: 1 The permission is included in the role.
ROLE_PERMISSION_NOT_INCLUDED
value: 2 The permission is not included in the role.
ROLE_PERMISSION_UNKNOWN_INFO_DENIED
value: 3 The user who created the
Replay is not
allowed to access the binding.
[[["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::BindingExplanation::RolePermission (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-BindingExplanation-RolePermission)\n- [1.3.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.3.0/Google-Cloud-PolicySimulator-V1-BindingExplanation-RolePermission)\n- [1.2.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.2.1/Google-Cloud-PolicySimulator-V1-BindingExplanation-RolePermission)\n- [1.1.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.1.0/Google-Cloud-PolicySimulator-V1-BindingExplanation-RolePermission)\n- [1.0.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.0.1/Google-Cloud-PolicySimulator-V1-BindingExplanation-RolePermission)\n- [0.4.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.4.0/Google-Cloud-PolicySimulator-V1-BindingExplanation-RolePermission)\n- [0.3.2](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.3.2/Google-Cloud-PolicySimulator-V1-BindingExplanation-RolePermission)\n- [0.2.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.2.0/Google-Cloud-PolicySimulator-V1-BindingExplanation-RolePermission)\n- [0.1.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.1.1/Google-Cloud-PolicySimulator-V1-BindingExplanation-RolePermission) \nReference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::BindingExplanation::RolePermission.\n\nWhether a role includes a specific permission.\n\nConstants\n---------\n\n### ROLE_PERMISSION_UNSPECIFIED\n\n**value:** 0 \nDefault value. This value is unused.\n\n### ROLE_PERMISSION_INCLUDED\n\n**value:** 1 \nThe permission is included in the role.\n\n### ROLE_PERMISSION_NOT_INCLUDED\n\n**value:** 2 \nThe permission is not included in the role.\n\n### ROLE_PERMISSION_UNKNOWN_INFO_DENIED\n\n**value:** 3 \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)\") is not\nallowed to access the binding."]]