gcp.discoveryengine.DataStore
Explore with Pulumi AI
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:
- API documentation
- How-to Guides
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:
- Content
Config string - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - Data
Store stringId - The unique id of the data store.
- Display
Name string - 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 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".
- Create
Advanced boolSite Search - 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.
- Solution
Types List<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 string - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - Data
Store stringId - The unique id of the data store.
- Display
Name string - 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 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".
- Create
Advanced boolSite Search - 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.
- Solution
Types []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 String - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - data
Store StringId - The unique id of the data store.
- display
Name String - 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 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".
- create
Advanced BooleanSite Search - 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.
- solution
Types List<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 string - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - data
Store stringId - The unique id of the data store.
- display
Name string - 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 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".
- create
Advanced booleanSite Search - 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.
- solution
Types 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_ strid - 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_ boolsite_ search - 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
.
- content
Config String - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - data
Store StringId - The unique id of the data store.
- display
Name String - 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 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".
- create
Advanced BooleanSite Search - 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.
- solution
Types 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:
- Create
Time string - Timestamp when the DataStore was created.
- Default
Schema stringId - 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 string - Timestamp when the DataStore was created.
- Default
Schema stringId - 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 String - Timestamp when the DataStore was created.
- default
Schema StringId - 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 string - Timestamp when the DataStore was created.
- default
Schema stringId - 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_ strid - 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.
- create
Time String - Timestamp when the DataStore was created.
- default
Schema StringId - 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.
- Content
Config string - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - Create
Advanced boolSite Search - 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 string - Timestamp when the DataStore was created.
- Data
Store stringId - The unique id of the data store.
- Default
Schema stringId - The id of the default Schema associated with this data store.
- Display
Name string - 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 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.
- Solution
Types List<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 string - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - Create
Advanced boolSite Search - 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 string - Timestamp when the DataStore was created.
- Data
Store stringId - The unique id of the data store.
- Default
Schema stringId - The id of the default Schema associated with this data store.
- Display
Name string - 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 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.
- Solution
Types []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 String - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - create
Advanced BooleanSite Search - 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 String - Timestamp when the DataStore was created.
- data
Store StringId - The unique id of the data store.
- default
Schema StringId - The id of the default Schema associated with this data store.
- display
Name String - 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 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.
- solution
Types List<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 string - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - create
Advanced booleanSite Search - 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 string - Timestamp when the DataStore was created.
- data
Store stringId - The unique id of the data store.
- default
Schema stringId - The id of the default Schema associated with this data store.
- display
Name string - 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 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.
- solution
Types 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_ boolsite_ search - 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_ strid - The unique id of the data store.
- default_
schema_ strid - 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
.
- content
Config String - The content config of the data store.
Possible values are:
NO_CONTENT
,CONTENT_REQUIRED
,PUBLIC_WEBSITE
. - create
Advanced BooleanSite Search - 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 String - Timestamp when the DataStore was created.
- data
Store StringId - The unique id of the data store.
- default
Schema StringId - The id of the default Schema associated with this data store.
- display
Name String - 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 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.
- solution
Types 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.