1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. discoveryengine
  5. SearchEngine
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi

    Vertex AI Search and Conversation can be used to create a search engine or a chat application by connecting it with a datastore

    To get more information about SearchEngine, see:

    Example Usage

    Discoveryengine Searchengine Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const basic = new gcp.discoveryengine.DataStore("basic", {
        location: "global",
        dataStoreId: "example-datastore-id",
        displayName: "tf-test-structured-datastore",
        industryVertical: "GENERIC",
        contentConfig: "NO_CONTENT",
        solutionTypes: ["SOLUTION_TYPE_SEARCH"],
        createAdvancedSiteSearch: false,
    });
    const basicSearchEngine = new gcp.discoveryengine.SearchEngine("basic", {
        engineId: "example-engine-id",
        collectionId: "default_collection",
        location: basic.location,
        displayName: "Example Display Name",
        dataStoreIds: [basic.dataStoreId],
        searchEngineConfig: {},
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    basic = gcp.discoveryengine.DataStore("basic",
        location="global",
        data_store_id="example-datastore-id",
        display_name="tf-test-structured-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="example-engine-id",
        collection_id="default_collection",
        location=basic.location,
        display_name="Example Display Name",
        data_store_ids=[basic.data_store_id],
        search_engine_config={})
    
    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("example-datastore-id"),
    			DisplayName:      pulumi.String("tf-test-structured-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
    		}
    		_, err = discoveryengine.NewSearchEngine(ctx, "basic", &discoveryengine.SearchEngineArgs{
    			EngineId:     pulumi.String("example-engine-id"),
    			CollectionId: pulumi.String("default_collection"),
    			Location:     basic.Location,
    			DisplayName:  pulumi.String("Example Display Name"),
    			DataStoreIds: pulumi.StringArray{
    				basic.DataStoreId,
    			},
    			SearchEngineConfig: &discoveryengine.SearchEngineSearchEngineConfigArgs{},
    		})
    		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 = "example-datastore-id",
            DisplayName = "tf-test-structured-datastore",
            IndustryVertical = "GENERIC",
            ContentConfig = "NO_CONTENT",
            SolutionTypes = new[]
            {
                "SOLUTION_TYPE_SEARCH",
            },
            CreateAdvancedSiteSearch = false,
        });
    
        var basicSearchEngine = new Gcp.DiscoveryEngine.SearchEngine("basic", new()
        {
            EngineId = "example-engine-id",
            CollectionId = "default_collection",
            Location = basic.Location,
            DisplayName = "Example Display Name",
            DataStoreIds = new[]
            {
                basic.DataStoreId,
            },
            SearchEngineConfig = null,
        });
    
    });
    
    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 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("example-datastore-id")
                .displayName("tf-test-structured-datastore")
                .industryVertical("GENERIC")
                .contentConfig("NO_CONTENT")
                .solutionTypes("SOLUTION_TYPE_SEARCH")
                .createAdvancedSiteSearch(false)
                .build());
    
            var basicSearchEngine = new SearchEngine("basicSearchEngine", SearchEngineArgs.builder()
                .engineId("example-engine-id")
                .collectionId("default_collection")
                .location(basic.location())
                .displayName("Example Display Name")
                .dataStoreIds(basic.dataStoreId())
                .searchEngineConfig(SearchEngineSearchEngineConfigArgs.builder()
                    .build())
                .build());
    
        }
    }
    
    resources:
      basic:
        type: gcp:discoveryengine:DataStore
        properties:
          location: global
          dataStoreId: example-datastore-id
          displayName: tf-test-structured-datastore
          industryVertical: GENERIC
          contentConfig: NO_CONTENT
          solutionTypes:
            - SOLUTION_TYPE_SEARCH
          createAdvancedSiteSearch: false
      basicSearchEngine:
        type: gcp:discoveryengine:SearchEngine
        name: basic
        properties:
          engineId: example-engine-id
          collectionId: default_collection
          location: ${basic.location}
          displayName: Example Display Name
          dataStoreIds:
            - ${basic.dataStoreId}
          searchEngineConfig: {}
    

    Discoveryengine Searchengine Agentspace Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const agentspaceBasic = new gcp.discoveryengine.DataStore("agentspace_basic", {
        location: "global",
        dataStoreId: "example-datastore-id",
        displayName: "tf-test-structured-datastore",
        industryVertical: "GENERIC",
        contentConfig: "NO_CONTENT",
        solutionTypes: ["SOLUTION_TYPE_SEARCH"],
        createAdvancedSiteSearch: false,
    });
    const agentspaceBasicSearchEngine = new gcp.discoveryengine.SearchEngine("agentspace_basic", {
        engineId: "example-engine-id",
        collectionId: "default_collection",
        location: agentspaceBasic.location,
        displayName: "tf-test-agentspace-search-engine",
        dataStoreIds: [agentspaceBasic.dataStoreId],
        industryVertical: "GENERIC",
        appType: "APP_TYPE_INTRANET",
        searchEngineConfig: {},
        knowledgeGraphConfig: {},
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    agentspace_basic = gcp.discoveryengine.DataStore("agentspace_basic",
        location="global",
        data_store_id="example-datastore-id",
        display_name="tf-test-structured-datastore",
        industry_vertical="GENERIC",
        content_config="NO_CONTENT",
        solution_types=["SOLUTION_TYPE_SEARCH"],
        create_advanced_site_search=False)
    agentspace_basic_search_engine = gcp.discoveryengine.SearchEngine("agentspace_basic",
        engine_id="example-engine-id",
        collection_id="default_collection",
        location=agentspace_basic.location,
        display_name="tf-test-agentspace-search-engine",
        data_store_ids=[agentspace_basic.data_store_id],
        industry_vertical="GENERIC",
        app_type="APP_TYPE_INTRANET",
        search_engine_config={},
        knowledge_graph_config={})
    
    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 {
    		agentspaceBasic, err := discoveryengine.NewDataStore(ctx, "agentspace_basic", &discoveryengine.DataStoreArgs{
    			Location:         pulumi.String("global"),
    			DataStoreId:      pulumi.String("example-datastore-id"),
    			DisplayName:      pulumi.String("tf-test-structured-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
    		}
    		_, err = discoveryengine.NewSearchEngine(ctx, "agentspace_basic", &discoveryengine.SearchEngineArgs{
    			EngineId:     pulumi.String("example-engine-id"),
    			CollectionId: pulumi.String("default_collection"),
    			Location:     agentspaceBasic.Location,
    			DisplayName:  pulumi.String("tf-test-agentspace-search-engine"),
    			DataStoreIds: pulumi.StringArray{
    				agentspaceBasic.DataStoreId,
    			},
    			IndustryVertical:     pulumi.String("GENERIC"),
    			AppType:              pulumi.String("APP_TYPE_INTRANET"),
    			SearchEngineConfig:   &discoveryengine.SearchEngineSearchEngineConfigArgs{},
    			KnowledgeGraphConfig: &discoveryengine.SearchEngineKnowledgeGraphConfigArgs{},
    		})
    		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 agentspaceBasic = new Gcp.DiscoveryEngine.DataStore("agentspace_basic", new()
        {
            Location = "global",
            DataStoreId = "example-datastore-id",
            DisplayName = "tf-test-structured-datastore",
            IndustryVertical = "GENERIC",
            ContentConfig = "NO_CONTENT",
            SolutionTypes = new[]
            {
                "SOLUTION_TYPE_SEARCH",
            },
            CreateAdvancedSiteSearch = false,
        });
    
        var agentspaceBasicSearchEngine = new Gcp.DiscoveryEngine.SearchEngine("agentspace_basic", new()
        {
            EngineId = "example-engine-id",
            CollectionId = "default_collection",
            Location = agentspaceBasic.Location,
            DisplayName = "tf-test-agentspace-search-engine",
            DataStoreIds = new[]
            {
                agentspaceBasic.DataStoreId,
            },
            IndustryVertical = "GENERIC",
            AppType = "APP_TYPE_INTRANET",
            SearchEngineConfig = null,
            KnowledgeGraphConfig = null,
        });
    
    });
    
    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.inputs.SearchEngineKnowledgeGraphConfigArgs;
    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 agentspaceBasic = new DataStore("agentspaceBasic", DataStoreArgs.builder()
                .location("global")
                .dataStoreId("example-datastore-id")
                .displayName("tf-test-structured-datastore")
                .industryVertical("GENERIC")
                .contentConfig("NO_CONTENT")
                .solutionTypes("SOLUTION_TYPE_SEARCH")
                .createAdvancedSiteSearch(false)
                .build());
    
            var agentspaceBasicSearchEngine = new SearchEngine("agentspaceBasicSearchEngine", SearchEngineArgs.builder()
                .engineId("example-engine-id")
                .collectionId("default_collection")
                .location(agentspaceBasic.location())
                .displayName("tf-test-agentspace-search-engine")
                .dataStoreIds(agentspaceBasic.dataStoreId())
                .industryVertical("GENERIC")
                .appType("APP_TYPE_INTRANET")
                .searchEngineConfig(SearchEngineSearchEngineConfigArgs.builder()
                    .build())
                .knowledgeGraphConfig(SearchEngineKnowledgeGraphConfigArgs.builder()
                    .build())
                .build());
    
        }
    }
    
    resources:
      agentspaceBasic:
        type: gcp:discoveryengine:DataStore
        name: agentspace_basic
        properties:
          location: global
          dataStoreId: example-datastore-id
          displayName: tf-test-structured-datastore
          industryVertical: GENERIC
          contentConfig: NO_CONTENT
          solutionTypes:
            - SOLUTION_TYPE_SEARCH
          createAdvancedSiteSearch: false
      agentspaceBasicSearchEngine:
        type: gcp:discoveryengine:SearchEngine
        name: agentspace_basic
        properties:
          engineId: example-engine-id
          collectionId: default_collection
          location: ${agentspaceBasic.location}
          displayName: tf-test-agentspace-search-engine
          dataStoreIds:
            - ${agentspaceBasic.dataStoreId}
          industryVertical: GENERIC
          appType: APP_TYPE_INTRANET
          searchEngineConfig: {}
          knowledgeGraphConfig: {}
    

    Create SearchEngine Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SearchEngine(name: string, args: SearchEngineArgs, opts?: CustomResourceOptions);
    @overload
    def SearchEngine(resource_name: str,
                     args: SearchEngineArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def SearchEngine(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     engine_id: Optional[str] = None,
                     collection_id: Optional[str] = None,
                     search_engine_config: Optional[SearchEngineSearchEngineConfigArgs] = None,
                     data_store_ids: Optional[Sequence[str]] = None,
                     location: Optional[str] = None,
                     display_name: Optional[str] = None,
                     project: Optional[str] = None,
                     app_type: Optional[str] = None,
                     industry_vertical: Optional[str] = None,
                     kms_key_name: Optional[str] = None,
                     knowledge_graph_config: Optional[SearchEngineKnowledgeGraphConfigArgs] = None,
                     disable_analytics: Optional[bool] = None,
                     features: Optional[Mapping[str, str]] = None,
                     common_config: Optional[SearchEngineCommonConfigArgs] = None)
    func NewSearchEngine(ctx *Context, name string, args SearchEngineArgs, opts ...ResourceOption) (*SearchEngine, error)
    public SearchEngine(string name, SearchEngineArgs args, CustomResourceOptions? opts = null)
    public SearchEngine(String name, SearchEngineArgs args)
    public SearchEngine(String name, SearchEngineArgs args, CustomResourceOptions options)
    
    type: gcp:discoveryengine:SearchEngine
    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 SearchEngineArgs
    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 SearchEngineArgs
    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 SearchEngineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SearchEngineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SearchEngineArgs
    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 searchEngineResource = new Gcp.DiscoveryEngine.SearchEngine("searchEngineResource", new()
    {
        EngineId = "string",
        CollectionId = "string",
        SearchEngineConfig = new Gcp.DiscoveryEngine.Inputs.SearchEngineSearchEngineConfigArgs
        {
            SearchAddOns = new[]
            {
                "string",
            },
            SearchTier = "string",
        },
        DataStoreIds = new[]
        {
            "string",
        },
        Location = "string",
        DisplayName = "string",
        Project = "string",
        AppType = "string",
        IndustryVertical = "string",
        KmsKeyName = "string",
        KnowledgeGraphConfig = new Gcp.DiscoveryEngine.Inputs.SearchEngineKnowledgeGraphConfigArgs
        {
            CloudKnowledgeGraphTypes = new[]
            {
                "string",
            },
            EnableCloudKnowledgeGraph = false,
            EnablePrivateKnowledgeGraph = false,
            FeatureConfig = new Gcp.DiscoveryEngine.Inputs.SearchEngineKnowledgeGraphConfigFeatureConfigArgs
            {
                DisablePrivateKgAutoComplete = false,
                DisablePrivateKgEnrichment = false,
                DisablePrivateKgQueryUiChips = false,
                DisablePrivateKgQueryUnderstanding = false,
            },
        },
        DisableAnalytics = false,
        Features = 
        {
            { "string", "string" },
        },
        CommonConfig = new Gcp.DiscoveryEngine.Inputs.SearchEngineCommonConfigArgs
        {
            CompanyName = "string",
        },
    });
    
    example, err := discoveryengine.NewSearchEngine(ctx, "searchEngineResource", &discoveryengine.SearchEngineArgs{
    	EngineId:     pulumi.String("string"),
    	CollectionId: pulumi.String("string"),
    	SearchEngineConfig: &discoveryengine.SearchEngineSearchEngineConfigArgs{
    		SearchAddOns: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SearchTier: pulumi.String("string"),
    	},
    	DataStoreIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Location:         pulumi.String("string"),
    	DisplayName:      pulumi.String("string"),
    	Project:          pulumi.String("string"),
    	AppType:          pulumi.String("string"),
    	IndustryVertical: pulumi.String("string"),
    	KmsKeyName:       pulumi.String("string"),
    	KnowledgeGraphConfig: &discoveryengine.SearchEngineKnowledgeGraphConfigArgs{
    		CloudKnowledgeGraphTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		EnableCloudKnowledgeGraph:   pulumi.Bool(false),
    		EnablePrivateKnowledgeGraph: pulumi.Bool(false),
    		FeatureConfig: &discoveryengine.SearchEngineKnowledgeGraphConfigFeatureConfigArgs{
    			DisablePrivateKgAutoComplete:       pulumi.Bool(false),
    			DisablePrivateKgEnrichment:         pulumi.Bool(false),
    			DisablePrivateKgQueryUiChips:       pulumi.Bool(false),
    			DisablePrivateKgQueryUnderstanding: pulumi.Bool(false),
    		},
    	},
    	DisableAnalytics: pulumi.Bool(false),
    	Features: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	CommonConfig: &discoveryengine.SearchEngineCommonConfigArgs{
    		CompanyName: pulumi.String("string"),
    	},
    })
    
    var searchEngineResource = new SearchEngine("searchEngineResource", SearchEngineArgs.builder()
        .engineId("string")
        .collectionId("string")
        .searchEngineConfig(SearchEngineSearchEngineConfigArgs.builder()
            .searchAddOns("string")
            .searchTier("string")
            .build())
        .dataStoreIds("string")
        .location("string")
        .displayName("string")
        .project("string")
        .appType("string")
        .industryVertical("string")
        .kmsKeyName("string")
        .knowledgeGraphConfig(SearchEngineKnowledgeGraphConfigArgs.builder()
            .cloudKnowledgeGraphTypes("string")
            .enableCloudKnowledgeGraph(false)
            .enablePrivateKnowledgeGraph(false)
            .featureConfig(SearchEngineKnowledgeGraphConfigFeatureConfigArgs.builder()
                .disablePrivateKgAutoComplete(false)
                .disablePrivateKgEnrichment(false)
                .disablePrivateKgQueryUiChips(false)
                .disablePrivateKgQueryUnderstanding(false)
                .build())
            .build())
        .disableAnalytics(false)
        .features(Map.of("string", "string"))
        .commonConfig(SearchEngineCommonConfigArgs.builder()
            .companyName("string")
            .build())
        .build());
    
    search_engine_resource = gcp.discoveryengine.SearchEngine("searchEngineResource",
        engine_id="string",
        collection_id="string",
        search_engine_config={
            "search_add_ons": ["string"],
            "search_tier": "string",
        },
        data_store_ids=["string"],
        location="string",
        display_name="string",
        project="string",
        app_type="string",
        industry_vertical="string",
        kms_key_name="string",
        knowledge_graph_config={
            "cloud_knowledge_graph_types": ["string"],
            "enable_cloud_knowledge_graph": False,
            "enable_private_knowledge_graph": False,
            "feature_config": {
                "disable_private_kg_auto_complete": False,
                "disable_private_kg_enrichment": False,
                "disable_private_kg_query_ui_chips": False,
                "disable_private_kg_query_understanding": False,
            },
        },
        disable_analytics=False,
        features={
            "string": "string",
        },
        common_config={
            "company_name": "string",
        })
    
    const searchEngineResource = new gcp.discoveryengine.SearchEngine("searchEngineResource", {
        engineId: "string",
        collectionId: "string",
        searchEngineConfig: {
            searchAddOns: ["string"],
            searchTier: "string",
        },
        dataStoreIds: ["string"],
        location: "string",
        displayName: "string",
        project: "string",
        appType: "string",
        industryVertical: "string",
        kmsKeyName: "string",
        knowledgeGraphConfig: {
            cloudKnowledgeGraphTypes: ["string"],
            enableCloudKnowledgeGraph: false,
            enablePrivateKnowledgeGraph: false,
            featureConfig: {
                disablePrivateKgAutoComplete: false,
                disablePrivateKgEnrichment: false,
                disablePrivateKgQueryUiChips: false,
                disablePrivateKgQueryUnderstanding: false,
            },
        },
        disableAnalytics: false,
        features: {
            string: "string",
        },
        commonConfig: {
            companyName: "string",
        },
    });
    
    type: gcp:discoveryengine:SearchEngine
    properties:
        appType: string
        collectionId: string
        commonConfig:
            companyName: string
        dataStoreIds:
            - string
        disableAnalytics: false
        displayName: string
        engineId: string
        features:
            string: string
        industryVertical: string
        kmsKeyName: string
        knowledgeGraphConfig:
            cloudKnowledgeGraphTypes:
                - string
            enableCloudKnowledgeGraph: false
            enablePrivateKnowledgeGraph: false
            featureConfig:
                disablePrivateKgAutoComplete: false
                disablePrivateKgEnrichment: false
                disablePrivateKgQueryUiChips: false
                disablePrivateKgQueryUnderstanding: false
        location: string
        project: string
        searchEngineConfig:
            searchAddOns:
                - string
            searchTier: string
    

    SearchEngine 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 SearchEngine resource accepts the following input properties:

    CollectionId string
    The collection ID.
    DataStoreIds List<string>
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    DisplayName string
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    EngineId string
    Unique ID to use for Search Engine App.
    Location string
    Location.
    SearchEngineConfig SearchEngineSearchEngineConfig
    Configurations for a Search Engine. Structure is documented below.
    AppType string
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    CommonConfig SearchEngineCommonConfig
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    DisableAnalytics bool
    Whether to disable analytics for searches performed on this engine.
    Features Dictionary<string, string>
    A map of the feature config for the engine to opt in or opt out of features.
    IndustryVertical string
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    KmsKeyName string
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    KnowledgeGraphConfig SearchEngineKnowledgeGraphConfig
    Configurations for the Knowledge Graph. 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.
    CollectionId string
    The collection ID.
    DataStoreIds []string
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    DisplayName string
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    EngineId string
    Unique ID to use for Search Engine App.
    Location string
    Location.
    SearchEngineConfig SearchEngineSearchEngineConfigArgs
    Configurations for a Search Engine. Structure is documented below.
    AppType string
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    CommonConfig SearchEngineCommonConfigArgs
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    DisableAnalytics bool
    Whether to disable analytics for searches performed on this engine.
    Features map[string]string
    A map of the feature config for the engine to opt in or opt out of features.
    IndustryVertical string
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    KmsKeyName string
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    KnowledgeGraphConfig SearchEngineKnowledgeGraphConfigArgs
    Configurations for the Knowledge Graph. 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.
    collectionId String
    The collection ID.
    dataStoreIds List<String>
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    displayName String
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    engineId String
    Unique ID to use for Search Engine App.
    location String
    Location.
    searchEngineConfig SearchEngineSearchEngineConfig
    Configurations for a Search Engine. Structure is documented below.
    appType String
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    commonConfig SearchEngineCommonConfig
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    disableAnalytics Boolean
    Whether to disable analytics for searches performed on this engine.
    features Map<String,String>
    A map of the feature config for the engine to opt in or opt out of features.
    industryVertical String
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    kmsKeyName String
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    knowledgeGraphConfig SearchEngineKnowledgeGraphConfig
    Configurations for the Knowledge Graph. 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.
    collectionId string
    The collection ID.
    dataStoreIds string[]
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    displayName string
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    engineId string
    Unique ID to use for Search Engine App.
    location string
    Location.
    searchEngineConfig SearchEngineSearchEngineConfig
    Configurations for a Search Engine. Structure is documented below.
    appType string
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    commonConfig SearchEngineCommonConfig
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    disableAnalytics boolean
    Whether to disable analytics for searches performed on this engine.
    features {[key: string]: string}
    A map of the feature config for the engine to opt in or opt out of features.
    industryVertical string
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    kmsKeyName string
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    knowledgeGraphConfig SearchEngineKnowledgeGraphConfig
    Configurations for the Knowledge Graph. 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.
    collection_id str
    The collection ID.
    data_store_ids Sequence[str]
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    display_name str
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    engine_id str
    Unique ID to use for Search Engine App.
    location str
    Location.
    search_engine_config SearchEngineSearchEngineConfigArgs
    Configurations for a Search Engine. Structure is documented below.
    app_type str
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    common_config SearchEngineCommonConfigArgs
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    disable_analytics bool
    Whether to disable analytics for searches performed on this engine.
    features Mapping[str, str]
    A map of the feature config for the engine to opt in or opt out of features.
    industry_vertical str
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    kms_key_name str
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    knowledge_graph_config SearchEngineKnowledgeGraphConfigArgs
    Configurations for the Knowledge Graph. 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.
    collectionId String
    The collection ID.
    dataStoreIds List<String>
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    displayName String
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    engineId String
    Unique ID to use for Search Engine App.
    location String
    Location.
    searchEngineConfig Property Map
    Configurations for a Search Engine. Structure is documented below.
    appType String
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    commonConfig Property Map
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    disableAnalytics Boolean
    Whether to disable analytics for searches performed on this engine.
    features Map<String>
    A map of the feature config for the engine to opt in or opt out of features.
    industryVertical String
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    kmsKeyName String
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    knowledgeGraphConfig Property Map
    Configurations for the Knowledge Graph. 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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SearchEngine resource produces the following output properties:

    CreateTime string
    Timestamp the Engine was created at.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    UpdateTime string
    Timestamp the Engine was last updated.
    CreateTime string
    Timestamp the Engine was created at.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    UpdateTime string
    Timestamp the Engine was last updated.
    createTime String
    Timestamp the Engine was created at.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    updateTime String
    Timestamp the Engine was last updated.
    createTime string
    Timestamp the Engine was created at.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    updateTime string
    Timestamp the Engine was last updated.
    create_time str
    Timestamp the Engine was created at.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    update_time str
    Timestamp the Engine was last updated.
    createTime String
    Timestamp the Engine was created at.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    updateTime String
    Timestamp the Engine was last updated.

    Look up Existing SearchEngine Resource

    Get an existing SearchEngine 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?: SearchEngineState, opts?: CustomResourceOptions): SearchEngine
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_type: Optional[str] = None,
            collection_id: Optional[str] = None,
            common_config: Optional[SearchEngineCommonConfigArgs] = None,
            create_time: Optional[str] = None,
            data_store_ids: Optional[Sequence[str]] = None,
            disable_analytics: Optional[bool] = None,
            display_name: Optional[str] = None,
            engine_id: Optional[str] = None,
            features: Optional[Mapping[str, str]] = None,
            industry_vertical: Optional[str] = None,
            kms_key_name: Optional[str] = None,
            knowledge_graph_config: Optional[SearchEngineKnowledgeGraphConfigArgs] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            search_engine_config: Optional[SearchEngineSearchEngineConfigArgs] = None,
            update_time: Optional[str] = None) -> SearchEngine
    func GetSearchEngine(ctx *Context, name string, id IDInput, state *SearchEngineState, opts ...ResourceOption) (*SearchEngine, error)
    public static SearchEngine Get(string name, Input<string> id, SearchEngineState? state, CustomResourceOptions? opts = null)
    public static SearchEngine get(String name, Output<String> id, SearchEngineState state, CustomResourceOptions options)
    resources:  _:    type: gcp:discoveryengine:SearchEngine    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.
    The following state arguments are supported:
    AppType string
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    CollectionId string
    The collection ID.
    CommonConfig SearchEngineCommonConfig
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    CreateTime string
    Timestamp the Engine was created at.
    DataStoreIds List<string>
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    DisableAnalytics bool
    Whether to disable analytics for searches performed on this engine.
    DisplayName string
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    EngineId string
    Unique ID to use for Search Engine App.
    Features Dictionary<string, string>
    A map of the feature config for the engine to opt in or opt out of features.
    IndustryVertical string
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    KmsKeyName string
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    KnowledgeGraphConfig SearchEngineKnowledgeGraphConfig
    Configurations for the Knowledge Graph. Structure is documented below.
    Location string
    Location.
    Name string
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SearchEngineConfig SearchEngineSearchEngineConfig
    Configurations for a Search Engine. Structure is documented below.
    UpdateTime string
    Timestamp the Engine was last updated.
    AppType string
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    CollectionId string
    The collection ID.
    CommonConfig SearchEngineCommonConfigArgs
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    CreateTime string
    Timestamp the Engine was created at.
    DataStoreIds []string
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    DisableAnalytics bool
    Whether to disable analytics for searches performed on this engine.
    DisplayName string
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    EngineId string
    Unique ID to use for Search Engine App.
    Features map[string]string
    A map of the feature config for the engine to opt in or opt out of features.
    IndustryVertical string
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    KmsKeyName string
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    KnowledgeGraphConfig SearchEngineKnowledgeGraphConfigArgs
    Configurations for the Knowledge Graph. Structure is documented below.
    Location string
    Location.
    Name string
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SearchEngineConfig SearchEngineSearchEngineConfigArgs
    Configurations for a Search Engine. Structure is documented below.
    UpdateTime string
    Timestamp the Engine was last updated.
    appType String
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    collectionId String
    The collection ID.
    commonConfig SearchEngineCommonConfig
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    createTime String
    Timestamp the Engine was created at.
    dataStoreIds List<String>
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    disableAnalytics Boolean
    Whether to disable analytics for searches performed on this engine.
    displayName String
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    engineId String
    Unique ID to use for Search Engine App.
    features Map<String,String>
    A map of the feature config for the engine to opt in or opt out of features.
    industryVertical String
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    kmsKeyName String
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    knowledgeGraphConfig SearchEngineKnowledgeGraphConfig
    Configurations for the Knowledge Graph. Structure is documented below.
    location String
    Location.
    name String
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    searchEngineConfig SearchEngineSearchEngineConfig
    Configurations for a Search Engine. Structure is documented below.
    updateTime String
    Timestamp the Engine was last updated.
    appType string
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    collectionId string
    The collection ID.
    commonConfig SearchEngineCommonConfig
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    createTime string
    Timestamp the Engine was created at.
    dataStoreIds string[]
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    disableAnalytics boolean
    Whether to disable analytics for searches performed on this engine.
    displayName string
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    engineId string
    Unique ID to use for Search Engine App.
    features {[key: string]: string}
    A map of the feature config for the engine to opt in or opt out of features.
    industryVertical string
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    kmsKeyName string
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    knowledgeGraphConfig SearchEngineKnowledgeGraphConfig
    Configurations for the Knowledge Graph. Structure is documented below.
    location string
    Location.
    name string
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    searchEngineConfig SearchEngineSearchEngineConfig
    Configurations for a Search Engine. Structure is documented below.
    updateTime string
    Timestamp the Engine was last updated.
    app_type str
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    collection_id str
    The collection ID.
    common_config SearchEngineCommonConfigArgs
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    create_time str
    Timestamp the Engine was created at.
    data_store_ids Sequence[str]
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    disable_analytics bool
    Whether to disable analytics for searches performed on this engine.
    display_name str
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    engine_id str
    Unique ID to use for Search Engine App.
    features Mapping[str, str]
    A map of the feature config for the engine to opt in or opt out of features.
    industry_vertical str
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    kms_key_name str
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    knowledge_graph_config SearchEngineKnowledgeGraphConfigArgs
    Configurations for the Knowledge Graph. Structure is documented below.
    location str
    Location.
    name str
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    search_engine_config SearchEngineSearchEngineConfigArgs
    Configurations for a Search Engine. Structure is documented below.
    update_time str
    Timestamp the Engine was last updated.
    appType String
    This is the application type this engine resource represents. The supported values: 'APP_TYPE_UNSPECIFIED', 'APP_TYPE_INTRANET'.
    collectionId String
    The collection ID.
    commonConfig Property Map
    Common config spec that specifies the metadata of the engine. Structure is documented below.
    createTime String
    Timestamp the Engine was created at.
    dataStoreIds List<String>
    The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
    disableAnalytics Boolean
    Whether to disable analytics for searches performed on this engine.
    displayName String
    Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
    engineId String
    Unique ID to use for Search Engine App.
    features Map<String>
    A map of the feature config for the engine to opt in or opt out of features.
    industryVertical String
    The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value is GENERIC. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    kmsKeyName String
    The KMS key to be used to protect this Engine at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Engine will be protected by the KMS key, as indicated in the cmek_config field.
    knowledgeGraphConfig Property Map
    Configurations for the Knowledge Graph. Structure is documented below.
    location String
    Location.
    name String
    The unique full resource name of the search engine. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    searchEngineConfig Property Map
    Configurations for a Search Engine. Structure is documented below.
    updateTime String
    Timestamp the Engine was last updated.

    Supporting Types

    SearchEngineCommonConfig, SearchEngineCommonConfigArgs

    CompanyName string
    The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
    CompanyName string
    The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
    companyName String
    The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
    companyName string
    The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
    company_name str
    The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
    companyName String
    The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd

    SearchEngineKnowledgeGraphConfig, SearchEngineKnowledgeGraphConfigArgs

    CloudKnowledgeGraphTypes List<string>
    Specify entity types to support.
    EnableCloudKnowledgeGraph bool
    Whether to enable the Cloud Knowledge Graph for the engine.
    EnablePrivateKnowledgeGraph bool
    Whether to enable the Private Knowledge Graph for the engine.
    FeatureConfig SearchEngineKnowledgeGraphConfigFeatureConfig
    Feature config for the Knowledge Graph. Structure is documented below.
    CloudKnowledgeGraphTypes []string
    Specify entity types to support.
    EnableCloudKnowledgeGraph bool
    Whether to enable the Cloud Knowledge Graph for the engine.
    EnablePrivateKnowledgeGraph bool
    Whether to enable the Private Knowledge Graph for the engine.
    FeatureConfig SearchEngineKnowledgeGraphConfigFeatureConfig
    Feature config for the Knowledge Graph. Structure is documented below.
    cloudKnowledgeGraphTypes List<String>
    Specify entity types to support.
    enableCloudKnowledgeGraph Boolean
    Whether to enable the Cloud Knowledge Graph for the engine.
    enablePrivateKnowledgeGraph Boolean
    Whether to enable the Private Knowledge Graph for the engine.
    featureConfig SearchEngineKnowledgeGraphConfigFeatureConfig
    Feature config for the Knowledge Graph. Structure is documented below.
    cloudKnowledgeGraphTypes string[]
    Specify entity types to support.
    enableCloudKnowledgeGraph boolean
    Whether to enable the Cloud Knowledge Graph for the engine.
    enablePrivateKnowledgeGraph boolean
    Whether to enable the Private Knowledge Graph for the engine.
    featureConfig SearchEngineKnowledgeGraphConfigFeatureConfig
    Feature config for the Knowledge Graph. Structure is documented below.
    cloud_knowledge_graph_types Sequence[str]
    Specify entity types to support.
    enable_cloud_knowledge_graph bool
    Whether to enable the Cloud Knowledge Graph for the engine.
    enable_private_knowledge_graph bool
    Whether to enable the Private Knowledge Graph for the engine.
    feature_config SearchEngineKnowledgeGraphConfigFeatureConfig
    Feature config for the Knowledge Graph. Structure is documented below.
    cloudKnowledgeGraphTypes List<String>
    Specify entity types to support.
    enableCloudKnowledgeGraph Boolean
    Whether to enable the Cloud Knowledge Graph for the engine.
    enablePrivateKnowledgeGraph Boolean
    Whether to enable the Private Knowledge Graph for the engine.
    featureConfig Property Map
    Feature config for the Knowledge Graph. Structure is documented below.

    SearchEngineKnowledgeGraphConfigFeatureConfig, SearchEngineKnowledgeGraphConfigFeatureConfigArgs

    DisablePrivateKgAutoComplete bool
    Whether to disable the private KG auto complete for the engine.
    DisablePrivateKgEnrichment bool
    Whether to disable the private KG enrichment for the engine.
    DisablePrivateKgQueryUiChips bool
    Whether to disable the private KG for query UI chips.
    DisablePrivateKgQueryUnderstanding bool
    Whether to disable the private KG query understanding for the engine.
    DisablePrivateKgAutoComplete bool
    Whether to disable the private KG auto complete for the engine.
    DisablePrivateKgEnrichment bool
    Whether to disable the private KG enrichment for the engine.
    DisablePrivateKgQueryUiChips bool
    Whether to disable the private KG for query UI chips.
    DisablePrivateKgQueryUnderstanding bool
    Whether to disable the private KG query understanding for the engine.
    disablePrivateKgAutoComplete Boolean
    Whether to disable the private KG auto complete for the engine.
    disablePrivateKgEnrichment Boolean
    Whether to disable the private KG enrichment for the engine.
    disablePrivateKgQueryUiChips Boolean
    Whether to disable the private KG for query UI chips.
    disablePrivateKgQueryUnderstanding Boolean
    Whether to disable the private KG query understanding for the engine.
    disablePrivateKgAutoComplete boolean
    Whether to disable the private KG auto complete for the engine.
    disablePrivateKgEnrichment boolean
    Whether to disable the private KG enrichment for the engine.
    disablePrivateKgQueryUiChips boolean
    Whether to disable the private KG for query UI chips.
    disablePrivateKgQueryUnderstanding boolean
    Whether to disable the private KG query understanding for the engine.
    disable_private_kg_auto_complete bool
    Whether to disable the private KG auto complete for the engine.
    disable_private_kg_enrichment bool
    Whether to disable the private KG enrichment for the engine.
    disable_private_kg_query_ui_chips bool
    Whether to disable the private KG for query UI chips.
    disable_private_kg_query_understanding bool
    Whether to disable the private KG query understanding for the engine.
    disablePrivateKgAutoComplete Boolean
    Whether to disable the private KG auto complete for the engine.
    disablePrivateKgEnrichment Boolean
    Whether to disable the private KG enrichment for the engine.
    disablePrivateKgQueryUiChips Boolean
    Whether to disable the private KG for query UI chips.
    disablePrivateKgQueryUnderstanding Boolean
    Whether to disable the private KG query understanding for the engine.

    SearchEngineSearchEngineConfig, SearchEngineSearchEngineConfigArgs

    SearchAddOns List<string>
    The add-on that this search engine enables. Each value may be one of: SEARCH_ADD_ON_LLM.
    SearchTier string
    The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. Default value is SEARCH_TIER_STANDARD. Possible values are: SEARCH_TIER_STANDARD, SEARCH_TIER_ENTERPRISE.
    SearchAddOns []string
    The add-on that this search engine enables. Each value may be one of: SEARCH_ADD_ON_LLM.
    SearchTier string
    The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. Default value is SEARCH_TIER_STANDARD. Possible values are: SEARCH_TIER_STANDARD, SEARCH_TIER_ENTERPRISE.
    searchAddOns List<String>
    The add-on that this search engine enables. Each value may be one of: SEARCH_ADD_ON_LLM.
    searchTier String
    The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. Default value is SEARCH_TIER_STANDARD. Possible values are: SEARCH_TIER_STANDARD, SEARCH_TIER_ENTERPRISE.
    searchAddOns string[]
    The add-on that this search engine enables. Each value may be one of: SEARCH_ADD_ON_LLM.
    searchTier string
    The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. Default value is SEARCH_TIER_STANDARD. Possible values are: SEARCH_TIER_STANDARD, SEARCH_TIER_ENTERPRISE.
    search_add_ons Sequence[str]
    The add-on that this search engine enables. Each value may be one of: SEARCH_ADD_ON_LLM.
    search_tier str
    The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. Default value is SEARCH_TIER_STANDARD. Possible values are: SEARCH_TIER_STANDARD, SEARCH_TIER_ENTERPRISE.
    searchAddOns List<String>
    The add-on that this search engine enables. Each value may be one of: SEARCH_ADD_ON_LLM.
    searchTier String
    The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. Default value is SEARCH_TIER_STANDARD. Possible values are: SEARCH_TIER_STANDARD, SEARCH_TIER_ENTERPRISE.

    Import

    SearchEngine can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}
    • {{project}}/{{location}}/{{collection_id}}/{{engine_id}}
    • {{location}}/{{collection_id}}/{{engine_id}}

    When using the pulumi import command, SearchEngine can be imported using one of the formats above. For example:

    $ pulumi import gcp:discoveryengine/searchEngine:SearchEngine default projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}
    $ pulumi import gcp:discoveryengine/searchEngine:SearchEngine default {{project}}/{{location}}/{{collection_id}}/{{engine_id}}
    $ pulumi import gcp:discoveryengine/searchEngine:SearchEngine default {{location}}/{{collection_id}}/{{engine_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-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.15.0
    published on Thursday, Mar 12, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.