public sealed class QueryExtensionRequest : IMessage<QueryExtensionRequest>, IEquatable<QueryExtensionRequest>, IDeepCloneable<QueryExtensionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class QueryExtensionRequest.
Request message for
[ExtensionExecutionService.QueryExtension][google.cloud.aiplatform.v1beta1.ExtensionExecutionService.QueryExtension].
Required. The content of the current conversation with the model.
For single-turn queries, this is a single instance. For multi-turn queries,
this is a repeated field that contains conversation history + latest
request.
[[["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-08-14 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eQueryExtensionRequest\u003c/code\u003e class within the Vertex AI v1beta1 API, specifically version 1.0.0-beta21, with a previous release of 1.0.0-beta20.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eQueryExtensionRequest\u003c/code\u003e is a request message used for the \u003ccode\u003eExtensionExecutionService.QueryExtension\u003c/code\u003e method, and implements multiple 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\u003eThe class includes properties like \u003ccode\u003eContents\u003c/code\u003e, a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003eContent\u003c/code\u003e for managing conversation history, and \u003ccode\u003eExtensionName\u003c/code\u003e, a typed view over the resource name property.\u003c/p\u003e\n"],["\u003cp\u003eIt also features the \u003ccode\u003eName\u003c/code\u003e property, which is a required string identifier for the extension, formatted as \u003ccode\u003eprojects/{project}/locations/{location}/extensions/{extension}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryExtensionRequest\u003c/code\u003e class offers two constructors: a default one and another that takes a \u003ccode\u003eQueryExtensionRequest\u003c/code\u003e object as parameter.\u003c/p\u003e\n"]]],[],null,[]]