# Infrastructure Manager V1 API - Module Google::Cloud::Config::V1::Config::Paths (v0.2.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.2.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/latest/Google-Cloud-Config-V1-Config-Paths)
- [0.1.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/0.1.0/Google-Cloud-Config-V1-Config-Paths)
Reference documentation and code samples for the Infrastructure Manager V1 API module Google::Cloud::Config::V1::Config::Paths.

Path helper methods for the Config API.

## Extended By

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

## Methods

### #deployment_path

    def deployment_path(project:, location:, deployment:) -> ::String

Create a fully-qualified Deployment resource string.


The resource will be in the following format:

<br />

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

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

### #resource_path

    def resource_path(project:, location:, deployment:, revision:, resource:) -> ::String

Create a fully-qualified Resource resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`
**Parameters**

- **project** (String)
- **location** (String)
- **deployment** (String)
- **revision** (String)
- **resource** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #revision_path

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

Create a fully-qualified Revision resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)

### #service_account_path

    def service_account_path(project:, service_account:) -> ::String

Create a fully-qualified ServiceAccount resource string.


The resource will be in the following format:

<br />

`projects/{project}/serviceAccounts/{service_account}`
**Parameters**

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