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

com.pulumi.googlenative.dialogflow.v2beta1.kotlin.inputs.GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.dialogflow.v2beta1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.dialogflow.v2beta1.inputs.GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Knowledge base source settings. Supported features: ARTICLE_SUGGESTION, FAQ.
 * @property knowledgeBases Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, only one knowledge base is supported.
 */
public data class
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs(
    public val knowledgeBases: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.dialogflow.v2beta1.inputs.GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs =
        com.pulumi.googlenative.dialogflow.v2beta1.inputs.GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs.builder()
            .knowledgeBases(knowledgeBases.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs].
 */
@PulumiTagMarker
public class
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgsBuilder
internal constructor() {
    private var knowledgeBases: Output>? = null

    /**
     * @param value Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, only one knowledge base is supported.
     */
    @JvmName("crhgqlrbmiadvfwn")
    public suspend fun knowledgeBases(`value`: Output>) {
        this.knowledgeBases = value
    }

    @JvmName("pgbplrrkgqkllchn")
    public suspend fun knowledgeBases(vararg values: Output) {
        this.knowledgeBases = Output.all(values.asList())
    }

    /**
     * @param values Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, only one knowledge base is supported.
     */
    @JvmName("drumeqvfvsvkjtdi")
    public suspend fun knowledgeBases(values: List>) {
        this.knowledgeBases = Output.all(values)
    }

    /**
     * @param value Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, only one knowledge base is supported.
     */
    @JvmName("glyxspxerowstvjt")
    public suspend fun knowledgeBases(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.knowledgeBases = mapped
    }

    /**
     * @param values Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, only one knowledge base is supported.
     */
    @JvmName("vritnstsigvbbybp")
    public suspend fun knowledgeBases(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.knowledgeBases = mapped
    }

    internal fun build(): GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs =
        GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs(
            knowledgeBases = knowledgeBases ?: throw PulumiNullFieldException("knowledgeBases"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy