1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. discoveryengine
  5. DataStore
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

gcp.discoveryengine.DataStore

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 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,
        skipDefaultSchemaCreation: 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,
        skip_default_schema_creation=False)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/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),
    			SkipDefaultSchemaCreation: 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,
            SkipDefaultSchemaCreation = 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)
                .skipDefaultSchemaCreation(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
          skipDefaultSchemaCreation: false
    

    Discoveryengine Datastore Document Processing Config

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const documentProcessingConfig = new gcp.discoveryengine.DataStore("document_processing_config", {
        location: "global",
        dataStoreId: "data-store-id",
        displayName: "tf-test-structured-datastore",
        industryVertical: "GENERIC",
        contentConfig: "NO_CONTENT",
        solutionTypes: ["SOLUTION_TYPE_SEARCH"],
        createAdvancedSiteSearch: false,
        documentProcessingConfig: {
            defaultParsingConfig: {
                digitalParsingConfig: {},
            },
            parsingConfigOverrides: [{
                fileType: "pdf",
                ocrParsingConfig: {
                    useNativeText: true,
                },
            }],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    document_processing_config = gcp.discoveryengine.DataStore("document_processing_config",
        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,
        document_processing_config={
            "default_parsing_config": {
                "digital_parsing_config": {},
            },
            "parsing_config_overrides": [{
                "file_type": "pdf",
                "ocr_parsing_config": {
                    "use_native_text": True,
                },
            }],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := discoveryengine.NewDataStore(ctx, "document_processing_config", &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),
    			DocumentProcessingConfig: &discoveryengine.DataStoreDocumentProcessingConfigArgs{
    				DefaultParsingConfig: &discoveryengine.DataStoreDocumentProcessingConfigDefaultParsingConfigArgs{
    					DigitalParsingConfig: nil,
    				},
    				ParsingConfigOverrides: discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideArray{
    					&discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideArgs{
    						FileType: pulumi.String("pdf"),
    						OcrParsingConfig: &discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs{
    							UseNativeText: pulumi.Bool(true),
    						},
    					},
    				},
    			},
    		})
    		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 documentProcessingConfig = new Gcp.DiscoveryEngine.DataStore("document_processing_config", new()
        {
            Location = "global",
            DataStoreId = "data-store-id",
            DisplayName = "tf-test-structured-datastore",
            IndustryVertical = "GENERIC",
            ContentConfig = "NO_CONTENT",
            SolutionTypes = new[]
            {
                "SOLUTION_TYPE_SEARCH",
            },
            CreateAdvancedSiteSearch = false,
            DocumentProcessingConfig = new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigArgs
            {
                DefaultParsingConfig = new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigDefaultParsingConfigArgs
                {
                    DigitalParsingConfig = null,
                },
                ParsingConfigOverrides = new[]
                {
                    new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigParsingConfigOverrideArgs
                    {
                        FileType = "pdf",
                        OcrParsingConfig = new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs
                        {
                            UseNativeText = true,
                        },
                    },
                },
            },
        });
    
    });
    
    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.inputs.DataStoreDocumentProcessingConfigArgs;
    import com.pulumi.gcp.discoveryengine.inputs.DataStoreDocumentProcessingConfigDefaultParsingConfigArgs;
    import com.pulumi.gcp.discoveryengine.inputs.DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs;
    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 documentProcessingConfig = new DataStore("documentProcessingConfig", DataStoreArgs.builder()
                .location("global")
                .dataStoreId("data-store-id")
                .displayName("tf-test-structured-datastore")
                .industryVertical("GENERIC")
                .contentConfig("NO_CONTENT")
                .solutionTypes("SOLUTION_TYPE_SEARCH")
                .createAdvancedSiteSearch(false)
                .documentProcessingConfig(DataStoreDocumentProcessingConfigArgs.builder()
                    .defaultParsingConfig(DataStoreDocumentProcessingConfigDefaultParsingConfigArgs.builder()
                        .digitalParsingConfig()
                        .build())
                    .parsingConfigOverrides(DataStoreDocumentProcessingConfigParsingConfigOverrideArgs.builder()
                        .fileType("pdf")
                        .ocrParsingConfig(DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs.builder()
                            .useNativeText(true)
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      documentProcessingConfig:
        type: gcp:discoveryengine:DataStore
        name: document_processing_config
        properties:
          location: global
          dataStoreId: data-store-id
          displayName: tf-test-structured-datastore
          industryVertical: GENERIC
          contentConfig: NO_CONTENT
          solutionTypes:
            - SOLUTION_TYPE_SEARCH
          createAdvancedSiteSearch: false
          documentProcessingConfig:
            defaultParsingConfig:
              digitalParsingConfig: {}
            parsingConfigOverrides:
              - fileType: pdf
                ocrParsingConfig:
                  useNativeText: true
    

    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,
                  document_processing_config: Optional[DataStoreDocumentProcessingConfigArgs] = None,
                  project: Optional[str] = None,
                  skip_default_schema_creation: Optional[bool] = 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.

    Constructor 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,
        DocumentProcessingConfig = new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigArgs
        {
            ChunkingConfig = new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigChunkingConfigArgs
            {
                LayoutBasedChunkingConfig = new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs
                {
                    ChunkSize = 0,
                    IncludeAncestorHeadings = false,
                },
            },
            DefaultParsingConfig = new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigDefaultParsingConfigArgs
            {
                DigitalParsingConfig = null,
                LayoutParsingConfig = null,
                OcrParsingConfig = new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs
                {
                    UseNativeText = false,
                },
            },
            Name = "string",
            ParsingConfigOverrides = new[]
            {
                new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigParsingConfigOverrideArgs
                {
                    FileType = "string",
                    DigitalParsingConfig = null,
                    LayoutParsingConfig = null,
                    OcrParsingConfig = new Gcp.DiscoveryEngine.Inputs.DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs
                    {
                        UseNativeText = false,
                    },
                },
            },
        },
        Project = "string",
        SkipDefaultSchemaCreation = false,
        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),
    	DocumentProcessingConfig: &discoveryengine.DataStoreDocumentProcessingConfigArgs{
    		ChunkingConfig: &discoveryengine.DataStoreDocumentProcessingConfigChunkingConfigArgs{
    			LayoutBasedChunkingConfig: &discoveryengine.DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs{
    				ChunkSize:               pulumi.Int(0),
    				IncludeAncestorHeadings: pulumi.Bool(false),
    			},
    		},
    		DefaultParsingConfig: &discoveryengine.DataStoreDocumentProcessingConfigDefaultParsingConfigArgs{
    			DigitalParsingConfig: nil,
    			LayoutParsingConfig:  nil,
    			OcrParsingConfig: &discoveryengine.DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs{
    				UseNativeText: pulumi.Bool(false),
    			},
    		},
    		Name: pulumi.String("string"),
    		ParsingConfigOverrides: discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideArray{
    			&discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideArgs{
    				FileType:             pulumi.String("string"),
    				DigitalParsingConfig: nil,
    				LayoutParsingConfig:  nil,
    				OcrParsingConfig: &discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs{
    					UseNativeText: pulumi.Bool(false),
    				},
    			},
    		},
    	},
    	Project:                   pulumi.String("string"),
    	SkipDefaultSchemaCreation: pulumi.Bool(false),
    	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)
        .documentProcessingConfig(DataStoreDocumentProcessingConfigArgs.builder()
            .chunkingConfig(DataStoreDocumentProcessingConfigChunkingConfigArgs.builder()
                .layoutBasedChunkingConfig(DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs.builder()
                    .chunkSize(0)
                    .includeAncestorHeadings(false)
                    .build())
                .build())
            .defaultParsingConfig(DataStoreDocumentProcessingConfigDefaultParsingConfigArgs.builder()
                .digitalParsingConfig()
                .layoutParsingConfig()
                .ocrParsingConfig(DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs.builder()
                    .useNativeText(false)
                    .build())
                .build())
            .name("string")
            .parsingConfigOverrides(DataStoreDocumentProcessingConfigParsingConfigOverrideArgs.builder()
                .fileType("string")
                .digitalParsingConfig()
                .layoutParsingConfig()
                .ocrParsingConfig(DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs.builder()
                    .useNativeText(false)
                    .build())
                .build())
            .build())
        .project("string")
        .skipDefaultSchemaCreation(false)
        .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,
        document_processing_config={
            "chunkingConfig": {
                "layoutBasedChunkingConfig": {
                    "chunkSize": 0,
                    "includeAncestorHeadings": False,
                },
            },
            "defaultParsingConfig": {
                "digitalParsingConfig": {},
                "layoutParsingConfig": {},
                "ocrParsingConfig": {
                    "useNativeText": False,
                },
            },
            "name": "string",
            "parsingConfigOverrides": [{
                "fileType": "string",
                "digitalParsingConfig": {},
                "layoutParsingConfig": {},
                "ocrParsingConfig": {
                    "useNativeText": False,
                },
            }],
        },
        project="string",
        skip_default_schema_creation=False,
        solution_types=["string"])
    
    const dataStoreResource = new gcp.discoveryengine.DataStore("dataStoreResource", {
        contentConfig: "string",
        dataStoreId: "string",
        displayName: "string",
        industryVertical: "string",
        location: "string",
        createAdvancedSiteSearch: false,
        documentProcessingConfig: {
            chunkingConfig: {
                layoutBasedChunkingConfig: {
                    chunkSize: 0,
                    includeAncestorHeadings: false,
                },
            },
            defaultParsingConfig: {
                digitalParsingConfig: {},
                layoutParsingConfig: {},
                ocrParsingConfig: {
                    useNativeText: false,
                },
            },
            name: "string",
            parsingConfigOverrides: [{
                fileType: "string",
                digitalParsingConfig: {},
                layoutParsingConfig: {},
                ocrParsingConfig: {
                    useNativeText: false,
                },
            }],
        },
        project: "string",
        skipDefaultSchemaCreation: false,
        solutionTypes: ["string"],
    });
    
    type: gcp:discoveryengine:DataStore
    properties:
        contentConfig: string
        createAdvancedSiteSearch: false
        dataStoreId: string
        displayName: string
        documentProcessingConfig:
            chunkingConfig:
                layoutBasedChunkingConfig:
                    chunkSize: 0
                    includeAncestorHeadings: false
            defaultParsingConfig:
                digitalParsingConfig: {}
                layoutParsingConfig: {}
                ocrParsingConfig:
                    useNativeText: false
            name: string
            parsingConfigOverrides:
                - digitalParsingConfig: {}
                  fileType: string
                  layoutParsingConfig: {}
                  ocrParsingConfig:
                    useNativeText: false
        industryVertical: string
        location: string
        project: string
        skipDefaultSchemaCreation: false
        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, HEALTHCARE_FHIR.
    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.
    DocumentProcessingConfig DataStoreDocumentProcessingConfig
    Configuration for Document understanding and enrichment. 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.
    SkipDefaultSchemaCreation bool
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    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, SOLUTION_TYPE_GENERATIVE_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, HEALTHCARE_FHIR.
    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.
    DocumentProcessingConfig DataStoreDocumentProcessingConfigArgs
    Configuration for Document understanding and enrichment. 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.
    SkipDefaultSchemaCreation bool
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    SolutionTypes []string
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT, SOLUTION_TYPE_GENERATIVE_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, HEALTHCARE_FHIR.
    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.
    documentProcessingConfig DataStoreDocumentProcessingConfig
    Configuration for Document understanding and enrichment. 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.
    skipDefaultSchemaCreation Boolean
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    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, SOLUTION_TYPE_GENERATIVE_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, HEALTHCARE_FHIR.
    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.
    documentProcessingConfig DataStoreDocumentProcessingConfig
    Configuration for Document understanding and enrichment. 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.
    skipDefaultSchemaCreation boolean
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    solutionTypes string[]
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT, SOLUTION_TYPE_GENERATIVE_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, HEALTHCARE_FHIR.
    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.
    document_processing_config DataStoreDocumentProcessingConfigArgs
    Configuration for Document understanding and enrichment. 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.
    skip_default_schema_creation bool
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    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, SOLUTION_TYPE_GENERATIVE_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, HEALTHCARE_FHIR.
    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.
    documentProcessingConfig Property Map
    Configuration for Document understanding and enrichment. 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.
    skipDefaultSchemaCreation Boolean
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    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, SOLUTION_TYPE_GENERATIVE_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,
            document_processing_config: Optional[DataStoreDocumentProcessingConfigArgs] = None,
            industry_vertical: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            skip_default_schema_creation: Optional[bool] = 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.
    DocumentProcessingConfig DataStoreDocumentProcessingConfig
    Configuration for Document understanding and enrichment. Structure is documented below.
    IndustryVertical string
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    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.
    SkipDefaultSchemaCreation bool
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    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, SOLUTION_TYPE_GENERATIVE_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.
    DocumentProcessingConfig DataStoreDocumentProcessingConfigArgs
    Configuration for Document understanding and enrichment. Structure is documented below.
    IndustryVertical string
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    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.
    SkipDefaultSchemaCreation bool
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    SolutionTypes []string
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT, SOLUTION_TYPE_GENERATIVE_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.
    documentProcessingConfig DataStoreDocumentProcessingConfig
    Configuration for Document understanding and enrichment. Structure is documented below.
    industryVertical String
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    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.
    skipDefaultSchemaCreation Boolean
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    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, SOLUTION_TYPE_GENERATIVE_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.
    documentProcessingConfig DataStoreDocumentProcessingConfig
    Configuration for Document understanding and enrichment. Structure is documented below.
    industryVertical string
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    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.
    skipDefaultSchemaCreation boolean
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    solutionTypes string[]
    The solutions that the data store enrolls. Each value may be one of: SOLUTION_TYPE_RECOMMENDATION, SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT, SOLUTION_TYPE_GENERATIVE_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.
    document_processing_config DataStoreDocumentProcessingConfigArgs
    Configuration for Document understanding and enrichment. Structure is documented below.
    industry_vertical str
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    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.
    skip_default_schema_creation bool
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    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, SOLUTION_TYPE_GENERATIVE_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.
    documentProcessingConfig Property Map
    Configuration for Document understanding and enrichment. Structure is documented below.
    industryVertical String
    The industry vertical that the data store registers. Possible values are: GENERIC, MEDIA, HEALTHCARE_FHIR.
    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.
    skipDefaultSchemaCreation Boolean
    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.
    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, SOLUTION_TYPE_GENERATIVE_CHAT.

    Supporting Types

    DataStoreDocumentProcessingConfig, DataStoreDocumentProcessingConfigArgs

    ChunkingConfig DataStoreDocumentProcessingConfigChunkingConfig
    Whether chunking mode is enabled. Structure is documented below.
    DefaultParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfig
    Configurations for default Document parser. If not specified, this resource will be configured to use a default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. Structure is documented below.
    Name string
    (Output) The full resource name of the Document Processing Config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig.
    ParsingConfigOverrides List<DataStoreDocumentProcessingConfigParsingConfigOverride>
    Map from file type to override the default parsing configuration based on the file type. Supported keys:
    ChunkingConfig DataStoreDocumentProcessingConfigChunkingConfig
    Whether chunking mode is enabled. Structure is documented below.
    DefaultParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfig
    Configurations for default Document parser. If not specified, this resource will be configured to use a default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. Structure is documented below.
    Name string
    (Output) The full resource name of the Document Processing Config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig.
    ParsingConfigOverrides []DataStoreDocumentProcessingConfigParsingConfigOverride
    Map from file type to override the default parsing configuration based on the file type. Supported keys:
    chunkingConfig DataStoreDocumentProcessingConfigChunkingConfig
    Whether chunking mode is enabled. Structure is documented below.
    defaultParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfig
    Configurations for default Document parser. If not specified, this resource will be configured to use a default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. Structure is documented below.
    name String
    (Output) The full resource name of the Document Processing Config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig.
    parsingConfigOverrides List<DataStoreDocumentProcessingConfigParsingConfigOverride>
    Map from file type to override the default parsing configuration based on the file type. Supported keys:
    chunkingConfig DataStoreDocumentProcessingConfigChunkingConfig
    Whether chunking mode is enabled. Structure is documented below.
    defaultParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfig
    Configurations for default Document parser. If not specified, this resource will be configured to use a default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. Structure is documented below.
    name string
    (Output) The full resource name of the Document Processing Config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig.
    parsingConfigOverrides DataStoreDocumentProcessingConfigParsingConfigOverride[]
    Map from file type to override the default parsing configuration based on the file type. Supported keys:
    chunking_config DataStoreDocumentProcessingConfigChunkingConfig
    Whether chunking mode is enabled. Structure is documented below.
    default_parsing_config DataStoreDocumentProcessingConfigDefaultParsingConfig
    Configurations for default Document parser. If not specified, this resource will be configured to use a default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. Structure is documented below.
    name str
    (Output) The full resource name of the Document Processing Config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig.
    parsing_config_overrides Sequence[DataStoreDocumentProcessingConfigParsingConfigOverride]
    Map from file type to override the default parsing configuration based on the file type. Supported keys:
    chunkingConfig Property Map
    Whether chunking mode is enabled. Structure is documented below.
    defaultParsingConfig Property Map
    Configurations for default Document parser. If not specified, this resource will be configured to use a default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. Structure is documented below.
    name String
    (Output) The full resource name of the Document Processing Config. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig.
    parsingConfigOverrides List<Property Map>
    Map from file type to override the default parsing configuration based on the file type. Supported keys:

    DataStoreDocumentProcessingConfigChunkingConfig, DataStoreDocumentProcessingConfigChunkingConfigArgs

    LayoutBasedChunkingConfig DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
    Configuration for the layout based chunking. Structure is documented below.
    LayoutBasedChunkingConfig DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
    Configuration for the layout based chunking. Structure is documented below.
    layoutBasedChunkingConfig DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
    Configuration for the layout based chunking. Structure is documented below.
    layoutBasedChunkingConfig DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
    Configuration for the layout based chunking. Structure is documented below.
    layout_based_chunking_config DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
    Configuration for the layout based chunking. Structure is documented below.
    layoutBasedChunkingConfig Property Map
    Configuration for the layout based chunking. Structure is documented below.

    DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig, DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs

    ChunkSize int
    The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
    IncludeAncestorHeadings bool
    Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
    ChunkSize int
    The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
    IncludeAncestorHeadings bool
    Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
    chunkSize Integer
    The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
    includeAncestorHeadings Boolean
    Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
    chunkSize number
    The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
    includeAncestorHeadings boolean
    Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
    chunk_size int
    The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
    include_ancestor_headings bool
    Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
    chunkSize Number
    The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
    includeAncestorHeadings Boolean
    Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.

    DataStoreDocumentProcessingConfigDefaultParsingConfig, DataStoreDocumentProcessingConfigDefaultParsingConfigArgs

    DigitalParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig
    Configurations applied to digital parser.
    LayoutParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfig
    Configurations applied to layout parser.
    OcrParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    DigitalParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig
    Configurations applied to digital parser.
    LayoutParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfig
    Configurations applied to layout parser.
    OcrParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    digitalParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig
    Configurations applied to digital parser.
    layoutParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfig
    Configurations applied to layout parser.
    ocrParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    digitalParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig
    Configurations applied to digital parser.
    layoutParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfig
    Configurations applied to layout parser.
    ocrParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    digital_parsing_config DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig
    Configurations applied to digital parser.
    layout_parsing_config DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfig
    Configurations applied to layout parser.
    ocr_parsing_config DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    digitalParsingConfig Property Map
    Configurations applied to digital parser.
    layoutParsingConfig Property Map
    Configurations applied to layout parser.
    ocrParsingConfig Property Map
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.

    DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig, DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs

    UseNativeText bool
    If true, will use native text instead of OCR text on pages containing native text.
    UseNativeText bool
    If true, will use native text instead of OCR text on pages containing native text.
    useNativeText Boolean
    If true, will use native text instead of OCR text on pages containing native text.
    useNativeText boolean
    If true, will use native text instead of OCR text on pages containing native text.
    use_native_text bool
    If true, will use native text instead of OCR text on pages containing native text.
    useNativeText Boolean
    If true, will use native text instead of OCR text on pages containing native text.

    DataStoreDocumentProcessingConfigParsingConfigOverride, DataStoreDocumentProcessingConfigParsingConfigOverrideArgs

    FileType string
    The identifier for this object. Format specified above.
    DigitalParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig
    Configurations applied to digital parser.
    LayoutParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfig
    Configurations applied to layout parser.
    OcrParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    FileType string
    The identifier for this object. Format specified above.
    DigitalParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig
    Configurations applied to digital parser.
    LayoutParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfig
    Configurations applied to layout parser.
    OcrParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    fileType String
    The identifier for this object. Format specified above.
    digitalParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig
    Configurations applied to digital parser.
    layoutParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfig
    Configurations applied to layout parser.
    ocrParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    fileType string
    The identifier for this object. Format specified above.
    digitalParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig
    Configurations applied to digital parser.
    layoutParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfig
    Configurations applied to layout parser.
    ocrParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    file_type str
    The identifier for this object. Format specified above.
    digital_parsing_config DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig
    Configurations applied to digital parser.
    layout_parsing_config DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfig
    Configurations applied to layout parser.
    ocr_parsing_config DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.
    fileType String
    The identifier for this object. Format specified above.
    digitalParsingConfig Property Map
    Configurations applied to digital parser.
    layoutParsingConfig Property Map
    Configurations applied to layout parser.
    ocrParsingConfig Property Map
    Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.

    DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig, DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs

    UseNativeText bool
    If true, will use native text instead of OCR text on pages containing native text.
    UseNativeText bool
    If true, will use native text instead of OCR text on pages containing native text.
    useNativeText Boolean
    If true, will use native text instead of OCR text on pages containing native text.
    useNativeText boolean
    If true, will use native text instead of OCR text on pages containing native text.
    use_native_text bool
    If true, will use native text instead of OCR text on pages containing native text.
    useNativeText Boolean
    If true, will use native text instead of OCR text on pages containing native text.

    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 v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi