public sealed class CustomTuningModel : IMessage<CustomTuningModel>, IEquatable<CustomTuningModel>, IDeepCloneable<CustomTuningModel>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class CustomTuningModel.
[[["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-08-28 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eCustomTuningModel\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, with the latest version being 1.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCustomTuningModel\u003c/code\u003e class is designed to hold metadata for a custom-tuned model, which can be useful for organizing and understanding model characteristics.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, supporting capabilities like message handling, equality comparison, deep cloning, and buffered message handling.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCustomTuningModel\u003c/code\u003e include details like \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eCustomTuningModelName\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eModelState\u003c/code\u003e, \u003ccode\u003eModelVersion\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e, each offering specific information about the custom-tuned model.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCustomTuningModel\u003c/code\u003e class supports two constructors: a default constructor and a copy constructor, and its data can be accessed and manipulated through various methods and properties.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class CustomTuningModel (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel) \n\n public sealed class CustomTuningModel : IMessage\u003cCustomTuningModel\u003e, IEquatable\u003cCustomTuningModel\u003e, IDeepCloneable\u003cCustomTuningModel\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class CustomTuningModel.\n\nMetadata that describes a custom tuned model. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CustomTuningModel \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CustomTuningModel](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CustomTuningModel](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CustomTuningModel](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### CustomTuningModel()\n\n public CustomTuningModel()\n\n### CustomTuningModel(CustomTuningModel)\n\n public CustomTuningModel(CustomTuningModel other)\n\nProperties\n----------\n\n### CreateTime\n\n [Obsolete]\n public Timestamp CreateTime { get; set; }\n\nDeprecated: Timestamp the Model was created at.\n\n### CustomTuningModelName\n\n public CustomTuningModelName CustomTuningModelName { get; set; }\n\n[CustomTuningModelName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CustomTuningModelName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CustomTuningModel#Google_Cloud_DiscoveryEngine_V1_CustomTuningModel_Name) resource name property.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nThe display name of the model.\n\n### ErrorMessage\n\n public string ErrorMessage { get; set; }\n\nCurrently this is only populated if the model state is\n`INPUT_VALIDATION_FAILED`.\n\n### Metrics\n\n public MapField\u003cstring, double\u003e Metrics { get; }\n\nThe metrics of the trained model.\n\n### ModelState\n\n public CustomTuningModel.Types.ModelState ModelState { get; set; }\n\nThe state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).\n\n### ModelVersion\n\n public long ModelVersion { get; set; }\n\nThe version of the model.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The fully qualified resource name of the model.\n\nFormat:\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`.\n\nModel must be an alpha-numerical string with limit of 40 characters.\n\n### TrainingStartTime\n\n public Timestamp TrainingStartTime { get; set; }\n\nTimestamp the model training was initiated."]]