Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SpeechToTextSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1SpeechToTextSettings.



12011
12012
12013
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12011

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

Instance Attribute Details

#enable_speech_adaptationBoolean Also known as: enable_speech_adaptation?

Corresponds to the JSON property enableSpeechAdaptation

Returns:

  • (Boolean)


12008
12009
12010
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12008

def enable_speech_adaptation
  @enable_speech_adaptation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12016
12017
12018
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12016

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