google-cloud-texttospeech overview (2.4.0)

com.google.cloud.texttospeech.v1

A client to Cloud Text-to-Speech API

The interfaces provided are listed below, along with usage samples.

TextToSpeechClient

Service Description: Service that implements Google Cloud Text-to-Speech API.

Sample for TextToSpeechClient:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (TextToSpeechClient textToSpeechClient = TextToSpeechClient.create()) {
   String languageCode = "languageCode-2092349083";
   ListVoicesResponse response = textToSpeechClient.listVoices(languageCode);
 }
 

com.google.cloud.texttospeech.v1.stub

com.google.cloud.texttospeech.v1beta1

A client to Cloud Text-to-Speech API

The interfaces provided are listed below, along with usage samples.

TextToSpeechClient

Service Description: Service that implements Google Cloud Text-to-Speech API.

Sample for TextToSpeechClient:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (TextToSpeechClient textToSpeechClient = TextToSpeechClient.create()) {
   String languageCode = "languageCode-2092349083";
   ListVoicesResponse response = textToSpeechClient.listVoices(languageCode);
 }
 

com.google.cloud.texttospeech.v1beta1.stub