All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.vertex.kotlin.outputs.GetAiIndexMetadataConfigAlgorithmConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vertex.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property bruteForceConfigs Configuration options for using brute force search, which simply implements the
 * standard linear search in the database for each query.
 * @property treeAhConfigs Configuration options for using the tree-AH algorithm (Shallow tree + Asymmetric Hashing).
 * Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
 */
public data class GetAiIndexMetadataConfigAlgorithmConfig(
    public val bruteForceConfigs: List,
    public val treeAhConfigs: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.vertex.outputs.GetAiIndexMetadataConfigAlgorithmConfig): GetAiIndexMetadataConfigAlgorithmConfig = GetAiIndexMetadataConfigAlgorithmConfig(
            bruteForceConfigs = javaType.bruteForceConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.vertex.kotlin.outputs.GetAiIndexMetadataConfigAlgorithmConfigBruteForceConfig.Companion.toKotlin(args0)
                })
            }),
            treeAhConfigs = javaType.treeAhConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.vertex.kotlin.outputs.GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy