{ "clientLibrary": { "name": "cloud.google.com/go/mediatranslation/apiv1beta1", "version": "0.9.6", "language": "GO", "apis": [ { "id": "google.cloud.mediatranslation.v1beta1", "version": "v1beta1" } ] }, "snippets": [ { "regionTag": "mediatranslation_v1beta1_generated_SpeechTranslationService_StreamingTranslateSpeech_sync", "title": "mediatranslation StreamingTranslateSpeech Sample", "description": "StreamingTranslateSpeech performs bidirectional streaming speech translation: receive results while\nsending audio. This method is only available via the gRPC API (not REST).", "file": "SpeechTranslationClient/StreamingTranslateSpeech/main.go", "language": "GO", "clientMethod": { "shortName": "StreamingTranslateSpeech", "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationClient.StreamingTranslateSpeech", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "mediatranslationpb.SpeechTranslationService_StreamingTranslateSpeechClient", "client": { "shortName": "SpeechTranslationClient", "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationClient" }, "method": { "shortName": "StreamingTranslateSpeech", "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService.StreamingTranslateSpeech", "service": { "shortName": "SpeechTranslationService", "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 69, "type": "FULL" } ] } ] }