-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(node): update client library version in samples metadata (#1356) (
#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
1 parent
4d6bde5
commit 4c1f799
Showing
2 changed files
with
200 additions
and
200 deletions.
There are no files selected for viewing
196 changes: 98 additions & 98 deletions
196
...loud-texttospeech/samples/generated/v1/snippet_metadata.google.cloud.texttospeech.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.