Skip to main content

voices

Creates, updates, deletes, gets or lists a voices resource.

Overview

Namevoices
TypeResource
Idgoogle.texttospeech.voices

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
voicesarrayThe list of voices.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlanguageCodeReturns a list of Voice supported for synthesis.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
languageCodestring

SELECT examples

Returns a list of Voice supported for synthesis.

SELECT
voices
FROM google.texttospeech.voices
WHERE languageCode = '{{ languageCode }}';