Cloud Text-to-Speech V1 Client - Class CustomPronunciations (1.12.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ pronunciations array<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<CustomPronunciationParams>
Returns
Type Description
$this