Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SynthesizeSpeechConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SynthesizeSpeechConfig
- 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
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::DialogflowV3::GoogleCloudDialogflowCxV3VoiceSelectionParams
Corresponds to the JSON property
voice. -
#volume_gain_db ⇒ Float
Corresponds to the JSON property
volumeGainDb.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SynthesizeSpeechConfig
constructor
A new instance of GoogleCloudDialogflowCxV3SynthesizeSpeechConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SynthesizeSpeechConfig
Returns a new instance of GoogleCloudDialogflowCxV3SynthesizeSpeechConfig.
7609 7610 7611 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7609 def initialize(**args) update!(**args) end |
Instance Attribute Details
#effects_profile_id ⇒ Array<String>
Corresponds to the JSON property effectsProfileId
7587 7588 7589 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7587 def effects_profile_id @effects_profile_id end |
#pitch ⇒ Float
Corresponds to the JSON property pitch
7592 7593 7594 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7592 def pitch @pitch end |
#speaking_rate ⇒ Float
Corresponds to the JSON property speakingRate
7597 7598 7599 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7597 def speaking_rate @speaking_rate end |
#voice ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VoiceSelectionParams
Corresponds to the JSON property voice
7602 7603 7604 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7602 def voice @voice end |
#volume_gain_db ⇒ Float
Corresponds to the JSON property volumeGainDb
7607 7608 7609 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7607 def volume_gain_db @volume_gain_db end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7614 7615 7616 7617 7618 7619 7620 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7614 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 |