Reference documentation and code samples for the Organization Policy V2 API module Google::Cloud::OrgPolicy::V2::OrgPolicy::Paths.
Path helper methods for the OrgPolicy API.
Extended By
Methods
#folder_path
def folder_path(folder:) -> ::String
Create a fully-qualified Folder resource string.
The resource will be in the following format:
folders/{folder}
- folder (String)
- (::String)
#organization_path
def organization_path(organization:) -> ::String
Create a fully-qualified Organization resource string.
The resource will be in the following format:
organizations/{organization}
- organization (String)
- (::String)
#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)
#project_path
def project_path(project:) -> ::String
Create a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
- project (String)
- (::String)