- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Examples
- Try it!
Retrieves connect settings about a Cloud SQL instance.
HTTP request
GET https://sqladmin.googleapis.com/sql/v1beta4/projects/{project}/instances/{instance}/connectSettings
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
Project ID of the project that contains the instance. |
instance |
Cloud SQL instance ID. This does not include the project ID. |
Query parameters
Parameters | |
---|---|
readTime |
Optional. Optional snapshot read timestamp to trade freshness for performance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Connect settings retrieval response.
JSON representation |
---|
{ "kind": string, "serverCaCert": { object ( |
Fields | |
---|---|
kind |
This is always |
serverCaCert |
SSL configuration. |
ipAddresses[] |
The assigned IP addresses for the instance. |
region |
The cloud region for the instance. e.g. |
databaseVersion |
The database engine type and version. The |
backendType |
|
pscEnabled |
Whether PSC connectivity is enabled for this instance. |
dnsName |
The dns name of the instance. |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/sqlservice.admin
For more information, see the Authentication Overview.