Show / Hide Table of Contents

Class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata

Usage metadata about response(s).

Inheritance
object
GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata
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.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<GoogleCloudAiplatformV1ModalityTokenCount>

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<GoogleCloudAiplatformV1ModalityTokenCount>

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<GoogleCloudAiplatformV1ModalityTokenCount>

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<GoogleCloudAiplatformV1ModalityTokenCount>

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?

TrafficType

Output only. Traffic type. This shows whether a request consumes Pay-As-You-Go or Provisioned Throughput quota.

Declaration
[JsonProperty("trafficType")]
public virtual string TrafficType { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX