Web Security Scanner V1beta API - Module Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Paths (v0.6.1)

Reference documentation and code samples for the Web Security Scanner V1beta API module Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Paths.

Path helper methods for the WebSecurityScanner API.

Methods

#finding_path

def finding_path(project:, scan_config:, scan_run:, finding:) -> ::String

Create a fully-qualified Finding resource string.

The resource will be in the following format:

projects/{project}/scanConfigs/{scan_config}/scanRuns/{scan_run}/findings/{finding}

Parameters
  • project (String)
  • scan_config (String)
  • scan_run (String)
  • finding (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

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

#scan_config_path

def scan_config_path(project:, scan_config:) -> ::String

Create a fully-qualified ScanConfig resource string.

The resource will be in the following format:

projects/{project}/scanConfigs/{scan_config}

Parameters
  • project (String)
  • scan_config (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#scan_run_path

def scan_run_path(project:, scan_config:, scan_run:) -> ::String

Create a fully-qualified ScanRun resource string.

The resource will be in the following format:

projects/{project}/scanConfigs/{scan_config}/scanRuns/{scan_run}

Parameters
  • project (String)
  • scan_config (String)
  • scan_run (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)