# Google Cloud Dialogflow v2 API - Class KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior (4.30.0)

4.30.0 (latest) 4.29.0 4.28.0 4.27.0 4.26.0 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0

    public sealed class KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior : IMessage<KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior>, IEquatable<KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior>, IDeepCloneable<KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior.

Configured behaviors for Knowedge Assist.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[KnowledgeAssistDebugInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types)[KnowledgeAssistBehavior](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[KnowledgeAssistDebugInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types)[KnowledgeAssistBehavior](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[KnowledgeAssistDebugInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types)[KnowledgeAssistBehavior](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior), [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.Dialogflow.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2)

## Assembly

Google.Cloud.Dialogflow.V2.dll

## Constructors

### KnowledgeAssistBehavior()

    public KnowledgeAssistBehavior()

### KnowledgeAssistBehavior(KnowledgeAssistBehavior)

    public KnowledgeAssistBehavior(KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfohttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior` |

## Properties

### AnswerGenerationRewriterOn

    public bool AnswerGenerationRewriterOn { get; set; }

Whether data store agent rewriter was turned off for the request.

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

### AppendedSearchContextCount

    public int AppendedSearchContextCount { get; set; }

The number of search contexts appended to the query.

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

### ConversationTranscriptHasMixedLanguages

    public bool ConversationTranscriptHasMixedLanguages { get; set; }

Conversation transcript has mixed languages.

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

### DisableSyncDelivery

    public bool DisableSyncDelivery { get; set; }

Whether customers configured to disable the synchronous delivery of
Knowedge Assist response.

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

### EndUserMetadataIncluded

    public bool EndUserMetadataIncluded { get; set; }

Whether end_user_metadata is included in the data store agent call.

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

### InvalidItemsQuerySuggestionSkipped

    public bool InvalidItemsQuerySuggestionSkipped { get; set; }

Indicates that invalid items were skipped when parsing the LLM response.

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

### MultipleQueriesGenerated

    public bool MultipleQueriesGenerated { get; set; }

Indicates that the query generation model generated multiple queries.

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

### PreviousQueriesIncluded

    public bool PreviousQueriesIncluded { get; set; }

Whether previously suggested queries are included in the query generation
process.

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

### PrimaryQueryRedactedAndReplaced

    public bool PrimaryQueryRedactedAndReplaced { get; set; }

True if the primary suggested query was redacted and replaced by an
additional query.

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

### QueryContainedSearchContext

    public bool QueryContainedSearchContext { get; set; }

Indicates that the generated query contains search context.

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

### QueryGenerationAgentLanguageMismatch

    public bool QueryGenerationAgentLanguageMismatch { get; set; }

Whether the agent language from the translation generator mismatches the
end-user language.

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

### QueryGenerationEndUserLanguageMismatch

    public bool QueryGenerationEndUserLanguageMismatch { get; set; }

Whether the end-user language from the translation generator mismatches
the end-user language.

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

### ReturnQueryOnly

    public bool ReturnQueryOnly { get; set; }

Whether customers configured to return query only in the
conversation profile.

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

### ThirdPartyConnectorAllowed

    public bool ThirdPartyConnectorAllowed { get; set; }

This field indicates whether third party connectors are enabled for the
project

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

### UseCustomSafetyFilterLevel

    public bool UseCustomSafetyFilterLevel { get; set; }

Safety filter is adjusted by user.

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

### UsePubsubDelivery

    public bool UsePubsubDelivery { get; set; }

Whether customers configured to use pubsub to deliver.

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

### UseTranslatedMessage

    public bool UseTranslatedMessage { get; set; }

Translated message is included in query generation process.

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