Identity and Access Management (IAM) V3BETA API - Module Google::Iam::V3beta::AccessPolicies::Paths (v0.6.0)

Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API module Google::Iam::V3beta::AccessPolicies::Paths.

Path helper methods for the AccessPolicies API.

Methods

#access_policy_path

def access_policy_path(organization:, location:, access_policy:) -> ::String
def access_policy_path(folder:, location:, access_policy:) -> ::String
def access_policy_path(project:, location:, access_policy:) -> ::String

Create a fully-qualified AccessPolicy resource string.

Overloads
def access_policy_path(organization:, location:, access_policy:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/accessPolicies/{access_policy}

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

folders/{folder}/locations/{location}/accessPolicies/{access_policy}

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

projects/{project}/locations/{location}/accessPolicies/{access_policy}

Parameters
  • project (String)
  • location (String)
  • access_policy (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)

#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)