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}
- project (String)
- location (String)
- dataset (String)
- (::String)
- (::ArgumentError)
#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}
- project (String)
- location (String)
- dataset (String)
- file (String)
- (::String)
- (::ArgumentError)
#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}
- project (String)
- location (String)
- glossary (String)
- (::String)
- (::ArgumentError)
#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}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)