Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cachedContent}
[[["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-06-27 UTC."],[],[],null,["# Method: cachedContents.patch\n\n**Full name**: projects.locations.cachedContents.patch\n\nUpdates cached content configurations \n\n### Endpoint\n\npatch `https:``/``/aiplatform.googleapis.com``/v1beta1``/{cachedContent.name}` \n`PATCH https://aiplatform.googleapis.com/v1beta1/{cachedContent.name}`\n\n### Path parameters\n\n`cachedContent.name` `string` \nImmutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cachedContent}\n\n### Query parameters\n\n`updateMask` `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` \nRequired. The list of fields to update.\n\nThis is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`.\n\n### Request body\n\nThe request body contains an instance of [CachedContent](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/projects.locations.cachedContents#CachedContent). \n\n### Response body\n\nIf successful, the response body contains an instance of [CachedContent](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/projects.locations.cachedContents#CachedContent)."]]