class Google::Apis::SqladminV1beta4::InsightsConfig
Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.
Attributes
Whether Query Insights feature is enabled. Corresponds to the JSON property `queryInsightsEnabled` @return [Boolean]
Whether Query Insights feature is enabled. Corresponds to the JSON property `queryInsightsEnabled` @return [Boolean]
Number of query execution plans captured by Insights per minute for all queries combined. Default is 5. Corresponds to the JSON property `queryPlansPerMinute` @return [Fixnum]
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. Corresponds to the JSON property `queryStringLength` @return [Fixnum]
Whether Query Insights will record client address when enabled. Corresponds to the JSON property `recordClientAddress` @return [Boolean]
Whether Query Insights will record client address when enabled. Corresponds to the JSON property `recordClientAddress` @return [Boolean]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1707 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 1712 def update!(**args) @query_insights_enabled = args[:query_insights_enabled] if args.key?(:query_insights_enabled) @query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute) @query_string_length = args[:query_string_length] if args.key?(:query_string_length) @record_application_tags = args[:record_application_tags] if args.key?(:record_application_tags) @record_client_address = args[:record_client_address] if args.key?(:record_client_address) end