NAME
Google::Cloud::Discoveryengine::V1::CustomTuningModel - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/custom_tuning_model.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1::CustomTuningModel;
my $msg = Google::Cloud::Discoveryengine::V1::CustomTuningModel::CustomTuningModel->new({
name => $name,
display_name => $display_name,
model_version => $model_version,
model_state => $model_state,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1::CustomTuningModel::CustomTuningModel->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/custom_tuning_model.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Discoveryengine::V1::CustomTuningModel::CustomTuningModel
Metadata that describes a custom tuned model.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The fully qualified resource name of the model.
Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`.
Model must be an alpha-numerical string with limit of 40 characters.
$msg->display_name()/$msg->display_name($value)Type:
StringThe display name of the model.
$msg->model_version()/$msg->model_version($value)Type:
Int64The version of the model.
$msg->model_state()/$msg->model_state($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::CustomTuningModel::ModelState)The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Deprecated: Timestamp the Model was created at.
$msg->training_start_time()/$msg->training_start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Timestamp the model training was initiated.
$msg->metrics()/$msg->metrics($value)Type:
Message(Google::Cloud::Discoveryengine::V1::CustomTuningModel::CustomTuningModel::MetricsEntry)The metrics of the trained model.
$msg->error_message()/$msg->error_message($value)Type:
StringCurrently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.
Enum: CustomTuningModel::ModelState
MODEL_STATE_UNSPECIFIED=>0TRAINING_PAUSED=>1TRAINING=>2TRAINING_COMPLETE=>3READY_FOR_SERVING=>4TRAINING_FAILED=>5NO_IMPROVEMENT=>6INPUT_VALIDATION_FAILED=>7
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::CustomTuningModel::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.