DataStoreArgs constructor
- required Input<
String> collectionId, - Input<
DataStoreContentConfig> ? contentConfig, - Input<
bool> ? createAdvancedSiteSearch, - required Input<
String> dataStoreId, - required Input<
String> displayName, - Input<
DataStoreIndustryVertical> ? industryVertical, - Input<
String> ? location, - Input<
String> ? name, - Input<
String> ? project, - Input<
List< ? solutionTypes,DataStoreSolutionTypesItem> >
Creates a new DataStoreArgs.
collectionId Required.
contentConfig Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
createAdvancedSiteSearch 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.
dataStoreId 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.
displayName The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
industryVertical Immutable. The industry vertical that the data store registers.
location Optional.
name Immutable. The full resource name of the data store. 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 Optional.
solutionTypes The solutions that the data store enrolls. Available solutions for each industry_vertical: * MEDIA: SOLUTION_TYPE_RECOMMENDATION and SOLUTION_TYPE_SEARCH. * SITE_SEARCH: SOLUTION_TYPE_SEARCH is automatically enrolled. Other solutions cannot be enrolled.
Implementation
const DataStoreArgs({
required this.collectionId,
this.contentConfig,
this.createAdvancedSiteSearch,
required this.dataStoreId,
required this.displayName,
this.industryVertical,
this.location,
this.name,
this.project,
this.solutionTypes,
});