Network Security V1beta1 API - Module Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Paths (v0.14.0)

Reference documentation and code samples for the Network Security V1beta1 API module Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Paths.

Path helper methods for the DnsThreatDetectorService API.

Methods

#dns_threat_detector_path

def dns_threat_detector_path(project:, location:, dns_threat_detector:) -> ::String

Create a fully-qualified DnsThreatDetector resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/dnsThreatDetectors/{dns_threat_detector}

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

#network_path

def network_path(project:, network:) -> ::String

Create a fully-qualified Network resource string.

The resource will be in the following format:

projects/{project}/global/networks/{network}

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