Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TextToSpeechSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TextToSpeechSettings
- 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
-
#synthesize_speech_configs ⇒ Hash<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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TextToSpeechSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1TextToSpeechSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TextToSpeechSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1TextToSpeechSettings.
8616 8617 8618 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8616 def initialize(**args) update!(**args) end |
Instance Attribute Details
#synthesize_speech_configs ⇒ Hash<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 synthesize configuration
used in phone gateway. - You no longer need to specify OutputAudioConfig.
synthesize_speech_config when invoking API calls. Your agent will use the pre-
configured options for speech synthesizing.
Corresponds to the JSON property synthesizeSpeechConfigs
8614 8615 8616 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8614 def synthesize_speech_configs @synthesize_speech_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8621 8622 8623 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8621 def update!(**args) @synthesize_speech_configs = args[:synthesize_speech_configs] if args.key?(:synthesize_speech_configs) end |