Using sdk-platform-java with googleapis.com

Java integration

✓ Official SDK
Install
# Maven: see https://github.com/googleapis/sdk-platform-java
Fetches the representation of an existing Project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dns.googleapis.com/dns/v2/projects/{project}/locations/{location}
Enumerates all Policies associated with a project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dns.googleapis.com/dns/v2/projects/{project}/locations/{location}/policies
Enumerates ManagedZones that have been created but not yet deleted.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://dns.googleapis.com/dns/v2/projects/{project}/locations/{location}/managedZones
SDK on GitHub 📄 API Docs
SDK
sdk-platform-java
Java
API
googleapis.com
googleapis.com:dns
At a glance
Language Java
Endpoints40
Base URLhttps://dns.googleapis.com
✓ Official