NAME

Google::Cloud::Discoveryengine::V1::Engine - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/engine.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1::Engine;

my $msg = Google::Cloud::Discoveryengine::V1::Engine::Engine->new({
    chat_engine_config => $chat_engine_config,
    search_engine_config => $search_engine_config,
    media_recommendation_engine_config => $media_recommendation_engine_config,
    chat_engine_metadata => $chat_engine_metadata,
});

# Read or update a field
my $val = $msg->chat_engine_config();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1::Engine::Engine->parse($bytes);

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

DESCRIPTION

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

Metadata that describes the training and serving parameters of an [Engine][google.cloud.discoveryengine.v1.Engine].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Engine::Engine::ChatEngineConfig)

    Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_CHAT].

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Engine::Engine::SearchEngineConfig)

    Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH].

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Engine::Engine::MediaRecommendationEngineConfig)

    Configurations for the Media Engine. Only applicable on the data stores with [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type] [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_RECOMMENDATION] and [IndustryVertical.MEDIA][google.cloud.discoveryengine.v1.IndustryVertical.MEDIA] vertical.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Engine::Engine::ChatEngineMetadata)

    Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_CHAT].

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

    Type: String

    Immutable. Identifier. 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}/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: String

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

    Optional. The data stores associated with this engine.

    For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store.

    If [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1.Collection] can be associated here.

    Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1.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::V1::SolutionType)

    Required. The solutions of the engine.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1::IndustryVertical)

    Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1.DataStore]: 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::V1::Engine::Engine::CommonConfig)

    Common config spec that specifies the metadata of the engine.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Engine::Engine::KnowledgeGraphConfig)

    Optional. Configurations for the Knowledge Graph. Only applicable if [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH].

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

    Type: Enum (Google::Cloud::Discoveryengine::V1::Engine::AppType)

    Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.

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

    Type: Bool

    Optional. Whether to disable analytics for searches performed on this engine.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Common::SessionConfig)

    Optional. Non-empty default. Session config for the engine.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Engine::Engine::FeaturesEntry)

    Optional. Feature config for the engine to opt in or opt out of features. Supported keys:

    * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction`

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

    Type: Message (Google::Cloud::Discoveryengine::V1::CmekConfigService::CmekConfig)

    Output only. CMEK-related information for the Engine.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1::Engine::ConfigurableBillingApproach)

    Optional. Configuration for configurable billing approach.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Engine::Engine::ModelConfigsEntry)

    Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin.

    When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Logging::ObservabilityConfig)

    Optional. Observability config for the engine.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Engine::Engine::ConnectorTenantInfoEntry)

    Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::AgentGatewaySetting::AgentGatewaySetting)

    Optional. The agent gateway setting for the engine.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1::Engine::MarketplaceAgentVisibility)

    Optional. The visibility of marketplace agents in the agent gallery.

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

    Type: String

    Optional. The emails of the procurement contacts.

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

    Type: String

    Output only. The Agent registry containing the agents, MCP servers and tools associated with this engine. Derived server-side from the linked Agent Gateway's registry.

Enum: Engine::AppType

  • APP_TYPE_UNSPECIFIED => 0

  • APP_TYPE_INTRANET => 1

Enum: Engine::FeatureState

  • FEATURE_STATE_UNSPECIFIED => 0

  • FEATURE_STATE_ON => 1

  • FEATURE_STATE_OFF => 2

Enum: Engine::ConfigurableBillingApproach

  • CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED => 0

  • CONFIGURABLE_BILLING_APPROACH_ENABLED => 1

Enum: Engine::ModelState

  • MODEL_STATE_UNSPECIFIED => 0

  • MODEL_ENABLED => 1

  • MODEL_DISABLED => 2

Enum: Engine::MarketplaceAgentVisibility

  • MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED => 0

  • SHOW_AVAILABLE_AGENTS_ONLY => 1

  • SHOW_AGENTS_ALREADY_INTEGRATED => 2

  • SHOW_AGENTS_ALREADY_PURCHASED => 3

  • SHOW_ALL_AGENTS => 4

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.