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