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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ voices | array<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<Voice> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |