Requires authorization
Retrieves information about a Cloud SQL instance. Try it now .
Use the optional fields query string parameter to select which fields to include in the response. The default ( fields is not used) is to return all information about the instance.
Request
HTTP request
GET https://www.googleapis.com/sql/v1beta3/projects/project/instances/instance
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
instance
|
string
|
Database instance ID. This does not include the project ID. |
project
|
string
|
Project ID of the project that contains the instance. |
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 an instance resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.