我已经按照google文档进行了身份验证,但是尽管我做了所有的事情,我仍然得到相同的错误。
DLP API has not been used in project ****** before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/dlp.googleapis.com/overview?project=******** then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
我已经遵循了这里的所有指令:https://cloud.google.com/dlp/docs/quickstart-json,但我仍然不能解决它。
任何帮助或建议都将不胜感激。
发布于 2018-03-12 23:11:17
usable-auth-library似乎是一个全局Google所有的项目,在使用应用程序默认凭据进行身份验证时,配额是从该项目汇集而来的。
你可以在你自己的项目中通过authenticating gcloud with a service account解决这个问题。命令gcloud auth print-access-token将返回您应该能够成功使用的授权令牌。
https://stackoverflow.com/questions/49229677
复制相似问题