Class TokenUsage
Token usage associated with an AI scan.
Implements
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1alpha1.Data
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.dll
Syntax
public class TokenUsage : IDirectResponseSchema
Properties
CacheCount
Output only. Cache matched tokens for implicit cache.
Declaration
[JsonProperty("cacheCount")]
public virtual long? CacheCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
CandidateCount
Output only. Tokens in the model response.
Declaration
[JsonProperty("candidateCount")]
public virtual long? CandidateCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PromptCount
Output only. Tokens in the user request.
Declaration
[JsonProperty("promptCount")]
public virtual long? PromptCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
ThinkingCount
Output only. Tokens in the thinking output.
Declaration
[JsonProperty("thinkingCount")]
public virtual long? ThinkingCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
ToolUsePromptCount
Output only. Prompt tokens for using tools.
Declaration
[JsonProperty("toolUsePromptCount")]
public virtual long? ToolUsePromptCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |