| Package | Description |
|---|---|
| com.litongjava.gemini |
| Modifier and Type | Method and Description |
|---|---|
static GeminiCacheVo |
GeminiClient.createCache(GeminiCreateCacheRequest requestVo)
Creates a new cached content entry using API key from environment.
|
static GeminiCacheVo |
GeminiClient.createCache(String googleApiKey,
GeminiCreateCacheRequest 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,
GeminiUpdateCacheRequest updateRequestVo)
Updates a cached content entry using API key from environment.
|
static GeminiCacheVo |
GeminiClient.updateCache(String googleApiKey,
String cacheName,
GeminiUpdateCacheRequest updateRequestVo)
Updates a cached content entry (only ttl or expireTime can be updated).
|
| Modifier and Type | Method and Description |
|---|---|
List<GeminiCacheVo> |
GeminiListCachesResponse.getCachedContents() |
| Modifier and Type | Method and Description |
|---|---|
void |
GeminiListCachesResponse.setCachedContents(List<GeminiCacheVo> cachedContents) |
| Constructor and Description |
|---|
GeminiListCachesResponse(List<GeminiCacheVo> cachedContents) |
Copyright © 2026. All rights reserved.