Cloud Translation V3 API - Module Google::Cloud::Translate::V3::TranslationService::Paths (v0.8.0)

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

#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)
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:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)