public sealed class ConversationReference : IMessage<ConversationReference>, IEquatable<ConversationReference>, IDeepCloneable<ConversationReference>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class ConversationReference.
Reference to a persisted conversation and agent context.
[[["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."],[],[],null,["# Data Analytics API with Gemini v1beta API - Class ConversationReference (1.0.0-beta01)\n\n public sealed class ConversationReference : IMessage\u003cConversationReference\u003e, IEquatable\u003cConversationReference\u003e, IDeepCloneable\u003cConversationReference\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data Analytics API with Gemini v1beta API class ConversationReference.\n\nReference to a persisted conversation and agent context. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ConversationReference \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ConversationReference](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.ConversationReference), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConversationReference](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.ConversationReference), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ConversationReference](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.ConversationReference), [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.GeminiDataAnalytics.V1Beta](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.GeminiDataAnalytics.V1Beta.dll\n\nConstructors\n------------\n\n### ConversationReference()\n\n public ConversationReference()\n\n### ConversationReference(ConversationReference)\n\n public ConversationReference(ConversationReference other)\n\nProperties\n----------\n\n### Conversation\n\n public string Conversation { get; set; }\n\nRequired. Name of the conversation resource.\nFormat:\n`projects/{project}/locations/{location}/conversations/{conversation_id}`\n\n### ConversationAsConversationName\n\n public ConversationName ConversationAsConversationName { get; set; }\n\n[ConversationName](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.ConversationName)-typed view over the [Conversation](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.ConversationReference#Google_Cloud_GeminiDataAnalytics_V1Beta_ConversationReference_Conversation) resource name property.\n\n### DataAgentContext\n\n public DataAgentContext DataAgentContext { get; set; }\n\nRequired. Context for the chat request using a data agent."]]