Class CachedContent
Content that has been preprocessed and can be used in subsequent request to ModelService. Cached content can be only used with model it was created for.
public class CachedContent
- Inheritance
-
objectCachedContent
Properties
Contents
public List<GeminiContent> Contents { get; set; }
Property Value
- List<GeminiContent>
CreateTime
public ZuluTime CreateTime { get; set; }
Property Value
- ZuluTime
DisplayName
Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
public string DisplayName { get; set; }
Property Value
- string
ExpireTime
public ZuluTime ExpireTime { get; set; }
Property Value
- ZuluTime
Model
public Model Model { get; set; }
Property Value
Name
Optional. Identifier. The resource name referring to the cached content. Format: cachedContents/{id}
public string Name { get; set; }
Property Value
- string
SystemInstruction
public GeminiContent SystemInstruction { get; set; }
Property Value
ToolConfig
public ToolConfig ToolConfig { get; set; }
Property Value
Tools
public List<GeminiTool> Tools { get; set; }
Property Value
- List<GeminiTool>
Ttl
public ZuluTime Ttl { get; set; }
Property Value
- ZuluTime
UpdateTime
public ZuluTime UpdateTime { get; set; }
Property Value
- ZuluTime
UsageMetadata
public UsageMetadata UsageMetadata { get; set; }