# Cloud Run V2 API - Module Google::Cloud::Run::V2::Services::Paths (v0.29.0)

0.29.0 (latest) 0.28.1 0.27.0 0.26.0 0.25.0 0.24.1 0.23.0 0.22.1 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.1 0.15.0 0.14.0 0.13.2 0.12.0 0.11.0 0.10.1 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Run V2 API module Google::Cloud::Run::V2::Services::Paths.

Path helper methods for the Services API.

## Extended By

- [Google::Cloud::Run::V2::Services::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-run-v2/latest/Google-Cloud-Run-V2-Services-Paths)

## Included In

- [Google::Cloud::Run::V2::Services::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-run-v2/latest/Google-Cloud-Run-V2-Services-Client)
- [Google::Cloud::Run::V2::Services::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-run-v2/latest/Google-Cloud-Run-V2-Services-Paths)
- [Google::Cloud::Run::V2::Services::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-run-v2/latest/Google-Cloud-Run-V2-Services-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)

### #build_worker_pool_path

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

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

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

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

### #mesh_path

    def mesh_path(project:, location:, mesh:) -> ::String

Create a fully-qualified Mesh resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #policy_path

    def policy_path(project:) -> ::String
    def policy_path(location:) -> ::String

Create a fully-qualified Policy resource string.
**Overloads**

    def policy_path(project:) -> ::String

The resource will be in the following format:


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

- **project** (String)

    def policy_path(location:) -> ::String

The resource will be in the following format:


`locations/{location}/policy`
**Parameter**

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

- (::String)
**Raises**

- (::ArgumentError)

### #revision_path

    def revision_path(project:, location:, service:, revision:) -> ::String

Create a fully-qualified Revision resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #secret_path

    def secret_path(project:, secret:) -> ::String

Create a fully-qualified Secret resource string.


The resource will be in the following format:

<br />

`projects/{project}/secrets/{secret}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)

### #secret_version_path

    def secret_version_path(project:, secret:, version:) -> ::String

Create a fully-qualified SecretVersion resource string.


The resource will be in the following format:

<br />

`projects/{project}/secrets/{secret}/versions/{version}`
**Parameters**

- **project** (String)
- **secret** (String)
- **version** (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)