InsightsConfigArgs

data class InsightsConfigArgs(val queryInsightsEnabled: Output<Boolean>? = null, val queryPlansPerMinute: Output<Int>? = null, val queryStringLength: Output<Int>? = null, val recordApplicationTags: Output<Boolean>? = null, val recordClientAddress: Output<Boolean>? = null) : ConvertibleToJava<InsightsConfigArgs>

Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.

Constructors

Link copied to clipboard
fun InsightsConfigArgs(queryInsightsEnabled: Output<Boolean>? = null, queryPlansPerMinute: Output<Int>? = null, queryStringLength: Output<Int>? = null, recordApplicationTags: Output<Boolean>? = null, recordClientAddress: Output<Boolean>? = null)

Functions

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

Properties

Link copied to clipboard
val queryInsightsEnabled: Output<Boolean>? = null

Whether Query Insights feature is enabled.

Link copied to clipboard
val queryPlansPerMinute: Output<Int>? = null

Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.

Link copied to clipboard
val queryStringLength: Output<Int>? = null

Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.

Link copied to clipboard
val recordApplicationTags: Output<Boolean>? = null

Whether Query Insights will record application tags from query when enabled.

Link copied to clipboard
val recordClientAddress: Output<Boolean>? = null

Whether Query Insights will record client address when enabled.