PostgreSqlConnectionProfileResponse

data class PostgreSqlConnectionProfileResponse(val cloudSqlId: String, val host: String, val networkArchitecture: String, val password: String, val passwordSet: Boolean, val port: Int, val privateServiceConnectConnectivity: PrivateServiceConnectConnectivityResponse, val ssl: SslConfigResponse, val staticIpConnectivity: StaticIpConnectivityResponse, val username: String)

Specifies connection parameters required specifically for PostgreSQL databases.

Constructors

Link copied to clipboard
fun PostgreSqlConnectionProfileResponse(cloudSqlId: String, host: String, networkArchitecture: String, password: String, passwordSet: Boolean, port: Int, privateServiceConnectConnectivity: PrivateServiceConnectConnectivityResponse, ssl: SslConfigResponse, staticIpConnectivity: StaticIpConnectivityResponse, username: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

Link copied to clipboard

The IP or hostname of the source PostgreSQL database.

Link copied to clipboard

If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

Link copied to clipboard

Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

Link copied to clipboard

Indicates If this connection profile password is stored.

Link copied to clipboard
val port: Int

The network port of the source PostgreSQL database.

Link copied to clipboard

SSL configuration for the destination to connect to the source database.

Link copied to clipboard

Static ip connectivity data (default, no additional details needed).

Link copied to clipboard

The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.