Class GoogleCloudDataplexV1DataScanEventDataDocumentationResultTokenUsage
Captures structured token usage breakdown for LLM-powered scans.
Implements
Inherited Members
Namespace: Google.Apis.CloudDataplex.v1.Data
Assembly: Google.Apis.CloudDataplex.v1.dll
Syntax
public class GoogleCloudDataplexV1DataScanEventDataDocumentationResultTokenUsage : IDirectResponseSchema
Properties
CachedContentTokenCount
Billable cached content tokens (billed at discounted prompt caching SKU).
Declaration
[JsonProperty("cachedContentTokenCount")]
public virtual long? CachedContentTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
CandidatesTokenCount
Generated candidate response tokens.
Declaration
[JsonProperty("candidatesTokenCount")]
public virtual long? CandidatesTokenCount { 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 |
InputTokenCount
Billable non-cached input tokens.
Declaration
[JsonProperty("inputTokenCount")]
public virtual long? InputTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
OutputTokenCount
Billable output tokens (candidates + thoughts).
Declaration
[JsonProperty("outputTokenCount")]
public virtual long? OutputTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
PromptTokenCount
Base prompt and system instructions tokens.
Declaration
[JsonProperty("promptTokenCount")]
public virtual long? PromptTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
ThoughtsTokenCount
Reasoning / Chain-of-Thought tokens.
Declaration
[JsonProperty("thoughtsTokenCount")]
public virtual long? ThoughtsTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
ToolUsePromptTokenCount
Tool use context tokens (schema, profile, query history).
Declaration
[JsonProperty("toolUsePromptTokenCount")]
public virtual long? ToolUsePromptTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
TotalTokenCount
Total billable tokens (billable_input + billable_cached + billable_output). Evaluates to 0 for failed or cancelled jobs.
Declaration
[JsonProperty("totalTokenCount")]
public virtual long? TotalTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |