I'm having a need of using "Google speech API" for my application. For that, I had installed "Google cloud storage SDK". I followed this link "https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu" to install gcloud.
Then I had run this command "set GOOGLE_APPLICATION_CREDENTIALS /path/to/google-speech-API-key/key.json" on terminal to set the GOOGLE_APPLICATION_CREDENTIALS. But when I try to test I got this exception
"Error reading credential file from environment variable GOOGLE_APPLICATION_CREDENTIALS, value '/path/to/google-speech-API-key': File does not exist". I'm sure that the directory exists and it has all the permissions.
So then I ran this command "gcloud auth application-default login" to actually set the default key. I got the below warning
"The environment variable [GOOGLE_APPLICATION_CREDENTIALS] is set to:
[/path/to/google-speech-API-key]
Credentials will still be generated to the default location:
[/path/to/.config/gcloud/key.json]
To use these credentials, unset this environment variable before
running your application."
So, now how could I unset or overwrite the GOOGLE_APPLICATION_CREDENTIALS?

