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

com.pulumi.gcp.diagflow.kotlin.outputs.CxIntentParameter.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.diagflow.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property entityType The entity type of the parameter.
 * Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
 * @property id The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
 * @property isList Indicates whether the parameter represents a list of values.
 * @property redact Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging.
 * Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
 */
public data class CxIntentParameter(
    public val entityType: String,
    public val id: String,
    public val isList: Boolean? = null,
    public val redact: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxIntentParameter): CxIntentParameter = CxIntentParameter(
            entityType = javaType.entityType(),
            id = javaType.id(),
            isList = javaType.isList().map({ args0 -> args0 }).orElse(null),
            redact = javaType.redact().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy