Service Client: Google::Cloud::Discoveryengine::V1beta::SearchTuningService::SearchTuningServiceClient
Client stub representing the remote SearchTuningService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to discoveryengine.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Discoveryengine::V1beta::SearchTuningService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/search_tuning_service.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1beta::SearchTuningService;
my $msg = Google::Cloud::Discoveryengine::V1beta::SearchTuningService::ListCustomModelsRequest->new({
data_store => $data_store,
});
# Read or update a field
my $val = $msg->data_store();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1beta::SearchTuningService::ListCustomModelsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/search_tuning_service.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::SearchTuningService::ListCustomModelsRequest
Request message for [SearchTuningService.ListCustomModels][google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels] method.
Inherits from Protobuf::Message.
Accessors
$msg->data_store()/$msg->data_store($value)Type:
StringRequired. The resource name of the parent Data Store, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to fetch the models from.
Google::Cloud::Discoveryengine::V1beta::SearchTuningService::ListCustomModelsResponse
Response message for [SearchTuningService.ListCustomModels][google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels] method.
Inherits from Protobuf::Message.
Accessors
$msg->models()/$msg->models($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::CustomTuningModel::CustomTuningModel)List of custom tuning models.
Google::Cloud::Discoveryengine::V1beta::SearchTuningService::TrainCustomModelRequest
Request message for [SearchTuningService.TrainCustomModel][google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel] method.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_training_input()/$msg->gcs_training_input($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::SearchTuningService::TrainCustomModelRequest::GcsTrainingInput)Cloud Storage training input.
$msg->data_store()/$msg->data_store($value)Type:
StringRequired. The resource name of the Data Store, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models.
$msg->model_type()/$msg->model_type($value)Type:
StringModel to be trained. Supported values are:
* B<search-tuning>: Fine tuning the search system based on data provided.$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::ImportConfig::ImportErrorConfig)The desired location of errors incurred during the data ingestion and training.
$msg->model_id()/$msg->model_id($value)Type:
StringIf not provided, a UUID will be generated.
Google::Cloud::Discoveryengine::V1beta::SearchTuningService::TrainCustomModelResponse
Response of the [TrainCustomModelRequest][google.cloud.discoveryengine.v1beta.TrainCustomModelRequest]. This message is returned by the google.longrunning.Operations.response field.
Inherits from Protobuf::Message.
Accessors
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the data.
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::ImportConfig::ImportErrorConfig)Echoes the destination for the complete errors in the request if set.
$msg->model_status()/$msg->model_status($value)Type:
StringThe trained model status. Possible values are:
* B<bad-data>: The training data quality is bad. * B<no-improvement>: Tuning didn't improve performance. Won't deploy. * B<in-progress>: Model training job creation is in progress. * B<training>: Model is actively training. * B<evaluating>: The model is evaluating trained metrics. * B<indexing>: The model trained metrics are indexing. * B<ready>: The model is ready for serving.$msg->metrics()/$msg->metrics($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::SearchTuningService::TrainCustomModelResponse::MetricsEntry)The metrics of the trained model.
$msg->model_name()/$msg->model_name($value)Type:
StringFully qualified name of the CustomTuningModel.
Google::Cloud::Discoveryengine::V1beta::SearchTuningService::TrainCustomModelMetadata
Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1beta::SearchTuningService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.