Authentication on Google Speech API with gRPC using API key

42 views
Skip to first unread message

Евгений Абрамов

unread,
Sep 30, 2016, 9:03:45 AM9/30/16
to Google App Engine
Hello,

If I use the default authorization to access the Google SpeechAPI, it works:  auto Channel = grpc::CreateChannel("speech.googleapis.com", grpc::GoogleDefaultCredentials());

In the documentation https://cloud.google.com/speech/docs/common/auth, there are three ways to authorization: API Keys, Service Accounts, User Accounts
And authorization with API Keys work fine with REST API.

How can I use the authorization API Key in gRPC API?

Thanks
Reply all
Reply to author
Forward
0 new messages