Cloud Text-to-Speech V1 Client - Class MultiSpeakerMarkup (1.12.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class MultiSpeakerMarkup.

A collection of turns for multi-speaker synthesis.

Generated from protobuf message google.cloud.texttospeech.v1.MultiSpeakerMarkup

Namespace

Google \ Cloud \ TextToSpeech \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ turns array<Google\Cloud\TextToSpeech\V1\MultiSpeakerMarkup\Turn>

Required. Speaker turns.

getTurns

Required. Speaker turns.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTurns

Required. Speaker turns.

Parameter
Name Description
var array<Google\Cloud\TextToSpeech\V1\MultiSpeakerMarkup\Turn>
Returns
Type Description
$this