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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property leafNodeEmbeddingCount Number of embeddings on each leaf node. The default value is 1000 if not set.
 * @property leafNodesToSearchPercent The default percentage of leaf nodes that any query may be searched. Must be in
 * range 1-100, inclusive. The default value is 10 (means 10%) if not set.
 */
public data class GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig(
    public val leafNodeEmbeddingCount: Int,
    public val leafNodesToSearchPercent: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.vertex.outputs.GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig): GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig =
            GetAiIndexMetadataConfigAlgorithmConfigTreeAhConfig(
                leafNodeEmbeddingCount = javaType.leafNodeEmbeddingCount(),
                leafNodesToSearchPercent = javaType.leafNodesToSearchPercent(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy