public sealed class CreateCachedContentRequest : IMessage<CreateCachedContentRequest>, IEquatable<CreateCachedContentRequest>, IDeepCloneable<CreateCachedContentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class CreateCachedContentRequest.
Request message for
[GenAiCacheService.CreateCachedContent][google.cloud.aiplatform.v1beta1.GenAiCacheService.CreateCachedContent].
[[["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\u003eCreateCachedContentRequest\u003c/code\u003e class within the Google Cloud Vertex AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateCachedContentRequest\u003c/code\u003e is a request message used for the \u003ccode\u003eGenAiCacheService.CreateCachedContent\u003c/code\u003e method, implementing interfaces like \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\u003eThe class includes properties such as \u003ccode\u003eCachedContent\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e, which are essential for specifying the cached content to create and its parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating instances of \u003ccode\u003eCreateCachedContentRequest\u003c/code\u003e: a default constructor and one that takes another \u003ccode\u003eCreateCachedContentRequest\u003c/code\u003e as an argument for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is \u003ccode\u003e1.0.0-beta21\u003c/code\u003e, with a previous version being \u003ccode\u003e1.0.0-beta20\u003c/code\u003e available as well.\u003c/p\u003e\n"]]],[],null,[]]