[[["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,["# Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel (v0.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.21.0 (latest)](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.20.1](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.20.1/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.19.1](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.19.1/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.18.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.18.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.17.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.17.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.16.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.16.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.15.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.15.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.14.2](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.14.2/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.13.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.13.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.12.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.12.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.11.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.11.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.10.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.10.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.9.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.9.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.8.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.8.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.7.2](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.7.2/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.6.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.6.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.5.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.5.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.4.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.4.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.3.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.3.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.2.1](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.2.1/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel)\n- [0.1.0](/ruby/docs/reference/google-cloud-discovery_engine-v1beta/0.1.0/Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel) \nReference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel.\n\nMetadata that describes a custom tuned model. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Deprecated: Timestamp the Model was created at.\n\n### #create_time=\n\n def create_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Deprecated: Timestamp the Model was created at. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Deprecated: Timestamp the Model was created at.\n\n### #display_name\n\n def display_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The display name of the model.\n\n### #display_name=\n\n def display_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The display name of the model. \n**Returns**\n\n- (::String) --- The display name of the model.\n\n### #error_message\n\n def error_message() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.\n\n### #error_message=\n\n def error_message=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`. \n**Returns**\n\n- (::String) --- Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.\n\n### #metrics\n\n def metrics() -\u003e ::Google::Protobuf::Map{::String =\u003e ::Float}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::Float}) --- The metrics of the trained model.\n\n### #metrics=\n\n def metrics=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::Float}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::Float}) --- The metrics of the trained model. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::Float}) --- The metrics of the trained model.\n\n### #model_state\n\n def model_state() -\u003e ::Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel::ModelState\n\n**Returns**\n\n- ([::Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel::ModelState](./Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel-ModelState)) --- The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).\n\n### #model_state=\n\n def model_state=(value) -\u003e ::Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel::ModelState\n\n**Parameter**\n\n- **value** ([::Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel::ModelState](./Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel-ModelState)) --- The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). \n**Returns**\n\n- ([::Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel::ModelState](./Google-Cloud-DiscoveryEngine-V1beta-CustomTuningModel-ModelState)) --- The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).\n\n### #model_version\n\n def model_version() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The version of the model.\n\n### #model_version=\n\n def model_version=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The version of the model. \n**Returns**\n\n- (::Integer) --- The version of the model.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The fully qualified resource name of the model.\n\n Format:\n `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`.\n\n Model must be an alpha-numerical string with limit of 40 characters.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The fully qualified resource name of the model.\n\n\n Format:\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**Returns**\n\n- (::String) --- Required. The fully qualified resource name of the model.\n\n Format:\n `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`.\n\n Model must be an alpha-numerical string with limit of 40 characters.\n\n### #training_start_time\n\n def training_start_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Timestamp the model training was initiated.\n\n### #training_start_time=\n\n def training_start_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Timestamp the model training was initiated. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Timestamp the model training was initiated."]]