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.
Methods
#custom_constraint_path
def custom_constraint_path(organization:, custom_constraint:) -> ::String
Create a fully-qualified CustomConstraint resource string.
The resource will be in the following format:
organizations/{organization}/customConstraints/{custom_constraint}
- organization (String)
- custom_constraint (String)
- (::String)
- (::ArgumentError)
#org_policy_violations_preview_path
def org_policy_violations_preview_path(organization:, location:, org_policy_violations_preview:) -> ::String
Create a fully-qualified OrgPolicyViolationsPreview resource string.
The resource will be in the following format:
organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{org_policy_violations_preview}
- organization (String)
- location (String)
- org_policy_violations_preview (String)
- (::String)
- (::ArgumentError)
#organization_location_path
def organization_location_path(organization:, location:) -> ::String
Create a fully-qualified OrganizationLocation resource string.
The resource will be in the following format:
organizations/{organization}/locations/{location}
- organization (String)
- location (String)
- (::String)
- (::ArgumentError)
#policy_path
def policy_path(project:, policy:) -> ::String
def policy_path(folder:, policy:) -> ::String
def policy_path(organization:, policy:) -> ::String
Create a fully-qualified Policy resource string.
def policy_path(project:, policy:) -> ::String
projects/{project}/policies/{policy}
- project (String)
- policy (String)
def policy_path(folder:, policy:) -> ::String
folders/{folder}/policies/{policy}
- folder (String)
- policy (String)
def policy_path(organization:, policy:) -> ::String
organizations/{organization}/policies/{policy}
- organization (String)
- policy (String)
- (::String)
- (::ArgumentError)