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
CandidatesTokenCount
Number of tokens in the response(s).
Declaration
[JsonProperty("candidatesTokenCount")]
public virtual int? CandidatesTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
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? |
TotalTokenCount
Total token count for prompt and response candidates.
Declaration
[JsonProperty("totalTokenCount")]
public virtual int? TotalTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |