Python integration
import python-storage # Use an OAuth2 access token client = python_storage.Client(access_token="YOUR_ACCESS_TOKEN")
curl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://dns.googleapis.com/dns/v2/projects/{project}/locations/{location}curl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://dns.googleapis.com/dns/v2/projects/{project}/locations/{location}/policiescurl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://dns.googleapis.com/dns/v2/projects/{project}/locations/{location}/managedZones