Method: connect.get Stay organized with collections Save and categorize content based on your preferences.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- ConnectPoolNodeConfig
- 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 usesgRPC 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. |
nodes[] |
Output only. Entries containing information about each read pool node of the read pool. |
nodeCount |
The number of read pool nodes in a read pool. |
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 theAuthentication Overview.
ConnectPoolNodeConfig
Details of a single read pool node of a read pool.
JSON representation |
---|
{"ipAddresses":[{object ( |
Fields | |
---|---|
ipAddresses[] |
Output only. Mappings containing IP addresses that can be used to connect to the read pool node. |
name |
Output only. The name of the read pool node. Doesn't include the project ID. |
dnsName |
Output only. The DNS name of the read pool node. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.