Show / Hide Table of Contents

Class TokenUsage

Token usage associated with an AI scan.

Inheritance
object
TokenUsage
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ContainerAnalysis.v1.Data
Assembly: Google.Apis.ContainerAnalysis.v1.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?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX