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

com.pulumi.gcp.discoveryengine.kotlin.outputs.ChatEngineChatEngineConfigAgentCreationConfig.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.discoveryengine.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property business Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
 * @property defaultLanguageCode The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
 * @property location Agent location for Agent creation, currently supported values: global/us/eu, it needs to be the same region as the Chat Engine.
 * - - -
 * @property timeZone The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
 */
public data class ChatEngineChatEngineConfigAgentCreationConfig(
    public val business: String? = null,
    public val defaultLanguageCode: String,
    public val location: String? = null,
    public val timeZone: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.discoveryengine.outputs.ChatEngineChatEngineConfigAgentCreationConfig): ChatEngineChatEngineConfigAgentCreationConfig =
            ChatEngineChatEngineConfigAgentCreationConfig(
                business = javaType.business().map({ args0 -> args0 }).orElse(null),
                defaultLanguageCode = javaType.defaultLanguageCode(),
                location = javaType.location().map({ args0 -> args0 }).orElse(null),
                timeZone = javaType.timeZone(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy