Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Engine.
Metadata that describes the training and serving parameters of an Engine.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent_gateway_setting
def agent_gateway_setting() -> ::Google::Cloud::DiscoveryEngine::V1::AgentGatewaySetting- (::Google::Cloud::DiscoveryEngine::V1::AgentGatewaySetting) — Optional. The agent gateway setting for the engine.
#agent_gateway_setting=
def agent_gateway_setting=(value) -> ::Google::Cloud::DiscoveryEngine::V1::AgentGatewaySetting- value (::Google::Cloud::DiscoveryEngine::V1::AgentGatewaySetting) — Optional. The agent gateway setting for the engine.
- (::Google::Cloud::DiscoveryEngine::V1::AgentGatewaySetting) — Optional. The agent gateway setting for the engine.
#app_type
def app_type() -> ::Google::Cloud::DiscoveryEngine::V1::Engine::AppType- (::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.
#app_type=
def app_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Engine::AppType- value (::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.
- (::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.
#associated_agent_registry
def associated_agent_registry() -> ::String- (::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.
#chat_engine_config
def chat_engine_config() -> ::Google::Cloud::DiscoveryEngine::V1::Engine::ChatEngineConfig-
(::Google::Cloud::DiscoveryEngine::V1::Engine::ChatEngineConfig) — Configurations for the Chat Engine. Only applicable if
solution_type is
SOLUTION_TYPE_CHAT.
Note: The following fields are mutually exclusive:
chat_engine_config,search_engine_config,media_recommendation_engine_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#chat_engine_config=
def chat_engine_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Engine::ChatEngineConfig-
value (::Google::Cloud::DiscoveryEngine::V1::Engine::ChatEngineConfig) — Configurations for the Chat Engine. Only applicable if
solution_type is
SOLUTION_TYPE_CHAT.
Note: The following fields are mutually exclusive:
chat_engine_config,search_engine_config,media_recommendation_engine_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DiscoveryEngine::V1::Engine::ChatEngineConfig) — Configurations for the Chat Engine. Only applicable if
solution_type is
SOLUTION_TYPE_CHAT.
Note: The following fields are mutually exclusive:
chat_engine_config,search_engine_config,media_recommendation_engine_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#chat_engine_metadata
def chat_engine_metadata() -> ::Google::Cloud::DiscoveryEngine::V1::Engine::ChatEngineMetadata- (::Google::Cloud::DiscoveryEngine::V1::Engine::ChatEngineMetadata) — Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
#cmek_config
def cmek_config() -> ::Google::Cloud::DiscoveryEngine::V1::CmekConfig- (::Google::Cloud::DiscoveryEngine::V1::CmekConfig) — Output only. CMEK-related information for the Engine.
#common_config
def common_config() -> ::Google::Cloud::DiscoveryEngine::V1::Engine::CommonConfig- (::Google::Cloud::DiscoveryEngine::V1::Engine::CommonConfig) — Common config spec that specifies the metadata of the engine.
#common_config=
def common_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Engine::CommonConfig- value (::Google::Cloud::DiscoveryEngine::V1::Engine::CommonConfig) — Common config spec that specifies the metadata of the engine.
- (::Google::Cloud::DiscoveryEngine::V1::Engine::CommonConfig) — Common config spec that specifies the metadata of the engine.
#configurable_billing_approach
def configurable_billing_approach() -> ::Google::Cloud::DiscoveryEngine::V1::Engine::ConfigurableBillingApproach- (::Google::Cloud::DiscoveryEngine::V1::Engine::ConfigurableBillingApproach) — Optional. Configuration for configurable billing approach.
#configurable_billing_approach=
def configurable_billing_approach=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Engine::ConfigurableBillingApproach- value (::Google::Cloud::DiscoveryEngine::V1::Engine::ConfigurableBillingApproach) — Optional. Configuration for configurable billing approach.
- (::Google::Cloud::DiscoveryEngine::V1::Engine::ConfigurableBillingApproach) — Optional. Configuration for configurable billing approach.
#connector_tenant_info
def connector_tenant_info() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — 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.
#connector_tenant_info=
def connector_tenant_info=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — 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.
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Timestamp the Recommendation Engine was created at.
#data_store_ids
def data_store_ids() -> ::Array<::String>-
(::Array<::String>) — Optional. The data stores associated with this engine.
For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store.
If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here.
Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations.
#data_store_ids=
def data_store_ids=(value) -> ::Array<::String>-
value (::Array<::String>) — Optional. The data stores associated with this engine.
For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store.
If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here.
Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations.
-
(::Array<::String>) — Optional. The data stores associated with this engine.
For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store.
If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here.
Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations.
#disable_analytics
def disable_analytics() -> ::Boolean- (::Boolean) — Optional. Whether to disable analytics for searches performed on this engine.
#disable_analytics=
def disable_analytics=(value) -> ::Boolean- value (::Boolean) — Optional. Whether to disable analytics for searches performed on this engine.
- (::Boolean) — Optional. Whether to disable analytics for searches performed on this engine.
#display_name
def display_name() -> ::String- (::String) — Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
#display_name=
def display_name=(value) -> ::String- value (::String) — Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- (::String) — Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
#features
def features() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::FeatureState}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::FeatureState}) —
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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extraction
#features=
def features=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::FeatureState}-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::FeatureState}) —
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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extraction
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::FeatureState}) —
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-galleryno-code-agent-builderprompt-gallerymodel-selectornotebook-lmpeople-searchpeople-search-org-chartbi-directional-audiospeech-to-textfeedbacksession-sharingpersonalization-memorypersonalization-suggested-highlightsmobile-app-accessdisable-agent-sharingdisable-image-generationdisable-video-generationdisable-onedrive-uploaddisable-talk-to-contentdisable-google-drive-uploaddisable-welcome-emailsdisable-canvascanvas-workspacecanvas-app-builderskillsskill-sharingskill-sharing-without-admin-approvaldisable-projectssobienable-end-user-sharing-with-groupssingle-agent-orchestrationmulti-agent-orchestrationcross-product-intelligenceworkflow-agentsin-app-notificationscode-extraction
#industry_vertical
def industry_vertical() -> ::Google::Cloud::DiscoveryEngine::V1::IndustryVertical- (::Google::Cloud::DiscoveryEngine::V1::IndustryVertical) — Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.
#industry_vertical=
def industry_vertical=(value) -> ::Google::Cloud::DiscoveryEngine::V1::IndustryVertical- value (::Google::Cloud::DiscoveryEngine::V1::IndustryVertical) — Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.
- (::Google::Cloud::DiscoveryEngine::V1::IndustryVertical) — Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.
#knowledge_graph_config
def knowledge_graph_config() -> ::Google::Cloud::DiscoveryEngine::V1::Engine::KnowledgeGraphConfig- (::Google::Cloud::DiscoveryEngine::V1::Engine::KnowledgeGraphConfig) — Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
#knowledge_graph_config=
def knowledge_graph_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Engine::KnowledgeGraphConfig- value (::Google::Cloud::DiscoveryEngine::V1::Engine::KnowledgeGraphConfig) — Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
- (::Google::Cloud::DiscoveryEngine::V1::Engine::KnowledgeGraphConfig) — Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
#marketplace_agent_visibility
def marketplace_agent_visibility() -> ::Google::Cloud::DiscoveryEngine::V1::Engine::MarketplaceAgentVisibility- (::Google::Cloud::DiscoveryEngine::V1::Engine::MarketplaceAgentVisibility) — Optional. The visibility of marketplace agents in the agent gallery.
#marketplace_agent_visibility=
def marketplace_agent_visibility=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Engine::MarketplaceAgentVisibility- value (::Google::Cloud::DiscoveryEngine::V1::Engine::MarketplaceAgentVisibility) — Optional. The visibility of marketplace agents in the agent gallery.
- (::Google::Cloud::DiscoveryEngine::V1::Engine::MarketplaceAgentVisibility) — Optional. The visibility of marketplace agents in the agent gallery.
#media_recommendation_engine_config
def media_recommendation_engine_config() -> ::Google::Cloud::DiscoveryEngine::V1::Engine::MediaRecommendationEngineConfig-
(::Google::Cloud::DiscoveryEngine::V1::Engine::MediaRecommendationEngineConfig) — Configurations for the Media Engine. Only applicable on the data
stores with
solution_type
SOLUTION_TYPE_RECOMMENDATION
and
IndustryVertical.MEDIA
vertical.
Note: The following fields are mutually exclusive:
media_recommendation_engine_config,chat_engine_config,search_engine_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#media_recommendation_engine_config=
def media_recommendation_engine_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Engine::MediaRecommendationEngineConfig-
value (::Google::Cloud::DiscoveryEngine::V1::Engine::MediaRecommendationEngineConfig) — Configurations for the Media Engine. Only applicable on the data
stores with
solution_type
SOLUTION_TYPE_RECOMMENDATION
and
IndustryVertical.MEDIA
vertical.
Note: The following fields are mutually exclusive:
media_recommendation_engine_config,chat_engine_config,search_engine_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DiscoveryEngine::V1::Engine::MediaRecommendationEngineConfig) — Configurations for the Media Engine. Only applicable on the data
stores with
solution_type
SOLUTION_TYPE_RECOMMENDATION
and
IndustryVertical.MEDIA
vertical.
Note: The following fields are mutually exclusive:
media_recommendation_engine_config,chat_engine_config,search_engine_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#model_configs
def model_configs() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::ModelState}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::ModelState}) — 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.
#model_configs=
def model_configs=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::ModelState}-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::ModelState}) — 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.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::ModelState}) — 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.
#name
def name() -> ::String-
(::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.
#name=
def name=(value) -> ::String-
value (::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.
-
(::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.
#observability_config
def observability_config() -> ::Google::Cloud::DiscoveryEngine::V1::ObservabilityConfig- (::Google::Cloud::DiscoveryEngine::V1::ObservabilityConfig) — Optional. Observability config for the engine.
#observability_config=
def observability_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::ObservabilityConfig- value (::Google::Cloud::DiscoveryEngine::V1::ObservabilityConfig) — Optional. Observability config for the engine.
- (::Google::Cloud::DiscoveryEngine::V1::ObservabilityConfig) — Optional. Observability config for the engine.
#procurement_contact_emails
def procurement_contact_emails() -> ::Array<::String>- (::Array<::String>) — Optional. The emails of the procurement contacts.
#procurement_contact_emails=
def procurement_contact_emails=(value) -> ::Array<::String>- value (::Array<::String>) — Optional. The emails of the procurement contacts.
- (::Array<::String>) — Optional. The emails of the procurement contacts.
#search_engine_config
def search_engine_config() -> ::Google::Cloud::DiscoveryEngine::V1::Engine::SearchEngineConfig-
(::Google::Cloud::DiscoveryEngine::V1::Engine::SearchEngineConfig) — Configurations for the Search Engine. Only applicable if
solution_type is
SOLUTION_TYPE_SEARCH.
Note: The following fields are mutually exclusive:
search_engine_config,chat_engine_config,media_recommendation_engine_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#search_engine_config=
def search_engine_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Engine::SearchEngineConfig-
value (::Google::Cloud::DiscoveryEngine::V1::Engine::SearchEngineConfig) — Configurations for the Search Engine. Only applicable if
solution_type is
SOLUTION_TYPE_SEARCH.
Note: The following fields are mutually exclusive:
search_engine_config,chat_engine_config,media_recommendation_engine_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DiscoveryEngine::V1::Engine::SearchEngineConfig) — Configurations for the Search Engine. Only applicable if
solution_type is
SOLUTION_TYPE_SEARCH.
Note: The following fields are mutually exclusive:
search_engine_config,chat_engine_config,media_recommendation_engine_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#session_config
def session_config() -> ::Google::Cloud::DiscoveryEngine::V1::SessionConfig- (::Google::Cloud::DiscoveryEngine::V1::SessionConfig) — Optional. Non-empty default. Session config for the engine.
#session_config=
def session_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::SessionConfig- value (::Google::Cloud::DiscoveryEngine::V1::SessionConfig) — Optional. Non-empty default. Session config for the engine.
- (::Google::Cloud::DiscoveryEngine::V1::SessionConfig) — Optional. Non-empty default. Session config for the engine.
#solution_type
def solution_type() -> ::Google::Cloud::DiscoveryEngine::V1::SolutionType- (::Google::Cloud::DiscoveryEngine::V1::SolutionType) — Required. The solutions of the engine.
#solution_type=
def solution_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1::SolutionType- value (::Google::Cloud::DiscoveryEngine::V1::SolutionType) — Required. The solutions of the engine.
- (::Google::Cloud::DiscoveryEngine::V1::SolutionType) — Required. The solutions of the engine.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Timestamp the Recommendation Engine was last updated.