IndexArgs constructor
- required Input<
String> collectionId, - Input<
IndexDedicatedInfrastructure?> ? dedicatedInfrastructure, - Input<
String?> ? deletionPolicy, - Input<
IndexDenseScann?> ? denseScann, - Input<
String?> ? description, - Input<
String?> ? displayName, - Input<
String?> ? distanceMetric, - Input<
List< ? filterFields,String> ?> - required Input<
String> indexField, - required Input<
String> indexId, - Input<
Map< ? labels,String, String> ?> - required Input<
String> location, - Input<
String?> ? project, - Input<
List< ? storeFields,String> ?>
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,
});