public sealed class GenerateStatelessSuggestionRequest : IMessage<GenerateStatelessSuggestionRequest>, IEquatable<GenerateStatelessSuggestionRequest>, IDeepCloneable<GenerateStatelessSuggestionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class GenerateStatelessSuggestionRequest.
The request message for
[Conversations.GenerateStatelessSuggestion][google.cloud.dialogflow.v2.Conversations.GenerateStatelessSuggestion].
public MapField<string, Conversation.Types.ContextReference> ContextReferences { get; }
Optional. A section of ingested context information. The key is the name of
the context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eGenerateStatelessSuggestionRequest\u003c/code\u003e class within the Google Cloud Dialogflow V2 API for .NET, covering versions from 3.2.0 up to the latest 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenerateStatelessSuggestionRequest\u003c/code\u003e class is used to structure requests for the \u003ccode\u003eConversations.GenerateStatelessSuggestion\u003c/code\u003e method in the API, designed to get suggestions in a stateless manner.\u003c/p\u003e\n"],["\u003cp\u003eIt 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 and offers constructors for creating instances directly or by cloning existing \u003ccode\u003eGenerateStatelessSuggestionRequest\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties to define the context, the generator, and various other fields, such as \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eTriggerEvents\u003c/code\u003e, \u003ccode\u003eContextReferences\u003c/code\u003e, \u003ccode\u003eConversationContext\u003c/code\u003e \u003ccode\u003eGenerator\u003c/code\u003e, \u003ccode\u003eGeneratorName\u003c/code\u003e, and \u003ccode\u003eGeneratorResourceCase\u003c/code\u003e which is important for the stateless suggestion process.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version for the \u003ccode\u003eGenerateStatelessSuggestionRequest\u003c/code\u003e in the documentation is version 4.26.0.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dialogflow v2 API - Class GenerateStatelessSuggestionRequest (4.26.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.26.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.25.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.25.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.24.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.24.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.23.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.23.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.22.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.22.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.21.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.21.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.20.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.20.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.19.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.19.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.18.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.18.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.17.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.17.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.16.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.16.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.15.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.15.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.14.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.14.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.13.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.12.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.11.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.10.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.9.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.8.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.7.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.6.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.5.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.4.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.3.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.2.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.1.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.0.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.11.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.10.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.9.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.8.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.7.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.6.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.5.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.4.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.3.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.2.0/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest) \n\n public sealed class GenerateStatelessSuggestionRequest : IMessage\u003cGenerateStatelessSuggestionRequest\u003e, IEquatable\u003cGenerateStatelessSuggestionRequest\u003e, IDeepCloneable\u003cGenerateStatelessSuggestionRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dialogflow v2 API class GenerateStatelessSuggestionRequest.\n\nThe request message for\n\\[Conversations.GenerateStatelessSuggestion\\]\\[google.cloud.dialogflow.v2.Conversations.GenerateStatelessSuggestion\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GenerateStatelessSuggestionRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GenerateStatelessSuggestionRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GenerateStatelessSuggestionRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GenerateStatelessSuggestionRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest), [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.Dialogflow.V2](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.V2.dll\n\nConstructors\n------------\n\n### GenerateStatelessSuggestionRequest()\n\n public GenerateStatelessSuggestionRequest()\n\n### GenerateStatelessSuggestionRequest(GenerateStatelessSuggestionRequest)\n\n public GenerateStatelessSuggestionRequest(GenerateStatelessSuggestionRequest other)\n\nProperties\n----------\n\n### ContextReferences\n\n public MapField\u003cstring, Conversation.Types.ContextReference\u003e ContextReferences { get; }\n\nOptional. A section of ingested context information. The key is the name of\nthe context reference and the value contains the contents of the context\nreference. The key is used to incorporate ingested context references to\nenhance the generator.\n\n### ConversationContext\n\n public ConversationContext ConversationContext { get; set; }\n\nOptional. Context of the conversation, including transcripts.\n\n### Generator\n\n public Generator Generator { get; set; }\n\nUncreated generator. It should be a complete generator that includes all\ninformation about the generator.\n\n### GeneratorName\n\n public string GeneratorName { get; set; }\n\nThe resource name of the existing created generator. Format:\n`projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/generators/\u003cGenerator ID\u003e`\n\n### GeneratorResourceCase\n\n public GenerateStatelessSuggestionRequest.GeneratorResourceOneofCase GeneratorResourceCase { get; }\n\n### HasGeneratorName\n\n public bool HasGeneratorName { get; }\n\nGets whether the \"generator_name\" field is set\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource to charge for the Suggestion's generation.\nFormat: `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e`.\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.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionRequest#Google_Cloud_Dialogflow_V2_GenerateStatelessSuggestionRequest_Parent) resource name property.\n\n### TriggerEvents\n\n public RepeatedField\u003cTriggerEvent\u003e TriggerEvents { get; }\n\nOptional. A list of trigger events. Generator will be triggered only if\nit's trigger event is included here."]]