
com.pulumi.googlenative.dialogflow.v3.kotlin.outputs.GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dialogflow.v3.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
/**
* Represents an example that the agent is trained on to identify the intent.
* @property parts The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set.
* @property repeatCount Indicates how many times this example was added to the intent.
*/
public data class GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse(
public val parts: List,
public val repeatCount: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse): GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse =
GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse(
parts = javaType.parts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.dialogflow.v3.kotlin.outputs.GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponse.Companion.toKotlin(args0)
})
}),
repeatCount = javaType.repeatCount(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy