GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArgs

data class GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArgs(val alias: Output<String>? = null, val entityType: Output<String>? = null, val text: Output<String>, val userDefined: Output<Boolean>? = null) : ConvertibleToJava<GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArgs>

Represents a part of a training phrase.

Constructors

fun GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArgs(alias: Output<String>? = null, entityType: Output<String>? = null, text: Output<String>, userDefined: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArgs

Properties

Link copied to clipboard
val alias: Output<String>? = null

Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.

Link copied to clipboard
val entityType: Output<String>? = null

Optional. The entity type name prefixed with @. This field is required for annotated parts of the training phrase.

Link copied to clipboard
val text: Output<String>

The text for this part.

Link copied to clipboard
val userDefined: Output<Boolean>? = null

Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.