DataStoreArgs class
The set of arguments for DataStore. The set of arguments for DataStore.
Constructors
-
DataStoreArgs({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.
collectionIdRequired.contentConfigImmutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.createAdvancedSiteSearchA 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.dataStoreIdRequired. 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.displayNameThe 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.industryVerticalImmutable. The industry vertical that the data store registers.locationOptional.nameImmutable. 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.projectOptional.solutionTypesThe solutions that the data store enrolls. Available solutions for each industry_vertical: *MEDIA:SOLUTION_TYPE_RECOMMENDATIONandSOLUTION_TYPE_SEARCH. *SITE_SEARCH:SOLUTION_TYPE_SEARCHis automatically enrolled. Other solutions cannot be enrolled.const -
DataStoreArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
collectionId
→ Input<
String> -
final
-
contentConfig
→ Input<
DataStoreContentConfig> ? -
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
final
-
createAdvancedSiteSearch
→ Input<
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.
final
-
dataStoreId
→ Input<
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.
final
-
displayName
→ Input<
String> -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
industryVertical
→ Input<
DataStoreIndustryVertical> ? -
Immutable. The industry vertical that the data store registers.
final
-
location
→ Input<
String> ? -
final
-
name
→ Input<
String> ? -
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.final -
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
solutionTypes
→ Input<
List< ?DataStoreSolutionTypesItem> > -
The solutions that the data store enrolls. Available solutions for each industry_vertical: *
MEDIA:SOLUTION_TYPE_RECOMMENDATIONandSOLUTION_TYPE_SEARCH. *SITE_SEARCH:SOLUTION_TYPE_SEARCHis automatically enrolled. Other solutions cannot be enrolled.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited