Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Settings related to speech recognition.
Instance Attribute Summary collapse
-
#enable_speech_adaptation ⇒ Boolean
(also: #enable_speech_adaptation?)
Whether to use speech adaptation for speech recognition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SpeechToTextSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1SpeechToTextSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SpeechToTextSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1SpeechToTextSettings.
11419 11420 11421 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11419 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_speech_adaptation ⇒ Boolean Also known as: enable_speech_adaptation?
Whether to use speech adaptation for speech recognition.
Corresponds to the JSON property enableSpeechAdaptation
11416 11417 11418 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11416 def enable_speech_adaptation @enable_speech_adaptation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11424 11425 11426 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11424 def update!(**args) @enable_speech_adaptation = args[:enable_speech_adaptation] if args.key?(:enable_speech_adaptation) end |