public class UsageMetadata
UsageMetadata | Initializes a new instance of the UsageMetadata class |
CachedContentTokenCount | Number of tokens in the cached part of the prompt (the cached content). |
CacheTokensDetails | Output only. List of modalities of the cached content in the request input. |
CandidatesTokenCount | Total number of tokens across all the generated response candidates. |
CandidatesTokensDetails | Output only. List of modalities that were returned in the response. |
PromptTokenCount | Number of tokens in the prompt. When CachedContent is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content. |
PromptTokensDetails | Output only. List of modalities that were processed in the request input. |
TotalTokenCount | Total token count for the generation request (prompt + response candidates). |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |