Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::InsightsConfig.
Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enhanced_query_insights_enabled
def enhanced_query_insights_enabled() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Optional. Whether enhanced query insights feature is enabled.
#enhanced_query_insights_enabled=
def enhanced_query_insights_enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Optional. Whether enhanced query insights feature is enabled.
Returns
- (::Google::Protobuf::BoolValue) — Optional. Whether enhanced query insights feature is enabled.
#query_insights_enabled
def query_insights_enabled() -> ::Boolean
Returns
- (::Boolean) — Whether Query Insights feature is enabled.
#query_insights_enabled=
def query_insights_enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether Query Insights feature is enabled.
Returns
- (::Boolean) — Whether Query Insights feature is enabled.
#query_plans_per_minute
def query_plans_per_minute() -> ::Google::Protobuf::Int32Value
Returns
- (::Google::Protobuf::Int32Value) — Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
#query_plans_per_minute=
def query_plans_per_minute=(value) -> ::Google::Protobuf::Int32Value
Parameter
- value (::Google::Protobuf::Int32Value) — Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
Returns
- (::Google::Protobuf::Int32Value) — Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
#query_string_length
def query_string_length() -> ::Google::Protobuf::Int32Value
Returns
- (::Google::Protobuf::Int32Value) — Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater 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.
#query_string_length=
def query_string_length=(value) -> ::Google::Protobuf::Int32Value
Parameter
- value (::Google::Protobuf::Int32Value) — Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater 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.
Returns
- (::Google::Protobuf::Int32Value) — Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater 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.
#record_application_tags
def record_application_tags() -> ::Boolean
Returns
- (::Boolean) — Whether Query Insights will record application tags from query when enabled.
#record_application_tags=
def record_application_tags=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether Query Insights will record application tags from query when enabled.
Returns
- (::Boolean) — Whether Query Insights will record application tags from query when enabled.
#record_client_address
def record_client_address() -> ::Boolean
Returns
- (::Boolean) — Whether Query Insights will record client address when enabled.
#record_client_address=
def record_client_address=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether Query Insights will record client address when enabled.
Returns
- (::Boolean) — Whether Query Insights will record client address when enabled.