1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class Instance.Types.QueryInsightsInstanceConfig : IMessage<Instance.Types.QueryInsightsInstanceConfig>, IEquatable<Instance.Types.QueryInsightsInstanceConfig>, IDeepCloneable<Instance.Types.QueryInsightsInstanceConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the AlloyDB v1 API class Instance.Types.QueryInsightsInstanceConfig.

QueryInsights Instance specific configuration.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Instance.Types.QueryInsightsInstanceConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.md.txt)[QueryInsightsInstanceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.QueryInsightsInstanceConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.md.txt)[QueryInsightsInstanceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.QueryInsightsInstanceConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.md.txt)[QueryInsightsInstanceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.QueryInsightsInstanceConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AlloyDb.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.md.txt)

## Assembly

Google.Cloud.AlloyDb.V1.dll

## Constructors

### QueryInsightsInstanceConfig()

    public QueryInsightsInstanceConfig()

### QueryInsightsInstanceConfig(QueryInsightsInstanceConfig)

    public QueryInsightsInstanceConfig(Instance.Types.QueryInsightsInstanceConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `InstanceTypesQueryInsightsInstanceConfig` |

## Properties

### HasQueryPlansPerMinute

    public bool HasQueryPlansPerMinute { get; }

Gets whether the "query_plans_per_minute" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasRecordApplicationTags

    public bool HasRecordApplicationTags { get; }

Gets whether the "record_application_tags" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasRecordClientAddress

    public bool HasRecordClientAddress { get; }

Gets whether the "record_client_address" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### QueryPlansPerMinute

    public uint QueryPlansPerMinute { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `uint` |   |

### QueryStringLength

    public uint QueryStringLength { get; set; }

Query string length. The default value is 1024.
Any integer between 256 and 4500 is considered valid.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `uint` |   |

### RecordApplicationTags

    public bool RecordApplicationTags { get; set; }

Record application tags for an instance.
This flag is turned "on" by default.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### RecordClientAddress

    public bool RecordClientAddress { get; set; }

Record client address for an instance. Client address is PII information.
This flag is turned "on" by default.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |