1.0.0-beta18 (latest) 1.0.0-beta17

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

Reference documentation and code samples for the AlloyDB v1beta API class Instance.Types.ObservabilityInstanceConfig.

Observability Instance specific configuration.

## Inheritance

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

## Implements

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

## 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.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)

## Assembly

Google.Cloud.AlloyDb.V1Beta.dll

## Constructors

### ObservabilityInstanceConfig()

    public ObservabilityInstanceConfig()

### ObservabilityInstanceConfig(ObservabilityInstanceConfig)

    public ObservabilityInstanceConfig(Instance.Types.ObservabilityInstanceConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types.ObservabilityInstanceConfig` |

## Properties

### AssistiveExperiencesEnabled

    public bool AssistiveExperiencesEnabled { get; set; }

Whether assistive experiences are enabled for this AlloyDB instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Enabled

    public bool Enabled { get; set; }

Observability feature status for an instance.
This flag is turned "off" by default.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasAssistiveExperiencesEnabled

    public bool HasAssistiveExperiencesEnabled { get; }

Gets whether the "assistive_experiences_enabled" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasEnabled

    public bool HasEnabled { get; }

Gets whether the "enabled" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasMaxQueryStringLength

    public bool HasMaxQueryStringLength { get; }

Gets whether the "max_query_string_length" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasPreserveComments

    public bool HasPreserveComments { get; }

Gets whether the "preserve_comments" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasQueryPlansPerMinute

    public bool HasQueryPlansPerMinute { get; }

Gets whether the "query_plans_per_minute" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasRecordApplicationTags

    public bool HasRecordApplicationTags { get; }

Gets whether the "record_application_tags" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasTrackActiveQueries

    public bool HasTrackActiveQueries { get; }

Gets whether the "track_active_queries" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasTrackClientAddress

    public bool HasTrackClientAddress { get; }

Gets whether the "track_client_address" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasTrackWaitEventTypes

    public bool HasTrackWaitEventTypes { get; }

Gets whether the "track_wait_event_types" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasTrackWaitEvents

    public bool HasTrackWaitEvents { get; }

Gets whether the "track_wait_events" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### MaxQueryStringLength

    public int MaxQueryStringLength { get; set; }

Query string length. The default value is 10k.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### PreserveComments

    public bool PreserveComments { get; set; }

Preserve comments in query string for an instance.
This flag is turned "off" by default.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### QueryPlansPerMinute

    public int QueryPlansPerMinute { get; set; }

Number of query execution plans captured by Insights per minute
for all queries combined. The default value is 200.
Any integer between 0 to 200 is considered valid.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### RecordApplicationTags

    public bool RecordApplicationTags { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### TrackActiveQueries

    public bool TrackActiveQueries { get; set; }

Track actively running queries on the instance.
If not set, this flag is "off" by default.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### TrackClientAddress

    public bool TrackClientAddress { get; set; }

Track client address for an instance.
If not set, default value is "off".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### TrackWaitEventTypes

    public bool TrackWaitEventTypes { get; set; }

Output only. Track wait event types during query execution for an
instance. This flag is turned "on" by default but tracking is enabled
only after observability enabled flag is also turned on. This is
read-only flag and only modifiable by internal API.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### TrackWaitEvents

    public bool TrackWaitEvents { get; set; }

Track wait events during query execution for an instance.
This flag is turned "on" by default but tracking is enabled only after
observability enabled flag is also turned on.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |