CloudSqlSettingsActivationPolicy

enum CloudSqlSettingsActivationPolicy : Enum<CloudSqlSettingsActivationPolicy> , ConvertibleToJava<CloudSqlSettingsActivationPolicy>

The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. NEVER: The instance is off; it is not activated, even if a connection request arrives.

Entries

Link copied to clipboard
Link copied to clipboard

The instance is always up and running.

Link copied to clipboard

The instance should never spin up.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): CloudSqlSettingsActivationPolicy
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: CloudSqlSettingsActivationPolicy
Link copied to clipboard
Link copied to clipboard