Reference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreviewService::Paths.
Path helper methods for the OrgPolicyViolationsPreviewService API.
[[["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::OrgPolicyViolationsPreviewService::Paths (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-OrgPolicyViolationsPreviewService-Paths)\n- [1.3.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.3.0/Google-Cloud-PolicySimulator-V1-OrgPolicyViolationsPreviewService-Paths)\n- [1.2.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.2.1/Google-Cloud-PolicySimulator-V1-OrgPolicyViolationsPreviewService-Paths)\n- [1.1.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.1.0/Google-Cloud-PolicySimulator-V1-OrgPolicyViolationsPreviewService-Paths)\n- [1.0.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.0.1/Google-Cloud-PolicySimulator-V1-OrgPolicyViolationsPreviewService-Paths)\n- [0.4.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.4.0/Google-Cloud-PolicySimulator-V1-OrgPolicyViolationsPreviewService-Paths)\n- [0.3.2](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.3.2/Google-Cloud-PolicySimulator-V1-OrgPolicyViolationsPreviewService-Paths)\n- [0.2.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.2.0/Google-Cloud-PolicySimulator-V1-OrgPolicyViolationsPreviewService-Paths)\n- [0.1.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.1.1/Google-Cloud-PolicySimulator-V1-OrgPolicyViolationsPreviewService-Paths) \nReference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreviewService::Paths.\n\nPath helper methods for the OrgPolicyViolationsPreviewService API. \n\nExtended By\n-----------\n\n- [Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreviewService::Paths](./Google-Cloud-PolicySimulator-V1-OrgPolicyViolationsPreviewService-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### #org_policy_violations_preview_path\n\n def org_policy_violations_preview_path(organization:, location:, org_policy_violations_preview:) -\u003e ::String\n\nCreate a fully-qualified OrgPolicyViolationsPreview resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{org_policy_violations_preview}` \n**Parameters**\n\n- **organization** (String)\n- **location** (String)\n- **org_policy_violations_preview** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #organization_location_path\n\n def organization_location_path(organization:, location:) -\u003e ::String\n\nCreate a fully-qualified OrganizationLocation resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`organizations/{organization}/locations/{location}` \n**Parameters**\n\n- **organization** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\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)"]]