public sealed class ConversationModel : IMessage<ConversationModel>, IEquatable<ConversationModel>, IDeepCloneable<ConversationModel>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationModel.
Language code for the conversation model. If not specified, the language
is en-US. Language at ConversationModel should be set for all non en-us
languages.
This should be a BCP-47
language tag. Example: "en-US".
[[["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\u003eThe latest version of the \u003ccode\u003eConversationModel\u003c/code\u003e API is 4.26.0, with multiple prior versions available, ranging down to 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConversationModel\u003c/code\u003e is a class representing a conversation model in the Google Cloud Dialogflow v2 API, with members for accessing and managing various model attributes and metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConversationModel\u003c/code\u003e class includes properties such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDatasets\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, and \u003ccode\u003eLanguageCode\u003c/code\u003e, enabling users to interact with model creation and configuration.\u003c/p\u003e\n"],["\u003cp\u003eIt features specific metadata properties for different model types, including \u003ccode\u003eArticleSuggestionModelMetadata\u003c/code\u003e and \u003ccode\u003eSmartReplyModelMetadata\u003c/code\u003e, to manage the model.\u003c/p\u003e\n"],["\u003cp\u003eThe class has read-only boolean fields, \u003ccode\u003eSatisfiesPzi\u003c/code\u003e and \u003ccode\u003eSatisfiesPzs\u003c/code\u003e, reflecting the Zone Isolation and Zone Separation status of the model, respectively.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dialogflow v2 API - Class ConversationModel (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.ConversationModel)\n- [4.25.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.25.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.24.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.24.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.23.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.23.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.22.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.22.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.21.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.21.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.20.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.20.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.19.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.19.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.18.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.18.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.17.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.17.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.16.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.16.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.15.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.15.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.14.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.14.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.13.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.12.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.11.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.10.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.9.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.8.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.7.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.6.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.5.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.4.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.3.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.2.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.1.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/4.0.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.11.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.10.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.9.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.8.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.7.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.6.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.5.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.4.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.3.0/Google.Cloud.Dialogflow.V2.ConversationModel)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/3.2.0/Google.Cloud.Dialogflow.V2.ConversationModel) \n\n public sealed class ConversationModel : IMessage\u003cConversationModel\u003e, IEquatable\u003cConversationModel\u003e, IDeepCloneable\u003cConversationModel\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationModel.\n\nRepresents a conversation model. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ConversationModel \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ConversationModel](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ConversationModel), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConversationModel](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ConversationModel), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ConversationModel](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ConversationModel), [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### ConversationModel()\n\n public ConversationModel()\n\n### ConversationModel(ConversationModel)\n\n public ConversationModel(ConversationModel other)\n\nProperties\n----------\n\n### ArticleSuggestionModelMetadata\n\n public ArticleSuggestionModelMetadata ArticleSuggestionModelMetadata { get; set; }\n\nMetadata for article suggestion models.\n\n### ConversationModelName\n\n public ConversationModelName ConversationModelName { get; set; }\n\n[ConversationModelName](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ConversationModelName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ConversationModel#Google_Cloud_Dialogflow_V2_ConversationModel_Name) resource name property.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Creation time of this model.\n\n### Datasets\n\n public RepeatedField\u003cInputDataset\u003e Datasets { get; }\n\nRequired. Datasets used to create model.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nRequired. The display name of the model. At most 64 bytes long.\n\n### HasSatisfiesPzi\n\n public bool HasSatisfiesPzi { get; }\n\nGets whether the \"satisfies_pzi\" field is set\n\n### HasSatisfiesPzs\n\n public bool HasSatisfiesPzs { get; }\n\nGets whether the \"satisfies_pzs\" field is set\n\n### LanguageCode\n\n public string LanguageCode { get; set; }\n\nLanguage code for the conversation model. If not specified, the language\nis en-US. Language at ConversationModel should be set for all non en-us\nlanguages.\nThis should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)\nlanguage tag. Example: \"en-US\".\n\n### ModelMetadataCase\n\n public ConversationModel.ModelMetadataOneofCase ModelMetadataCase { get; }\n\n### Name\n\n public string Name { get; set; }\n\nConversationModel resource name. Format:\n`projects/\u003cProject ID\u003e/conversationModels/\u003cConversation Model ID\u003e`\n\n### SatisfiesPzi\n\n public bool SatisfiesPzi { get; set; }\n\nOutput only. A read only boolean field reflecting Zone Isolation status\nof the model.\n\n### SatisfiesPzs\n\n public bool SatisfiesPzs { get; set; }\n\nOutput only. A read only boolean field reflecting Zone Separation\nstatus of the model.\n\n### SmartReplyModelMetadata\n\n public SmartReplyModelMetadata SmartReplyModelMetadata { get; set; }\n\nMetadata for smart reply models.\n\n### State\n\n public ConversationModel.Types.State State { get; set; }\n\nOutput only. State of the model. A model can only serve prediction requests\nafter it gets deployed."]]