Class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata
Usage metadata about response(s).
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata : IDirectResponseSchema
Properties
CacheTokensDetails
Output only. List of modalities of the cached content in the request input.
Declaration
[JsonProperty("cacheTokensDetails")]
public virtual IList<GoogleCloudAiplatformV1ModalityTokenCount> CacheTokensDetails { get; set; }
Property Value
Type | Description |
---|---|
IList<Google |
CachedContentTokenCount
Output only. Number of tokens in the cached part in the input (the cached content).
Declaration
[JsonProperty("cachedContentTokenCount")]
public virtual int? CachedContentTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
CandidatesTokenCount
Number of tokens in the response(s).
Declaration
[JsonProperty("candidatesTokenCount")]
public virtual int? CandidatesTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
CandidatesTokensDetails
Output only. List of modalities that were returned in the response.
Declaration
[JsonProperty("candidatesTokensDetails")]
public virtual IList<GoogleCloudAiplatformV1ModalityTokenCount> CandidatesTokensDetails { get; set; }
Property Value
Type | Description |
---|---|
IList<Google |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PromptTokenCount
Number of tokens in the request. When cached_content
is set, this is still the total effective prompt size
meaning this includes the number of tokens in the cached content.
Declaration
[JsonProperty("promptTokenCount")]
public virtual int? PromptTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
PromptTokensDetails
Output only. List of modalities that were processed in the request input.
Declaration
[JsonProperty("promptTokensDetails")]
public virtual IList<GoogleCloudAiplatformV1ModalityTokenCount> PromptTokensDetails { get; set; }
Property Value
Type | Description |
---|---|
IList<Google |
ThoughtsTokenCount
Output only. Number of tokens present in thoughts output.
Declaration
[JsonProperty("thoughtsTokenCount")]
public virtual int? ThoughtsTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
ToolUsePromptTokenCount
Output only. Number of tokens present in tool-use prompt(s).
Declaration
[JsonProperty("toolUsePromptTokenCount")]
public virtual int? ToolUsePromptTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
ToolUsePromptTokensDetails
Output only. List of modalities that were processed for tool-use request inputs.
Declaration
[JsonProperty("toolUsePromptTokensDetails")]
public virtual IList<GoogleCloudAiplatformV1ModalityTokenCount> ToolUsePromptTokensDetails { get; set; }
Property Value
Type | Description |
---|---|
IList<Google |
TotalTokenCount
Total token count for prompt, response candidates, and tool-use prompts (if present).
Declaration
[JsonProperty("totalTokenCount")]
public virtual int? TotalTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |