com.pulumi.gcp.vertex.kotlin.outputs.AiIndexMetadataConfigAlgorithmConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.vertex.kotlin.outputs
import kotlin.Suppress
/**
*
* @property bruteForceConfig Configuration options for using brute force search, which simply implements the
* standard linear search in the database for each query.
* @property treeAhConfig 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
* Structure is documented below.
*/
public data class AiIndexMetadataConfigAlgorithmConfig(
public val bruteForceConfig: AiIndexMetadataConfigAlgorithmConfigBruteForceConfig? = null,
public val treeAhConfig: AiIndexMetadataConfigAlgorithmConfigTreeAhConfig? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vertex.outputs.AiIndexMetadataConfigAlgorithmConfig): AiIndexMetadataConfigAlgorithmConfig = AiIndexMetadataConfigAlgorithmConfig(
bruteForceConfig = javaType.bruteForceConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vertex.kotlin.outputs.AiIndexMetadataConfigAlgorithmConfigBruteForceConfig.Companion.toKotlin(args0)
})
}).orElse(null),
treeAhConfig = javaType.treeAhConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vertex.kotlin.outputs.AiIndexMetadataConfigAlgorithmConfigTreeAhConfig.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy