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