com.pulumi.googlenative.dialogflow.v2beta1.kotlin.inputs.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgs.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.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgs.builder
import com.pulumi.googlenative.dialogflow.v2beta1.kotlin.enums.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel
* @property imageDisplayOptions Optional. Settings for displaying the image. Applies to every image in items.
* @property items List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
*/
public data class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgs(
public val imageDisplayOptions: Output? =
null,
public val items: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dialogflow.v2beta1.inputs.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgs =
com.pulumi.googlenative.dialogflow.v2beta1.inputs.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgs.builder()
.imageDisplayOptions(
imageDisplayOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.items(
items.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgs].
*/
@PulumiTagMarker
public class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgsBuilder internal constructor() {
private var imageDisplayOptions:
Output? = null
private var items:
Output>? =
null
/**
* @param value Optional. Settings for displaying the image. Applies to every image in items.
*/
@JvmName("cqtmjjrnvnfcyilh")
public suspend fun imageDisplayOptions(`value`: Output) {
this.imageDisplayOptions = value
}
/**
* @param value List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
*/
@JvmName("wtglaeswolpeihjt")
public suspend fun items(`value`: Output>) {
this.items = value
}
@JvmName("vflojarigaealhxl")
public suspend fun items(vararg values: Output) {
this.items = Output.all(values.asList())
}
/**
* @param values List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.
*/
@JvmName("tpclnmwrogvcjifs")
public suspend fun items(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy