P
Policy Troubleshooter REST API
Details
- URL
-
https://policytroubleshooter.googleapis.com/ - Docs
- https://docs.cloud.google.com/policy-intelligence/docs/reference/policytroubleshooter/rest
Authentication
Authorization: Bearer <credential> Easiest path: install the Google Cloud CLI and run gcloud auth application-default login or gcloud auth login to obtain Google-issued access tokens with the https://www.googleapis.com/auth/cloud-platform scope for your account. For browser-based app integrations, create OAuth credentials in Google Cloud Console and request the https://www.googleapis.com/auth/cloud-platform scope.
?key=<credential> In Google Cloud Console, create an API key under APIs & Services → Credentials. Restrict the key to the needed APIs/projects as appropriate. The discovery document states requests may send the key as the key query parameter and that it is required unless you provide an OAuth 2.0 token.