EngineArgs constructor

const EngineArgs({
  1. Input<GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig>? chatEngineConfig,
  2. required Input<String> collectionId,
  3. Input<GoogleCloudDiscoveryengineV1alphaEngineCommonConfig>? commonConfig,
  4. Input<List<String>>? dataStoreIds,
  5. required Input<String> displayName,
  6. required Input<String> engineId,
  7. Input<EngineIndustryVertical>? industryVertical,
  8. Input<String>? location,
  9. Input<GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig>? mediaRecommendationEngineConfig,
  10. Input<String>? name,
  11. Input<String>? project,
  12. Input<GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig>? searchEngineConfig,
  13. Input<Map<String, dynamic>>? similarDocumentsConfig,
  14. required Input<EngineSolutionType> solutionType,
})

Creates a new EngineArgs. chatEngineConfig Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. collectionId Required. commonConfig Common config spec that specifies the metadata of the engine. dataStoreIds The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary intializations. displayName The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. engineId Required. The ID to use for the Engine, which will become the final component of the Engine'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. industryVertical The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. location Optional. mediaRecommendationEngineConfig Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. name Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine} engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. project Optional. searchEngineConfig Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. similarDocumentsConfig Additional config specs for a similar-items engine. solutionType The solutions of the engine.

Implementation

const EngineArgs({
  this.chatEngineConfig,
  required this.collectionId,
  this.commonConfig,
  this.dataStoreIds,
  required this.displayName,
  required this.engineId,
  this.industryVertical,
  this.location,
  this.mediaRecommendationEngineConfig,
  this.name,
  this.project,
  this.searchEngineConfig,
  this.similarDocumentsConfig,
  required this.solutionType,
});