Privileged Access Manager V1 API - Module Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccessManager::Paths (v0.1.2)

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)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#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)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#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)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#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)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • organization (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)