我正在尝试设置Google Speech-to-Text API,但收到未授权错误:
我正在使用系统环境变量GOOGLE_APPLICATION_CREDENTIALS设置为我的Cloud Platform服务帐户JSON文件的路径的Google Cloud Speech库创建一个新的Speechclient。我收到以下错误:
INFO: Failed to detect whether we are running on Google Compute Engine.
Exception in thread "main" com.google.cloud.storage.StorageExc...