Cloud Trace V2 API - Module Google::Cloud::Trace::V2::TraceService::Paths (v0.8.2)

Reference documentation and code samples for the Cloud Trace V2 API module Google::Cloud::Trace::V2::TraceService::Paths.

Path helper methods for the TraceService API.

Methods

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

#span_path

def span_path(project:, trace:, span:) -> ::String

Create a fully-qualified Span resource string.

The resource will be in the following format:

projects/{project}/traces/{trace}/spans/{span}

Parameters
  • project (String)
  • trace (String)
  • span (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)