# Cloud Speech-to-Text V1 API - Module Google::Cloud::Speech::V1::Adaptation::Paths (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.17.0 0.16.2 0.15.0 0.14.0 0.13.1 0.12.1 0.11.0 0.10.2 0.9.0 0.8.0 0.7.3 Reference documentation and code samples for the Cloud Speech-to-Text V1 API module Google::Cloud::Speech::V1::Adaptation::Paths.

Path helper methods for the Adaptation API.

## Extended By

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

## Included In

- [Google::Cloud::Speech::V1::Adaptation::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1/latest/Google-Cloud-Speech-V1-Adaptation-Client)
- [Google::Cloud::Speech::V1::Adaptation::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1/latest/Google-Cloud-Speech-V1-Adaptation-Paths)
- [Google::Cloud::Speech::V1::Adaptation::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1/latest/Google-Cloud-Speech-V1-Adaptation-Rest-Client)

## Methods

### #custom_class_path

    def custom_class_path(project:, location:, custom_class:) -> ::String

Create a fully-qualified CustomClass resource string.


The resource will be in the following format:

<br />

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

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

### #phrase_set_path

    def phrase_set_path(project:, location:, phrase_set:) -> ::String

Create a fully-qualified PhraseSet resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)