Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::WidgetConfig.
WidgetConfig captures configs at the Widget level.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_settings
def access_settings() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AccessSettings- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AccessSettings) — Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.
#access_settings=
def access_settings=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AccessSettings- value (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AccessSettings) — Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.
- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AccessSettings) — Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties.
#assistant_settings
def assistant_settings() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AssistantSettings- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AssistantSettings) — Optional. Output only. Describes the assistant settings of the widget.
#batch_auth_statuses
def batch_auth_statuses() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::BatchAuthStatus>- (::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::BatchAuthStatus>) — Output only. The batch authorization statuses for the widget's connectors.
#collection_components
def collection_components() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::CollectionComponent>-
(::Array<::Google::Cloud::DiscoveryEngine::V1::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
LookupWidgetConfigis called withview = WITH_AVAILABLE_CONNECTORS, this list is additionally augmented with synthetic placeholder entries for connectors the caller may attach but has not yet attached (seeCollectionComponentfor 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 defaultview, only already-attached connectors are returned (today's behavior).
#config_id
def config_id() -> ::String- (::String) — Output only. Unique obfuscated identifier of a WidgetConfig.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Timestamp the WidgetConfig was created.
#customer_provided_config
def customer_provided_config() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::CustomerProvidedConfig- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::CustomerProvidedConfig) — Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.
#data_store_type
def data_store_type() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreType- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreType) — Output only. The type of the parent data store.
#display_name
def display_name() -> ::String-
(::String) — Required. 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.
#display_name=
def display_name=(value) -> ::String-
value (::String) — Required. 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.
-
(::String) — Required. 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.
#enable_private_knowledge_graph
def enable_private_knowledge_graph() -> ::Boolean- (::Boolean) — Optional. Output only. Whether to enable private knowledge graph.
#enable_result_score
def enable_result_score() -> ::Boolean- (::Boolean) — Whether to show the result score.
#enable_result_score=
def enable_result_score=(value) -> ::Boolean- value (::Boolean) — Whether to show the result score.
- (::Boolean) — Whether to show the result score.
#gemini_bundle
def gemini_bundle() -> ::Boolean- (::Boolean) — Output only. Whether the subscription is gemini bundle or not.
#homepage_setting
def homepage_setting() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::HomepageSetting- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::HomepageSetting) — Optional. Describes the homepage settings of the widget.
#homepage_setting=
def homepage_setting=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::HomepageSetting- value (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::HomepageSetting) — Optional. Describes the homepage settings of the widget.
- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::HomepageSetting) — Optional. Describes the homepage settings of the widget.
#industry_vertical
def industry_vertical() -> ::Google::Cloud::DiscoveryEngine::V1::IndustryVertical- (::Google::Cloud::DiscoveryEngine::V1::IndustryVertical) — Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine.
#llm_enabled
def llm_enabled() -> ::Boolean- (::Boolean) — Output only. Whether LLM is enabled in the corresponding data store.
#minimum_data_term_accepted
def minimum_data_term_accepted() -> ::Boolean- (::Boolean) — Output only. Whether the customer accepted data use terms.
#name
def name() -> ::String-
(::String) — Immutable. 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.
#name=
def name=(value) -> ::String-
value (::String) — Immutable. 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.
-
(::String) — Immutable. 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.
#nodes
def nodes() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::Node>- (::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::Node>) — Output only. The nodes associated with the Widget Config.
#solution_type
def solution_type() -> ::Google::Cloud::DiscoveryEngine::V1::SolutionType- (::Google::Cloud::DiscoveryEngine::V1::SolutionType) — Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.
#solution_type=
def solution_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1::SolutionType- value (::Google::Cloud::DiscoveryEngine::V1::SolutionType) — Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.
- (::Google::Cloud::DiscoveryEngine::V1::SolutionType) — Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.
#ui_branding
def ui_branding() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiBrandingSettings- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiBrandingSettings) — Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.
#ui_branding=
def ui_branding=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiBrandingSettings- value (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiBrandingSettings) — Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.
- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiBrandingSettings) — Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors.
#ui_settings
def ui_settings() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings) — Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.
#ui_settings=
def ui_settings=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings- value (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings) — Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.
- (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings) — Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Timestamp the WidgetConfig was updated.