public sealed class AugmentPromptRequest : IMessage<AugmentPromptRequest>, IEquatable<AugmentPromptRequest>, IDeepCloneable<AugmentPromptRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class AugmentPromptRequest.
Required. The resource name of the Location from which to augment prompt.
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\u003eAugmentPromptRequest\u003c/code\u003e class, which is part of the Vertex AI v1beta1 API and is used to augment prompts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAugmentPromptRequest\u003c/code\u003e class is the request message for the \u003ccode\u003eAugmentPrompt\u003c/code\u003e function and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several 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\u003eKey properties of the \u003ccode\u003eAugmentPromptRequest\u003c/code\u003e class include \u003ccode\u003eContents\u003c/code\u003e for input text, \u003ccode\u003eModel\u003c/code\u003e for deployed model metadata, \u003ccode\u003eParent\u003c/code\u003e for the location resource name, and \u003ccode\u003eVertexRagStore\u003c/code\u003e for retrieving contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe class is defined within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating instances of \u003ccode\u003eAugmentPromptRequest\u003c/code\u003e, one is parameterless, the other accepts another \u003ccode\u003eAugmentPromptRequest\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class AugmentPromptRequest (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.AugmentPromptRequest)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.AugmentPromptRequest) \n\n public sealed class AugmentPromptRequest : IMessage\u003cAugmentPromptRequest\u003e, IEquatable\u003cAugmentPromptRequest\u003e, IDeepCloneable\u003cAugmentPromptRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class AugmentPromptRequest.\n\nRequest message for AugmentPrompt. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AugmentPromptRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AugmentPromptRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.AugmentPromptRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AugmentPromptRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.AugmentPromptRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AugmentPromptRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.AugmentPromptRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### AugmentPromptRequest()\n\n public AugmentPromptRequest()\n\n### AugmentPromptRequest(AugmentPromptRequest)\n\n public AugmentPromptRequest(AugmentPromptRequest other)\n\nProperties\n----------\n\n### Contents\n\n public RepeatedField\u003cContent\u003e Contents { get; }\n\nOptional. Input content to augment, only text format is supported for now.\n\n### DataSourceCase\n\n public AugmentPromptRequest.DataSourceOneofCase DataSourceCase { get; }\n\n### Model\n\n public AugmentPromptRequest.Types.Model Model { get; set; }\n\nOptional. Metadata of the backend deployed model.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The resource name of the Location from which to augment prompt.\nThe users must have permission to make a call in the project.\nFormat:\n`projects/{project}/locations/{location}`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.AugmentPromptRequest#Google_Cloud_AIPlatform_V1Beta1_AugmentPromptRequest_Parent) resource name property.\n\n### VertexRagStore\n\n public VertexRagStore VertexRagStore { get; set; }\n\nOptional. Retrieves contexts from the Vertex RagStore."]]