# Cloud Functions V2 API - Module Google::Cloud::Functions::V2::FunctionService::Paths (v1.5.1)

1.5.1 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Functions V2 API module Google::Cloud::Functions::V2::FunctionService::Paths.

Path helper methods for the FunctionService API.

## Extended By

- [Google::Cloud::Functions::V2::FunctionService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-FunctionService-Paths)

## Included In

- [Google::Cloud::Functions::V2::FunctionService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-FunctionService-Client)
- [Google::Cloud::Functions::V2::FunctionService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-FunctionService-Paths)
- [Google::Cloud::Functions::V2::FunctionService::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-FunctionService-Rest-Client)

## Methods

### #build_path

    def build_path(project:, location:, build:) -> ::String

Create a fully-qualified Build resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/builds/{build}`
**Parameters**

- **project** (String)
- **location** (String)
- **build** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #channel_path

    def channel_path(project:, location:, channel:) -> ::String

Create a fully-qualified Channel resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/channels/{channel}`
**Parameters**

- **project** (String)
- **location** (String)
- **channel** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #connector_path

    def connector_path(project:, location:, connector:) -> ::String

Create a fully-qualified Connector resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/connectors/{connector}`
**Parameters**

- **project** (String)
- **location** (String)
- **connector** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #crypto_key_path

    def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String

Create a fully-qualified CryptoKey resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
**Parameters**

- **project** (String)
- **location** (String)
- **key_ring** (String)
- **crypto_key** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #function_path

    def function_path(project:, location:, function:) -> ::String

Create a fully-qualified Function resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/functions/{function}`
**Parameters**

- **project** (String)
- **location** (String)
- **function** (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:

<br />

`projects/{project}/locations/{location}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)

### #repository_path

    def repository_path(project:, location:, repository:) -> ::String

Create a fully-qualified Repository resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/repositories/{repository}`
**Parameters**

- **project** (String)
- **location** (String)
- **repository** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #service_path

    def service_path(project:, location:, service:) -> ::String

Create a fully-qualified Service resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/services/{service}`
**Parameters**

- **project** (String)
- **location** (String)
- **service** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #topic_path

    def topic_path(project:, topic:) -> ::String

Create a fully-qualified Topic resource string.


The resource will be in the following format:

<br />

`projects/{project}/topics/{topic}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)

### #trigger_path

    def trigger_path(project:, location:, trigger:) -> ::String

Create a fully-qualified Trigger resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/triggers/{trigger}`
**Parameters**

- **project** (String)
- **location** (String)
- **trigger** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #worker_pool_path

    def worker_pool_path(project:, location:, worker_pool:) -> ::String

Create a fully-qualified WorkerPool resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/workerPools/{worker_pool}`
**Parameters**

- **project** (String)
- **location** (String)
- **worker_pool** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)