Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class ConnectSettings.
Connect settings retrieval response.
Generated from protobuf message google.cloud.sql.v1.ConnectSettings
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kind
string
This is always sql#connectSettings
.
↳ server_ca_cert
↳ ip_addresses
↳ region
string
The cloud region for the instance. e.g. us-central1, europe-west1. The region cannot be changed after instance creation.
↳ database_version
int
The database engine type and version. The databaseVersionfield cannot be changed after instance creation. MySQL instances: MYSQL_8_0, MYSQL_5_7(default), or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6, POSTGRES_10, POSTGRES_11or POSTGRES_12(default). SQL Server instances: SQLSERVER_2017_STANDARD(default), SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB.
↳ backend_type
int
SECOND_GEN: Cloud SQL database instance. EXTERNAL: A database server that is not managed by Google. This property is read-only; use the tierproperty in the settingsobject to determine the database type.
getKind
This is always sql#connectSettings
.
string
setKind
This is always sql#connectSettings
.
var
string
$this
getServerCaCert
SSL configuration.
hasServerCaCert
clearServerCaCert
setServerCaCert
SSL configuration.
$this
getIpAddresses
The assigned IP addresses for the instance.
setIpAddresses
The assigned IP addresses for the instance.
$this
getRegion
The cloud region for the instance. e.g. us-central1, europe-west1.
The region cannot be changed after instance creation.
string
setRegion
The cloud region for the instance. e.g. us-central1, europe-west1.
The region cannot be changed after instance creation.
var
string
$this
getDatabaseVersion
The database engine type and version. The databaseVersionfield cannot be changed after instance creation.
MySQL instances: MYSQL_8_0, MYSQL_5_7(default), or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6, POSTGRES_10, POSTGRES_11or POSTGRES_12(default). SQL Server instances: SQLSERVER_2017_STANDARD(default), SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB.
int
setDatabaseVersion
The database engine type and version. The databaseVersionfield cannot be changed after instance creation.
MySQL instances: MYSQL_8_0, MYSQL_5_7(default), or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6, POSTGRES_10, POSTGRES_11or POSTGRES_12(default). SQL Server instances: SQLSERVER_2017_STANDARD(default), SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB.
var
int
$this
getBackendType
SECOND_GEN: Cloud SQL database instance.
EXTERNAL: A database server that is not managed by Google. This property is read-only; use the tierproperty in the settingsobject to determine the database type.
int
setBackendType
SECOND_GEN: Cloud SQL database instance.
EXTERNAL: A database server that is not managed by Google. This property is read-only; use the tierproperty in the settingsobject to determine the database type.
var
int
$this