如何使用 CDAP http 插件通过 OAUTH 2.0 获取 google 云 api?

How to use CDAP http plugin to get google cloud api with OAUTH 2.0?

我想从 Google Cloud API 获取 BigQuery 模式,我在 GCP 中配置了所有东西,我可以从邮递员那里获取信息,但是如何在 CDAP 中配置,这里是我的配置:

我的 CDAP 版本是 6.2.0

您可以从 https://developers.google.com/identity/protocols/oauth2/web-server

了解 oAuth 文档

而对于BigQuery的oAuth范围,您可以参考以下文档: https://developers.google.com/identity/protocols/oauth2/scopes#bigquery