gcp.discoveryengine.SearchEngine
Explore with Pulumi AI
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:
- API documentation
- How-to Guides
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=gcp.discoveryengine.SearchEngineSearchEngineConfigArgs())
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/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: nil,
})
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()
.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: {}
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,
collection_id: Optional[str] = None,
data_store_ids: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
engine_id: Optional[str] = None,
location: Optional[str] = None,
search_engine_config: Optional[SearchEngineSearchEngineConfigArgs] = None,
common_config: Optional[SearchEngineCommonConfigArgs] = None,
industry_vertical: Optional[str] = None,
project: Optional[str] = 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()
{
CollectionId = "string",
DataStoreIds = new[]
{
"string",
},
DisplayName = "string",
EngineId = "string",
Location = "string",
SearchEngineConfig = new Gcp.DiscoveryEngine.Inputs.SearchEngineSearchEngineConfigArgs
{
SearchAddOns = new[]
{
"string",
},
SearchTier = "string",
},
CommonConfig = new Gcp.DiscoveryEngine.Inputs.SearchEngineCommonConfigArgs
{
CompanyName = "string",
},
IndustryVertical = "string",
Project = "string",
});
example, err := discoveryengine.NewSearchEngine(ctx, "searchEngineResource", &discoveryengine.SearchEngineArgs{
CollectionId: pulumi.String("string"),
DataStoreIds: pulumi.StringArray{
pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
EngineId: pulumi.String("string"),
Location: pulumi.String("string"),
SearchEngineConfig: &discoveryengine.SearchEngineSearchEngineConfigArgs{
SearchAddOns: pulumi.StringArray{
pulumi.String("string"),
},
SearchTier: pulumi.String("string"),
},
CommonConfig: &discoveryengine.SearchEngineCommonConfigArgs{
CompanyName: pulumi.String("string"),
},
IndustryVertical: pulumi.String("string"),
Project: pulumi.String("string"),
})
var searchEngineResource = new SearchEngine("searchEngineResource", SearchEngineArgs.builder()
.collectionId("string")
.dataStoreIds("string")
.displayName("string")
.engineId("string")
.location("string")
.searchEngineConfig(SearchEngineSearchEngineConfigArgs.builder()
.searchAddOns("string")
.searchTier("string")
.build())
.commonConfig(SearchEngineCommonConfigArgs.builder()
.companyName("string")
.build())
.industryVertical("string")
.project("string")
.build());
search_engine_resource = gcp.discoveryengine.SearchEngine("searchEngineResource",
collection_id="string",
data_store_ids=["string"],
display_name="string",
engine_id="string",
location="string",
search_engine_config=gcp.discoveryengine.SearchEngineSearchEngineConfigArgs(
search_add_ons=["string"],
search_tier="string",
),
common_config=gcp.discoveryengine.SearchEngineCommonConfigArgs(
company_name="string",
),
industry_vertical="string",
project="string")
const searchEngineResource = new gcp.discoveryengine.SearchEngine("searchEngineResource", {
collectionId: "string",
dataStoreIds: ["string"],
displayName: "string",
engineId: "string",
location: "string",
searchEngineConfig: {
searchAddOns: ["string"],
searchTier: "string",
},
commonConfig: {
companyName: "string",
},
industryVertical: "string",
project: "string",
});
type: gcp:discoveryengine:SearchEngine
properties:
collectionId: string
commonConfig:
companyName: string
dataStoreIds:
- string
displayName: string
engineId: string
industryVertical: string
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
The SearchEngine resource accepts the following input properties:
- Collection
Id string - The collection ID.
- Data
Store List<string>Ids - 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 string - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- Engine
Id string - Unique ID to use for Search Engine App.
- Location string
- Location.
- Search
Engine SearchConfig Engine Search Engine Config - Configurations for a Search Engine. Structure is documented below.
- Common
Config SearchEngine Common Config - Common config spec that specifies the metadata of the engine.
- Industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- Project string
- Collection
Id string - The collection ID.
- Data
Store []stringIds - 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 string - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- Engine
Id string - Unique ID to use for Search Engine App.
- Location string
- Location.
- Search
Engine SearchConfig Engine Search Engine Config Args - Configurations for a Search Engine. Structure is documented below.
- Common
Config SearchEngine Common Config Args - Common config spec that specifies the metadata of the engine.
- Industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- Project string
- collection
Id String - The collection ID.
- data
Store List<String>Ids - 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 String - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- engine
Id String - Unique ID to use for Search Engine App.
- location String
- Location.
- search
Engine SearchConfig Engine Search Engine Config - Configurations for a Search Engine. Structure is documented below.
- common
Config SearchEngine Common Config - Common config spec that specifies the metadata of the engine.
- industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- project String
- collection
Id string - The collection ID.
- data
Store string[]Ids - 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 string - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- engine
Id string - Unique ID to use for Search Engine App.
- location string
- Location.
- search
Engine SearchConfig Engine Search Engine Config - Configurations for a Search Engine. Structure is documented below.
- common
Config SearchEngine Common Config - Common config spec that specifies the metadata of the engine.
- industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- project string
- collection_
id str - The collection ID.
- data_
store_ Sequence[str]ids - 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_ Searchconfig Engine Search Engine Config Args - Configurations for a Search Engine. Structure is documented below.
- common_
config SearchEngine Common Config Args - Common config spec that specifies the metadata of the engine.
- 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- project str
- collection
Id String - The collection ID.
- data
Store List<String>Ids - 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 String - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- engine
Id String - Unique ID to use for Search Engine App.
- location String
- Location.
- search
Engine Property MapConfig - Configurations for a Search Engine. Structure is documented below.
- common
Config Property Map - Common config spec that specifies the metadata of the engine.
- industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the SearchEngine resource produces the following output properties:
- Create
Time 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. - Update
Time string - Timestamp the Engine was last updated.
- Create
Time 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. - Update
Time string - Timestamp the Engine was last updated.
- create
Time 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. - update
Time String - Timestamp the Engine was last updated.
- create
Time 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. - update
Time 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.
- create
Time 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. - update
Time 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,
collection_id: Optional[str] = None,
common_config: Optional[SearchEngineCommonConfigArgs] = None,
create_time: Optional[str] = None,
data_store_ids: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
engine_id: Optional[str] = None,
industry_vertical: Optional[str] = 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)
Resource lookup is not supported in YAML
- 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.
- Collection
Id string - The collection ID.
- Common
Config SearchEngine Common Config - Common config spec that specifies the metadata of the engine.
- Create
Time string - Timestamp the Engine was created at.
- Data
Store List<string>Ids - 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 string - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- Engine
Id string - Unique ID to use for Search Engine App.
- Industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- 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
- Search
Engine SearchConfig Engine Search Engine Config - Configurations for a Search Engine. Structure is documented below.
- Update
Time string - Timestamp the Engine was last updated.
- Collection
Id string - The collection ID.
- Common
Config SearchEngine Common Config Args - Common config spec that specifies the metadata of the engine.
- Create
Time string - Timestamp the Engine was created at.
- Data
Store []stringIds - 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 string - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- Engine
Id string - Unique ID to use for Search Engine App.
- Industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- 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
- Search
Engine SearchConfig Engine Search Engine Config Args - Configurations for a Search Engine. Structure is documented below.
- Update
Time string - Timestamp the Engine was last updated.
- collection
Id String - The collection ID.
- common
Config SearchEngine Common Config - Common config spec that specifies the metadata of the engine.
- create
Time String - Timestamp the Engine was created at.
- data
Store List<String>Ids - 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 String - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- engine
Id String - Unique ID to use for Search Engine App.
- industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- 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
- search
Engine SearchConfig Engine Search Engine Config - Configurations for a Search Engine. Structure is documented below.
- update
Time String - Timestamp the Engine was last updated.
- collection
Id string - The collection ID.
- common
Config SearchEngine Common Config - Common config spec that specifies the metadata of the engine.
- create
Time string - Timestamp the Engine was created at.
- data
Store string[]Ids - 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 string - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- engine
Id string - Unique ID to use for Search Engine App.
- industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- 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
- search
Engine SearchConfig Engine Search Engine Config - Configurations for a Search Engine. Structure is documented below.
- update
Time string - Timestamp the Engine was last updated.
- collection_
id str - The collection ID.
- common_
config SearchEngine Common Config Args - Common config spec that specifies the metadata of the engine.
- create_
time str - Timestamp the Engine was created at.
- data_
store_ Sequence[str]ids - 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.
- 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- 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
- search_
engine_ Searchconfig Engine Search Engine Config Args - Configurations for a Search Engine. Structure is documented below.
- update_
time str - Timestamp the Engine was last updated.
- collection
Id String - The collection ID.
- common
Config Property Map - Common config spec that specifies the metadata of the engine.
- create
Time String - Timestamp the Engine was created at.
- data
Store List<String>Ids - 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 String - Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
- engine
Id String - Unique ID to use for Search Engine App.
- industry
Vertical 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: "GENERIC" Possible values: ["GENERIC", "MEDIA"]
- 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
- search
Engine Property MapConfig - Configurations for a Search Engine. Structure is documented below.
- update
Time String - Timestamp the Engine was last updated.
Supporting Types
SearchEngineCommonConfig, SearchEngineCommonConfigArgs
- Company
Name 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 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 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 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
- company
Name String - The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
SearchEngineSearchEngineConfig, SearchEngineSearchEngineConfigArgs
- Search
Add List<string>Ons - The add-on that this search engine enables.
Each value may be one of:
SEARCH_ADD_ON_LLM
. - Search
Tier 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 []stringOns - The add-on that this search engine enables.
Each value may be one of:
SEARCH_ADD_ON_LLM
. - Search
Tier 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 List<String>Ons - The add-on that this search engine enables.
Each value may be one of:
SEARCH_ADD_ON_LLM
. - search
Tier 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 string[]Ons - The add-on that this search engine enables.
Each value may be one of:
SEARCH_ADD_ON_LLM
. - search
Tier 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_ Sequence[str]ons - 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
.
- search
Add List<String>Ons - The add-on that this search engine enables.
Each value may be one of:
SEARCH_ADD_ON_LLM
. - search
Tier 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.