public sealed class IngestContextReferencesRequest : IMessage<IngestContextReferencesRequest>, IEquatable<IngestContextReferencesRequest>, IDeepCloneable<IngestContextReferencesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class IngestContextReferencesRequest.
The request message for [ConversationsService.IngestContextReferences][].
public MapField<string, Conversation.Types.ContextReference> ContextReferences { get; }
Required. The context references to ingest. 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.
Required. Resource identifier of the conversation to ingest context
information for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>.
[[["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-03 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eIngestContextReferencesRequest\u003c/code\u003e class is used to send a request to ingest context references in the Dialogflow v2beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for enhanced functionality.\u003c/p\u003e\n"],["\u003cp\u003eIt allows specifying the conversation for which context information is being ingested through the \u003ccode\u003eConversation\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContextReferences\u003c/code\u003e property is a map where the key is the context reference name and the value is the content of the reference, enhancing the generator.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors, one parameter-less, and one with a parameter of the same class name.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dialogflow v2beta1 API - Class IngestContextReferencesRequest (1.0.0-beta23)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta23 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.IngestContextReferencesRequest)\n- [1.0.0-beta22](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/1.0.0-beta22/Google.Cloud.Dialogflow.V2Beta1.IngestContextReferencesRequest) \n\n public sealed class IngestContextReferencesRequest : IMessage\u003cIngestContextReferencesRequest\u003e, IEquatable\u003cIngestContextReferencesRequest\u003e, IDeepCloneable\u003cIngestContextReferencesRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class IngestContextReferencesRequest.\n\nThe request message for \\[ConversationsService.IngestContextReferences\\]\\[\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e IngestContextReferencesRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[IngestContextReferencesRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.IngestContextReferencesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[IngestContextReferencesRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.IngestContextReferencesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[IngestContextReferencesRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.IngestContextReferencesRequest), [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.V2Beta1](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.V2Beta1.dll\n\nConstructors\n------------\n\n### IngestContextReferencesRequest()\n\n public IngestContextReferencesRequest()\n\n### IngestContextReferencesRequest(IngestContextReferencesRequest)\n\n public IngestContextReferencesRequest(IngestContextReferencesRequest other)\n\nProperties\n----------\n\n### ContextReferences\n\n public MapField\u003cstring, Conversation.Types.ContextReference\u003e ContextReferences { get; }\n\nRequired. The context references to ingest. The key is the name of the\ncontext 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### Conversation\n\n public string Conversation { get; set; }\n\nRequired. Resource identifier of the conversation to ingest context\ninformation for. Format: `projects/\u003cProject ID\u003e/locations/\u003cLocation\nID\u003e/conversations/\u003cConversation ID\u003e`.\n\n### ConversationAsConversationName\n\n public ConversationName ConversationAsConversationName { get; set; }\n\n[ConversationName](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ConversationName)-typed view over the [Conversation](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.IngestContextReferencesRequest#Google_Cloud_Dialogflow_V2Beta1_IngestContextReferencesRequest_Conversation) resource name property."]]