AxAIGoogleGeminiCacheResponse Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxAIGoogleGeminiCacheResponse.md type AxAIGoogleGeminiCacheResponse

AxAIGoogleGeminiCacheResponse

TypeScript
type AxAIGoogleGeminiCacheResponse = object;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/google-gemini/types.ts#L430

Response from creating/getting a context cache.

Properties

createTime

TypeScript
createTime: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/google-gemini/types.ts#L438

When the cache was created (ISO 8601)


displayName?

TypeScript
optional displayName: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/google-gemini/types.ts#L434

Display name


expireTime

TypeScript
expireTime: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/google-gemini/types.ts#L442

When the cache expires (ISO 8601)


model

TypeScript
model: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/google-gemini/types.ts#L436

Model associated with the cache


name

TypeScript
name: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/google-gemini/types.ts#L432

Resource name of the cached content (e.g., “projects/…/locations/…/cachedContents/…”)


updateTime

TypeScript
updateTime: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/google-gemini/types.ts#L440

When the cache was last updated (ISO 8601)


usageMetadata?

TypeScript
optional usageMetadata: object;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/google-gemini/types.ts#L444

Token count of cached content

totalTokenCount

TypeScript
totalTokenCount: number;
Docs