Cloud Text-to-Speech V1 Client - Class ListVoicesResponse (1.11.0)

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

The message returned to the client by the ListVoices method.

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

Namespace

Google \ Cloud \ TextToSpeech \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ voices array<Google\Cloud\TextToSpeech\V1\Voice>

The list of voices.

getVoices

The list of voices.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setVoices

The list of voices.

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