SettingsConnectorEnforcement

enum SettingsConnectorEnforcement : Enum<SettingsConnectorEnforcement> , ConvertibleToJava<SettingsConnectorEnforcement>

Specifies if connections must use Cloud SQL connectors. Option values include the following: NOT_REQUIRED (Cloud SQL instances can be connected without Cloud SQL Connectors) and REQUIRED (Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.

Entries

Link copied to clipboard

The requirement for Cloud SQL connectors is unknown.

Link copied to clipboard

Do not require Cloud SQL connectors.

Link copied to clipboard

Require all connections to use Cloud SQL connectors, including the Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors. Note: This disables all existing authorized networks.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): SettingsConnectorEnforcement
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: SettingsConnectorEnforcement
Link copied to clipboard
Link copied to clipboard