# Google Cloud Memorystore for Redis V1beta1 API - Module Google::Cloud::Redis::V1beta1::CloudRedis::Paths (v0.22.0)

0.22.0 (latest) 0.21.1 0.20.0 0.19.1 0.18.0 0.17.0 0.16.1 0.15.0 0.14.0 0.13.2 0.12.2 0.11.0 0.10.1 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1beta1 API module Google::Cloud::Redis::V1beta1::CloudRedis::Paths.

Path helper methods for the CloudRedis API.

## Extended By

- [Google::Cloud::Redis::V1beta1::CloudRedis::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-v1beta1/latest/Google-Cloud-Redis-V1beta1-CloudRedis-Paths)

## Included In

- [Google::Cloud::Redis::V1beta1::CloudRedis::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-v1beta1/latest/Google-Cloud-Redis-V1beta1-CloudRedis-Client)
- [Google::Cloud::Redis::V1beta1::CloudRedis::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-v1beta1/latest/Google-Cloud-Redis-V1beta1-CloudRedis-Paths)
- [Google::Cloud::Redis::V1beta1::CloudRedis::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-v1beta1/latest/Google-Cloud-Redis-V1beta1-CloudRedis-Rest-Client)

## Methods

### #instance_path

    def instance_path(project:, location:, instance:) -> ::String

Create a fully-qualified Instance resource string.


The resource will be in the following format:

<br />

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

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