Salvador Rueda Salvador Rueda - 3 months ago 100
JSON Question

What does gs protocol mean?

I'm playing with Google Speech Recognition API

After a successfully Getting started I'm trying to understand and made some changes in this first example but I don't know what "gs" protocol is and how to set it to use my own audio file.

sync-request.json

{
"config": {
"encoding":"FLAC",
"sample_rate": 16000
},
"audio": {
"uri":"gs://cloud-samples-tests/speech/brooklyn.flac"
}
}


I tried to change gs protocol to http protocol but doesn't work.

Thanks in advance.

Answer

gs:// scheme is used for identifying resources stored in Google Cloud Storage.

Comments