1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. discoveryengine
  5. DataStore
Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi

gcp.discoveryengine.DataStore

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi

    Data store is a collection of websites and documents used to find answers for end-user’s questions in Discovery Engine (a.k.a. Vertex AI Search and Conversation).

    To get more information about DataStore, see:

    Example Usage

    Discoveryengine Datastore Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const basic = new gcp.discoveryengine.DataStore("basic", {
        location: "global",
        dataStoreId: "data-store-id",
        displayName: "tf-test-structured-datastore",
        industryVertical: "GENERIC",
        contentConfig: "NO_CONTENT",
        solutionTypes: ["SOLUTION_TYPE_SEARCH"],
        createAdvancedSiteSearch: false,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    basic = gcp.discoveryengine.DataStore("basic",
        location="global",
        data_store_id="data-store-id",
        display_name="tf-test-structured-datastore",
        industry_vertical="GENERIC",
        content_config="NO_CONTENT",
        solution_types=["SOLUTION_TYPE_SEARCH"],
        create_advanced_site_search=False)
    
    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 {
    		_, err := discoveryengine.NewDataStore(ctx, "basic", &discoveryengine.DataStoreArgs{
    			Location:         pulumi.String("global"),
    			DataStoreId:      pulumi.String("data-store-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
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var basic = new Gcp.DiscoveryEngine.DataStore("basic", new()
        {
            Location = "global",
            DataStoreId = "data-store-id",
            DisplayName = "tf-test-structured-datastore",
            IndustryVertical = "GENERIC",
            ContentConfig = "NO_CONTENT",
            SolutionTypes = new[]
            {
                "SOLUTION_TYPE_SEARCH",
            },
            CreateAdvancedSiteSearch = false,
        });
    
    });
    
    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 java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var basic = new DataStore("basic", DataStoreArgs.builder()        
                .location("global")
                .dataStoreId("data-store-id")
                .displayName("tf-test-structured-datastore")
                .industryVertical("GENERIC")
                .contentConfig("NO_CONTENT")
                .solutionTypes("SOLUTION_TYPE_SEARCH")
                .createAdvancedSiteSearch(false)
                .build());
    
        }
    }
    
    resources:
      basic:
        type: gcp:discoveryengine:DataStore
        properties:
          location: global
          dataStoreId: data-store-id
          displayName: tf-test-structured-datastore
          industryVertical: GENERIC
          contentConfig: NO_CONTENT
          solutionTypes:
            - SOLUTION_TYPE_SEARCH
          createAdvancedSiteSearch: false
    

    Create DataStore Resource

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

    Constructor syntax

    new DataStore(name: string, args: DataStoreArgs, opts?: CustomResourceOptions);
    @overload
    def DataStore(resource_name: str,
                  args: DataStoreArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DataStore(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  content_config: Optional[str] = None,
                  data_store_id: Optional[str] = None,
                  display_name: Optional[str] = None,
                  industry_vertical: Optional[str] = None,
                  location: Optional[str] = None,
                  create_advanced_site_search: Optional[bool] = None,
                  project: Optional[str] = None,
                  solution_types: Optional[Sequence[str]] = None)
    func NewDataStore(ctx *Context, name string, args DataStoreArgs, opts ...ResourceOption) (*DataStore, error)
    public DataStore(string name, DataStoreArgs args, CustomResourceOptions? opts = null)
    public DataStore(String name, DataStoreArgs args)
    public DataStore(String name, DataStoreArgs args, CustomResourceOptions options)
    
    type: gcp:discoveryengine:DataStore
    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 DataStoreArgs
    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 DataStoreArgs
    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 DataStoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DataStoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DataStoreArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var dataStoreResource = new Gcp.DiscoveryEngine.DataStore("dataStoreResource", new()
    {
        ContentConfig = "string",
        DataStoreId = "string",
        DisplayName = "string",
        IndustryVertical = "string",
        Location = "string",
        CreateAdvancedSiteSearch = false,
        Project = "string",
        SolutionTypes = new[]
        {
            "string",
        },
    });
    
    example, err := discoveryengine.NewDataStore(ctx, "dataStoreResource", &discoveryengine.DataStoreArgs{
    	ContentConfig:            pulumi.String("string"),
    	DataStoreId:              pulumi.String("string"),
    	DisplayName:              pulumi.String("string"),
    	IndustryVertical:         pulumi.String("string"),
    	Location:                 pulumi.String("string"),
    	CreateAdvancedSiteSearch: pulumi.Bool(false),
    	Project:                  pulumi.String("string"),
    	SolutionTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var dataStoreResource = new DataStore("dataStoreResource", DataStoreArgs.builder()        
        .contentConfig("string")
        .dataStoreId("string")
        .displayName("string")
        .industryVertical("string")
        .location("string")
        .createAdvancedSiteSearch(false)
        .project("string")
        .solutionTypes("string")
        .build());
    
    data_store_resource = gcp.discoveryengine.DataStore("dataStoreResource",
        content_config="string",
        data_store_id="string",
        display_name="string",
        industry_vertical="string",
        location="string",
        create_advanced_site_search=False,
        project="string",
        solution_types=["string"])
    
    const dataStoreResource = new gcp.discoveryengine.DataStore("dataStoreResource", {
        contentConfig: "string",
        dataStoreId: "string",
        displayName: "string",
        industryVertical: "string",
        location: "string",
        createAdvancedSiteSearch: false,
        project: "string",
        solutionTypes: ["string"],
    });
    
    type: gcp:discoveryengine:DataStore
    properties:
        contentConfig: string
        createAdvancedSiteSearch: false
        dataStoreId: string
        displayName: string
        industryVertical: string
        location: string
        project: string
        solutionTypes:
            - string
    

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

    ContentConfig string
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    DataStoreId string
    The unique id of the data store.


    DisplayName string
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    IndustryVertical string
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    Location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    CreateAdvancedSiteSearch bool
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SolutionTypes List<string>
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    ContentConfig string
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    DataStoreId string
    The unique id of the data store.


    DisplayName string
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    IndustryVertical string
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    Location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    CreateAdvancedSiteSearch bool
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SolutionTypes []string
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    contentConfig String
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    dataStoreId String
    The unique id of the data store.


    displayName String
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    industryVertical String
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    location String
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    createAdvancedSiteSearch Boolean
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    solutionTypes List<String>
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    contentConfig string
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    dataStoreId string
    The unique id of the data store.


    displayName string
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    industryVertical string
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    createAdvancedSiteSearch boolean
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    solutionTypes string[]
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    content_config str
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    data_store_id str
    The unique id of the data store.


    display_name str
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    industry_vertical str
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    location str
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    create_advanced_site_search bool
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    solution_types Sequence[str]
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    contentConfig String
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    dataStoreId String
    The unique id of the data store.


    displayName String
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    industryVertical String
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    location String
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    createAdvancedSiteSearch Boolean
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    solutionTypes List<String>
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.

    Outputs

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

    CreateTime string
    Timestamp when the DataStore was created.
    DefaultSchemaId string
    The id of the default Schema associated with this data store.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    CreateTime string
    Timestamp when the DataStore was created.
    DefaultSchemaId string
    The id of the default Schema associated with this data store.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    createTime String
    Timestamp when the DataStore was created.
    defaultSchemaId String
    The id of the default Schema associated with this data store.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    createTime string
    Timestamp when the DataStore was created.
    defaultSchemaId string
    The id of the default Schema associated with this data store.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    create_time str
    Timestamp when the DataStore was created.
    default_schema_id str
    The id of the default Schema associated with this data store.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
    createTime String
    Timestamp when the DataStore was created.
    defaultSchemaId String
    The id of the default Schema associated with this data store.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

    Look up Existing DataStore Resource

    Get an existing DataStore 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?: DataStoreState, opts?: CustomResourceOptions): DataStore
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content_config: Optional[str] = None,
            create_advanced_site_search: Optional[bool] = None,
            create_time: Optional[str] = None,
            data_store_id: Optional[str] = None,
            default_schema_id: Optional[str] = None,
            display_name: Optional[str] = None,
            industry_vertical: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            solution_types: Optional[Sequence[str]] = None) -> DataStore
    func GetDataStore(ctx *Context, name string, id IDInput, state *DataStoreState, opts ...ResourceOption) (*DataStore, error)
    public static DataStore Get(string name, Input<string> id, DataStoreState? state, CustomResourceOptions? opts = null)
    public static DataStore get(String name, Output<String> id, DataStoreState 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.
    The following state arguments are supported:
    ContentConfig string
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    CreateAdvancedSiteSearch bool
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    CreateTime string
    Timestamp when the DataStore was created.
    DataStoreId string
    The unique id of the data store.


    DefaultSchemaId string
    The id of the default Schema associated with this data store.
    DisplayName string
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    IndustryVertical string
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    Location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    Name string
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_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.
    SolutionTypes List<string>
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    ContentConfig string
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    CreateAdvancedSiteSearch bool
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    CreateTime string
    Timestamp when the DataStore was created.
    DataStoreId string
    The unique id of the data store.


    DefaultSchemaId string
    The id of the default Schema associated with this data store.
    DisplayName string
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    IndustryVertical string
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    Location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    Name string
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_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.
    SolutionTypes []string
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    contentConfig String
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    createAdvancedSiteSearch Boolean
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    createTime String
    Timestamp when the DataStore was created.
    dataStoreId String
    The unique id of the data store.


    defaultSchemaId String
    The id of the default Schema associated with this data store.
    displayName String
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    industryVertical String
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    location String
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    name String
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_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.
    solutionTypes List<String>
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    contentConfig string
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    createAdvancedSiteSearch boolean
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    createTime string
    Timestamp when the DataStore was created.
    dataStoreId string
    The unique id of the data store.


    defaultSchemaId string
    The id of the default Schema associated with this data store.
    displayName string
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    industryVertical string
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    location string
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    name string
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_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.
    solutionTypes string[]
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    content_config str
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    create_advanced_site_search bool
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    create_time str
    Timestamp when the DataStore was created.
    data_store_id str
    The unique id of the data store.


    default_schema_id str
    The id of the default Schema associated with this data store.
    display_name str
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    industry_vertical str
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    location str
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    name str
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_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.
    solution_types Sequence[str]
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.
    contentConfig String
    The content config of the data store. Possible values are: NO_CONTENT, CONTENT_REQUIRED, PUBLIC_WEBSITE.
    createAdvancedSiteSearch Boolean
    If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.
    createTime String
    Timestamp when the DataStore was created.
    dataStoreId String
    The unique id of the data store.


    defaultSchemaId String
    The id of the default Schema associated with this data store.
    displayName String
    The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.
    industryVertical String
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA.
    location String
    The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
    name String
    The unique full resource name of the data store. Values are of the format projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_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.
    solutionTypes List<String>
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT.

    Import

    DataStore can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}}

    • {{project}}/{{location}}/{{data_store_id}}

    • {{location}}/{{data_store_id}}

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

    $ pulumi import gcp:discoveryengine/dataStore:DataStore default projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}}
    
    $ pulumi import gcp:discoveryengine/dataStore:DataStore default {{project}}/{{location}}/{{data_store_id}}
    
    $ pulumi import gcp:discoveryengine/dataStore:DataStore default {{location}}/{{data_store_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
    Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi