IndexArgs constructor

const IndexArgs({
  1. required Input<String> collectionId,
  2. Input<IndexDedicatedInfrastructure?>? dedicatedInfrastructure,
  3. Input<String?>? deletionPolicy,
  4. Input<IndexDenseScann?>? denseScann,
  5. Input<String?>? description,
  6. Input<String?>? displayName,
  7. Input<String?>? distanceMetric,
  8. Input<List<String>?>? filterFields,
  9. required Input<String> indexField,
  10. required Input<String> indexId,
  11. Input<Map<String, String>?>? labels,
  12. required Input<String> location,
  13. Input<String?>? project,
  14. Input<List<String>?>? storeFields,
})

Creates a new IndexArgs. collectionId The ID of the parent Collection. dedicatedInfrastructure Dedicated infrastructure for the index. This field belongs to the deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. denseScann Dense ScaNN index configuration. This field belongs to the description User-specified description of the index displayName User-specified display name of the index distanceMetric Distance metric used for indexing. If not specified, will default to filterFields The fields to push into the index to enable fast ANN inline filtering. indexField The collection schema field to index. indexId ID of the Index to create. labels Labels as key value pairs. location Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. project The ID of the project in which the resource belongs. storeFields The fields to push into the index to enable inline data retrieval.

Implementation

const IndexArgs({
  required this.collectionId,
  this.dedicatedInfrastructure,
  this.deletionPolicy,
  this.denseScann,
  this.description,
  this.displayName,
  this.distanceMetric,
  this.filterFields,
  required this.indexField,
  required this.indexId,
  this.labels,
  required this.location,
  this.project,
  this.storeFields,
});