# Google Cloud Dialogflow v2beta1 API - Enum KnowledgeAssistDebugInfo.Types.QueryGenerationFailureReason (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

    public enum KnowledgeAssistDebugInfo.Types.QueryGenerationFailureReason

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API enum KnowledgeAssistDebugInfo.Types.QueryGenerationFailureReason.

Reason for query generation failure.

## Namespace

[Google.Cloud.Dialogflow.V2Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)

## Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `NotInAllowlist` | Query generation is blocked by Knowledge Assist conversation profile level / agent id level filtering. |
| `QueryGenerationEmptyConversation` | The conversation has no messages. |
| `QueryGenerationEmptyLastMessage` | The last message in the conversation is empty. |
| `QueryGenerationFailed` | Call to Knowedge Assist query generation model fails. |
| `QueryGenerationLlmResponseParseFailed` | Query generation failed due to LLM response parse failure. |
| `QueryGenerationNoQueryGenerated` | Query generation model decides that there is no new topic change or there has been similar queries generated in the previous turns. |
| `QueryGenerationOutOfQuota` | Query generation is blocked due to out of quota. |
| `QueryGenerationQueryRedacted` | The generated query is blocked due to redaction. |
| `QueryGenerationRaiFailed` | Knowedge Assist generated query is blocked by RAI (Responsible AI). |
| `QueryGenerationTriggeringEventConditionNotMet` | The trigger event condition is not met. This occurs in the following scenarios: 1. The trigger_event is CUSTOMER_MESSAGE or UNSPECIFIED, but the last message is not from the customer. 2. The trigger_event is AGENT_MESSAGE, but the last message is not from the agent. |
| `Unspecified` | Default value. |