NAME
Google::Cloud::Discoveryengine::V1::WidgetConfig - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/widget_config.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1::WidgetConfig;
my $msg = Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig->new({
name => $name,
display_name => $display_name,
create_time => $create_time,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/widget_config.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::WidgetConfig::WidgetConfig
WidgetConfig captures configs at the Widget level.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The human readable widget config display name. Used in Discovery UI.
This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp the [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig] was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp the [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig] was updated.
$msg->data_store_type()/$msg->data_store_type($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::WidgetConfig::DataStoreType)Output only. The type of the parent data store.
$msg->config_id()/$msg->config_id($value)Type:
StringOutput only. Unique obfuscated identifier of a [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig].
$msg->solution_type()/$msg->solution_type($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::SolutionType)Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.
$msg->industry_vertical()/$msg->industry_vertical($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::IndustryVertical)Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated [Engine][google.cloud.discoveryengine.v1.Engine].
$msg->llm_enabled()/$msg->llm_enabled($value)Type:
BoolOutput only. Whether LLM is enabled in the corresponding data store.
$msg->enable_result_score()/$msg->enable_result_score($value)Type:
BoolWhether to show the result score.
$msg->minimum_data_term_accepted()/$msg->minimum_data_term_accepted($value)Type:
BoolOutput only. Whether the customer accepted data use terms.
$msg->collection_components()/$msg->collection_components($value)Type:
Message(Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::CollectionComponent)Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.
For SaaS / Business engines, when `LookupWidgetConfig` is called with `view = WITH_AVAILABLE_CONNECTORS`, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (see `CollectionComponent` for the placeholder contract). The frontend can therefore render a unified list of already-attached and available-to-attach sources by iterating this single field. For Enterprise engines and for the default `view`, only already-attached connectors are returned (today's behavior).
$msg->ui_settings()/$msg->ui_settings($value)Type:
Message(Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiSettings)Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.
$msg->access_settings()/$msg->access_settings($value)Type:
Message(Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::AccessSettings)Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.
$msg->ui_branding()/$msg->ui_branding($value)Type:
Message(Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::UiBrandingSettings)Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.
$msg->homepage_setting()/$msg->homepage_setting($value)Type:
Message(Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::HomepageSetting)Optional. Describes the homepage settings of the widget.
$msg->assistant_settings()/$msg->assistant_settings($value)Type:
Message(Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::AssistantSettings)Optional. Output only. Describes the assistant settings of the widget.
$msg->customer_provided_config()/$msg->customer_provided_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::CustomerProvidedConfig)Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.
$msg->enable_private_knowledge_graph()/$msg->enable_private_knowledge_graph($value)Type:
BoolOptional. Output only. Whether to enable private knowledge graph.
$msg->gemini_bundle()/$msg->gemini_bundle($value)Type:
BoolOutput only. Whether the subscription is gemini bundle or not.
$msg->batch_auth_statuses()/$msg->batch_auth_statuses($value)Type:
Message(Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::BatchAuthStatus)Output only. The batch authorization statuses for the widget's connectors.
$msg->nodes()/$msg->nodes($value)Type:
Message(Google::Cloud::Discoveryengine::V1::WidgetConfig::WidgetConfig::Node)Output only. The nodes associated with the Widget Config.
Enum: WidgetConfig::DataStoreType
DATA_STORE_TYPE_UNSPECIFIED=>0SITE_SEARCH=>1STRUCTURED=>2UNSTRUCTURED=>3BLENDED=>4
Enum: WidgetConfig::ResultDisplayType
RESULT_DISPLAY_TYPE_UNSPECIFIED=>0SNIPPET=>1EXTRACTIVE_ANSWER=>2
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::WidgetConfig::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.