lib/google/cloud/speech/v1p1beta1/speech_client.rb in google-cloud-speech-0.37.0 vs lib/google/cloud/speech/v1p1beta1/speech_client.rb in google-cloud-speech-0.38.0

- old
+ new

@@ -207,16 +207,16 @@ # Performs synchronous speech recognition: receive results after all audio # has been sent and processed. # # @param config [Google::Cloud::Speech::V1p1beta1::RecognitionConfig | Hash] - # *Required* Provides information to the recognizer that specifies how to + # Required. Provides information to the recognizer that specifies how to # process the request. # A hash of the same form as `Google::Cloud::Speech::V1p1beta1::RecognitionConfig` # can also be provided. # @param audio [Google::Cloud::Speech::V1p1beta1::RecognitionAudio | Hash] - # *Required* The audio data to be recognized. + # Required. The audio data to be recognized. # A hash of the same form as `Google::Cloud::Speech::V1p1beta1::RecognitionAudio` # can also be provided. # @param options [Google::Gax::CallOptions] # Overrides the default settings for this call, e.g, timeout, # retries, etc. @@ -256,17 +256,19 @@ # Performs asynchronous speech recognition: receive results via the # google.longrunning.Operations interface. Returns either an # `Operation.error` or an `Operation.response` which contains # a `LongRunningRecognizeResponse` message. + # For more information on asynchronous speech recognition, see the + # [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize). # # @param config [Google::Cloud::Speech::V1p1beta1::RecognitionConfig | Hash] - # *Required* Provides information to the recognizer that specifies how to + # Required. Provides information to the recognizer that specifies how to # process the request. # A hash of the same form as `Google::Cloud::Speech::V1p1beta1::RecognitionConfig` # can also be provided. # @param audio [Google::Cloud::Speech::V1p1beta1::RecognitionAudio | Hash] - # *Required* The audio data to be recognized. + # Required. The audio data to be recognized. # A hash of the same form as `Google::Cloud::Speech::V1p1beta1::RecognitionAudio` # can also be provided. # @param options [Google::Gax::CallOptions] # Overrides the default settings for this call, e.g, timeout, # retries, etc.