Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig
- 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
-
#effects_profile_id ⇒ Array<String>
Corresponds to the JSON property
effectsProfileId. -
#pitch ⇒ Float
Corresponds to the JSON property
pitch. -
#pronunciations ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams>
Corresponds to the JSON property
pronunciations. -
#speaking_rate ⇒ Float
Corresponds to the JSON property
speakingRate. -
#voice ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams
Corresponds to the JSON property
voice. -
#volume_gain_db ⇒ Float
Corresponds to the JSON property
volumeGainDb.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SynthesizeSpeechConfig
constructor
A new instance of GoogleCloudDialogflowV2SynthesizeSpeechConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SynthesizeSpeechConfig
Returns a new instance of GoogleCloudDialogflowV2SynthesizeSpeechConfig.
16707 16708 16709 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16707 def initialize(**args) update!(**args) end |
Instance Attribute Details
#effects_profile_id ⇒ Array<String>
Corresponds to the JSON property effectsProfileId
16680 16681 16682 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16680 def effects_profile_id @effects_profile_id end |
#pitch ⇒ Float
Corresponds to the JSON property pitch
16685 16686 16687 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16685 def pitch @pitch end |
#pronunciations ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams>
Corresponds to the JSON property pronunciations
16690 16691 16692 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16690 def pronunciations @pronunciations end |
#speaking_rate ⇒ Float
Corresponds to the JSON property speakingRate
16695 16696 16697 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16695 def speaking_rate @speaking_rate end |
#voice ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams
Corresponds to the JSON property voice
16700 16701 16702 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16700 def voice @voice end |
#volume_gain_db ⇒ Float
Corresponds to the JSON property volumeGainDb
16705 16706 16707 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16705 def volume_gain_db @volume_gain_db end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16712 16713 16714 16715 16716 16717 16718 16719 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16712 def update!(**args) @effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id) @pitch = args[:pitch] if args.key?(:pitch) @pronunciations = args[:pronunciations] if args.key?(:pronunciations) @speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate) @voice = args[:voice] if args.key?(:voice) @volume_gain_db = args[:volume_gain_db] if args.key?(:volume_gain_db) end |