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

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

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.

Generated from protobuf field repeated .google.cloud.texttospeech.v1.Voice voices = 1;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setVoices

The list of voices.

Generated from protobuf field repeated .google.cloud.texttospeech.v1.Voice voices = 1;

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: