Cloud Speech-to-Text V1p1beta1 API - Module Google::Cloud::Speech::V1p1beta1::Speech::Paths (v0.17.0)

Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API module Google::Cloud::Speech::V1p1beta1::Speech::Paths.

Path helper methods for the Speech API.

Methods

#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)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#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)
Returns
  • (::String)
Raises
  • (::ArgumentError)