public sealed class UpdateCachedContentRequest : IMessage<UpdateCachedContentRequest>, IEquatable<UpdateCachedContentRequest>, IDeepCloneable<UpdateCachedContentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class UpdateCachedContentRequest.
Request message for
[GenAiCacheService.UpdateCachedContent][google.cloud.aiplatform.v1beta1.GenAiCacheService.UpdateCachedContent].
Only expire_time or ttl can be updated.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eUpdateCachedContentRequest\u003c/code\u003e class within the Google Cloud Vertex AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateCachedContentRequest\u003c/code\u003e is a request message used to update cached content via the \u003ccode\u003eGenAiCacheService.UpdateCachedContent\u003c/code\u003e method, allowing the update of either \u003ccode\u003eexpire_time\u003c/code\u003e or \u003ccode\u003ettl\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eCachedContent\u003c/code\u003e to specify the content to be updated and \u003ccode\u003eUpdateMask\u003c/code\u003e to define which fields should be modified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateCachedContentRequest\u003c/code\u003e class contains two constructors, one default and one that accepts another \u003ccode\u003eUpdateCachedContentRequest\u003c/code\u003e instance for initialization.\u003c/p\u003e\n"]]],[],null,[]]