AxAIGoogleGeminiCacheResponse
type AxAIGoogleGeminiCacheResponse = object;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/google-gemini/types.ts#L348
Response from creating/getting a context cache.
Properties
createTime
createTime: string;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/google-gemini/types.ts#L356
When the cache was created (ISO 8601)
displayName?
optional displayName: string;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/google-gemini/types.ts#L352
Display name
expireTime
expireTime: string;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/google-gemini/types.ts#L360
When the cache expires (ISO 8601)
model
model: string;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/google-gemini/types.ts#L354
Model associated with the cache
name
name: string;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/google-gemini/types.ts#L350
Resource name of the cached content (e.g., “projects/…/locations/…/cachedContents/…”)
updateTime
updateTime: string;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/google-gemini/types.ts#L358
When the cache was last updated (ISO 8601)
optional usageMetadata: object;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/google-gemini/types.ts#L362
Token count of cached content
totalTokenCount
totalTokenCount: number;