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

171 Views Asked by At

I want to get BigQuery schema form Google Cloud API, I config all the things in GCP,and I can get info from the postman, but how to config in CDAP, here is my config: enter image description here

And my CDAP version is 6.2.0

1

There are 1 best solutions below

0
On BEST ANSWER

You can read about the oAuth documentation from https://developers.google.com/identity/protocols/oauth2/web-server

And for the scope of the oAuth for BigQuery, you can refer to the following documentation: https://developers.google.com/identity/protocols/oauth2/scopes#bigquery