Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class CustomPronunciations.
A collection of pronunciation customizations.
Generated from protobuf message google.cloud.texttospeech.v1.CustomPronunciations
Namespace
Google \ Cloud \ TextToSpeech \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ pronunciations |
array<Google\Cloud\TextToSpeech\V1\CustomPronunciationParams>
The pronunciation customizations to be applied. |
getPronunciations
The pronunciation customizations to be applied.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setPronunciations
The pronunciation customizations to be applied.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\TextToSpeech\V1\CustomPronunciationParams>
|
Returns | |
---|---|
Type | Description |
$this |