Using java-genai with googleapis.com

Java integration

✓ Official SDK
Install
# Maven: see https://github.com/googleapis/java-genai
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
java-genai
Java
API
googleapis.com
googleapis.com:dns
At a glance
Language Java
Endpoints40
Base URLhttps://dns.googleapis.com
✓ Official