lib/google/cloud/speech/v2/speech/rest/client.rb in google-cloud-speech-v2-0.5.1 vs lib/google/cloud/speech/v2/speech/rest/client.rb in google-cloud-speech-v2-0.6.0
- old
+ new
@@ -624,11 +624,12 @@
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param recognizer [::String]
# Required. The name of the Recognizer to use during recognition. The
# expected format is
- # `projects/{project}/locations/{location}/recognizers/{recognizer}`.
+ # `projects/{project}/locations/{location}/recognizers/{recognizer}`. The
+ # \\{recognizer} segment may be set to `_` to use an empty implicit Recognizer.
# @param config [::Google::Cloud::Speech::V2::RecognitionConfig, ::Hash]
# Features and audio metadata to use for the Automatic Speech Recognition.
# This field in combination with the
# {::Google::Cloud::Speech::V2::RecognizeRequest#config_mask config_mask} field
# can be used to override parts of the
@@ -723,10 +724,13 @@
# Pass arguments to `batch_recognize` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param recognizer [::String]
- # Required. Resource name of the recognizer to be used for ASR.
+ # Required. The name of the Recognizer to use during recognition. The
+ # expected format is
+ # `projects/{project}/locations/{location}/recognizers/{recognizer}`. The
+ # \\{recognizer} segment may be set to `_` to use an empty implicit Recognizer.
# @param config [::Google::Cloud::Speech::V2::RecognitionConfig, ::Hash]
# Features and audio metadata to use for the Automatic Speech Recognition.
# This field in combination with the
# {::Google::Cloud::Speech::V2::BatchRecognizeRequest#config_mask config_mask}
# field can be used to override parts of the