InsightsConfigResponse class

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

Constructors

InsightsConfigResponse({required Input<bool> queryInsightsEnabled, required Input<int> queryPlansPerMinute, required Input<int> queryStringLength, required Input<bool> recordApplicationTags, required Input<bool> recordClientAddress})
Creates a new InsightsConfigResponse. queryInsightsEnabled Whether Query Insights feature is enabled. queryPlansPerMinute Number of query execution plans captured by Insights per minute for all queries combined. Default is 5. queryStringLength 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. recordApplicationTags Whether Query Insights will record application tags from query when enabled. recordClientAddress Whether Query Insights will record client address when enabled.
const
InsightsConfigResponse.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