This page contains information about getting started with the Cloud SQL Administration API using the Google API Client Library for Java. In addition, you may be interested in the following documentation:
- Browse the JavaDoc reference for the Cloud SQL Administration API.
- Read the Developer's Guide for the Google API Client Library for Java.
- Interact with this API in your browser using the APIs Explorer for the Cloud SQL Administration API.
Add Library to Your Project
Select your build environment (Maven or Gradle) from the following tabs, or download a zip file containing all of the jars you need:
Download the Cloud SQL Administration API v1beta4 Client Library for Java.
See the sqladmin/readme.html file for details on:
- What the zip file contains.
- Which dependent jars are needed for each application type (web, installed, or Android application).
The libs folder contains all the of the globally applicable dependencies you might need across all application types.
Add the following to your pom.xml file:
Add the following to your build.gradle file: