Represents a WidgetConfig.
To get more information about WidgetConfig, see:
Example Usage
Discoveryengine Widgetconfig Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const basic = new gcp.discoveryengine.DataStore("basic", {
location: "global",
dataStoreId: "data-store-id",
displayName: "tf-test-datastore",
industryVertical: "GENERIC",
contentConfig: "NO_CONTENT",
solutionTypes: ["SOLUTION_TYPE_SEARCH"],
createAdvancedSiteSearch: false,
});
const basicSearchEngine = new gcp.discoveryengine.SearchEngine("basic", {
engineId: "engine-id",
collectionId: "default_collection",
location: basic.location,
displayName: "tf-test-engine",
dataStoreIds: [basic.dataStoreId],
industryVertical: "GENERIC",
appType: "APP_TYPE_INTRANET",
searchEngineConfig: {},
});
const basicWidgetConfig = new gcp.discoveryengine.WidgetConfig("basic", {
location: basicSearchEngine.location,
engineId: basicSearchEngine.engineId,
accessSettings: {
enableWebApp: true,
workforceIdentityPoolProvider: "locations/global/workforcePools/workforce-pool-id/providers/workforce-pool-provider",
},
uiSettings: {
interactionType: "SEARCH_WITH_ANSWER",
enableAutocomplete: true,
enableQualityFeedback: true,
generativeAnswerConfig: {
resultCount: 5,
},
},
});
import pulumi
import pulumi_gcp as gcp
basic = gcp.discoveryengine.DataStore("basic",
location="global",
data_store_id="data-store-id",
display_name="tf-test-datastore",
industry_vertical="GENERIC",
content_config="NO_CONTENT",
solution_types=["SOLUTION_TYPE_SEARCH"],
create_advanced_site_search=False)
basic_search_engine = gcp.discoveryengine.SearchEngine("basic",
engine_id="engine-id",
collection_id="default_collection",
location=basic.location,
display_name="tf-test-engine",
data_store_ids=[basic.data_store_id],
industry_vertical="GENERIC",
app_type="APP_TYPE_INTRANET",
search_engine_config={})
basic_widget_config = gcp.discoveryengine.WidgetConfig("basic",
location=basic_search_engine.location,
engine_id=basic_search_engine.engine_id,
access_settings={
"enable_web_app": True,
"workforce_identity_pool_provider": "locations/global/workforcePools/workforce-pool-id/providers/workforce-pool-provider",
},
ui_settings={
"interaction_type": "SEARCH_WITH_ANSWER",
"enable_autocomplete": True,
"enable_quality_feedback": True,
"generative_answer_config": {
"result_count": 5,
},
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
basic, err := discoveryengine.NewDataStore(ctx, "basic", &discoveryengine.DataStoreArgs{
Location: pulumi.String("global"),
DataStoreId: pulumi.String("data-store-id"),
DisplayName: pulumi.String("tf-test-datastore"),
IndustryVertical: pulumi.String("GENERIC"),
ContentConfig: pulumi.String("NO_CONTENT"),
SolutionTypes: pulumi.StringArray{
pulumi.String("SOLUTION_TYPE_SEARCH"),
},
CreateAdvancedSiteSearch: pulumi.Bool(false),
})
if err != nil {
return err
}
basicSearchEngine, err := discoveryengine.NewSearchEngine(ctx, "basic", &discoveryengine.SearchEngineArgs{
EngineId: pulumi.String("engine-id"),
CollectionId: pulumi.String("default_collection"),
Location: basic.Location,
DisplayName: pulumi.String("tf-test-engine"),
DataStoreIds: pulumi.StringArray{
basic.DataStoreId,
},
IndustryVertical: pulumi.String("GENERIC"),
AppType: pulumi.String("APP_TYPE_INTRANET"),
SearchEngineConfig: &discoveryengine.SearchEngineSearchEngineConfigArgs{},
})
if err != nil {
return err
}
_, err = discoveryengine.NewWidgetConfig(ctx, "basic", &discoveryengine.WidgetConfigArgs{
Location: basicSearchEngine.Location,
EngineId: basicSearchEngine.EngineId,
AccessSettings: &discoveryengine.WidgetConfigAccessSettingsArgs{
EnableWebApp: pulumi.Bool(true),
WorkforceIdentityPoolProvider: pulumi.String("locations/global/workforcePools/workforce-pool-id/providers/workforce-pool-provider"),
},
UiSettings: &discoveryengine.WidgetConfigUiSettingsArgs{
InteractionType: pulumi.String("SEARCH_WITH_ANSWER"),
EnableAutocomplete: pulumi.Bool(true),
EnableQualityFeedback: pulumi.Bool(true),
GenerativeAnswerConfig: &discoveryengine.WidgetConfigUiSettingsGenerativeAnswerConfigArgs{
ResultCount: pulumi.Int(5),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var basic = new Gcp.DiscoveryEngine.DataStore("basic", new()
{
Location = "global",
DataStoreId = "data-store-id",
DisplayName = "tf-test-datastore",
IndustryVertical = "GENERIC",
ContentConfig = "NO_CONTENT",
SolutionTypes = new[]
{
"SOLUTION_TYPE_SEARCH",
},
CreateAdvancedSiteSearch = false,
});
var basicSearchEngine = new Gcp.DiscoveryEngine.SearchEngine("basic", new()
{
EngineId = "engine-id",
CollectionId = "default_collection",
Location = basic.Location,
DisplayName = "tf-test-engine",
DataStoreIds = new[]
{
basic.DataStoreId,
},
IndustryVertical = "GENERIC",
AppType = "APP_TYPE_INTRANET",
SearchEngineConfig = null,
});
var basicWidgetConfig = new Gcp.DiscoveryEngine.WidgetConfig("basic", new()
{
Location = basicSearchEngine.Location,
EngineId = basicSearchEngine.EngineId,
AccessSettings = new Gcp.DiscoveryEngine.Inputs.WidgetConfigAccessSettingsArgs
{
EnableWebApp = true,
WorkforceIdentityPoolProvider = "locations/global/workforcePools/workforce-pool-id/providers/workforce-pool-provider",
},
UiSettings = new Gcp.DiscoveryEngine.Inputs.WidgetConfigUiSettingsArgs
{
InteractionType = "SEARCH_WITH_ANSWER",
EnableAutocomplete = true,
EnableQualityFeedback = true,
GenerativeAnswerConfig = new Gcp.DiscoveryEngine.Inputs.WidgetConfigUiSettingsGenerativeAnswerConfigArgs
{
ResultCount = 5,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.discoveryengine.DataStore;
import com.pulumi.gcp.discoveryengine.DataStoreArgs;
import com.pulumi.gcp.discoveryengine.SearchEngine;
import com.pulumi.gcp.discoveryengine.SearchEngineArgs;
import com.pulumi.gcp.discoveryengine.inputs.SearchEngineSearchEngineConfigArgs;
import com.pulumi.gcp.discoveryengine.WidgetConfig;
import com.pulumi.gcp.discoveryengine.WidgetConfigArgs;
import com.pulumi.gcp.discoveryengine.inputs.WidgetConfigAccessSettingsArgs;
import com.pulumi.gcp.discoveryengine.inputs.WidgetConfigUiSettingsArgs;
import com.pulumi.gcp.discoveryengine.inputs.WidgetConfigUiSettingsGenerativeAnswerConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var basic = new DataStore("basic", DataStoreArgs.builder()
.location("global")
.dataStoreId("data-store-id")
.displayName("tf-test-datastore")
.industryVertical("GENERIC")
.contentConfig("NO_CONTENT")
.solutionTypes("SOLUTION_TYPE_SEARCH")
.createAdvancedSiteSearch(false)
.build());
var basicSearchEngine = new SearchEngine("basicSearchEngine", SearchEngineArgs.builder()
.engineId("engine-id")
.collectionId("default_collection")
.location(basic.location())
.displayName("tf-test-engine")
.dataStoreIds(basic.dataStoreId())
.industryVertical("GENERIC")
.appType("APP_TYPE_INTRANET")
.searchEngineConfig(SearchEngineSearchEngineConfigArgs.builder()
.build())
.build());
var basicWidgetConfig = new WidgetConfig("basicWidgetConfig", WidgetConfigArgs.builder()
.location(basicSearchEngine.location())
.engineId(basicSearchEngine.engineId())
.accessSettings(WidgetConfigAccessSettingsArgs.builder()
.enableWebApp(true)
.workforceIdentityPoolProvider("locations/global/workforcePools/workforce-pool-id/providers/workforce-pool-provider")
.build())
.uiSettings(WidgetConfigUiSettingsArgs.builder()
.interactionType("SEARCH_WITH_ANSWER")
.enableAutocomplete(true)
.enableQualityFeedback(true)
.generativeAnswerConfig(WidgetConfigUiSettingsGenerativeAnswerConfigArgs.builder()
.resultCount(5)
.build())
.build())
.build());
}
}
resources:
basic:
type: gcp:discoveryengine:DataStore
properties:
location: global
dataStoreId: data-store-id
displayName: tf-test-datastore
industryVertical: GENERIC
contentConfig: NO_CONTENT
solutionTypes:
- SOLUTION_TYPE_SEARCH
createAdvancedSiteSearch: false
basicSearchEngine:
type: gcp:discoveryengine:SearchEngine
name: basic
properties:
engineId: engine-id
collectionId: default_collection
location: ${basic.location}
displayName: tf-test-engine
dataStoreIds:
- ${basic.dataStoreId}
industryVertical: GENERIC
appType: APP_TYPE_INTRANET
searchEngineConfig: {}
basicWidgetConfig:
type: gcp:discoveryengine:WidgetConfig
name: basic
properties:
location: ${basicSearchEngine.location}
engineId: ${basicSearchEngine.engineId}
accessSettings:
enableWebApp: true
workforceIdentityPoolProvider: locations/global/workforcePools/workforce-pool-id/providers/workforce-pool-provider
uiSettings:
interactionType: SEARCH_WITH_ANSWER
enableAutocomplete: true
enableQualityFeedback: true
generativeAnswerConfig:
resultCount: 5
Create WidgetConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WidgetConfig(name: string, args: WidgetConfigArgs, opts?: CustomResourceOptions);@overload
def WidgetConfig(resource_name: str,
args: WidgetConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WidgetConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
engine_id: Optional[str] = None,
location: Optional[str] = None,
access_settings: Optional[WidgetConfigAccessSettingsArgs] = None,
collection_id: Optional[str] = None,
homepage_setting: Optional[WidgetConfigHomepageSettingArgs] = None,
project: Optional[str] = None,
ui_branding: Optional[WidgetConfigUiBrandingArgs] = None,
ui_settings: Optional[WidgetConfigUiSettingsArgs] = None,
widget_config_id: Optional[str] = None)func NewWidgetConfig(ctx *Context, name string, args WidgetConfigArgs, opts ...ResourceOption) (*WidgetConfig, error)public WidgetConfig(string name, WidgetConfigArgs args, CustomResourceOptions? opts = null)
public WidgetConfig(String name, WidgetConfigArgs args)
public WidgetConfig(String name, WidgetConfigArgs args, CustomResourceOptions options)
type: gcp:discoveryengine:WidgetConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WidgetConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WidgetConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WidgetConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WidgetConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WidgetConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var widgetConfigResource = new Gcp.DiscoveryEngine.WidgetConfig("widgetConfigResource", new()
{
EngineId = "string",
Location = "string",
AccessSettings = new Gcp.DiscoveryEngine.Inputs.WidgetConfigAccessSettingsArgs
{
AllowPublicAccess = false,
AllowlistedDomains = new[]
{
"string",
},
EnableWebApp = false,
LanguageCode = "string",
WorkforceIdentityPoolProvider = "string",
},
CollectionId = "string",
HomepageSetting = new Gcp.DiscoveryEngine.Inputs.WidgetConfigHomepageSettingArgs
{
Shortcuts = new[]
{
new Gcp.DiscoveryEngine.Inputs.WidgetConfigHomepageSettingShortcutArgs
{
DestinationUri = "string",
Icon = new Gcp.DiscoveryEngine.Inputs.WidgetConfigHomepageSettingShortcutIconArgs
{
Url = "string",
},
Title = "string",
},
},
},
Project = "string",
UiBranding = new Gcp.DiscoveryEngine.Inputs.WidgetConfigUiBrandingArgs
{
Logo = new Gcp.DiscoveryEngine.Inputs.WidgetConfigUiBrandingLogoArgs
{
Url = "string",
},
},
UiSettings = new Gcp.DiscoveryEngine.Inputs.WidgetConfigUiSettingsArgs
{
DataStoreUiConfigs = new[]
{
new Gcp.DiscoveryEngine.Inputs.WidgetConfigUiSettingsDataStoreUiConfigArgs
{
FacetFields = new[]
{
new Gcp.DiscoveryEngine.Inputs.WidgetConfigUiSettingsDataStoreUiConfigFacetFieldArgs
{
Field = "string",
DisplayName = "string",
},
},
FieldsUiComponentsMaps = new[]
{
new Gcp.DiscoveryEngine.Inputs.WidgetConfigUiSettingsDataStoreUiConfigFieldsUiComponentsMapArgs
{
Field = "string",
UiComponent = "string",
DeviceVisibilities = new[]
{
"string",
},
DisplayTemplate = "string",
},
},
Name = "string",
},
},
DefaultSearchRequestOrderBy = "string",
DisableUserEventsCollection = false,
EnableAutocomplete = false,
EnableCreateAgentButton = false,
EnablePeopleSearch = false,
EnableQualityFeedback = false,
EnableSafeSearch = false,
EnableSearchAsYouType = false,
EnableVisualContentSummary = false,
GenerativeAnswerConfig = new Gcp.DiscoveryEngine.Inputs.WidgetConfigUiSettingsGenerativeAnswerConfigArgs
{
DisableRelatedQuestions = false,
IgnoreAdversarialQuery = false,
IgnoreLowRelevantContent = false,
IgnoreNonAnswerSeekingQuery = false,
ImageSource = "string",
LanguageCode = "string",
MaxRephraseSteps = 0,
ModelPromptPreamble = "string",
ModelVersion = "string",
ResultCount = 0,
},
InteractionType = "string",
ResultDescriptionType = "string",
},
WidgetConfigId = "string",
});
example, err := discoveryengine.NewWidgetConfig(ctx, "widgetConfigResource", &discoveryengine.WidgetConfigArgs{
EngineId: pulumi.String("string"),
Location: pulumi.String("string"),
AccessSettings: &discoveryengine.WidgetConfigAccessSettingsArgs{
AllowPublicAccess: pulumi.Bool(false),
AllowlistedDomains: pulumi.StringArray{
pulumi.String("string"),
},
EnableWebApp: pulumi.Bool(false),
LanguageCode: pulumi.String("string"),
WorkforceIdentityPoolProvider: pulumi.String("string"),
},
CollectionId: pulumi.String("string"),
HomepageSetting: &discoveryengine.WidgetConfigHomepageSettingArgs{
Shortcuts: discoveryengine.WidgetConfigHomepageSettingShortcutArray{
&discoveryengine.WidgetConfigHomepageSettingShortcutArgs{
DestinationUri: pulumi.String("string"),
Icon: &discoveryengine.WidgetConfigHomepageSettingShortcutIconArgs{
Url: pulumi.String("string"),
},
Title: pulumi.String("string"),
},
},
},
Project: pulumi.String("string"),
UiBranding: &discoveryengine.WidgetConfigUiBrandingArgs{
Logo: &discoveryengine.WidgetConfigUiBrandingLogoArgs{
Url: pulumi.String("string"),
},
},
UiSettings: &discoveryengine.WidgetConfigUiSettingsArgs{
DataStoreUiConfigs: discoveryengine.WidgetConfigUiSettingsDataStoreUiConfigArray{
&discoveryengine.WidgetConfigUiSettingsDataStoreUiConfigArgs{
FacetFields: discoveryengine.WidgetConfigUiSettingsDataStoreUiConfigFacetFieldArray{
&discoveryengine.WidgetConfigUiSettingsDataStoreUiConfigFacetFieldArgs{
Field: pulumi.String("string"),
DisplayName: pulumi.String("string"),
},
},
FieldsUiComponentsMaps: discoveryengine.WidgetConfigUiSettingsDataStoreUiConfigFieldsUiComponentsMapArray{
&discoveryengine.WidgetConfigUiSettingsDataStoreUiConfigFieldsUiComponentsMapArgs{
Field: pulumi.String("string"),
UiComponent: pulumi.String("string"),
DeviceVisibilities: pulumi.StringArray{
pulumi.String("string"),
},
DisplayTemplate: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
},
},
DefaultSearchRequestOrderBy: pulumi.String("string"),
DisableUserEventsCollection: pulumi.Bool(false),
EnableAutocomplete: pulumi.Bool(false),
EnableCreateAgentButton: pulumi.Bool(false),
EnablePeopleSearch: pulumi.Bool(false),
EnableQualityFeedback: pulumi.Bool(false),
EnableSafeSearch: pulumi.Bool(false),
EnableSearchAsYouType: pulumi.Bool(false),
EnableVisualContentSummary: pulumi.Bool(false),
GenerativeAnswerConfig: &discoveryengine.WidgetConfigUiSettingsGenerativeAnswerConfigArgs{
DisableRelatedQuestions: pulumi.Bool(false),
IgnoreAdversarialQuery: pulumi.Bool(false),
IgnoreLowRelevantContent: pulumi.Bool(false),
IgnoreNonAnswerSeekingQuery: pulumi.Bool(false),
ImageSource: pulumi.String("string"),
LanguageCode: pulumi.String("string"),
MaxRephraseSteps: pulumi.Int(0),
ModelPromptPreamble: pulumi.String("string"),
ModelVersion: pulumi.String("string"),
ResultCount: pulumi.Int(0),
},
InteractionType: pulumi.String("string"),
ResultDescriptionType: pulumi.String("string"),
},
WidgetConfigId: pulumi.String("string"),
})
var widgetConfigResource = new WidgetConfig("widgetConfigResource", WidgetConfigArgs.builder()
.engineId("string")
.location("string")
.accessSettings(WidgetConfigAccessSettingsArgs.builder()
.allowPublicAccess(false)
.allowlistedDomains("string")
.enableWebApp(false)
.languageCode("string")
.workforceIdentityPoolProvider("string")
.build())
.collectionId("string")
.homepageSetting(WidgetConfigHomepageSettingArgs.builder()
.shortcuts(WidgetConfigHomepageSettingShortcutArgs.builder()
.destinationUri("string")
.icon(WidgetConfigHomepageSettingShortcutIconArgs.builder()
.url("string")
.build())
.title("string")
.build())
.build())
.project("string")
.uiBranding(WidgetConfigUiBrandingArgs.builder()
.logo(WidgetConfigUiBrandingLogoArgs.builder()
.url("string")
.build())
.build())
.uiSettings(WidgetConfigUiSettingsArgs.builder()
.dataStoreUiConfigs(WidgetConfigUiSettingsDataStoreUiConfigArgs.builder()
.facetFields(WidgetConfigUiSettingsDataStoreUiConfigFacetFieldArgs.builder()
.field("string")
.displayName("string")
.build())
.fieldsUiComponentsMaps(WidgetConfigUiSettingsDataStoreUiConfigFieldsUiComponentsMapArgs.builder()
.field("string")
.uiComponent("string")
.deviceVisibilities("string")
.displayTemplate("string")
.build())
.name("string")
.build())
.defaultSearchRequestOrderBy("string")
.disableUserEventsCollection(false)
.enableAutocomplete(false)
.enableCreateAgentButton(false)
.enablePeopleSearch(false)
.enableQualityFeedback(false)
.enableSafeSearch(false)
.enableSearchAsYouType(false)
.enableVisualContentSummary(false)
.generativeAnswerConfig(WidgetConfigUiSettingsGenerativeAnswerConfigArgs.builder()
.disableRelatedQuestions(false)
.ignoreAdversarialQuery(false)
.ignoreLowRelevantContent(false)
.ignoreNonAnswerSeekingQuery(false)
.imageSource("string")
.languageCode("string")
.maxRephraseSteps(0)
.modelPromptPreamble("string")
.modelVersion("string")
.resultCount(0)
.build())
.interactionType("string")
.resultDescriptionType("string")
.build())
.widgetConfigId("string")
.build());
widget_config_resource = gcp.discoveryengine.WidgetConfig("widgetConfigResource",
engine_id="string",
location="string",
access_settings={
"allow_public_access": False,
"allowlisted_domains": ["string"],
"enable_web_app": False,
"language_code": "string",
"workforce_identity_pool_provider": "string",
},
collection_id="string",
homepage_setting={
"shortcuts": [{
"destination_uri": "string",
"icon": {
"url": "string",
},
"title": "string",
}],
},
project="string",
ui_branding={
"logo": {
"url": "string",
},
},
ui_settings={
"data_store_ui_configs": [{
"facet_fields": [{
"field": "string",
"display_name": "string",
}],
"fields_ui_components_maps": [{
"field": "string",
"ui_component": "string",
"device_visibilities": ["string"],
"display_template": "string",
}],
"name": "string",
}],
"default_search_request_order_by": "string",
"disable_user_events_collection": False,
"enable_autocomplete": False,
"enable_create_agent_button": False,
"enable_people_search": False,
"enable_quality_feedback": False,
"enable_safe_search": False,
"enable_search_as_you_type": False,
"enable_visual_content_summary": False,
"generative_answer_config": {
"disable_related_questions": False,
"ignore_adversarial_query": False,
"ignore_low_relevant_content": False,
"ignore_non_answer_seeking_query": False,
"image_source": "string",
"language_code": "string",
"max_rephrase_steps": 0,
"model_prompt_preamble": "string",
"model_version": "string",
"result_count": 0,
},
"interaction_type": "string",
"result_description_type": "string",
},
widget_config_id="string")
const widgetConfigResource = new gcp.discoveryengine.WidgetConfig("widgetConfigResource", {
engineId: "string",
location: "string",
accessSettings: {
allowPublicAccess: false,
allowlistedDomains: ["string"],
enableWebApp: false,
languageCode: "string",
workforceIdentityPoolProvider: "string",
},
collectionId: "string",
homepageSetting: {
shortcuts: [{
destinationUri: "string",
icon: {
url: "string",
},
title: "string",
}],
},
project: "string",
uiBranding: {
logo: {
url: "string",
},
},
uiSettings: {
dataStoreUiConfigs: [{
facetFields: [{
field: "string",
displayName: "string",
}],
fieldsUiComponentsMaps: [{
field: "string",
uiComponent: "string",
deviceVisibilities: ["string"],
displayTemplate: "string",
}],
name: "string",
}],
defaultSearchRequestOrderBy: "string",
disableUserEventsCollection: false,
enableAutocomplete: false,
enableCreateAgentButton: false,
enablePeopleSearch: false,
enableQualityFeedback: false,
enableSafeSearch: false,
enableSearchAsYouType: false,
enableVisualContentSummary: false,
generativeAnswerConfig: {
disableRelatedQuestions: false,
ignoreAdversarialQuery: false,
ignoreLowRelevantContent: false,
ignoreNonAnswerSeekingQuery: false,
imageSource: "string",
languageCode: "string",
maxRephraseSteps: 0,
modelPromptPreamble: "string",
modelVersion: "string",
resultCount: 0,
},
interactionType: "string",
resultDescriptionType: "string",
},
widgetConfigId: "string",
});
type: gcp:discoveryengine:WidgetConfig
properties:
accessSettings:
allowPublicAccess: false
allowlistedDomains:
- string
enableWebApp: false
languageCode: string
workforceIdentityPoolProvider: string
collectionId: string
engineId: string
homepageSetting:
shortcuts:
- destinationUri: string
icon:
url: string
title: string
location: string
project: string
uiBranding:
logo:
url: string
uiSettings:
dataStoreUiConfigs:
- facetFields:
- displayName: string
field: string
fieldsUiComponentsMaps:
- deviceVisibilities:
- string
displayTemplate: string
field: string
uiComponent: string
name: string
defaultSearchRequestOrderBy: string
disableUserEventsCollection: false
enableAutocomplete: false
enableCreateAgentButton: false
enablePeopleSearch: false
enableQualityFeedback: false
enableSafeSearch: false
enableSearchAsYouType: false
enableVisualContentSummary: false
generativeAnswerConfig:
disableRelatedQuestions: false
ignoreAdversarialQuery: false
ignoreLowRelevantContent: false
ignoreNonAnswerSeekingQuery: false
imageSource: string
languageCode: string
maxRephraseSteps: 0
modelPromptPreamble: string
modelVersion: string
resultCount: 0
interactionType: string
resultDescriptionType: string
widgetConfigId: string
WidgetConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WidgetConfig resource accepts the following input properties:
- Engine
Id string - The engine ID.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Access
Settings WidgetConfig Access Settings - Describes widget access settings. Structure is documented below.
- Collection
Id string - The collection ID.
- Homepage
Setting WidgetConfig Homepage Setting - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Ui
Branding WidgetConfig Ui Branding - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- Ui
Settings WidgetConfig Ui Settings - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- Widget
Config stringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- Engine
Id string - The engine ID.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Access
Settings WidgetConfig Access Settings Args - Describes widget access settings. Structure is documented below.
- Collection
Id string - The collection ID.
- Homepage
Setting WidgetConfig Homepage Setting Args - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Ui
Branding WidgetConfig Ui Branding Args - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- Ui
Settings WidgetConfig Ui Settings Args - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- Widget
Config stringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- engine
Id String - The engine ID.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- access
Settings WidgetConfig Access Settings - Describes widget access settings. Structure is documented below.
- collection
Id String - The collection ID.
- homepage
Setting WidgetConfig Homepage Setting - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ui
Branding WidgetConfig Ui Branding - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- ui
Settings WidgetConfig Ui Settings - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- widget
Config StringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- engine
Id string - The engine ID.
- location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- access
Settings WidgetConfig Access Settings - Describes widget access settings. Structure is documented below.
- collection
Id string - The collection ID.
- homepage
Setting WidgetConfig Homepage Setting - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ui
Branding WidgetConfig Ui Branding - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- ui
Settings WidgetConfig Ui Settings - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- widget
Config stringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- engine_
id str - The engine ID.
- location str
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- access_
settings WidgetConfig Access Settings Args - Describes widget access settings. Structure is documented below.
- collection_
id str - The collection ID.
- homepage_
setting WidgetConfig Homepage Setting Args - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ui_
branding WidgetConfig Ui Branding Args - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- ui_
settings WidgetConfig Ui Settings Args - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- widget_
config_ strid - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- engine
Id String - The engine ID.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- access
Settings Property Map - Describes widget access settings. Structure is documented below.
- collection
Id String - The collection ID.
- homepage
Setting Property Map - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ui
Branding Property Map - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- ui
Settings Property Map - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- widget
Config StringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
Outputs
All input properties are implicitly available as output properties. Additionally, the WidgetConfig resource produces the following output properties:
Look up Existing WidgetConfig Resource
Get an existing WidgetConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WidgetConfigState, opts?: CustomResourceOptions): WidgetConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_settings: Optional[WidgetConfigAccessSettingsArgs] = None,
collection_id: Optional[str] = None,
engine_id: Optional[str] = None,
homepage_setting: Optional[WidgetConfigHomepageSettingArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
ui_branding: Optional[WidgetConfigUiBrandingArgs] = None,
ui_settings: Optional[WidgetConfigUiSettingsArgs] = None,
widget_config_id: Optional[str] = None) -> WidgetConfigfunc GetWidgetConfig(ctx *Context, name string, id IDInput, state *WidgetConfigState, opts ...ResourceOption) (*WidgetConfig, error)public static WidgetConfig Get(string name, Input<string> id, WidgetConfigState? state, CustomResourceOptions? opts = null)public static WidgetConfig get(String name, Output<String> id, WidgetConfigState state, CustomResourceOptions options)resources: _: type: gcp:discoveryengine:WidgetConfig get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Settings WidgetConfig Access Settings - Describes widget access settings. Structure is documented below.
- Collection
Id string - The collection ID.
- Engine
Id string - The engine ID.
- Homepage
Setting WidgetConfig Homepage Setting - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Name string
- The full resource name of the widget config. Format:
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/widgetConfigs/{widget_config_id}. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Ui
Branding WidgetConfig Ui Branding - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- Ui
Settings WidgetConfig Ui Settings - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- Widget
Config stringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- Access
Settings WidgetConfig Access Settings Args - Describes widget access settings. Structure is documented below.
- Collection
Id string - The collection ID.
- Engine
Id string - The engine ID.
- Homepage
Setting WidgetConfig Homepage Setting Args - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Name string
- The full resource name of the widget config. Format:
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/widgetConfigs/{widget_config_id}. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Ui
Branding WidgetConfig Ui Branding Args - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- Ui
Settings WidgetConfig Ui Settings Args - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- Widget
Config stringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- access
Settings WidgetConfig Access Settings - Describes widget access settings. Structure is documented below.
- collection
Id String - The collection ID.
- engine
Id String - The engine ID.
- homepage
Setting WidgetConfig Homepage Setting - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name String
- The full resource name of the widget config. Format:
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/widgetConfigs/{widget_config_id}. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ui
Branding WidgetConfig Ui Branding - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- ui
Settings WidgetConfig Ui Settings - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- widget
Config StringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- access
Settings WidgetConfig Access Settings - Describes widget access settings. Structure is documented below.
- collection
Id string - The collection ID.
- engine
Id string - The engine ID.
- homepage
Setting WidgetConfig Homepage Setting - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name string
- The full resource name of the widget config. Format:
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/widgetConfigs/{widget_config_id}. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ui
Branding WidgetConfig Ui Branding - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- ui
Settings WidgetConfig Ui Settings - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- widget
Config stringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- access_
settings WidgetConfig Access Settings Args - Describes widget access settings. Structure is documented below.
- collection_
id str - The collection ID.
- engine_
id str - The engine ID.
- homepage_
setting WidgetConfig Homepage Setting Args - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- location str
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name str
- The full resource name of the widget config. Format:
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/widgetConfigs/{widget_config_id}. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ui_
branding WidgetConfig Ui Branding Args - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- ui_
settings WidgetConfig Ui Settings Args - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- widget_
config_ strid - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
- access
Settings Property Map - Describes widget access settings. Structure is documented below.
- collection
Id String - The collection ID.
- engine
Id String - The engine ID.
- homepage
Setting Property Map - Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts. Structure is documented below.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name String
- The full resource name of the widget config. Format:
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/widgetConfigs/{widget_config_id}. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ui
Branding Property Map - Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors. Structure is documented below.
- ui
Settings Property Map - Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page. Structure is documented below.
- widget
Config StringId - The unique ID to use for the WidgetConfig. Currently only accepts <span pulumi-lang-nodejs=""defaultSearchWidgetConfig"" pulumi-lang-dotnet=""DefaultSearchWidgetConfig"" pulumi-lang-go=""defaultSearchWidgetConfig"" pulumi-lang-python=""default_search_widget_config"" pulumi-lang-yaml=""defaultSearchWidgetConfig"" pulumi-lang-java=""defaultSearchWidgetConfig"">"default_search_widget_config".
Supporting Types
WidgetConfigAccessSettings, WidgetConfigAccessSettingsArgs
- Allow
Public boolAccess - Whether public unauthenticated access is allowed.
- Allowlisted
Domains List<string> - List of domains that are allowed to integrate the search widget.
- Enable
Web boolApp - Whether web app access is enabled.
- Language
Code string - Language code for user interface. Use language tags defined by BCP47. If unset, the default language code is "en-US".
- Workforce
Identity stringPool Provider - The workforce identity pool provider used to access the widget.
- Allow
Public boolAccess - Whether public unauthenticated access is allowed.
- Allowlisted
Domains []string - List of domains that are allowed to integrate the search widget.
- Enable
Web boolApp - Whether web app access is enabled.
- Language
Code string - Language code for user interface. Use language tags defined by BCP47. If unset, the default language code is "en-US".
- Workforce
Identity stringPool Provider - The workforce identity pool provider used to access the widget.
- allow
Public BooleanAccess - Whether public unauthenticated access is allowed.
- allowlisted
Domains List<String> - List of domains that are allowed to integrate the search widget.
- enable
Web BooleanApp - Whether web app access is enabled.
- language
Code String - Language code for user interface. Use language tags defined by BCP47. If unset, the default language code is "en-US".
- workforce
Identity StringPool Provider - The workforce identity pool provider used to access the widget.
- allow
Public booleanAccess - Whether public unauthenticated access is allowed.
- allowlisted
Domains string[] - List of domains that are allowed to integrate the search widget.
- enable
Web booleanApp - Whether web app access is enabled.
- language
Code string - Language code for user interface. Use language tags defined by BCP47. If unset, the default language code is "en-US".
- workforce
Identity stringPool Provider - The workforce identity pool provider used to access the widget.
- allow_
public_ boolaccess - Whether public unauthenticated access is allowed.
- allowlisted_
domains Sequence[str] - List of domains that are allowed to integrate the search widget.
- enable_
web_ boolapp - Whether web app access is enabled.
- language_
code str - Language code for user interface. Use language tags defined by BCP47. If unset, the default language code is "en-US".
- workforce_
identity_ strpool_ provider - The workforce identity pool provider used to access the widget.
- allow
Public BooleanAccess - Whether public unauthenticated access is allowed.
- allowlisted
Domains List<String> - List of domains that are allowed to integrate the search widget.
- enable
Web BooleanApp - Whether web app access is enabled.
- language
Code String - Language code for user interface. Use language tags defined by BCP47. If unset, the default language code is "en-US".
- workforce
Identity StringPool Provider - The workforce identity pool provider used to access the widget.
WidgetConfigHomepageSetting, WidgetConfigHomepageSettingArgs
- Shortcuts
List<Widget
Config Homepage Setting Shortcut> - The shortcuts to display on the homepage. Structure is documented below.
- Shortcuts
[]Widget
Config Homepage Setting Shortcut - The shortcuts to display on the homepage. Structure is documented below.
- shortcuts
List<Widget
Config Homepage Setting Shortcut> - The shortcuts to display on the homepage. Structure is documented below.
- shortcuts
Widget
Config Homepage Setting Shortcut[] - The shortcuts to display on the homepage. Structure is documented below.
- shortcuts
Sequence[Widget
Config Homepage Setting Shortcut] - The shortcuts to display on the homepage. Structure is documented below.
- shortcuts List<Property Map>
- The shortcuts to display on the homepage. Structure is documented below.
WidgetConfigHomepageSettingShortcut, WidgetConfigHomepageSettingShortcutArgs
- Destination
Uri string - Destination URL of shortcut.
- Icon
Widget
Config Homepage Setting Shortcut Icon - Icon URL of shortcut. Structure is documented below.
- Title string
- Title of the shortcut.
- Destination
Uri string - Destination URL of shortcut.
- Icon
Widget
Config Homepage Setting Shortcut Icon - Icon URL of shortcut. Structure is documented below.
- Title string
- Title of the shortcut.
- destination
Uri String - Destination URL of shortcut.
- icon
Widget
Config Homepage Setting Shortcut Icon - Icon URL of shortcut. Structure is documented below.
- title String
- Title of the shortcut.
- destination
Uri string - Destination URL of shortcut.
- icon
Widget
Config Homepage Setting Shortcut Icon - Icon URL of shortcut. Structure is documented below.
- title string
- Title of the shortcut.
- destination_
uri str - Destination URL of shortcut.
- icon
Widget
Config Homepage Setting Shortcut Icon - Icon URL of shortcut. Structure is documented below.
- title str
- Title of the shortcut.
- destination
Uri String - Destination URL of shortcut.
- icon Property Map
- Icon URL of shortcut. Structure is documented below.
- title String
- Title of the shortcut.
WidgetConfigHomepageSettingShortcutIcon, WidgetConfigHomepageSettingShortcutIconArgs
- Url string
- Image URL.
- Url string
- Image URL.
- url String
- Image URL.
- url string
- Image URL.
- url str
- Image URL.
- url String
- Image URL.
WidgetConfigUiBranding, WidgetConfigUiBrandingArgs
- Logo
Widget
Config Ui Branding Logo - Logo image. Structure is documented below.
- Logo
Widget
Config Ui Branding Logo - Logo image. Structure is documented below.
- logo
Widget
Config Ui Branding Logo - Logo image. Structure is documented below.
- logo
Widget
Config Ui Branding Logo - Logo image. Structure is documented below.
- logo
Widget
Config Ui Branding Logo - Logo image. Structure is documented below.
- logo Property Map
- Logo image. Structure is documented below.
WidgetConfigUiBrandingLogo, WidgetConfigUiBrandingLogoArgs
- Url string
- Image URL.
- Url string
- Image URL.
- url String
- Image URL.
- url string
- Image URL.
- url str
- Image URL.
- url String
- Image URL.
WidgetConfigUiSettings, WidgetConfigUiSettingsArgs
- Data
Store List<WidgetUi Configs Config Ui Settings Data Store Ui Config> - Per data store configuration. Structure is documented below.
- Default
Search stringRequest Order By - The default ordering for search results if specified. Used to set SearchRequest#orderBy on applicable requests.
- Disable
User boolEvents Collection - If set to true, the widget will not collect user events.
- Enable
Autocomplete bool - Whether or not to enable autocomplete.
- bool
- If set to true, the widget will enable the create agent button.
- Enable
People boolSearch - If set to true, the widget will enable people search.
- Enable
Quality boolFeedback - Turn on or off collecting the search result quality feedback from end users.
- Enable
Safe boolSearch - Whether to enable safe search.
- Enable
Search boolAs You Type - Whether to enable search-as-you-type behavior for the search widget.
- Enable
Visual boolContent Summary - If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.
- Generative
Answer WidgetConfig Config Ui Settings Generative Answer Config - Describes generative answer configuration. Structure is documented below.
- Interaction
Type string - Describes widget (or web app) interaction type
Possible values are:
SEARCH_ONLY,SEARCH_WITH_ANSWER,SEARCH_WITH_FOLLOW_UPS. - Result
Description stringType - Controls whether result extract is display and how (snippet or extractive answer).
Default to no result if unspecified.
Possible values are:
SNIPPET,EXTRACTIVE_ANSWER.
- Data
Store []WidgetUi Configs Config Ui Settings Data Store Ui Config - Per data store configuration. Structure is documented below.
- Default
Search stringRequest Order By - The default ordering for search results if specified. Used to set SearchRequest#orderBy on applicable requests.
- Disable
User boolEvents Collection - If set to true, the widget will not collect user events.
- Enable
Autocomplete bool - Whether or not to enable autocomplete.
- bool
- If set to true, the widget will enable the create agent button.
- Enable
People boolSearch - If set to true, the widget will enable people search.
- Enable
Quality boolFeedback - Turn on or off collecting the search result quality feedback from end users.
- Enable
Safe boolSearch - Whether to enable safe search.
- Enable
Search boolAs You Type - Whether to enable search-as-you-type behavior for the search widget.
- Enable
Visual boolContent Summary - If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.
- Generative
Answer WidgetConfig Config Ui Settings Generative Answer Config - Describes generative answer configuration. Structure is documented below.
- Interaction
Type string - Describes widget (or web app) interaction type
Possible values are:
SEARCH_ONLY,SEARCH_WITH_ANSWER,SEARCH_WITH_FOLLOW_UPS. - Result
Description stringType - Controls whether result extract is display and how (snippet or extractive answer).
Default to no result if unspecified.
Possible values are:
SNIPPET,EXTRACTIVE_ANSWER.
- data
Store List<WidgetUi Configs Config Ui Settings Data Store Ui Config> - Per data store configuration. Structure is documented below.
- default
Search StringRequest Order By - The default ordering for search results if specified. Used to set SearchRequest#orderBy on applicable requests.
- disable
User BooleanEvents Collection - If set to true, the widget will not collect user events.
- enable
Autocomplete Boolean - Whether or not to enable autocomplete.
- Boolean
- If set to true, the widget will enable the create agent button.
- enable
People BooleanSearch - If set to true, the widget will enable people search.
- enable
Quality BooleanFeedback - Turn on or off collecting the search result quality feedback from end users.
- enable
Safe BooleanSearch - Whether to enable safe search.
- enable
Search BooleanAs You Type - Whether to enable search-as-you-type behavior for the search widget.
- enable
Visual BooleanContent Summary - If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.
- generative
Answer WidgetConfig Config Ui Settings Generative Answer Config - Describes generative answer configuration. Structure is documented below.
- interaction
Type String - Describes widget (or web app) interaction type
Possible values are:
SEARCH_ONLY,SEARCH_WITH_ANSWER,SEARCH_WITH_FOLLOW_UPS. - result
Description StringType - Controls whether result extract is display and how (snippet or extractive answer).
Default to no result if unspecified.
Possible values are:
SNIPPET,EXTRACTIVE_ANSWER.
- data
Store WidgetUi Configs Config Ui Settings Data Store Ui Config[] - Per data store configuration. Structure is documented below.
- default
Search stringRequest Order By - The default ordering for search results if specified. Used to set SearchRequest#orderBy on applicable requests.
- disable
User booleanEvents Collection - If set to true, the widget will not collect user events.
- enable
Autocomplete boolean - Whether or not to enable autocomplete.
- boolean
- If set to true, the widget will enable the create agent button.
- enable
People booleanSearch - If set to true, the widget will enable people search.
- enable
Quality booleanFeedback - Turn on or off collecting the search result quality feedback from end users.
- enable
Safe booleanSearch - Whether to enable safe search.
- enable
Search booleanAs You Type - Whether to enable search-as-you-type behavior for the search widget.
- enable
Visual booleanContent Summary - If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.
- generative
Answer WidgetConfig Config Ui Settings Generative Answer Config - Describes generative answer configuration. Structure is documented below.
- interaction
Type string - Describes widget (or web app) interaction type
Possible values are:
SEARCH_ONLY,SEARCH_WITH_ANSWER,SEARCH_WITH_FOLLOW_UPS. - result
Description stringType - Controls whether result extract is display and how (snippet or extractive answer).
Default to no result if unspecified.
Possible values are:
SNIPPET,EXTRACTIVE_ANSWER.
- data_
store_ Sequence[Widgetui_ configs Config Ui Settings Data Store Ui Config] - Per data store configuration. Structure is documented below.
- default_
search_ strrequest_ order_ by - The default ordering for search results if specified. Used to set SearchRequest#orderBy on applicable requests.
- disable_
user_ boolevents_ collection - If set to true, the widget will not collect user events.
- enable_
autocomplete bool - Whether or not to enable autocomplete.
- bool
- If set to true, the widget will enable the create agent button.
- enable_
people_ boolsearch - If set to true, the widget will enable people search.
- enable_
quality_ boolfeedback - Turn on or off collecting the search result quality feedback from end users.
- enable_
safe_ boolsearch - Whether to enable safe search.
- enable_
search_ boolas_ you_ type - Whether to enable search-as-you-type behavior for the search widget.
- enable_
visual_ boolcontent_ summary - If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.
- generative_
answer_ Widgetconfig Config Ui Settings Generative Answer Config - Describes generative answer configuration. Structure is documented below.
- interaction_
type str - Describes widget (or web app) interaction type
Possible values are:
SEARCH_ONLY,SEARCH_WITH_ANSWER,SEARCH_WITH_FOLLOW_UPS. - result_
description_ strtype - Controls whether result extract is display and how (snippet or extractive answer).
Default to no result if unspecified.
Possible values are:
SNIPPET,EXTRACTIVE_ANSWER.
- data
Store List<Property Map>Ui Configs - Per data store configuration. Structure is documented below.
- default
Search StringRequest Order By - The default ordering for search results if specified. Used to set SearchRequest#orderBy on applicable requests.
- disable
User BooleanEvents Collection - If set to true, the widget will not collect user events.
- enable
Autocomplete Boolean - Whether or not to enable autocomplete.
- Boolean
- If set to true, the widget will enable the create agent button.
- enable
People BooleanSearch - If set to true, the widget will enable people search.
- enable
Quality BooleanFeedback - Turn on or off collecting the search result quality feedback from end users.
- enable
Safe BooleanSearch - Whether to enable safe search.
- enable
Search BooleanAs You Type - Whether to enable search-as-you-type behavior for the search widget.
- enable
Visual BooleanContent Summary - If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.
- generative
Answer Property MapConfig - Describes generative answer configuration. Structure is documented below.
- interaction
Type String - Describes widget (or web app) interaction type
Possible values are:
SEARCH_ONLY,SEARCH_WITH_ANSWER,SEARCH_WITH_FOLLOW_UPS. - result
Description StringType - Controls whether result extract is display and how (snippet or extractive answer).
Default to no result if unspecified.
Possible values are:
SNIPPET,EXTRACTIVE_ANSWER.
WidgetConfigUiSettingsDataStoreUiConfig, WidgetConfigUiSettingsDataStoreUiConfigArgs
- Facet
Fields List<WidgetConfig Ui Settings Data Store Ui Config Facet Field> - Structure is documented below.
- Fields
Ui List<WidgetComponents Maps Config Ui Settings Data Store Ui Config Fields Ui Components Map> - 'The key is the UI component. Currently supported
title,thumbnail,url,custom1,custom2,custom3. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed.title,thumbnail,urlare required UI components that cannot be removed. Structure is documented below. - Name string
- The name of the data store. It should be data store resource name. Format:
projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId}. For APIs underWidgetService, such as [WidgetService.LookUpWidgetConfig][], the project number and location part is erased in this field.
- Facet
Fields []WidgetConfig Ui Settings Data Store Ui Config Facet Field - Structure is documented below.
- Fields
Ui []WidgetComponents Maps Config Ui Settings Data Store Ui Config Fields Ui Components Map - 'The key is the UI component. Currently supported
title,thumbnail,url,custom1,custom2,custom3. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed.title,thumbnail,urlare required UI components that cannot be removed. Structure is documented below. - Name string
- The name of the data store. It should be data store resource name. Format:
projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId}. For APIs underWidgetService, such as [WidgetService.LookUpWidgetConfig][], the project number and location part is erased in this field.
- facet
Fields List<WidgetConfig Ui Settings Data Store Ui Config Facet Field> - Structure is documented below.
- fields
Ui List<WidgetComponents Maps Config Ui Settings Data Store Ui Config Fields Ui Components Map> - 'The key is the UI component. Currently supported
title,thumbnail,url,custom1,custom2,custom3. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed.title,thumbnail,urlare required UI components that cannot be removed. Structure is documented below. - name String
- The name of the data store. It should be data store resource name. Format:
projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId}. For APIs underWidgetService, such as [WidgetService.LookUpWidgetConfig][], the project number and location part is erased in this field.
- facet
Fields WidgetConfig Ui Settings Data Store Ui Config Facet Field[] - Structure is documented below.
- fields
Ui WidgetComponents Maps Config Ui Settings Data Store Ui Config Fields Ui Components Map[] - 'The key is the UI component. Currently supported
title,thumbnail,url,custom1,custom2,custom3. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed.title,thumbnail,urlare required UI components that cannot be removed. Structure is documented below. - name string
- The name of the data store. It should be data store resource name. Format:
projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId}. For APIs underWidgetService, such as [WidgetService.LookUpWidgetConfig][], the project number and location part is erased in this field.
- facet_
fields Sequence[WidgetConfig Ui Settings Data Store Ui Config Facet Field] - Structure is documented below.
- fields_
ui_ Sequence[Widgetcomponents_ maps Config Ui Settings Data Store Ui Config Fields Ui Components Map] - 'The key is the UI component. Currently supported
title,thumbnail,url,custom1,custom2,custom3. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed.title,thumbnail,urlare required UI components that cannot be removed. Structure is documented below. - name str
- The name of the data store. It should be data store resource name. Format:
projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId}. For APIs underWidgetService, such as [WidgetService.LookUpWidgetConfig][], the project number and location part is erased in this field.
- facet
Fields List<Property Map> - Structure is documented below.
- fields
Ui List<Property Map>Components Maps - 'The key is the UI component. Currently supported
title,thumbnail,url,custom1,custom2,custom3. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed.title,thumbnail,urlare required UI components that cannot be removed. Structure is documented below. - name String
- The name of the data store. It should be data store resource name. Format:
projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId}. For APIs underWidgetService, such as [WidgetService.LookUpWidgetConfig][], the project number and location part is erased in this field.
WidgetConfigUiSettingsDataStoreUiConfigFacetField, WidgetConfigUiSettingsDataStoreUiConfigFacetFieldArgs
- Field string
- Registered field name. The format is
field.abc. - Display
Name string - The field name that end users will see.
- Field string
- Registered field name. The format is
field.abc. - Display
Name string - The field name that end users will see.
- field String
- Registered field name. The format is
field.abc. - display
Name String - The field name that end users will see.
- field string
- Registered field name. The format is
field.abc. - display
Name string - The field name that end users will see.
- field str
- Registered field name. The format is
field.abc. - display_
name str - The field name that end users will see.
- field String
- Registered field name. The format is
field.abc. - display
Name String - The field name that end users will see.
WidgetConfigUiSettingsDataStoreUiConfigFieldsUiComponentsMap, WidgetConfigUiSettingsDataStoreUiConfigFieldsUiComponentsMapArgs
- Field string
- Registered field name. The format is
field.abc. - Ui
Component string - The identifier for this object. Format specified above.
- Device
Visibilities List<string> - Each value may be one of:
MOBILE,DESKTOP. - Display
Template string - The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".
- Field string
- Registered field name. The format is
field.abc. - Ui
Component string - The identifier for this object. Format specified above.
- Device
Visibilities []string - Each value may be one of:
MOBILE,DESKTOP. - Display
Template string - The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".
- field String
- Registered field name. The format is
field.abc. - ui
Component String - The identifier for this object. Format specified above.
- device
Visibilities List<String> - Each value may be one of:
MOBILE,DESKTOP. - display
Template String - The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".
- field string
- Registered field name. The format is
field.abc. - ui
Component string - The identifier for this object. Format specified above.
- device
Visibilities string[] - Each value may be one of:
MOBILE,DESKTOP. - display
Template string - The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".
- field str
- Registered field name. The format is
field.abc. - ui_
component str - The identifier for this object. Format specified above.
- device_
visibilities Sequence[str] - Each value may be one of:
MOBILE,DESKTOP. - display_
template str - The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".
- field String
- Registered field name. The format is
field.abc. - ui
Component String - The identifier for this object. Format specified above.
- device
Visibilities List<String> - Each value may be one of:
MOBILE,DESKTOP. - display
Template String - The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".
WidgetConfigUiSettingsGenerativeAnswerConfig, WidgetConfigUiSettingsGenerativeAnswerConfigArgs
- bool
- Whether generated answer contains suggested related questions.
- Ignore
Adversarial boolQuery - Specifies whether to filter out queries that are adversarial.
- Ignore
Low boolRelevant Content - Specifies whether to filter out queries that are not relevant to the content.
- Ignore
Non boolAnswer Seeking Query - Specifies whether to filter out queries that are not answer-seeking.
The default value is
false. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set totrue, we skip generating answers for non-answer seeking queries and return fallback messages instead. - Image
Source string - Source of image returned in the answer.
Possible values are:
ALL_AVAILABLE_SOURCES,CORPUS_IMAGE_ONLY,FIGURE_GENERATION_ONLY. - Language
Code string - Language code for Summary. Use language tags defined by BCP47. Note: This is an experimental feature.
- Max
Rephrase intSteps - Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.
- Model
Prompt stringPreamble - Text at the beginning of the prompt that instructs the model that generates the answer.
- Model
Version string - The model version used to generate the answer.
- Result
Count int - The number of top results to generate the answer from. Up to 10.
- bool
- Whether generated answer contains suggested related questions.
- Ignore
Adversarial boolQuery - Specifies whether to filter out queries that are adversarial.
- Ignore
Low boolRelevant Content - Specifies whether to filter out queries that are not relevant to the content.
- Ignore
Non boolAnswer Seeking Query - Specifies whether to filter out queries that are not answer-seeking.
The default value is
false. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set totrue, we skip generating answers for non-answer seeking queries and return fallback messages instead. - Image
Source string - Source of image returned in the answer.
Possible values are:
ALL_AVAILABLE_SOURCES,CORPUS_IMAGE_ONLY,FIGURE_GENERATION_ONLY. - Language
Code string - Language code for Summary. Use language tags defined by BCP47. Note: This is an experimental feature.
- Max
Rephrase intSteps - Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.
- Model
Prompt stringPreamble - Text at the beginning of the prompt that instructs the model that generates the answer.
- Model
Version string - The model version used to generate the answer.
- Result
Count int - The number of top results to generate the answer from. Up to 10.
- Boolean
- Whether generated answer contains suggested related questions.
- ignore
Adversarial BooleanQuery - Specifies whether to filter out queries that are adversarial.
- ignore
Low BooleanRelevant Content - Specifies whether to filter out queries that are not relevant to the content.
- ignore
Non BooleanAnswer Seeking Query - Specifies whether to filter out queries that are not answer-seeking.
The default value is
false. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set totrue, we skip generating answers for non-answer seeking queries and return fallback messages instead. - image
Source String - Source of image returned in the answer.
Possible values are:
ALL_AVAILABLE_SOURCES,CORPUS_IMAGE_ONLY,FIGURE_GENERATION_ONLY. - language
Code String - Language code for Summary. Use language tags defined by BCP47. Note: This is an experimental feature.
- max
Rephrase IntegerSteps - Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.
- model
Prompt StringPreamble - Text at the beginning of the prompt that instructs the model that generates the answer.
- model
Version String - The model version used to generate the answer.
- result
Count Integer - The number of top results to generate the answer from. Up to 10.
- boolean
- Whether generated answer contains suggested related questions.
- ignore
Adversarial booleanQuery - Specifies whether to filter out queries that are adversarial.
- ignore
Low booleanRelevant Content - Specifies whether to filter out queries that are not relevant to the content.
- ignore
Non booleanAnswer Seeking Query - Specifies whether to filter out queries that are not answer-seeking.
The default value is
false. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set totrue, we skip generating answers for non-answer seeking queries and return fallback messages instead. - image
Source string - Source of image returned in the answer.
Possible values are:
ALL_AVAILABLE_SOURCES,CORPUS_IMAGE_ONLY,FIGURE_GENERATION_ONLY. - language
Code string - Language code for Summary. Use language tags defined by BCP47. Note: This is an experimental feature.
- max
Rephrase numberSteps - Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.
- model
Prompt stringPreamble - Text at the beginning of the prompt that instructs the model that generates the answer.
- model
Version string - The model version used to generate the answer.
- result
Count number - The number of top results to generate the answer from. Up to 10.
- bool
- Whether generated answer contains suggested related questions.
- ignore_
adversarial_ boolquery - Specifies whether to filter out queries that are adversarial.
- ignore_
low_ boolrelevant_ content - Specifies whether to filter out queries that are not relevant to the content.
- ignore_
non_ boolanswer_ seeking_ query - Specifies whether to filter out queries that are not answer-seeking.
The default value is
false. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set totrue, we skip generating answers for non-answer seeking queries and return fallback messages instead. - image_
source str - Source of image returned in the answer.
Possible values are:
ALL_AVAILABLE_SOURCES,CORPUS_IMAGE_ONLY,FIGURE_GENERATION_ONLY. - language_
code str - Language code for Summary. Use language tags defined by BCP47. Note: This is an experimental feature.
- max_
rephrase_ intsteps - Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.
- model_
prompt_ strpreamble - Text at the beginning of the prompt that instructs the model that generates the answer.
- model_
version str - The model version used to generate the answer.
- result_
count int - The number of top results to generate the answer from. Up to 10.
- Boolean
- Whether generated answer contains suggested related questions.
- ignore
Adversarial BooleanQuery - Specifies whether to filter out queries that are adversarial.
- ignore
Low BooleanRelevant Content - Specifies whether to filter out queries that are not relevant to the content.
- ignore
Non BooleanAnswer Seeking Query - Specifies whether to filter out queries that are not answer-seeking.
The default value is
false. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set totrue, we skip generating answers for non-answer seeking queries and return fallback messages instead. - image
Source String - Source of image returned in the answer.
Possible values are:
ALL_AVAILABLE_SOURCES,CORPUS_IMAGE_ONLY,FIGURE_GENERATION_ONLY. - language
Code String - Language code for Summary. Use language tags defined by BCP47. Note: This is an experimental feature.
- max
Rephrase NumberSteps - Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.
- model
Prompt StringPreamble - Text at the beginning of the prompt that instructs the model that generates the answer.
- model
Version String - The model version used to generate the answer.
- result
Count Number - The number of top results to generate the answer from. Up to 10.
Import
WidgetConfig can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}/widgetConfigs/{{widget_config_id}}{{project}}/{{location}}/{{collection_id}}/{{engine_id}}/{{widget_config_id}}{{location}}/{{collection_id}}/{{engine_id}}/{{widget_config_id}}
When using the pulumi import command, WidgetConfig can be imported using one of the formats above. For example:
$ pulumi import gcp:discoveryengine/widgetConfig:WidgetConfig default projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}/widgetConfigs/{{widget_config_id}}
$ pulumi import gcp:discoveryengine/widgetConfig:WidgetConfig default {{project}}/{{location}}/{{collection_id}}/{{engine_id}}/{{widget_config_id}}
$ pulumi import gcp:discoveryengine/widgetConfig:WidgetConfig default {{location}}/{{collection_id}}/{{engine_id}}/{{widget_config_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
