4.34.0 (latest) 4.33.0 4.32.0 4.31.0 4.30.0 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://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[KnowledgeAssistDebugInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.md.txt)[KnowledgeAssistBehavior](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior.md.txt), [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.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.md.txt)[KnowledgeAssistBehavior](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[KnowledgeAssistDebugInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.md.txt)[KnowledgeAssistBehavior](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior.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.Dialogflow.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.md.txt)

## Assembly

Google.Cloud.Dialogflow.V2.dll

## Constructors

### KnowledgeAssistBehavior()

    public KnowledgeAssistBehavior()

### KnowledgeAssistBehavior(KnowledgeAssistBehavior)

    public KnowledgeAssistBehavior(KnowledgeAssistDebugInfo.Types.KnowledgeAssistBehavior other)

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

## Properties

### AnswerGenerationRewriterOn

    public bool AnswerGenerationRewriterOn { get; set; }

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

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

### AppendedSearchContextCount

    public int AppendedSearchContextCount { get; set; }

The number of search contexts appended to the query.

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

### ConversationTranscriptHasMixedLanguages

    public bool ConversationTranscriptHasMixedLanguages { get; set; }

Conversation transcript has mixed languages.

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

### DisableSyncDelivery

    public bool DisableSyncDelivery { get; set; }

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

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

### EndUserMetadataIncluded

    public bool EndUserMetadataIncluded { get; set; }

Whether end_user_metadata is included in the data store agent call.

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

### InvalidItemsQuerySuggestionSkipped

    public bool InvalidItemsQuerySuggestionSkipped { get; set; }

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

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

### MultipleQueriesGenerated

    public bool MultipleQueriesGenerated { get; set; }

Indicates that the query generation model generated multiple queries.

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

### PreviousQueriesIncluded

    public bool PreviousQueriesIncluded { get; set; }

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

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

### PrimaryQueryRedactedAndReplaced

    public bool PrimaryQueryRedactedAndReplaced { get; set; }

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

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

### QueryContainedSearchContext

    public bool QueryContainedSearchContext { get; set; }

Indicates that the generated query contains search context.

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

### QueryGenerationAgentLanguageMismatch

    public bool QueryGenerationAgentLanguageMismatch { get; set; }

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

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

### QueryGenerationEndUserLanguageMismatch

    public bool QueryGenerationEndUserLanguageMismatch { get; set; }

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

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

### ReturnQueryOnly

    public bool ReturnQueryOnly { get; set; }

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

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

### ThirdPartyConnectorAllowed

    public bool ThirdPartyConnectorAllowed { get; set; }

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

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

### UseCustomSafetyFilterLevel

    public bool UseCustomSafetyFilterLevel { get; set; }

Safety filter is adjusted by user.

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

### UsePubsubDelivery

    public bool UsePubsubDelivery { get; set; }

Whether customers configured to use pubsub to deliver.

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

### UseTranslatedMessage

    public bool UseTranslatedMessage { get; set; }

Translated message is included in query generation process.

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