DatabaseInstanceSettingsIpConfiguration

data class DatabaseInstanceSettingsIpConfiguration(val allocatedIpRange: String? = null, val authorizedNetworks: List<DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork>? = null, val enablePrivatePathForGoogleCloudServices: Boolean? = null, val ipv4Enabled: Boolean? = null, val privateNetwork: String? = null, val pscConfigs: List<DatabaseInstanceSettingsIpConfigurationPscConfig>? = null, val requireSsl: Boolean? = null)

Constructors

Link copied to clipboard
constructor(allocatedIpRange: String? = null, authorizedNetworks: List<DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork>? = null, enablePrivatePathForGoogleCloudServices: Boolean? = null, ipv4Enabled: Boolean? = null, privateNetwork: String? = null, pscConfigs: List<DatabaseInstanceSettingsIpConfigurationPscConfig>? = null, requireSsl: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.

Link copied to clipboard

Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.

Link copied to clipboard
val ipv4Enabled: Boolean? = null

Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.

Link copied to clipboard
val privateNetwork: String? = null

The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.

Link copied to clipboard
val requireSsl: Boolean? = null

Whether SSL connections over IP are enforced or not.