NAME
Google::Cloud::Discoveryengine::V1alpha::Engine - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1alpha/engine.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1alpha::Engine;
my $msg = Google::Cloud::Discoveryengine::V1alpha::Engine::Engine->new({
similar_documents_config => $similar_documents_config,
chat_engine_config => $chat_engine_config,
search_engine_config => $search_engine_config,
media_recommendation_engine_config => $media_recommendation_engine_config,
});
# Read or update a field
my $val = $msg->similar_documents_config();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1alpha::Engine::Engine->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1alpha/engine.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::V1alpha::Engine::Engine
Metadata that describes the training and serving parameters of an [Engine][google.cloud.discoveryengine.v1alpha.Engine].
Inherits from Protobuf::Message.
Accessors
$msg->similar_documents_config()/$msg->similar_documents_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::Engine::Engine::SimilarDocumentsEngineConfig)Additional config specs for a `similar-items` engine.
$msg->chat_engine_config()/$msg->chat_engine_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::Engine::Engine::ChatEngineConfig)Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
$msg->search_engine_config()/$msg->search_engine_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::Engine::Engine::SearchEngineConfig)Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH].
$msg->media_recommendation_engine_config()/$msg->media_recommendation_engine_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::Engine::Engine::MediaRecommendationEngineConfig)Configurations for the Media Engine. Only applicable on the data stores with [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION] and [IndustryVertical.MEDIA][google.cloud.discoveryengine.v1alpha.IndustryVertical.MEDIA] vertical.
$msg->recommendation_metadata()/$msg->recommendation_metadata($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::Engine::Engine::RecommendationMetadata)Output only. Additional information of a recommendation engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
$msg->chat_engine_metadata()/$msg->chat_engine_metadata($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::Engine::Engine::ChatEngineMetadata)Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT].
$msg->name()/$msg->name($value)Type:
StringImmutable. The fully qualified resource name of the engine.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp the Recommendation Engine was created at.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp the Recommendation Engine was last updated.
$msg->data_store_ids()/$msg->data_store_ids($value)Type:
StringThe data stores associated with this engine.
For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store.
If [solution_type][google.cloud.discoveryengine.v1alpha.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1alpha.Collection] can be associated here.
Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1alpha.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
$msg->solution_type()/$msg->solution_type($value)Type:
Enum(Google::Cloud::Discoveryengine::V1alpha::SolutionType)Required. The solutions of the engine.
$msg->industry_vertical()/$msg->industry_vertical($value)Type:
Enum(Google::Cloud::Discoveryengine::V1alpha::IndustryVertical)The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.
$msg->common_config()/$msg->common_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::Engine::Engine::CommonConfig)Common config spec that specifies the metadata of the engine.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1alpha::Engine::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.