Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
- 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
Instance Attribute Summary collapse
-
#effects_profile_id ⇒ Array<String>
Corresponds to the JSON property
effectsProfileId. -
#pitch ⇒ Float
Corresponds to the JSON property
pitch. -
#speaking_rate ⇒ Float
Corresponds to the JSON property
speakingRate. -
#voice ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VoiceSelectionParams
Corresponds to the JSON property
voice. -
#volume_gain_db ⇒ Float
Corresponds to the JSON property
volumeGainDb.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
constructor
A new instance of GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
Returns a new instance of GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig.
12138 12139 12140 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#effects_profile_id ⇒ Array<String>
Corresponds to the JSON property effectsProfileId
12116 12117 12118 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12116 def effects_profile_id @effects_profile_id end |
#pitch ⇒ Float
Corresponds to the JSON property pitch
12121 12122 12123 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12121 def pitch @pitch end |
#speaking_rate ⇒ Float
Corresponds to the JSON property speakingRate
12126 12127 12128 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12126 def speaking_rate @speaking_rate end |
#voice ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VoiceSelectionParams
Corresponds to the JSON property voice
12131 12132 12133 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12131 def voice @voice end |
#volume_gain_db ⇒ Float
Corresponds to the JSON property volumeGainDb
12136 12137 12138 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12136 def volume_gain_db @volume_gain_db end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12143 12144 12145 12146 12147 12148 12149 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12143 def update!(**args) @effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id) @pitch = args[:pitch] if args.key?(:pitch) @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 |