Google Cloud Discovery Engine V1beta Client - Class CreateDataStoreRequest (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class CreateDataStoreRequest.

Request for DataStoreService.CreateDataStore method.

Generated from protobuf message google.cloud.discoveryengine.v1beta.CreateDataStoreRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
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 Google\Cloud\DiscoveryEngine\V1beta\DataStore

Required. The DataStore to create.

↳ data_store_id string

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.

getParent

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}.

Returns
Type Description
string

setParent

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}.

Parameter
Name Description
var string
Returns
Type Description
$this

getDataStore

Required. The DataStore to create.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1beta\DataStore|null

hasDataStore

clearDataStore

setDataStore

Required. The DataStore to create.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1beta\DataStore
Returns
Type Description
$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.

Returns
Type Description
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.

Parameter
Name Description
var string
Returns
Type Description
$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.

Returns
Type Description
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.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}. Please see Google\Cloud\DiscoveryEngine\V1beta\DataStoreServiceClient::collectionName() for help formatting this field.

dataStore Google\Cloud\DiscoveryEngine\V1beta\DataStore

Required. The DataStore to create.

dataStoreId string

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.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1beta\CreateDataStoreRequest