Cloud Speech-to-Text V1p1beta1 API - Module Google::Cloud::Speech::V1p1beta1::Adaptation::Paths (v0.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API module Google::Cloud::Speech::V1p1beta1::Adaptation::Paths.
Path helper methods for the Adaptation API.
Methods
#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:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
Parameters
-
project (String)
-
location (String)
-
key_ring (String)
-
crypto_key (String)
#crypto_key_version_path
def crypto_key_version_path(project:, location:, key_ring:, crypto_key:, crypto_key_version:) -> ::String
Create a fully-qualified CryptoKeyVersion resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
Parameters
-
project (String)
-
location (String)
-
key_ring (String)
-
crypto_key (String)
-
crypto_key_version (String)
#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:
projects/{project}/locations/{location}/customClasses/{custom_class}
Parameters
-
project (String)
-
location (String)
-
custom_class (String)
#location_path
def location_path(project:, location:) -> ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
Parameters
-
project (String)
-
location (String)
#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:
projects/{project}/locations/{location}/phraseSets/{phrase_set}
Parameters
-
project (String)
-
location (String)
-
phrase_set (String)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Speech-to-Text V1p1beta1 API - Module Google::Cloud::Speech::V1p1beta1::Adaptation::Paths (v0.25.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.25.0 (latest)](/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.24.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.24.1/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.23.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.23.0/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.22.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.22.0/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.21.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.21.1/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.20.2](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.20.2/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.19.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.19.0/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.18.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.18.1/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.17.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.17.1/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.16.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.16.0/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.15.3](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.15.3/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.14.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.14.0/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.13.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.13.0/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n- [0.12.4](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.12.4/Google-Cloud-Speech-V1p1beta1-Adaptation-Paths) \nReference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API module Google::Cloud::Speech::V1p1beta1::Adaptation::Paths.\n\nPath helper methods for the Adaptation API. \n\nExtended By\n-----------\n\n- [Google::Cloud::Speech::V1p1beta1::Adaptation::Paths](./Google-Cloud-Speech-V1p1beta1-Adaptation-Paths)\n\nMethods\n-------\n\n### #crypto_key_path\n\n def crypto_key_path(project:, location:, key_ring:, crypto_key:) -\u003e ::String\n\nCreate a fully-qualified CryptoKey resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **key_ring** (String)\n- **crypto_key** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #crypto_key_version_path\n\n def crypto_key_version_path(project:, location:, key_ring:, crypto_key:, crypto_key_version:) -\u003e ::String\n\nCreate a fully-qualified CryptoKeyVersion resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **key_ring** (String)\n- **crypto_key** (String)\n- **crypto_key_version** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #custom_class_path\n\n def custom_class_path(project:, location:, custom_class:) -\u003e ::String\n\nCreate a fully-qualified CustomClass resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/customClasses/{custom_class}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **custom_class** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #location_path\n\n def location_path(project:, location:) -\u003e ::String\n\nCreate a fully-qualified Location resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}` \n**Parameters**\n\n- **project** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #phrase_set_path\n\n def phrase_set_path(project:, location:, phrase_set:) -\u003e ::String\n\nCreate a fully-qualified PhraseSet resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/phraseSets/{phrase_set}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **phrase_set** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)"]]