# Cloud Profiler V2 API - Module Google::Cloud::Profiler::V2::ProfilerService::Paths (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.10.1 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.5 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.

## Extended By

- [Google::Cloud::Profiler::V2::ProfilerService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-profiler-v2/latest/Google-Cloud-Profiler-V2-ProfilerService-Paths)

## Included In

- [Google::Cloud::Profiler::V2::ProfilerService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-profiler-v2/latest/Google-Cloud-Profiler-V2-ProfilerService-Client)
- [Google::Cloud::Profiler::V2::ProfilerService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-profiler-v2/latest/Google-Cloud-Profiler-V2-ProfilerService-Paths)
- [Google::Cloud::Profiler::V2::ProfilerService::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-profiler-v2/latest/Google-Cloud-Profiler-V2-ProfilerService-Rest-Client)

## Methods

### #profile_path

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

Create a fully-qualified Profile resource string.


The resource will be in the following format:

<br />

`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:

<br />

`projects/{project}`
**Parameter**

- **project** (String)
**Returns**

- (::String)