GetDataStoreResult class
Result data returned by getDataStore.
Constructors
-
GetDataStoreResult({required String contentConfig, required String createTime, required String defaultSchemaId, required String displayName, required String industryVertical, required String name, required List<
String> solutionTypes}) -
Creates a new GetDataStoreResult.
contentConfigImmutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.createTimeTimestamp the DataStore was created at.defaultSchemaIdThe id of the default Schema asscociated to this data store.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.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.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 -
GetDataStoreResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- contentConfig → String
-
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
final
- createTime → String
-
Timestamp the DataStore was created at.
final
- defaultSchemaId → String
-
The id of the default Schema asscociated to this data store.
final
- displayName → 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 → String
-
Immutable. The industry vertical that the data store registers.
final
- name → 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 - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
solutionTypes
→ List<
String> -
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