Skip to content

Commit 54cf853

Browse files
1 parent 7245e2c commit 54cf853

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

src/Texttospeech/AdvancedVoiceOptions.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919

2020
class 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.

src/Texttospeech/SynthesizeSpeechRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)