Access Approval V1 API - Module Google::Cloud::AccessApproval::V1::AccessApproval::Paths (v0.7.0)

Reference documentation and code samples for the Access Approval V1 API module Google::Cloud::AccessApproval::V1::AccessApproval::Paths.

Path helper methods for the AccessApproval API.

Methods

#access_approval_settings_path

def access_approval_settings_path(project:) -> ::String
def access_approval_settings_path(folder:) -> ::String
def access_approval_settings_path(organization:) -> ::String

Create a fully-qualified AccessApprovalSettings resource string.

Overloads
def access_approval_settings_path(project:) -> ::String
The resource will be in the following format:

projects/{project}/accessApprovalSettings

Parameter
  • project (String)
def access_approval_settings_path(folder:) -> ::String
The resource will be in the following format:

folders/{folder}/accessApprovalSettings

Parameter
  • folder (String)
def access_approval_settings_path(organization:) -> ::String
The resource will be in the following format:

organizations/{organization}/accessApprovalSettings

Parameter
  • organization (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#approval_request_path

def approval_request_path(project:, approval_request:) -> ::String
def approval_request_path(folder:, approval_request:) -> ::String
def approval_request_path(organization:, approval_request:) -> ::String

Create a fully-qualified ApprovalRequest resource string.

Overloads
def approval_request_path(project:, approval_request:) -> ::String
The resource will be in the following format:

projects/{project}/approvalRequests/{approval_request}

Parameters
  • project (String)
  • approval_request (String)
def approval_request_path(folder:, approval_request:) -> ::String
The resource will be in the following format:

folders/{folder}/approvalRequests/{approval_request}

Parameters
  • folder (String)
  • approval_request (String)
def approval_request_path(organization:, approval_request:) -> ::String
The resource will be in the following format:

organizations/{organization}/approvalRequests/{approval_request}

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

#folder_path

def folder_path(folder:) -> ::String

Create a fully-qualified Folder resource string.

The resource will be in the following format:

folders/{folder}

Parameter
  • folder (String)
Returns
  • (::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}

Parameter
  • organization (String)
Returns
  • (::String)

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)