public sealed class RetrieveContextsRequest : IMessage<RetrieveContextsRequest>, IEquatable<RetrieveContextsRequest>, IDeepCloneable<RetrieveContextsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class RetrieveContextsRequest.
Request message for
[VertexRagService.RetrieveContexts][google.cloud.aiplatform.v1beta1.VertexRagService.RetrieveContexts].
Required. The resource name of the Location from which to retrieve
RagContexts. The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}.
[[["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 documentation details the \u003ccode\u003eRetrieveContextsRequest\u003c/code\u003e class, which is part of the Vertex AI v1beta1 API and is used for requesting context retrieval via \u003ccode\u003eVertexRagService.RetrieveContexts\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetrieveContextsRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling diverse functionalities such as message handling and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows specifying the \u003ccode\u003eParent\u003c/code\u003e location resource name, formatted as \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e, as well as offering a \u003ccode\u003eParentAsLocationName\u003c/code\u003e property for a typed view of this resource.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a required \u003ccode\u003eQuery\u003c/code\u003e property of type \u003ccode\u003eRagQuery\u003c/code\u003e to define the retrieval parameters and supports selecting a \u003ccode\u003eVertexRagStore\u003c/code\u003e as the data source.\u003c/p\u003e\n"],["\u003cp\u003eThere are two versions of the documentation available: 1.0.0-beta21 (latest) and 1.0.0-beta20, with the documentation showing the structure of the latest one.\u003c/p\u003e\n"]]],[],null,[]]