Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::InsightsConfig (v0.1.0)

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

#enhanced_query_insights_enabled=

def enhanced_query_insights_enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
Returns

#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

#query_plans_per_minute=

def query_plans_per_minute=(value) -> ::Google::Protobuf::Int32Value
Parameter
Returns

#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.