Service Client: Google::Cloud::Discoveryengine::V1::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::V1::SearchTuningService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/search_tuning_service.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1::SearchTuningService;

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/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::V1::SearchTuningService::ListCustomModelsRequest

Request message for [SearchTuningService.ListCustomModels][google.cloud.discoveryengine.v1.SearchTuningService.ListCustomModels] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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::V1::SearchTuningService::ListCustomModelsResponse

Response message for [SearchTuningService.ListCustomModels][google.cloud.discoveryengine.v1.SearchTuningService.ListCustomModels] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1::SearchTuningService::TrainCustomModelRequest

Request message for [SearchTuningService.TrainCustomModel][google.cloud.discoveryengine.v1.SearchTuningService.TrainCustomModel] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1::SearchTuningService::TrainCustomModelRequest::GcsTrainingInput)

    Cloud Storage training input.

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

    Type: String

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

    Model 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::V1::ImportConfig::ImportErrorConfig)

    The desired location of errors incurred during the data ingestion and training.

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

    Type: String

    If not provided, a UUID will be generated.

Google::Cloud::Discoveryengine::V1::SearchTuningService::TrainCustomModelResponse

Response of the [TrainCustomModelRequest][google.cloud.discoveryengine.v1.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::V1::ImportConfig::ImportErrorConfig)

    Echoes the destination for the complete errors in the request if set.

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

    Type: String

    The 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::V1::SearchTuningService::TrainCustomModelResponse::MetricsEntry)

    The metrics of the trained model.

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

    Type: String

    Fully qualified name of the CustomTuningModel.

Google::Cloud::Discoveryengine::V1::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

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::SearchTuningService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.