[[["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::Membership (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-Membership)\n- [1.3.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.3.0/Google-Cloud-PolicySimulator-V1-BindingExplanation-Membership)\n- [1.2.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.2.1/Google-Cloud-PolicySimulator-V1-BindingExplanation-Membership)\n- [1.1.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.1.0/Google-Cloud-PolicySimulator-V1-BindingExplanation-Membership)\n- [1.0.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.0.1/Google-Cloud-PolicySimulator-V1-BindingExplanation-Membership)\n- [0.4.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.4.0/Google-Cloud-PolicySimulator-V1-BindingExplanation-Membership)\n- [0.3.2](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.3.2/Google-Cloud-PolicySimulator-V1-BindingExplanation-Membership)\n- [0.2.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.2.0/Google-Cloud-PolicySimulator-V1-BindingExplanation-Membership)\n- [0.1.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.1.1/Google-Cloud-PolicySimulator-V1-BindingExplanation-Membership) \nReference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::BindingExplanation::Membership.\n\nWhether the binding includes the principal.\n\nConstants\n---------\n\n### MEMBERSHIP_UNSPECIFIED\n\n**value:** 0 \nDefault value. This value is unused.\n\n### MEMBERSHIP_INCLUDED\n\n**value:** 1 \n\nThe binding includes the principal. The principal can be included\ndirectly or indirectly. For example:\n\n\u003cbr /\u003e\n\n- A principal is included directly if that principal is listed in the binding.\n- A principal is included indirectly if that principal is in a Google group or Google Workspace domain that is listed in the binding.\n\n### MEMBERSHIP_NOT_INCLUDED\n\n**value:** 2 \nThe binding does not include the principal.\n\n### MEMBERSHIP_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.\n\n### MEMBERSHIP_UNKNOWN_UNSUPPORTED\n\n**value:** 4 \nThe principal is an unsupported type. Only Google Accounts and service\naccounts are supported."]]