# AlloyDB V1BETA API - Class Google::Cloud::AlloyDB::V1beta::Instance::QueryInsightsInstanceConfig (v0.23.0)

0.23.0 (latest) 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1BETA API class Google::Cloud::AlloyDB::V1beta::Instance::QueryInsightsInstanceConfig.

QueryInsights Instance specific configuration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #query_plans_per_minute

    def query_plans_per_minute() -> ::Integer

**Returns**

- (::Integer) --- 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.

### #query_plans_per_minute=

    def query_plans_per_minute=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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.
**Returns**

- (::Integer) --- 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.

### #query_string_length

    def query_string_length() -> ::Integer

**Returns**

- (::Integer) --- Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.

### #query_string_length=

    def query_string_length=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
**Returns**

- (::Integer) --- Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.

### #record_application_tags

    def record_application_tags() -> ::Boolean

**Returns**

- (::Boolean) --- Record application tags for an instance. This flag is turned "on" by default.

### #record_application_tags=

    def record_application_tags=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Record application tags for an instance. This flag is turned "on" by default.
**Returns**

- (::Boolean) --- Record application tags for an instance. This flag is turned "on" by default.

### #record_client_address

    def record_client_address() -> ::Boolean

**Returns**

- (::Boolean) --- Record client address for an instance. Client address is PII information. This flag is turned "on" by default.

### #record_client_address=

    def record_client_address=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
**Returns**

- (::Boolean) --- Record client address for an instance. Client address is PII information. This flag is turned "on" by default.