Optional. Immutable. The user-generated meaningful display name of the cached content.
expireTime
expireTime?:string;
Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
model
model?:string;
Immutable. The name of the publisher model to use for cached content. Format: projects/{project}/locations/{location}/publishers/{publisher}/models/{model}
name
name?:string;
Immutable. Identifier. The server-generated resource name of the cached content. Format: projects/{project}/locations/{location}/cachedContents/{cached_content}
systemInstruction
systemInstruction?:Content|string;
Developer set system instruction. Currently, text only.
toolConfig
toolConfig?:ToolConfig;
Optional. Input only. Immutable. Tool config. This config is shared for all tools.
tools
tools?:Tool[];
Optional. Input only. Immutable. A list ofToolsthe model may use to generate the next response.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface CachedContent (1.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.0 (latest)](/nodejs/docs/reference/vertexai/latest/vertexai/cachedcontent)\n- [1.9.0](/nodejs/docs/reference/vertexai/1.9.0/vertexai/cachedcontent)\n- [1.8.1](/nodejs/docs/reference/vertexai/1.8.1/vertexai/cachedcontent)\n- [1.7.0](/nodejs/docs/reference/vertexai/1.7.0/vertexai/cachedcontent)\n- [1.6.0](/nodejs/docs/reference/vertexai/1.6.0/vertexai/cachedcontent)\n- [1.5.0](/nodejs/docs/reference/vertexai/1.5.0/vertexai/cachedcontent)\n- [1.4.1](/nodejs/docs/reference/vertexai/1.4.1/vertexai/cachedcontent)\n- [1.3.1](/nodejs/docs/reference/vertexai/1.3.1/vertexai/cachedcontent)\n- [1.2.0](/nodejs/docs/reference/vertexai/1.2.0/vertexai/cachedcontent)\n- [1.1.0](/nodejs/docs/reference/vertexai/1.1.0/vertexai/cachedcontent)\n- [1.0.0](/nodejs/docs/reference/vertexai/1.0.0/vertexai/cachedcontent)\n- [0.5.0](/nodejs/docs/reference/vertexai/0.5.0/vertexai/cachedcontent)\n- [0.4.0](/nodejs/docs/reference/vertexai/0.4.0/vertexai/cachedcontent)\n- [0.3.1](/nodejs/docs/reference/vertexai/0.3.1/vertexai/cachedcontent)\n- [0.2.1](/nodejs/docs/reference/vertexai/0.2.1/vertexai/cachedcontent) \nA resource used in LLM queries for users to explicitly specify what to cache and how to cache.\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nProperties\n----------\n\n### contents\n\n contents?: Content[];\n\nOptional. Input only. Immutable. The content to cache.\n\n### createTime\n\n createTime?: string;\n\nOutput only. Creatation time of the cache entry. Format: google-datetime. See \u003chttps://cloud.google.com/docs/discovery/type-format\u003e\n\n### displayName\n\n displayName?: string;\n\nOptional. Immutable. The user-generated meaningful display name of the cached content.\n\n### expireTime\n\n expireTime?: string;\n\nTimestamp of when this resource is considered expired. This is \\*always\\* provided on output, regardless of what was sent on input.\n\n### model\n\n model?: string;\n\nImmutable. The name of the publisher model to use for cached content. Format: projects/{project}/locations/{location}/publishers/{publisher}/models/{model}\n\n### name\n\n name?: string;\n\nImmutable. Identifier. The server-generated resource name of the cached content. Format: projects/{project}/locations/{location}/cachedContents/{cached_content}\n\n### systemInstruction\n\n systemInstruction?: Content | string;\n\nDeveloper set system instruction. Currently, text only.\n\n### toolConfig\n\n toolConfig?: ToolConfig;\n\nOptional. Input only. Immutable. Tool config. This config is shared for all tools.\n\n### tools\n\n tools?: Tool[];\n\nOptional. Input only. Immutable. A list of `Tools` the model may use to generate the next response.\n\n### ttl\n\n ttl?: string;\n\nInput only. The TTL seconds for this resource. The expiration time is computed: now + TTL. Format: google-duration. See \u003chttps://cloud.google.com/docs/discovery/type-format\u003e\n\n### updateTime\n\n updateTime?: string;\n\nOutput only. When the cache entry was last updated in UTC time. Format: google-datetime. See \u003chttps://cloud.google.com/docs/discovery/type-format\u003e\n\n### usageMetadata\n\n usageMetadata?: CachedContentUsageMetadata;\n\nOutput only. Metadata on the usage of the cached content."]]