Send feedback
Privileged Access Manager V1 API - Module Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccessManager::Paths (v1.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
Reference documentation and code samples for the Privileged Access Manager V1 API module Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccessManager::Paths.
Path helper methods for the PrivilegedAccessManager API.
Methods
#entitlement_path
def entitlement_path ( project :, location :, entitlement :) - > :: String
def entitlement_path ( folder :, location :, entitlement :) - > :: String
def entitlement_path ( organization :, location :, entitlement :) - > :: String
Create a fully-qualified Entitlement resource string.
Overloads
def entitlement_path ( project :, location :, entitlement :) - > :: String
The resource will be in the following format:
projects/{project}/locations/{location}/entitlements/{entitlement}
Parameters
project (String)
location (String)
entitlement (String)
def entitlement_path ( folder :, location :, entitlement :) - > :: String
The resource will be in the following format:
folders/{folder}/locations/{location}/entitlements/{entitlement}
Parameters
folder (String)
location (String)
entitlement (String)
def entitlement_path ( organization :, location :, entitlement :) - > :: String
The resource will be in the following format:
organizations/{organization}/locations/{location}/entitlements/{entitlement}
Parameters
organization (String)
location (String)
entitlement (String)
#folder_location_path
def folder_location_path ( folder :, location :) - > :: String
Create a fully-qualified FolderLocation resource string.
The resource will be in the following format:
folders/{folder}/locations/{location}
Parameters
folder (String)
location (String)
#grant_path
def grant_path ( project :, location :, entitlement :, grant :) - > :: String
def grant_path ( folder :, location :, entitlement :, grant :) - > :: String
def grant_path ( organization :, location :, entitlement :, grant :) - > :: String
Create a fully-qualified Grant resource string.
Overloads
def grant_path ( project :, location :, entitlement :, grant :) - > :: String
The resource will be in the following format:
projects/{project}/locations/{location}/entitlements/{entitlement}/grants/{grant}
Parameters
project (String)
location (String)
entitlement (String)
grant (String)
def grant_path ( folder :, location :, entitlement :, grant :) - > :: String
The resource will be in the following format:
folders/{folder}/locations/{location}/entitlements/{entitlement}/grants/{grant}
Parameters
folder (String)
location (String)
entitlement (String)
grant (String)
def grant_path ( organization :, location :, entitlement :, grant :) - > :: String
The resource will be in the following format:
organizations/{organization}/locations/{location}/entitlements/{entitlement}/grants/{grant}
Parameters
organization (String)
location (String)
entitlement (String)
grant (String)
#location_path
def location_path ( project :, location :) - > :: String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
Parameters
project (String)
location (String)
#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}
Parameters
organization (String)
location (String)
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
Need to tell us more?
[[["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,["# Privileged Access Manager V1 API - Module Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccessManager::Paths (v1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/latest/Google-Cloud-PrivilegedAccessManager-V1-PrivilegedAccessManager-Paths)\n- [1.1.0](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/1.1.0/Google-Cloud-PrivilegedAccessManager-V1-PrivilegedAccessManager-Paths)\n- [1.0.1](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/1.0.1/Google-Cloud-PrivilegedAccessManager-V1-PrivilegedAccessManager-Paths)\n- [0.3.0](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/0.3.0/Google-Cloud-PrivilegedAccessManager-V1-PrivilegedAccessManager-Paths)\n- [0.2.0](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/0.2.0/Google-Cloud-PrivilegedAccessManager-V1-PrivilegedAccessManager-Paths)\n- [0.1.2](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/0.1.2/Google-Cloud-PrivilegedAccessManager-V1-PrivilegedAccessManager-Paths) \nReference documentation and code samples for the Privileged Access Manager V1 API module Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccessManager::Paths.\n\nPath helper methods for the PrivilegedAccessManager API. \n\nExtended By\n-----------\n\n- [Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccessManager::Paths](./Google-Cloud-PrivilegedAccessManager-V1-PrivilegedAccessManager-Paths)\n\nMethods\n-------\n\n### #entitlement_path\n\n def entitlement_path(project:, location:, entitlement:) -\u003e ::String\n def entitlement_path(folder:, location:, entitlement:) -\u003e ::String\n def entitlement_path(organization:, location:, entitlement:) -\u003e ::String\n\nCreate a fully-qualified Entitlement resource string. \n**Overloads** \n\n def entitlement_path(project:, location:, entitlement:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}/entitlements/{entitlement}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **entitlement** (String) \n\n def entitlement_path(folder:, location:, entitlement:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`folders/{folder}/locations/{location}/entitlements/{entitlement}` \n**Parameters**\n\n- **folder** (String)\n- **location** (String)\n- **entitlement** (String) \n\n def entitlement_path(organization:, location:, entitlement:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`organizations/{organization}/locations/{location}/entitlements/{entitlement}` \n**Parameters**\n\n- **organization** (String)\n- **location** (String)\n- **entitlement** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #folder_location_path\n\n def folder_location_path(folder:, location:) -\u003e ::String\n\nCreate a fully-qualified FolderLocation resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`folders/{folder}/locations/{location}` \n**Parameters**\n\n- **folder** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #grant_path\n\n def grant_path(project:, location:, entitlement:, grant:) -\u003e ::String\n def grant_path(folder:, location:, entitlement:, grant:) -\u003e ::String\n def grant_path(organization:, location:, entitlement:, grant:) -\u003e ::String\n\nCreate a fully-qualified Grant resource string. \n**Overloads** \n\n def grant_path(project:, location:, entitlement:, grant:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`projects/{project}/locations/{location}/entitlements/{entitlement}/grants/{grant}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **entitlement** (String)\n- **grant** (String) \n\n def grant_path(folder:, location:, entitlement:, grant:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`folders/{folder}/locations/{location}/entitlements/{entitlement}/grants/{grant}` \n**Parameters**\n\n- **folder** (String)\n- **location** (String)\n- **entitlement** (String)\n- **grant** (String) \n\n def grant_path(organization:, location:, entitlement:, grant:) -\u003e ::String\n\nThe resource will be in the following format:\n\n\n`organizations/{organization}/locations/{location}/entitlements/{entitlement}/grants/{grant}` \n**Parameters**\n\n- **organization** (String)\n- **location** (String)\n- **entitlement** (String)\n- **grant** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #location_path\n\n def location_path(project:, location:) -\u003e ::String\n\nCreate a fully-qualified Location resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}` \n**Parameters**\n\n- **project** (String)\n- **location** (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)"]]