M
M
mr_blond972018-09-18 19:17:32
Google
mr_blond97, 2018-09-18 19:17:32

How to set credentials for google speech to text without setting environment variable?

This is an example of using the client-libraries-usage-csharp c# library .
This is how the environment variable is set:

export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Downloads/[FILE_NAME].json"

How to set credentials for google speech to text without setting environment variable?
Something like this:
var credentials = ...create(file.json); var speech = SpeechClient.Create(credentials);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question