Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextToSpeechSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextToSpeechSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#enable_text_to_speech ⇒ Boolean
(also: #enable_text_to_speech?)
Corresponds to the JSON property
enableTextToSpeech. -
#output_audio_encoding ⇒ String
Corresponds to the JSON property
outputAudioEncoding. -
#sample_rate_hertz ⇒ Fixnum
Corresponds to the JSON property
sampleRateHertz. -
#synthesize_speech_configs ⇒ Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig>
Corresponds to the JSON property
synthesizeSpeechConfigs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2TextToSpeechSettings
constructor
A new instance of GoogleCloudDialogflowV2TextToSpeechSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2TextToSpeechSettings
Returns a new instance of GoogleCloudDialogflowV2TextToSpeechSettings.
16772 16773 16774 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16772 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_text_to_speech ⇒ Boolean Also known as: enable_text_to_speech?
Corresponds to the JSON property enableTextToSpeech
16754 16755 16756 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16754 def enable_text_to_speech @enable_text_to_speech end |
#output_audio_encoding ⇒ String
Corresponds to the JSON property outputAudioEncoding
16760 16761 16762 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16760 def output_audio_encoding @output_audio_encoding end |
#sample_rate_hertz ⇒ Fixnum
Corresponds to the JSON property sampleRateHertz
16765 16766 16767 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16765 def sample_rate_hertz @sample_rate_hertz end |
#synthesize_speech_configs ⇒ Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig>
Corresponds to the JSON property synthesizeSpeechConfigs
16770 16771 16772 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16770 def synthesize_speech_configs @synthesize_speech_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16777 16778 16779 16780 16781 16782 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16777 def update!(**args) @enable_text_to_speech = args[:enable_text_to_speech] if args.key?(:enable_text_to_speech) @output_audio_encoding = args[:output_audio_encoding] if args.key?(:output_audio_encoding) @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz) @synthesize_speech_configs = args[:synthesize_speech_configs] if args.key?(:synthesize_speech_configs) end |