File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020class AdvancedVoiceOptions extends \Google \Model
2121{
22+ /**
23+ * Optional. If true, textnorm will be applied to text input. This feature is
24+ * enabled by default. Only applies for Gemini TTS.
25+ *
26+ * @var bool
27+ */
28+ public $ enableTextnorm ;
2229 /**
2330 * Only for Journey voices. If false, the synthesis is context aware and has a
2431 * higher latency.
@@ -35,6 +42,23 @@ class AdvancedVoiceOptions extends \Google\Model
3542 */
3643 public $ relaxSafetyFilters ;
3744
45+ /**
46+ * Optional. If true, textnorm will be applied to text input. This feature is
47+ * enabled by default. Only applies for Gemini TTS.
48+ *
49+ * @param bool $enableTextnorm
50+ */
51+ public function setEnableTextnorm ($ enableTextnorm )
52+ {
53+ $ this ->enableTextnorm = $ enableTextnorm ;
54+ }
55+ /**
56+ * @return bool
57+ */
58+ public function getEnableTextnorm ()
59+ {
60+ return $ this ->enableTextnorm ;
61+ }
3862 /**
3963 * Only for Journey voices. If false, the synthesis is context aware and has a
4064 * higher latency.
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class SynthesizeSpeechRequest extends \Google\Model
2929 protected $ voiceDataType = '' ;
3030
3131 /**
32- * Advanced voice options.
32+ * Optional. Advanced voice options.
3333 *
3434 * @param AdvancedVoiceOptions $advancedVoiceOptions
3535 */
You can’t perform that action at this time.
0 commit comments