- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- CaMode
- ConnectPoolNodeConfig
- Examples
- Try it!
SQL Server, private server access, HDD, data cache, legacy HA, serverless exports, multi-region backups, cross-region replicas are not supported.
Retrieves connect settings about a Cloud SQL instance.
HTTP request
GET https://sqladmin.s3nsapis.fr/v1/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. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Request body
The request body must be empty.
Response body
Connect settings retrieval response.
If successful, the response body contains data with the following structure:
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. For example, |
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. |
serverCaMode |
Specify what type of CA is used for the server certificate. |
customSubjectAlternativeNames[] |
Custom subject alternative names for the server certificate. |
dnsNames[] |
Output only. The list of DNS names used by this 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/sqlservice.admin
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
CaMode
Various Certificate Authority (CA) modes for certificate signing.
Enums | |
---|---|
CA_MODE_UNSPECIFIED |
CA mode is unknown. |
GOOGLE_MANAGED_INTERNAL_CA |
Trusted Cloud-managed self-signed internal CA. |
GOOGLE_MANAGED_CAS_CA |
Trusted Cloud-managed regional CA part of root CA hierarchy hosted on Trusted Cloud's Certificate Authority Service (CAS). |
CUSTOMER_MANAGED_CAS_CA |
Customer-managed CA hosted on Trusted Cloud's Certificate Authority Service (CAS). |
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. |
dnsNames[] |
Output only. The list of DNS names used by this 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. |