P

Policy Troubleshooter REST API

REST discovered

Details
URL
https://policytroubleshooter.googleapis.com/
Docs
https://docs.cloud.google.com/policy-intelligence/docs/reference/policytroubleshooter/rest
Authentication
Google Cloud OAuth 2.0 access token oauth2 discovered Set up OAuth ↗
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.

Google Cloud API key api_key discovered Get key ↗
?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.