Class: Google::Apis::TexttospeechV1::AdvancedVoiceOptions
- Inherits:
-
Object
- Object
- Google::Apis::TexttospeechV1::AdvancedVoiceOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/texttospeech_v1/classes.rb,
lib/google/apis/texttospeech_v1/representations.rb,
lib/google/apis/texttospeech_v1/representations.rb
Overview
Used for advanced voice options.
Instance Attribute Summary collapse
-
#low_latency_journey_synthesis ⇒ Boolean
(also: #low_latency_journey_synthesis?)
Only for Journey voices.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdvancedVoiceOptions
constructor
A new instance of AdvancedVoiceOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdvancedVoiceOptions
Returns a new instance of AdvancedVoiceOptions.
36 37 38 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 36 def initialize(**args) update!(**args) end |
Instance Attribute Details
#low_latency_journey_synthesis ⇒ Boolean Also known as: low_latency_journey_synthesis?
Only for Journey voices. If false, the synthesis will be context aware and
have higher latency.
Corresponds to the JSON property lowLatencyJourneySynthesis
33 34 35 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 33 def low_latency_journey_synthesis @low_latency_journey_synthesis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41 42 43 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 41 def update!(**args) @low_latency_journey_synthesis = args[:low_latency_journey_synthesis] if args.key?(:low_latency_journey_synthesis) end |