NAME

Google::Cloud::Discoveryengine::V1beta::CustomTuningModel - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/custom_tuning_model.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::CustomTuningModel;

my $msg = Google::Cloud::Discoveryengine::V1beta::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::V1beta::CustomTuningModel::CustomTuningModel->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/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::V1beta::CustomTuningModel::CustomTuningModel

Metadata that describes a custom tuned model.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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: String

    The display name of the model.

  • $msg->model_version() / $msg->model_version($value)

    Type: Int64

    The version of the model.

  • $msg->model_state() / $msg->model_state($value)

    Type: Enum (Google::Cloud::Discoveryengine::V1beta::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::V1beta::CustomTuningModel::CustomTuningModel::MetricsEntry)

    The metrics of the trained model.

  • $msg->error_message() / $msg->error_message($value)

    Type: String

    Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.

Enum: CustomTuningModel::ModelState

  • MODEL_STATE_UNSPECIFIED => 0

  • TRAINING_PAUSED => 1

  • TRAINING => 2

  • TRAINING_COMPLETE => 3

  • READY_FOR_SERVING => 4

  • TRAINING_FAILED => 5

  • NO_IMPROVEMENT => 6

  • INPUT_VALIDATION_FAILED => 7

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1beta::CustomTuningModel::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.