Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3/classes.rb,
generated/google/apis/dialogflow_v3/representations.rb,
generated/google/apis/dialogflow_v3/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) ⇒ GoogleCloudDialogflowCxV3SpeechToTextSettings
constructor
A new instance of GoogleCloudDialogflowCxV3SpeechToTextSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SpeechToTextSettings
Returns a new instance of GoogleCloudDialogflowCxV3SpeechToTextSettings.
3580 3581 3582 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3580 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
3577 3578 3579 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3577 def enable_speech_adaptation @enable_speech_adaptation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3585 3586 3587 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3585 def update!(**args) @enable_speech_adaptation = args[:enable_speech_adaptation] if args.key?(:enable_speech_adaptation) end |