IndexState constructor

const IndexState({
  1. Input<String?>? apiScope,
  2. Input<String?>? collection,
  3. Input<String?>? database,
  4. Input<String?>? deletionPolicy,
  5. Input<String?>? density,
  6. Input<List<IndexField>?>? fields,
  7. Input<bool?>? multikey,
  8. Input<String?>? name,
  9. Input<String?>? project,
  10. Input<String?>? queryScope,
  11. Input<bool?>? skipWait,
  12. Input<bool?>? unique,
})

Creates a new IndexState. apiScope The API scope at which a query is run. collection The collection being indexed. database The Firestore database id. Defaults to "(default)". deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. density The density configuration for this index. fields The field(s) supported by this index. Indexes with the ANY_API apiScope in Standard multikey Optional. Whether the index is multikey. By default, the index is not multikey. For non-multikey indexes, none of the paths in the index definition reach or traverse an array, except via an explicit array index. For multikey indexes, at most one of the paths in the index definition reach or traverse an array, except via an explicit array index. Violations will result in errors. Note this field only applies to indexes with MONGODB_COMPATIBLE_API ApiScope. name A server defined name for this index. Format: project The ID of the project in which the resource belongs. queryScope The scope at which a query is run. skipWait Whether to skip waiting for the index to be created. unique Whether it is an unique index. Unique index ensures all values for the indexed field(s) are unique across documents.

Implementation

const IndexState({
  this.apiScope,
  this.collection,
  this.database,
  this.deletionPolicy,
  this.density,
  this.fields,
  this.multikey,
  this.name,
  this.project,
  this.queryScope,
  this.skipWait,
  this.unique,
});