Bundle Google Gemini API client. Supports text generation, multimodal inputs (image, audio, video), chat sessions, function calling, and caching. Set GOOGLE_API_KEY before use. Compile with -lib gemini.
CachedContentItem
A context cache entry created by the Gemini Caching API
Inherits: EndPoint
Operations
GetCreateTime #
Get creation timestamp
method : public : GetCreateTime() ~ StringReturn
| Type | Description |
|---|---|
| String | creation time (RFC 3339) |
GetDisplayName #
Get display name
method : public : GetDisplayName() ~ StringReturn
| Type | Description |
|---|---|
| String | display name |
GetExpireTime #
Get expiration timestamp
method : public : GetExpireTime() ~ StringReturn
| Type | Description |
|---|---|
| String | expiration time (RFC 3339) |
GetModel #
Get the model this cache was created for
method : public : GetModel() ~ StringReturn
| Type | Description |
|---|---|
| String | model name |