Class: Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::QueryInsightsInstanceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
QueryInsights Instance specific configuration.
Instance Attribute Summary collapse
-
#query_plans_per_minute ⇒ Fixnum
Number of query execution plans captured by Insights per minute for all queries combined.
-
#query_string_length ⇒ Fixnum
Query string length.
-
#record_application_tags ⇒ Boolean
(also: #record_application_tags?)
Record application tags for an instance.
-
#record_client_address ⇒ Boolean
(also: #record_client_address?)
Record client address for an instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryInsightsInstanceConfig
constructor
A new instance of QueryInsightsInstanceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryInsightsInstanceConfig
Returns a new instance of QueryInsightsInstanceConfig.
2149 2150 2151 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2149 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_plans_per_minute ⇒ Fixnum
Number of query execution plans captured by Insights per minute for all
queries combined. The default value is 5. Any integer between 0 and 20 is
considered valid.
Corresponds to the JSON property queryPlansPerMinute
2128 2129 2130 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2128 def query_plans_per_minute @query_plans_per_minute end |
#query_string_length ⇒ Fixnum
Query string length. The default value is 1024. Any integer between 256 and
4500 is considered valid.
Corresponds to the JSON property queryStringLength
2134 2135 2136 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2134 def query_string_length @query_string_length end |
#record_application_tags ⇒ Boolean Also known as:
Record application tags for an instance. This flag is turned "on" by default.
Corresponds to the JSON property recordApplicationTags
2139 2140 2141 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2139 def @record_application_tags end |
#record_client_address ⇒ Boolean Also known as: record_client_address?
Record client address for an instance. Client address is PII information. This
flag is turned "on" by default.
Corresponds to the JSON property recordClientAddress
2146 2147 2148 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2146 def record_client_address @record_client_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2154 2155 2156 2157 2158 2159 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2154 def update!(**args) @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 |