v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
GenAI Integration

Update cached content (Gemini format)

Updates the TTL or expiration time of a cached content entry. Only ttl or expireTime may be modified.

patch/genai/v1beta/cachedContents/{cached_id}

Path parameters

cached_idstring required

Headers

x-model-providerstring

Request body

ttlstring

TTL in protobuf duration format.

expireTimestring date-time

Response

Successful response

object required