Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



Libraries

This page provides links to convenient ways to access the Google Cloud SQL Admin API.

Google Cloud SQL Admin API samples

Select the language you're using for development. If a library's samples page does not yet include a sample for this API, you can still use that library; you may be able to adapt another API's samples as needed.

.NET

There are no .NET samples specifically for this version of the Google Cloud SQL Admin API.

However, you may be able to adapt one of the .NET samples for other APIs .

Go

There are no Go samples specifically for this version of the Google Cloud SQL Admin API.

However, you may be able to adapt one of the Go samples for other APIs .

Java

There are no java samples specifically for this version of the Google Cloud SQL Admin API.

However, you may be able to adapt one of the Java samples for other APIs .

JavaScript

There are no JavaScript samples specifically for this version of the Google Cloud SQL Admin API.

However, you may be able to adapt one of the JavaScript samples for other APIs .

Objective-C

There are no Objective-C samples specifically for this version of the Google Cloud SQL Admin API.

However, you may be able to adapt one of the Objective-C samples for other APIs .

PHP

There are no PHP samples specifically for this version of the Google Cloud SQL Admin API.

However, you may be able to adapt one of the PHP samples for other APIs .

Python

There are no Python samples specifically for this version of the Google Cloud SQL Admin API.

However, you may be able to adapt one of the Python samples for other APIs .

Ruby

There are no Ruby samples specifically for this version of the Google Cloud SQL Admin API.

However, you may be able to adapt one of the Ruby samples for other APIs .

Google Cloud SQL Admin API client libraries

The Google Cloud SQL Admin API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.

However, instead of creating HTTP requests and parsing responses manually, you may want to use the Google APIs client libraries. The client libraries provide better language integration, improved security, and support for making calls that require user authorization.

Go


Get the latest Google Cloud SQL Admin API client library for Go (alpha) .

Read the client library's developer's guide .


Java

This page contains information about getting started with the Cloud SQL Administration API using the Google APIs Client Library for Java. In addition, you may be interested in the following documentation:

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

Download the Cloud SQL Administration API v1beta1 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.

JavaScript


Read the client library's developer's guide .


.NET

This page contains information about getting started with the Cloud SQL Administration API using the Google APIs Client Library for .NET. In addition, you may be interested in the following documentation:

Downloading the library

Install a NuGet package from those available at Google.Apis.sqladmin .

Node.js


Get the latest Google Cloud SQL Admin API client library for Node.js .

Read the client library's developer's guide .


Objective-C


Get the latest Google Cloud SQL Admin API client library for Objective-C .

Read the client library's developer's guide .


PHP


Get the latest Google Cloud SQL Admin API client library for PHP (beta) .

Read the client library's developer's guide .


Python

This page contains information about getting started with the Cloud SQL Administration API using the Google APIs Client Library for Python. In addition, you may be interested in the following documentation:

System requirements

Manual Installation

To install the library and all of its dependencies, open a terminal and do one of the following:

  • Use the easy_install tool included in the setuptools package:
    $ easy_install --upgrade google-api-python-client
  • Use the pip tool:
    $ pip install --upgrade google-api-python-client

Depending on your system, you may need to prepend those commands with sudo .

App Engine

Because Google App Engine requires that all of the source files for a library must be present in your App Engine project, there is a special installation procedure for App Engine. To install the library and all of its dependencies in an App Engine project, download the file named google-api-python-client-gae- N.M .zip from the list of downloads , where N.M is the version number of the latest release. Unzip that file into your project. For example:

$ cd myproject
$ unzip google-api-python-client-gae-1.1.zip

Ruby

This page contains information about getting started with the Cloud SQL Administration API using the Google APIs Client Library for Ruby. In addition, you may be interested in the following documentation:

Installing the google-api-client gem

If you haven't installed the Google APIs Client Library for Ruby before, open a terminal and install using RubyGems :

$ gem install google-api-client

If you already have the gem installed and would simply like to update to the latest version:

$ gem update -y google-api-client

Depending on your system, you may need to prepend these commands with sudo .

Getting started with the Google APIs Client Library for Ruby

Be sure to check our extensive Getting started guide for a quick overview of how to make your first request.

Other ways to access the Google Cloud SQL Admin API

The table below lists some other convenient ways to access the Google Cloud SQL Admin API.

Access method Description
APIs Explorer An interactive tool that lets you easily try out Google APIs right from your browser.
Google Plugin for Eclipse A plugin that makes it easier to use Google APIs in Eclipse.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.