[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class ConnectionConfig (1.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.0 (latest)](/java/docs/reference/jdbc-socket-factory-parent/latest/com.google.cloud.sql.core.ConnectionConfig)\n- [1.14.1](/java/docs/reference/jdbc-socket-factory-parent/1.14.1/com.google.cloud.sql.core.ConnectionConfig) \n\n public class ConnectionConfig\n\nConnectionConfig is an immutable configuration value object that holds the entire configuration\nof a CloudSqlInstance connection.\n\nWARNING: This is an internal class. The API is subject to change without notice. \n\nInheritance\n-----------\n\n[Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e ConnectionConfig \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nStatic Fields\n-------------\n\n### CLOUD_SQL_ADMIN_ROOT_URL_PROPERTY\n\n public static final String CLOUD_SQL_ADMIN_ROOT_URL_PROPERTY\n\n### CLOUD_SQL_ADMIN_SERVICE_PATH_PROPERTY\n\n public static final String CLOUD_SQL_ADMIN_SERVICE_PATH_PROPERTY\n\n### CLOUD_SQL_DELEGATES_PROPERTY\n\n public static final String CLOUD_SQL_DELEGATES_PROPERTY\n\n### CLOUD_SQL_GOOGLE_CREDENTIALS_PATH\n\n public static final String CLOUD_SQL_GOOGLE_CREDENTIALS_PATH\n\n### CLOUD_SQL_INSTANCE_PROPERTY\n\n public static final String CLOUD_SQL_INSTANCE_PROPERTY\n\n### CLOUD_SQL_NAMED_CONNECTOR_PROPERTY\n\n public static final String CLOUD_SQL_NAMED_CONNECTOR_PROPERTY\n\n### CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY\n\n public static final String CLOUD_SQL_TARGET_PRINCIPAL_PROPERTY\n\n### DEFAULT_AUTH_TYPE\n\n public static final AuthType DEFAULT_AUTH_TYPE\n\n### DEFAULT_IP_TYPES\n\n public static final String DEFAULT_IP_TYPES\n\n### DEFAULT_IP_TYPE_LIST\n\n public static final List\u003cIpType\u003e DEFAULT_IP_TYPE_LIST\n\n### ENABLE_IAM_AUTH_PROPERTY\n\n public static final String ENABLE_IAM_AUTH_PROPERTY\n\n### IP_TYPES_PROPERTY\n\n public static final String IP_TYPES_PROPERTY\n\n### UNIX_SOCKET_PATH_SUFFIX_PROPERTY\n\n public static final String UNIX_SOCKET_PATH_SUFFIX_PROPERTY\n\n### UNIX_SOCKET_PROPERTY\n\n public static final String UNIX_SOCKET_PROPERTY\n\nStatic Methods\n--------------\n\n### fromConnectionProperties(Properties props)\n\n public static ConnectionConfig fromConnectionProperties(Properties props)\n\nCreate a new ConnectionConfig from the well known JDBC Connection properties.\n\nMethods\n-------\n\n### equals(Object o)\n\n public boolean equals(Object o)\n\n**Overrides** \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-)\n\n### getAuthType()\n\n public AuthType getAuthType()\n\n### getCloudSqlInstance()\n\n public String getCloudSqlInstance()\n\n### getConnectorConfig()\n\n public ConnectorConfig getConnectorConfig()\n\n### getIpTypes()\n\n public List\u003cIpType\u003e getIpTypes()\n\n### getNamedConnector()\n\n public String getNamedConnector()\n\n### getUnixSocketPath()\n\n public String getUnixSocketPath()\n\n### getUnixSocketPathSuffix()\n\n public String getUnixSocketPathSuffix()\n\n### hashCode()\n\n public int hashCode()\n\n**Overrides** \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--)\n\n### withConnectorConfig(ConnectorConfig config)\n\n public ConnectionConfig withConnectorConfig(ConnectorConfig config)\n\nCreates a new instance of the ConnectionConfig with an updated connectorConfig."]]