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)



Instances: list

Requires authorization

Lists instances for a given project, in alphabetical order by instance name. Try it now .

Request

HTTP request

GET https://www.googleapis.com/sql/v1beta3/projects/project/instances

Parameters

Parameter name Value Description
Path parameters
project string Project ID of the project for which to list Cloud SQL instances.
Optional query parameters
maxResults unsigned integer The maximum number of results to return per response.
pageToken string A previously-returned page token representing part of the larger set of results to view.

Authorization

This request requires authorization with the following scope ( read more about authentication and authorization ).

Scope
https://www.googleapis.com/auth/sqlservice.admin

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "sql#instancesList",
  "nextPageToken": string,
  "items": [
    instances Resource
  ]
}
Property name Value Description Notes
kind string This is always sql#instancesList .
nextPageToken string The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
items[] list List of database instance resources.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Authentication required

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

Signing you in...

Google Developers needs your permission to do that.