UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.Caching.GeminiCachedContent Class Reference

Content that has been preprocessed and can be used in subsequent request to GenerativeService. More...

Public Attributes

DateTime CreateTime
 Creation time of the cache entry.
 
DateTime UpdateTime
 When the cache entry was last updated in UTC time.
 
GeminiCachedContentUsageMetadata UsageMetadata
 Metadata on the usage of the cached content.
 
DateTime ExpireTime
 Timestamp in UTC of when this resource is considered expired.
 
string Name = null
 The resource name referring to the cached content. Format: cachedContents/{contentId}.
 
string DisplayName = null
 The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
 
GeminiModelId Model
 The name of the Model to use for cached content Format: mod.
 

Detailed Description

Content that has been preprocessed and can be used in subsequent request to GenerativeService.

Cached content can be only used with model it was created for.


The documentation for this class was generated from the following file: