Cloud Security Compliance V1 API - Module Google::Cloud::CloudSecurityCompliance::V1::Config::Paths (v0.1.0)

Reference documentation and code samples for the Cloud Security Compliance V1 API module Google::Cloud::CloudSecurityCompliance::V1::Config::Paths.

Path helper methods for the Config API.

Methods

#cloud_control_path

def cloud_control_path(organization:, location:, cloud_control:) -> ::String

Create a fully-qualified CloudControl resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}/cloudControls/{cloud_control}

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

#framework_path

def framework_path(organization:, location:, framework:) -> ::String

Create a fully-qualified Framework resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}/frameworks/{framework}

Parameters
  • organization (String)
  • location (String)
  • framework (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)