Access Context Manager V1 API - Module Google::Identity::AccessContextManager::V1::AccessContextManager::Paths (v0.2.0)

Reference documentation and code samples for the Access Context Manager V1 API module Google::Identity::AccessContextManager::V1::AccessContextManager::Paths.

Path helper methods for the AccessContextManager API.

Methods

#access_level_path

def access_level_path(access_policy:, access_level:) -> ::String

Create a fully-qualified AccessLevel resource string.

The resource will be in the following format:

accessPolicies/{access_policy}/accessLevels/{access_level}

Parameters
  • access_policy (String)
  • access_level (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#access_policy_path

def access_policy_path(access_policy:) -> ::String

Create a fully-qualified AccessPolicy resource string.

The resource will be in the following format:

accessPolicies/{access_policy}

Parameter
  • access_policy (String)
Returns
  • (::String)

#gcp_user_access_binding_path

def gcp_user_access_binding_path(organization:, gcp_user_access_binding:) -> ::String

Create a fully-qualified GcpUserAccessBinding resource string.

The resource will be in the following format:

organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}

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

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

#service_perimeter_path

def service_perimeter_path(access_policy:, service_perimeter:) -> ::String

Create a fully-qualified ServicePerimeter resource string.

The resource will be in the following format:

accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}

Parameters
  • access_policy (String)
  • service_perimeter (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)