InsightsConfig class
Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.
Constructors
-
InsightsConfig({Input<
bool> ? queryInsightsEnabled, Input<int> ? queryPlansPerMinute, Input<int> ? queryStringLength, Input<bool> ? recordApplicationTags, Input<bool> ? recordClientAddress}) -
Creates a new InsightsConfig.
queryInsightsEnabledWhether Query Insights feature is enabled.queryPlansPerMinuteNumber of query execution plans captured by Insights per minute for all queries combined. Default is 5.queryStringLengthMaximum 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.recordApplicationTagsWhether Query Insights will record application tags from query when enabled.recordClientAddressWhether Query Insights will record client address when enabled.const -
InsightsConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
queryInsightsEnabled
→ Input<
bool> ? -
Whether Query Insights feature is enabled.
final
-
queryPlansPerMinute
→ Input<
int> ? -
Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
final
-
queryStringLength
→ Input<
int> ? -
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.
final
-
recordApplicationTags
→ Input<
bool> ? -
Whether Query Insights will record application tags from query when enabled.
final
-
recordClientAddress
→ Input<
bool> ? -
Whether Query Insights will record client address when enabled.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited