[[["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-09 UTC."],[],[],null,["# Organization Policy V2 API - Module Google::Cloud::OrgPolicy::V2::OrgPolicy::Paths (v1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/ruby/docs/reference/google-cloud-org_policy-v2/latest/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [1.4.1](/ruby/docs/reference/google-cloud-org_policy-v2/1.4.1/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [1.3.0](/ruby/docs/reference/google-cloud-org_policy-v2/1.3.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [1.2.0](/ruby/docs/reference/google-cloud-org_policy-v2/1.2.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [1.1.0](/ruby/docs/reference/google-cloud-org_policy-v2/1.1.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [1.0.1](/ruby/docs/reference/google-cloud-org_policy-v2/1.0.1/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [0.10.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.10.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [0.9.2](/ruby/docs/reference/google-cloud-org_policy-v2/0.9.2/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [0.8.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.8.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [0.7.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.7.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [0.6.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.6.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [0.5.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.5.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [0.4.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.4.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [0.3.0](/ruby/docs/reference/google-cloud-org_policy-v2/0.3.0/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n- [0.2.6](/ruby/docs/reference/google-cloud-org_policy-v2/0.2.6/Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths) \nReference documentation and code samples for the Organization Policy V2 API module Google::Cloud::OrgPolicy::V2::OrgPolicy::Paths.\n\nPath helper methods for the OrgPolicy API. \n\nExtended By\n-----------\n\n- [Google::Cloud::OrgPolicy::V2::OrgPolicy::Paths](./Google-Cloud-OrgPolicy-V2-OrgPolicy-Paths)\n\nMethods\n-------\n\n### #custom_constraint_path\n\n def custom_constraint_path(organization:, custom_constraint:) -\u003e ::String\n\nCreate a fully-qualified CustomConstraint resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`organizations/{organization}/customConstraints/{custom_constraint}` \n**Parameters**\n\n- **organization** (String)\n- **custom_constraint** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #folder_path\n\n def folder_path(folder:) -\u003e ::String\n\nCreate a fully-qualified Folder resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`folders/{folder}` \n**Parameter**\n\n- **folder** (String) \n**Returns**\n\n- (::String)\n\n### #organization_path\n\n def organization_path(organization:) -\u003e ::String\n\nCreate a fully-qualified Organization resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`organizations/{organization}` \n**Parameter**\n\n- **organization** (String) \n**Returns**\n\n- (::String)\n\n### #policy_path\n\n def policy_path(project:, policy:) -\u003e ::String\n def policy_path(folder:, policy:) -\u003e ::String\n def policy_path(organization:, policy:) -\u003e ::String\n\nCreate a fully-qualified Policy resource string. \n**Overloads** \n\n def policy_path(project:, policy:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/policies/{policy}` \n**Parameters**\n\n- **project** (String)\n- **policy** (String) \n\n def policy_path(folder:, policy:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`folders/{folder}/policies/{policy}` \n**Parameters**\n\n- **folder** (String)\n- **policy** (String) \n\n def policy_path(organization:, policy:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`organizations/{organization}/policies/{policy}` \n**Parameters**\n\n- **organization** (String)\n- **policy** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #project_path\n\n def project_path(project:) -\u003e ::String\n\nCreate a fully-qualified Project resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}` \n**Parameter**\n\n- **project** (String) \n**Returns**\n\n- (::String)"]]