CreateIndexRequest_ constructor

CreateIndexRequest_({
  1. String? indexName,
  2. Int64? numDimensions,
  3. SimilarityMetric_? similarityMetric,
})

Implementation

factory CreateIndexRequest_({
  $core.String? indexName,
  $fixnum.Int64? numDimensions,
  SimilarityMetric_? similarityMetric,
}) {
  final $result = create();
  if (indexName != null) {
    $result.indexName = indexName;
  }
  if (numDimensions != null) {
    $result.numDimensions = numDimensions;
  }
  if (similarityMetric != null) {
    $result.similarityMetric = similarityMetric;
  }
  return $result;
}