Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams>
Corresponds to the JSON property
pronunciations. -
#speaking_rate ⇒ Float
Corresponds to the JSON property
speakingRate. -
#voice ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams
Corresponds to the JSON property
voice. -
#volume_gain_db ⇒ Float
Corresponds to the JSON property
volumeGainDb.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
Returns a new instance of GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig.
21523 21524 21525 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21523 def initialize(**args) update!(**args) end |
Instance Attribute Details
#effects_profile_id ⇒ Array<String>
Corresponds to the JSON property effectsProfileId
21496 21497 21498 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21496 def effects_profile_id @effects_profile_id end |
#pitch ⇒ Float
Corresponds to the JSON property pitch
21501 21502 21503 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21501 def pitch @pitch end |
#pronunciations ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams>
Corresponds to the JSON property pronunciations
21506 21507 21508 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21506 def pronunciations @pronunciations end |
#speaking_rate ⇒ Float
Corresponds to the JSON property speakingRate
21511 21512 21513 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21511 def speaking_rate @speaking_rate end |
#voice ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams
Corresponds to the JSON property voice
21516 21517 21518 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21516 def voice @voice end |
#volume_gain_db ⇒ Float
Corresponds to the JSON property volumeGainDb
21521 21522 21523 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21521 def volume_gain_db @volume_gain_db end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21528 21529 21530 21531 21532 21533 21534 21535 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21528 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 |