Cloud Security Compliance V1 API - Module Google::Cloud::CloudSecurityCompliance::V1::Audit::Paths (v0.2.0)

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

Path helper methods for the Audit API.

Methods

#framework_audit_path

def framework_audit_path(project:, location:, framework_audit:) -> ::String
def framework_audit_path(organization:, location:, framework_audit:) -> ::String

Create a fully-qualified FrameworkAudit resource string.

Overloads
def framework_audit_path(project:, location:, framework_audit:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/frameworkAudits/{framework_audit}

Parameters
  • project (String)
  • location (String)
  • framework_audit (String)
def framework_audit_path(organization:, location:, framework_audit:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/frameworkAudits/{framework_audit}

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