com.pulumi.googlenative.dialogflow.v2beta1.kotlin.inputs.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgs.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.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Rich Business Messaging (RBM) Card content
* @property description Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
* @property media Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
* @property suggestions Optional. List of suggestions to include in the card.
* @property title Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set.
*/
public data class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgs(
public val description: Output? = null,
public val media: Output? =
null,
public val suggestions: Output>? =
null,
public val title: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dialogflow.v2beta1.inputs.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgs =
com.pulumi.googlenative.dialogflow.v2beta1.inputs.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.media(media?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.suggestions(
suggestions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.title(title?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgs].
*/
@PulumiTagMarker
public class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgsBuilder internal constructor() {
private var description: Output? = null
private var media: Output? =
null
private var suggestions: Output>? =
null
private var title: Output? = null
/**
* @param value Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.
*/
@JvmName("ucysyhycqcsdmecd")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.
*/
@JvmName("safhjhxcvugcabud")
public suspend fun media(`value`: Output) {
this.media = value
}
/**
* @param value Optional. List of suggestions to include in the card.
*/
@JvmName("moppiyisapegfpbv")
public suspend fun suggestions(`value`: Output>) {
this.suggestions = value
}
@JvmName("gdchwyrvvspvxdxd")
public suspend fun suggestions(vararg values: Output) {
this.suggestions = Output.all(values.asList())
}
/**
* @param values Optional. List of suggestions to include in the card.
*/
@JvmName("webohnjxjfvqnclf")
public suspend fun suggestions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy