Cloud Translation V3 API - Module Google::Cloud::Translate::V3::TranslationService::Paths (v1.5.2)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Translation V3 API module Google::Cloud::Translate::V3::TranslationService::Paths.
Path helper methods for the TranslationService API.
Methods
#adaptive_mt_dataset_path
def adaptive_mt_dataset_path(project:, location:, dataset:) -> ::String
Create a fully-qualified AdaptiveMtDataset resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}
Parameters
-
project (String)
-
location (String)
-
dataset (String)
#adaptive_mt_file_path
def adaptive_mt_file_path(project:, location:, dataset:, file:) -> ::String
Create a fully-qualified AdaptiveMtFile resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}
Parameters
-
project (String)
-
location (String)
-
dataset (String)
-
file (String)
#dataset_path
def dataset_path(project:, location:, dataset:) -> ::String
Create a fully-qualified Dataset resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/datasets/{dataset}
Parameters
-
project (String)
-
location (String)
-
dataset (String)
#glossary_entry_path
def glossary_entry_path(project:, location:, glossary:, glossary_entry:) -> ::String
Create a fully-qualified GlossaryEntry resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/glossaries/{glossary}/glossaryEntries/{glossary_entry}
Parameters
-
project (String)
-
location (String)
-
glossary (String)
-
glossary_entry (String)
#glossary_path
def glossary_path(project:, location:, glossary:) -> ::String
Create a fully-qualified Glossary resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/glossaries/{glossary}
Parameters
-
project (String)
-
location (String)
-
glossary (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)
#model_path
def model_path(project:, location:, model:) -> ::String
Create a fully-qualified Model resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/models/{model}
Parameters
-
project (String)
-
location (String)
-
model (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-09-09 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-09-09 UTC."],[],[],null,["# Cloud Translation V3 API - Module Google::Cloud::Translate::V3::TranslationService::Paths (v1.5.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.2 (latest)](/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [1.5.1](/ruby/docs/reference/google-cloud-translate-v3/1.5.1/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [1.4.1](/ruby/docs/reference/google-cloud-translate-v3/1.4.1/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [1.3.0](/ruby/docs/reference/google-cloud-translate-v3/1.3.0/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [1.2.0](/ruby/docs/reference/google-cloud-translate-v3/1.2.0/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [1.1.1](/ruby/docs/reference/google-cloud-translate-v3/1.1.1/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [1.0.0](/ruby/docs/reference/google-cloud-translate-v3/1.0.0/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [0.12.0](/ruby/docs/reference/google-cloud-translate-v3/0.12.0/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [0.11.2](/ruby/docs/reference/google-cloud-translate-v3/0.11.2/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [0.10.0](/ruby/docs/reference/google-cloud-translate-v3/0.10.0/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [0.9.0](/ruby/docs/reference/google-cloud-translate-v3/0.9.0/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [0.8.0](/ruby/docs/reference/google-cloud-translate-v3/0.8.0/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [0.7.3](/ruby/docs/reference/google-cloud-translate-v3/0.7.3/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [0.6.0](/ruby/docs/reference/google-cloud-translate-v3/0.6.0/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [0.5.2](/ruby/docs/reference/google-cloud-translate-v3/0.5.2/Google-Cloud-Translate-V3-TranslationService-Paths)\n- [0.4.2](/ruby/docs/reference/google-cloud-translate-v3/0.4.2/Google-Cloud-Translate-V3-TranslationService-Paths) \nReference documentation and code samples for the Cloud Translation V3 API module Google::Cloud::Translate::V3::TranslationService::Paths.\n\nPath helper methods for the TranslationService API. \n\nExtended By\n-----------\n\n- [Google::Cloud::Translate::V3::TranslationService::Paths](./Google-Cloud-Translate-V3-TranslationService-Paths)\n\nMethods\n-------\n\n### #adaptive_mt_dataset_path\n\n def adaptive_mt_dataset_path(project:, location:, dataset:) -\u003e ::String\n\nCreate a fully-qualified AdaptiveMtDataset resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **dataset** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #adaptive_mt_file_path\n\n def adaptive_mt_file_path(project:, location:, dataset:, file:) -\u003e ::String\n\nCreate a fully-qualified AdaptiveMtFile resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **dataset** (String)\n- **file** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #dataset_path\n\n def dataset_path(project:, location:, dataset:) -\u003e ::String\n\nCreate a fully-qualified Dataset resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/datasets/{dataset}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **dataset** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #glossary_entry_path\n\n def glossary_entry_path(project:, location:, glossary:, glossary_entry:) -\u003e ::String\n\nCreate a fully-qualified GlossaryEntry resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/glossaries/{glossary}/glossaryEntries/{glossary_entry}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **glossary** (String)\n- **glossary_entry** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #glossary_path\n\n def glossary_path(project:, location:, glossary:) -\u003e ::String\n\nCreate a fully-qualified Glossary resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/glossaries/{glossary}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **glossary** (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### #model_path\n\n def model_path(project:, location:, model:) -\u003e ::String\n\nCreate a fully-qualified Model resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/models/{model}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **model** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)"]]