diff --git a/packages/google-cloud-texttospeech/samples/generated/v1/snippet_metadata.google.cloud.texttospeech.v1.json b/packages/google-cloud-texttospeech/samples/generated/v1/snippet_metadata.google.cloud.texttospeech.v1.json index 5480bea1991..6e369cea117 100644 --- a/packages/google-cloud-texttospeech/samples/generated/v1/snippet_metadata.google.cloud.texttospeech.v1.json +++ b/packages/google-cloud-texttospeech/samples/generated/v1/snippet_metadata.google.cloud.texttospeech.v1.json @@ -1,103 +1,103 @@ { - "clientLibrary": { - "name": "nodejs-texttospeech", - "version": "0.1.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.texttospeech.v1", - "version": "v1" - } - ] - }, - "snippets": [ - { - "regionTag": "texttospeech_v1_generated_TextToSpeech_ListVoices_async", - "title": "TextToSpeech listVoices Sample", - "origin": "API_DEFINITION", - "description": " Returns a list of Voice supported for synthesis.", - "canonical": true, - "file": "text_to_speech.list_voices.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListVoices", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices", - "async": true, - "parameters": [ - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.texttospeech.v1.ListVoicesResponse", - "client": { - "shortName": "TextToSpeechClient", - "fullName": "google.cloud.texttospeech.v1.TextToSpeechClient" - }, - "method": { - "shortName": "ListVoices", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices", - "service": { - "shortName": "TextToSpeech", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech" - } - } - } + "clientLibrary": { + "name": "nodejs-texttospeech", + "version": "3.4.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.texttospeech.v1", + "version": "v1" + } + ] }, - { - "regionTag": "texttospeech_v1_generated_TextToSpeech_SynthesizeSpeech_async", - "title": "TextToSpeech synthesizeSpeech Sample", - "origin": "API_DEFINITION", - "description": " Synthesizes speech synchronously: receive results after all text input has been processed.", - "canonical": true, - "file": "text_to_speech.synthesize_speech.js", - "language": "JAVASCRIPT", - "segments": [ + "snippets": [ { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SynthesizeSpeech", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech", - "async": true, - "parameters": [ - { - "name": "input", - "type": ".google.cloud.texttospeech.v1.SynthesisInput" - }, - { - "name": "voice", - "type": ".google.cloud.texttospeech.v1.VoiceSelectionParams" - }, - { - "name": "audio_config", - "type": ".google.cloud.texttospeech.v1.AudioConfig" - } - ], - "resultType": ".google.cloud.texttospeech.v1.SynthesizeSpeechResponse", - "client": { - "shortName": "TextToSpeechClient", - "fullName": "google.cloud.texttospeech.v1.TextToSpeechClient" + "regionTag": "texttospeech_v1_generated_TextToSpeech_ListVoices_async", + "title": "TextToSpeech listVoices Sample", + "origin": "API_DEFINITION", + "description": " Returns a list of Voice supported for synthesis.", + "canonical": true, + "file": "text_to_speech.list_voices.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListVoices", + "fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices", + "async": true, + "parameters": [ + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.texttospeech.v1.ListVoicesResponse", + "client": { + "shortName": "TextToSpeechClient", + "fullName": "google.cloud.texttospeech.v1.TextToSpeechClient" + }, + "method": { + "shortName": "ListVoices", + "fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices", + "service": { + "shortName": "TextToSpeech", + "fullName": "google.cloud.texttospeech.v1.TextToSpeech" + } + } + } }, - "method": { - "shortName": "SynthesizeSpeech", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech", - "service": { - "shortName": "TextToSpeech", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech" - } + { + "regionTag": "texttospeech_v1_generated_TextToSpeech_SynthesizeSpeech_async", + "title": "TextToSpeech synthesizeSpeech Sample", + "origin": "API_DEFINITION", + "description": " Synthesizes speech synchronously: receive results after all text input has been processed.", + "canonical": true, + "file": "text_to_speech.synthesize_speech.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SynthesizeSpeech", + "fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech", + "async": true, + "parameters": [ + { + "name": "input", + "type": ".google.cloud.texttospeech.v1.SynthesisInput" + }, + { + "name": "voice", + "type": ".google.cloud.texttospeech.v1.VoiceSelectionParams" + }, + { + "name": "audio_config", + "type": ".google.cloud.texttospeech.v1.AudioConfig" + } + ], + "resultType": ".google.cloud.texttospeech.v1.SynthesizeSpeechResponse", + "client": { + "shortName": "TextToSpeechClient", + "fullName": "google.cloud.texttospeech.v1.TextToSpeechClient" + }, + "method": { + "shortName": "SynthesizeSpeech", + "fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech", + "service": { + "shortName": "TextToSpeech", + "fullName": "google.cloud.texttospeech.v1.TextToSpeech" + } + } + } } - } - } - ] -} + ] +} \ No newline at end of file diff --git a/packages/google-cloud-texttospeech/samples/generated/v1beta1/snippet_metadata.google.cloud.texttospeech.v1beta1.json b/packages/google-cloud-texttospeech/samples/generated/v1beta1/snippet_metadata.google.cloud.texttospeech.v1beta1.json index 6d19d178de9..333a599ada3 100644 --- a/packages/google-cloud-texttospeech/samples/generated/v1beta1/snippet_metadata.google.cloud.texttospeech.v1beta1.json +++ b/packages/google-cloud-texttospeech/samples/generated/v1beta1/snippet_metadata.google.cloud.texttospeech.v1beta1.json @@ -1,107 +1,107 @@ { - "clientLibrary": { - "name": "nodejs-texttospeech", - "version": "0.1.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.texttospeech.v1beta1", - "version": "v1beta1" - } - ] - }, - "snippets": [ - { - "regionTag": "texttospeech_v1beta1_generated_TextToSpeech_ListVoices_async", - "title": "TextToSpeech listVoices Sample", - "origin": "API_DEFINITION", - "description": " Returns a list of Voice supported for synthesis.", - "canonical": true, - "file": "text_to_speech.list_voices.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListVoices", - "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.ListVoices", - "async": true, - "parameters": [ - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.texttospeech.v1beta1.ListVoicesResponse", - "client": { - "shortName": "TextToSpeechClient", - "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeechClient" - }, - "method": { - "shortName": "ListVoices", - "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.ListVoices", - "service": { - "shortName": "TextToSpeech", - "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech" - } - } - } + "clientLibrary": { + "name": "nodejs-texttospeech", + "version": "3.4.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.texttospeech.v1beta1", + "version": "v1beta1" + } + ] }, - { - "regionTag": "texttospeech_v1beta1_generated_TextToSpeech_SynthesizeSpeech_async", - "title": "TextToSpeech synthesizeSpeech Sample", - "origin": "API_DEFINITION", - "description": " Synthesizes speech synchronously: receive results after all text input has been processed.", - "canonical": true, - "file": "text_to_speech.synthesize_speech.js", - "language": "JAVASCRIPT", - "segments": [ + "snippets": [ { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SynthesizeSpeech", - "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.SynthesizeSpeech", - "async": true, - "parameters": [ - { - "name": "input", - "type": ".google.cloud.texttospeech.v1beta1.SynthesisInput" - }, - { - "name": "voice", - "type": ".google.cloud.texttospeech.v1beta1.VoiceSelectionParams" - }, - { - "name": "audio_config", - "type": ".google.cloud.texttospeech.v1beta1.AudioConfig" - }, - { - "name": "enable_time_pointing", - "type": "TYPE_ENUM[]" - } - ], - "resultType": ".google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse", - "client": { - "shortName": "TextToSpeechClient", - "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeechClient" + "regionTag": "texttospeech_v1beta1_generated_TextToSpeech_ListVoices_async", + "title": "TextToSpeech listVoices Sample", + "origin": "API_DEFINITION", + "description": " Returns a list of Voice supported for synthesis.", + "canonical": true, + "file": "text_to_speech.list_voices.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListVoices", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.ListVoices", + "async": true, + "parameters": [ + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.texttospeech.v1beta1.ListVoicesResponse", + "client": { + "shortName": "TextToSpeechClient", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeechClient" + }, + "method": { + "shortName": "ListVoices", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.ListVoices", + "service": { + "shortName": "TextToSpeech", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech" + } + } + } }, - "method": { - "shortName": "SynthesizeSpeech", - "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.SynthesizeSpeech", - "service": { - "shortName": "TextToSpeech", - "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech" - } + { + "regionTag": "texttospeech_v1beta1_generated_TextToSpeech_SynthesizeSpeech_async", + "title": "TextToSpeech synthesizeSpeech Sample", + "origin": "API_DEFINITION", + "description": " Synthesizes speech synchronously: receive results after all text input has been processed.", + "canonical": true, + "file": "text_to_speech.synthesize_speech.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SynthesizeSpeech", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.SynthesizeSpeech", + "async": true, + "parameters": [ + { + "name": "input", + "type": ".google.cloud.texttospeech.v1beta1.SynthesisInput" + }, + { + "name": "voice", + "type": ".google.cloud.texttospeech.v1beta1.VoiceSelectionParams" + }, + { + "name": "audio_config", + "type": ".google.cloud.texttospeech.v1beta1.AudioConfig" + }, + { + "name": "enable_time_pointing", + "type": "TYPE_ENUM[]" + } + ], + "resultType": ".google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse", + "client": { + "shortName": "TextToSpeechClient", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeechClient" + }, + "method": { + "shortName": "SynthesizeSpeech", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.SynthesizeSpeech", + "service": { + "shortName": "TextToSpeech", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech" + } + } + } } - } - } - ] -} + ] +} \ No newline at end of file