Request for
DataStoreService.CreateDataStore
method.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
str
Resource name of the CmekConfig to use for
protecting this DataStore.
This field is a member of oneof_ cmek_options.
disable_cmek
bool
DataStore without CMEK protections. If a
default CmekConfig is set for the project,
setting this field will override the default
CmekConfig as well.
This field is a member of oneof_ cmek_options.
parent
str
Required. The parent resource name, such as
projects/{project}/locations/{location}/collections/{collection}.
str
Required. The ID to use for the
DataStore,
which will become the final component of the
DataStore's
resource name.
This field must conform to
RFC-1034 __ standard
with a length limit of 63 characters. Otherwise, an
INVALID_ARGUMENT error is returned.
create_advanced_site_search
bool
A boolean flag indicating whether user want to directly
create an advanced data store for site search. If the data
store is not configured as site search (GENERIC vertical and
PUBLIC_WEBSITE content_config), this flag will be ignored.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class CreateDataStoreRequest (0.13.11)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.11 (latest)](/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.13.10](/python/docs/reference/discoveryengine/0.13.10/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.12.3](/python/docs/reference/discoveryengine/0.12.3/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.11.14](/python/docs/reference/discoveryengine/0.11.14/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.10.0](/python/docs/reference/discoveryengine/0.10.0/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.9.1](/python/docs/reference/discoveryengine/0.9.1/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.8.1](/python/docs/reference/discoveryengine/0.8.1/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.7.0](/python/docs/reference/discoveryengine/0.7.0/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.6.0](/python/docs/reference/discoveryengine/0.6.0/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.5.0](/python/docs/reference/discoveryengine/0.5.0/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.4.1](/python/docs/reference/discoveryengine/0.4.1/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.3.1](/python/docs/reference/discoveryengine/0.3.1/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.2.1](/python/docs/reference/discoveryengine/0.2.1/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest)\n- [0.1.1](/python/docs/reference/discoveryengine/0.1.1/google.cloud.discoveryengine_v1.types.CreateDataStoreRequest) \n\n CreateDataStoreRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRequest for\nDataStoreService.CreateDataStore\nmethod.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]