From e2bc09d084ed28cafea5db288250728dccf2a909 Mon Sep 17 00:00:00 2001 From: Alix Hamilton Date: Tue, 21 Aug 2018 15:30:25 -0400 Subject: [PATCH] Update region tags to standard (#75) --- texttospeech/audioProfile.js | 4 ++-- texttospeech/quickstart.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/texttospeech/audioProfile.js b/texttospeech/audioProfile.js index 69807d9641..aef6297a19 100644 --- a/texttospeech/audioProfile.js +++ b/texttospeech/audioProfile.js @@ -22,7 +22,7 @@ function synthesizeText( languageCode, ssmlGender ) { - //[START tts_synthesize_text_with_audio_profile] + //[START tts_synthesize_text_audio_profile_beta] // Imports the Google Cloud client library const speech = require('@google-cloud/text-to-speech'); @@ -51,7 +51,7 @@ function synthesizeText( console.log(`Audio content written to file: ${outputFile}`); }); }); - // [END tts_synthesize_text_with_audio_profile] + // [END tts_synthesize_text_audio_profile_beta] } require(`yargs`) diff --git a/texttospeech/quickstart.js b/texttospeech/quickstart.js index 1bce291e8b..56d82e2421 100644 --- a/texttospeech/quickstart.js +++ b/texttospeech/quickstart.js @@ -15,7 +15,7 @@ 'use strict'; -// [START texttospeech_quickstart] +// [START tts_quickstart] const fs = require('fs'); // Imports the Google Cloud client library @@ -52,4 +52,4 @@ client.synthesizeSpeech(request, (err, response) => { console.log('Audio content written to file: output.mp3'); }); }); -// [END texttospeech_quickstart] +// [END tts_quickstart]