# Google Cloud Dialogflow v2beta1 API - Class KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo.

Token usage metadata for query generation.

## Inheritance

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

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

## Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

## Constructors

### QueryGenerationDebugInfo()

    public QueryGenerationDebugInfo()

### QueryGenerationDebugInfo(QueryGenerationDebugInfo)

    public QueryGenerationDebugInfo(KnowledgeAssistDebugInfo.Types.QueryGenerationDebugInfo other)

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

## Properties

### CandidatesTokenCount

    public int CandidatesTokenCount { get; set; }

The total number of tokens in the generated candidates.

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

### PromptTokenCount

    public int PromptTokenCount { get; set; }

The total number of tokens in the prompt.

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

### TotalTokenCount

    public int TotalTokenCount { get; set; }

The total number of tokens for the entire request.

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