Package-level declarations

Types

Link copied to clipboard
class CustomClass : KotlinCustomResource

Create a custom class.

Link copied to clipboard
data class CustomClassArgs(val customClassId: Output<String>? = null, val items: Output<List<ClassItemArgs>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<CustomClassArgs>

Create a custom class.

Link copied to clipboard
Link copied to clipboard
object CustomClassMapper : ResourceMapper<CustomClass>
Link copied to clipboard
Link copied to clipboard
class PhraseSet : KotlinCustomResource

Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet.

Link copied to clipboard
data class PhraseSetArgs(val boost: Output<Double>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val phraseSetId: Output<String>? = null, val phrases: Output<List<PhraseArgs>>? = null, val project: Output<String>? = null) : ConvertibleToJava<PhraseSetArgs>

Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet.

Link copied to clipboard
Link copied to clipboard
object PhraseSetMapper : ResourceMapper<PhraseSet>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun customClass(name: String, block: suspend CustomClassResourceBuilder.() -> Unit): CustomClass
Link copied to clipboard
suspend fun phraseSet(name: String, block: suspend PhraseSetResourceBuilder.() -> Unit): PhraseSet