| Package | Description |
|---|---|
| com.litongjava.gemini |
| Modifier and Type | Method and Description |
|---|---|
static GeminiCacheVo |
GeminiClient.createCache(GeminiCreateCacheRequestVo requestVo)
Creates a new cached content entry using API key from environment.
|
static GeminiCacheVo |
GeminiClient.createCache(String googleApiKey,
GeminiCreateCacheRequestVo requestVo)
Creates a new cached content entry.
|
static GeminiCacheVo |
GeminiClient.getCache(String cacheName)
Gets metadata for a specific cached content entry using API key from
environment.
|
static GeminiCacheVo |
GeminiClient.getCache(String googleApiKey,
String cacheName)
Gets metadata for a specific cached content entry.
|
static GeminiCacheVo |
GeminiClient.updateCache(String cacheName,
GeminiUpdateCacheRequestVo updateRequestVo)
Updates a cached content entry using API key from environment.
|
static GeminiCacheVo |
GeminiClient.updateCache(String googleApiKey,
String cacheName,
GeminiUpdateCacheRequestVo updateRequestVo)
Updates a cached content entry (only ttl or expireTime can be updated).
|
Copyright © 2025. All rights reserved.