Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TextToSpeechSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TextToSpeechSettings
- 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 synthesizing.
Instance Attribute Summary collapse
-
#synthesize_speech_configs ⇒ Hash<String,Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SynthesizeSpeechConfig>
Configuration of how speech should be synthesized, mapping from language ( https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TextToSpeechSettings
constructor
A new instance of GoogleCloudDialogflowCxV3TextToSpeechSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TextToSpeechSettings
Returns a new instance of GoogleCloudDialogflowCxV3TextToSpeechSettings.
7623 7624 7625 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7623 def initialize(**args) update!(**args) end |
Instance Attribute Details
#synthesize_speech_configs ⇒ Hash<String,Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SynthesizeSpeechConfig>
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
7621 7622 7623 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7621 def synthesize_speech_configs @synthesize_speech_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7628 7629 7630 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7628 def update!(**args) @synthesize_speech_configs = args[:synthesize_speech_configs] if args.key?(:synthesize_speech_configs) end |