Reference documentation and code samples for the Cloud Text-to-Speech V1beta1 API class Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions.
Used for advanced voice options.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enable_textnorm
def enable_textnorm() -> ::Boolean
Returns
- (::Boolean) — Optional. If true, textnorm will be applied to text input. This feature is enabled by default. Only applies for Gemini TTS.
#enable_textnorm=
def enable_textnorm=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If true, textnorm will be applied to text input. This feature is enabled by default. Only applies for Gemini TTS.
Returns
- (::Boolean) — Optional. If true, textnorm will be applied to text input. This feature is enabled by default. Only applies for Gemini TTS.
#low_latency_journey_synthesis
def low_latency_journey_synthesis() -> ::Boolean
Returns
- (::Boolean) — Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
#low_latency_journey_synthesis=
def low_latency_journey_synthesis=(value) -> ::Boolean
Parameter
- value (::Boolean) — Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
Returns
- (::Boolean) — Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
#relax_safety_filters
def relax_safety_filters() -> ::Boolean
Returns
- (::Boolean) — Optional. Input only. Deprecated, use safety_settings instead. If true, relaxes safety filters for Gemini TTS.
#relax_safety_filters=
def relax_safety_filters=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Input only. Deprecated, use safety_settings instead. If true, relaxes safety filters for Gemini TTS.
Returns
- (::Boolean) — Optional. Input only. Deprecated, use safety_settings instead. If true, relaxes safety filters for Gemini TTS.
#safety_settings
def safety_settings() -> ::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::SafetySettings
Returns
- (::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::SafetySettings) — Optional. Input only. This applies to Gemini TTS only. If set, the category specified in the safety setting will be blocked if the harm probability is above the threshold. Otherwise, the safety filter will be disabled by default.
#safety_settings=
def safety_settings=(value) -> ::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::SafetySettings
Parameter
- value (::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::SafetySettings) — Optional. Input only. This applies to Gemini TTS only. If set, the category specified in the safety setting will be blocked if the harm probability is above the threshold. Otherwise, the safety filter will be disabled by default.
Returns
- (::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::SafetySettings) — Optional. Input only. This applies to Gemini TTS only. If set, the category specified in the safety setting will be blocked if the harm probability is above the threshold. Otherwise, the safety filter will be disabled by default.