Cloud Profiler V2 API - Module Google::Cloud::Profiler::V2::ProfilerService::Paths (v0.5.0)

Reference documentation and code samples for the Cloud Profiler V2 API module Google::Cloud::Profiler::V2::ProfilerService::Paths.

Path helper methods for the ProfilerService API.

Methods

#profile_path

def profile_path(project:, profile:) -> ::String

Create a fully-qualified Profile resource string.

The resource will be in the following format:

projects/{project}/profiles/{profile}

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