Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class AdvancedVoiceOptions.
Used for advanced voice options.
Generated from protobuf message google.cloud.texttospeech.v1.AdvancedVoiceOptions
Namespace
Google \ Cloud \ TextToSpeech \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ low_latency_journey_synthesis
bool
Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
↳ relax_safety_filters
bool
Optional. Input only. Deprecated, use safety_settings instead. If true, relaxes safety filters for Gemini TTS.
↳ safety_settings
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.
↳ enable_textnorm
bool
Optional. If true, textnorm will be applied to text input. This feature is enabled by default. Only applies for Gemini TTS.
getLowLatencyJourneySynthesis
Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
bool
hasLowLatencyJourneySynthesis
clearLowLatencyJourneySynthesis
setLowLatencyJourneySynthesis
Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
var
bool
$this
getRelaxSafetyFilters
Optional. Input only. Deprecated, use safety_settings instead.
If true, relaxes safety filters for Gemini TTS.
bool
setRelaxSafetyFilters
Optional. Input only. Deprecated, use safety_settings instead.
If true, relaxes safety filters for Gemini TTS.
var
bool
$this
getSafetySettings
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.
hasSafetySettings
clearSafetySettings
setSafetySettings
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.
$this
getEnableTextnorm
Optional. If true, textnorm will be applied to text input. This feature is enabled by default. Only applies for Gemini TTS.
bool
hasEnableTextnorm
clearEnableTextnorm
setEnableTextnorm
Optional. If true, textnorm will be applied to text input. This feature is enabled by default. Only applies for Gemini TTS.
var
bool
$this

