Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TextToSpeechSettings

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 generating.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TextToSpeechSettings

Returns a new instance of GoogleCloudDialogflowCxV3TextToSpeechSettings.



5533
5534
5535
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5533

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

Instance Attribute Details

#synthesize_speech_configsHash<String,Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SynthesizeSpeechConfig>

Configuration of how speech should be synthesized, mapping from language ( https://dialogflow.com/docs/reference/language) to SynthesizeSpeechConfig. Corresponds to the JSON property synthesizeSpeechConfigs



5531
5532
5533
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5531

def synthesize_speech_configs
  @synthesize_speech_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5538
5539
5540
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5538

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