Skip to content

Commit

Permalink
build(node): update client library version in samples metadata (#1356) (
Browse files Browse the repository at this point in the history
#598)

* build(node): add feat in node post-processor to add client library version number in snippet metadata

Co-authored-by: Benjamin E. Coe <[email protected]>
Source-Link: googleapis/synthtool@d337b88
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:d106724ad2a96daa1b8d88de101ba50bdb30b8df62ffa0aa2b451d93b4556641
  • Loading branch information
gcf-owl-bot[bot] and bcoe authored Apr 21, 2022
1 parent 4d6bde5 commit 4c1f799
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 200 deletions.
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
}
}
]
}
]
}
Loading

0 comments on commit 4c1f799

Please sign in to comment.