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<CustomPronunciationParams>
The pronunciation customizations are applied. |
getPronunciations
The pronunciation customizations are applied.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setPronunciations
The pronunciation customizations are applied.
| Parameter | |
|---|---|
| Name | Description |
var |
array<CustomPronunciationParams>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|