Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Overview

Settings related to speech recognition.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SpeechToTextSettings

Returns a new instance of GoogleCloudDialogflowCxV3SpeechToTextSettings.



7220
7221
7222
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7220

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enable_speech_adaptationBoolean Also known as: enable_speech_adaptation?

Whether to use speech adaptation for speech recognition. Corresponds to the JSON property enableSpeechAdaptation

Returns:

  • (Boolean)


7217
7218
7219
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7217

def enable_speech_adaptation
  @enable_speech_adaptation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7225
7226
7227
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7225

def update!(**args)
  @enable_speech_adaptation = args[:enable_speech_adaptation] if args.key?(:enable_speech_adaptation)
end