Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CreateDataStoreRequest.
Request for DataStoreService.CreateDataStore method.
Generated from protobuf message google.cloud.discoveryengine.v1.CreateDataStoreRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}
.
↳ data_store
↳ data_store_id
↳ 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.
getParent
Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}
.
string
setParent
Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}
.
var
string
$this
getDataStore
Required. The DataStore to create.
hasDataStore
clearDataStore
setDataStore
Required. The DataStore to create.
$this
getDataStoreId
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.
string
setDataStoreId
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.
var
string
$this
getCreateAdvancedSiteSearch
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.
bool
setCreateAdvancedSiteSearch
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.
var
bool
$this
static::build
parent
string
Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}
. Please see Google\Cloud\DiscoveryEngine\V1\DataStoreServiceClient::collectionName()
for help formatting this field.
dataStore