Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TextToSpeechSettings

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

Overview

Settings related to speech synthesizing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TextToSpeechSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1TextToSpeechSettings.



11824
11825
11826
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11824

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

Instance Attribute Details

#synthesize_speech_configsHash<String,Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig>

Configuration of how speech should be synthesized, mapping from language ( https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig. These settings affect: - The phone gateway synthesize configuration set via Agent.text_to_speech_settings. - How speech is synthesized when invoking session APIs. Agent.text_to_speech_settings only applies if OutputAudioConfig.synthesize_speech_config is not specified. Corresponds to the JSON property synthesizeSpeechConfigs



11822
11823
11824
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11822

def synthesize_speech_configs
  @synthesize_speech_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11829
11830
11831
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11829

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