-
Notifications
You must be signed in to change notification settings - Fork 591
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) (
#874) * build(node): add feat in node post-processor to add client library version number in snippet metadata Co-authored-by: Benjamin E. Coe <bencoe@google.com> Source-Link: googleapis/synthtool@d337b88 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:d106724ad2a96daa1b8d88de101ba50bdb30b8df62ffa0aa2b451d93b4556641
- Loading branch information
1 parent
78cecf2
commit 42be35d
Showing
2 changed files
with
708 additions
and
708 deletions.
There are no files selected for viewing
288 changes: 144 additions & 144 deletions
288
packages/google-cloud-node/samples/generated/v1/snippet_metadata.google.cloud.speech.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,151 +1,151 @@ | ||
{ | ||
"clientLibrary": { | ||
"name": "nodejs-speech", | ||
"version": "0.1.0", | ||
"language": "TYPESCRIPT", | ||
"apis": [ | ||
{ | ||
"id": "google.cloud.speech.v1", | ||
"version": "v1" | ||
} | ||
] | ||
}, | ||
"snippets": [ | ||
{ | ||
"regionTag": "speech_v1_generated_Speech_Recognize_async", | ||
"title": "Speech recognize Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Performs synchronous speech recognition: receive results after all audio has been sent and processed.", | ||
"canonical": true, | ||
"file": "speech.recognize.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 56, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "Recognize", | ||
"fullName": "google.cloud.speech.v1.Speech.Recognize", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "config", | ||
"type": ".google.cloud.speech.v1.RecognitionConfig" | ||
}, | ||
{ | ||
"name": "audio", | ||
"type": ".google.cloud.speech.v1.RecognitionAudio" | ||
} | ||
], | ||
"resultType": ".google.cloud.speech.v1.RecognizeResponse", | ||
"client": { | ||
"shortName": "SpeechClient", | ||
"fullName": "google.cloud.speech.v1.SpeechClient" | ||
}, | ||
"method": { | ||
"shortName": "Recognize", | ||
"fullName": "google.cloud.speech.v1.Speech.Recognize", | ||
"service": { | ||
"shortName": "Speech", | ||
"fullName": "google.cloud.speech.v1.Speech" | ||
} | ||
} | ||
} | ||
"clientLibrary": { | ||
"name": "nodejs-speech", | ||
"version": "4.10.1", | ||
"language": "TYPESCRIPT", | ||
"apis": [ | ||
{ | ||
"id": "google.cloud.speech.v1", | ||
"version": "v1" | ||
} | ||
] | ||
}, | ||
{ | ||
"regionTag": "speech_v1_generated_Speech_LongRunningRecognize_async", | ||
"title": "Speech longRunningRecognize Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message. For more information on asynchronous speech recognition, see the [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).", | ||
"canonical": true, | ||
"file": "speech.long_running_recognize.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
"snippets": [ | ||
{ | ||
"start": 25, | ||
"end": 61, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "LongRunningRecognize", | ||
"fullName": "google.cloud.speech.v1.Speech.LongRunningRecognize", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "config", | ||
"type": ".google.cloud.speech.v1.RecognitionConfig" | ||
}, | ||
{ | ||
"name": "audio", | ||
"type": ".google.cloud.speech.v1.RecognitionAudio" | ||
}, | ||
{ | ||
"name": "output_config", | ||
"type": ".google.cloud.speech.v1.TranscriptOutputConfig" | ||
} | ||
], | ||
"resultType": ".google.longrunning.Operation", | ||
"client": { | ||
"shortName": "SpeechClient", | ||
"fullName": "google.cloud.speech.v1.SpeechClient" | ||
"regionTag": "speech_v1_generated_Speech_Recognize_async", | ||
"title": "Speech recognize Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Performs synchronous speech recognition: receive results after all audio has been sent and processed.", | ||
"canonical": true, | ||
"file": "speech.recognize.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 56, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "Recognize", | ||
"fullName": "google.cloud.speech.v1.Speech.Recognize", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "config", | ||
"type": ".google.cloud.speech.v1.RecognitionConfig" | ||
}, | ||
{ | ||
"name": "audio", | ||
"type": ".google.cloud.speech.v1.RecognitionAudio" | ||
} | ||
], | ||
"resultType": ".google.cloud.speech.v1.RecognizeResponse", | ||
"client": { | ||
"shortName": "SpeechClient", | ||
"fullName": "google.cloud.speech.v1.SpeechClient" | ||
}, | ||
"method": { | ||
"shortName": "Recognize", | ||
"fullName": "google.cloud.speech.v1.Speech.Recognize", | ||
"service": { | ||
"shortName": "Speech", | ||
"fullName": "google.cloud.speech.v1.Speech" | ||
} | ||
} | ||
} | ||
}, | ||
"method": { | ||
"shortName": "LongRunningRecognize", | ||
"fullName": "google.cloud.speech.v1.Speech.LongRunningRecognize", | ||
"service": { | ||
"shortName": "Speech", | ||
"fullName": "google.cloud.speech.v1.Speech" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"regionTag": "speech_v1_generated_Speech_StreamingRecognize_async", | ||
"title": "Speech streamingRecognize Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Performs bidirectional streaming speech recognition: receive results while sending audio. This method is only available via the gRPC API (not REST).", | ||
"canonical": true, | ||
"file": "speech.streaming_recognize.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 66, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "StreamingRecognize", | ||
"fullName": "google.cloud.speech.v1.Speech.StreamingRecognize", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "streaming_config", | ||
"type": ".google.cloud.speech.v1.StreamingRecognitionConfig" | ||
}, | ||
{ | ||
"name": "audio_content", | ||
"type": "TYPE_BYTES" | ||
} | ||
], | ||
"resultType": ".google.cloud.speech.v1.StreamingRecognizeResponse", | ||
"client": { | ||
"shortName": "SpeechClient", | ||
"fullName": "google.cloud.speech.v1.SpeechClient" | ||
"regionTag": "speech_v1_generated_Speech_LongRunningRecognize_async", | ||
"title": "Speech longRunningRecognize Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message. For more information on asynchronous speech recognition, see the [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).", | ||
"canonical": true, | ||
"file": "speech.long_running_recognize.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 61, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "LongRunningRecognize", | ||
"fullName": "google.cloud.speech.v1.Speech.LongRunningRecognize", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "config", | ||
"type": ".google.cloud.speech.v1.RecognitionConfig" | ||
}, | ||
{ | ||
"name": "audio", | ||
"type": ".google.cloud.speech.v1.RecognitionAudio" | ||
}, | ||
{ | ||
"name": "output_config", | ||
"type": ".google.cloud.speech.v1.TranscriptOutputConfig" | ||
} | ||
], | ||
"resultType": ".google.longrunning.Operation", | ||
"client": { | ||
"shortName": "SpeechClient", | ||
"fullName": "google.cloud.speech.v1.SpeechClient" | ||
}, | ||
"method": { | ||
"shortName": "LongRunningRecognize", | ||
"fullName": "google.cloud.speech.v1.Speech.LongRunningRecognize", | ||
"service": { | ||
"shortName": "Speech", | ||
"fullName": "google.cloud.speech.v1.Speech" | ||
} | ||
} | ||
} | ||
}, | ||
"method": { | ||
"shortName": "StreamingRecognize", | ||
"fullName": "google.cloud.speech.v1.Speech.StreamingRecognize", | ||
"service": { | ||
"shortName": "Speech", | ||
"fullName": "google.cloud.speech.v1.Speech" | ||
} | ||
{ | ||
"regionTag": "speech_v1_generated_Speech_StreamingRecognize_async", | ||
"title": "Speech streamingRecognize Sample", | ||
"origin": "API_DEFINITION", | ||
"description": " Performs bidirectional streaming speech recognition: receive results while sending audio. This method is only available via the gRPC API (not REST).", | ||
"canonical": true, | ||
"file": "speech.streaming_recognize.js", | ||
"language": "JAVASCRIPT", | ||
"segments": [ | ||
{ | ||
"start": 25, | ||
"end": 66, | ||
"type": "FULL" | ||
} | ||
], | ||
"clientMethod": { | ||
"shortName": "StreamingRecognize", | ||
"fullName": "google.cloud.speech.v1.Speech.StreamingRecognize", | ||
"async": true, | ||
"parameters": [ | ||
{ | ||
"name": "streaming_config", | ||
"type": ".google.cloud.speech.v1.StreamingRecognitionConfig" | ||
}, | ||
{ | ||
"name": "audio_content", | ||
"type": "TYPE_BYTES" | ||
} | ||
], | ||
"resultType": ".google.cloud.speech.v1.StreamingRecognizeResponse", | ||
"client": { | ||
"shortName": "SpeechClient", | ||
"fullName": "google.cloud.speech.v1.SpeechClient" | ||
}, | ||
"method": { | ||
"shortName": "StreamingRecognize", | ||
"fullName": "google.cloud.speech.v1.Speech.StreamingRecognize", | ||
"service": { | ||
"shortName": "Speech", | ||
"fullName": "google.cloud.speech.v1.Speech" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.