# Cloud Functions V1 API - Module Google::Cloud::Functions::V1::CloudFunctionsService::Paths (v2.6.0)

2.6.0 (latest) 2.5.1 2.4.0 2.3.1 2.2.0 2.1.0 2.0.2 1.3.0 1.2.0 1.1.1 1.0.0 0.15.0 0.14.1 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.1 Reference documentation and code samples for the Cloud Functions V1 API module Google::Cloud::Functions::V1::CloudFunctionsService::Paths.

Path helper methods for the CloudFunctionsService API.

## Extended By

- [Google::Cloud::Functions::V1::CloudFunctionsService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v1/latest/Google-Cloud-Functions-V1-CloudFunctionsService-Paths)

## Included In

- [Google::Cloud::Functions::V1::CloudFunctionsService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v1/latest/Google-Cloud-Functions-V1-CloudFunctionsService-Client)
- [Google::Cloud::Functions::V1::CloudFunctionsService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v1/latest/Google-Cloud-Functions-V1-CloudFunctionsService-Paths)
- [Google::Cloud::Functions::V1::CloudFunctionsService::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v1/latest/Google-Cloud-Functions-V1-CloudFunctionsService-Rest-Client)

## Methods

### #cloud_function_path

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

Create a fully-qualified CloudFunction 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)

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

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