lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb in google-cloud-speech-0.35.0 vs lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb in google-cloud-speech-0.36.0
- old
+ new
@@ -241,22 +241,15 @@
# </table>
# @!attribute [rw] use_enhanced
# @return [true, false]
# *Optional* Set to true to use an enhanced model for speech recognition.
# If `use_enhanced` is set to true and the `model` field is not set, then
- # an appropriate enhanced model is chosen if:
- # 1. project is eligible for requesting enhanced models
- # 2. an enhanced model exists for the audio
+ # an appropriate enhanced model is chosen if an enhanced model exists for
+ # the audio.
#
# If `use_enhanced` is true and an enhanced version of the specified model
# does not exist, then the speech is recognized using the standard version
# of the specified model.
- #
- # Enhanced speech models require that you opt-in to data logging using
- # instructions in the
- # [documentation](https://cloud.google.com/speech-to-text/docs/enable-data-logging). If you set
- # `use_enhanced` to true and you have not enabled audio logging, then you
- # will receive an error.
class RecognitionConfig
# The encoding of the audio data sent in the request.
#
# All encodings support only 1 channel (mono) audio.
#
\ No newline at end of file