EntityTypeArgs

data class EntityTypeArgs(val agentId: Output<String>? = null, val autoExpansionMode: Output<EntityTypeAutoExpansionMode>? = null, val displayName: Output<String>? = null, val enableFuzzyExtraction: Output<Boolean>? = null, val entities: Output<List<GoogleCloudDialogflowCxV3EntityTypeEntityArgs>>? = null, val excludedPhrases: Output<List<GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArgs>>? = null, val kind: Output<EntityTypeKind>? = null, val languageCode: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val redact: Output<Boolean>? = null) : ConvertibleToJava<EntityTypeArgs>

Creates an entity type in the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.

Constructors

Link copied to clipboard
fun EntityTypeArgs(agentId: Output<String>? = null, autoExpansionMode: Output<EntityTypeAutoExpansionMode>? = null, displayName: Output<String>? = null, enableFuzzyExtraction: Output<Boolean>? = null, entities: Output<List<GoogleCloudDialogflowCxV3EntityTypeEntityArgs>>? = null, excludedPhrases: Output<List<GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArgs>>? = null, kind: Output<EntityTypeKind>? = null, languageCode: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, redact: Output<Boolean>? = null)

Functions

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

Properties

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

Indicates whether the entity type can be automatically expanded.

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

The human-readable name of the entity type, unique within the agent.

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

Enables fuzzy entity extraction during classification.

Link copied to clipboard

The collection of entity entries associated with the entity type.

Link copied to clipboard

Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry giant(an adjective), you might consider adding giants(a noun) as an exclusion. If the kind of entity type is KIND_MAP, then the phrases specified by entities and excluded phrases should be mutually exclusive.

Link copied to clipboard
val kind: Output<EntityTypeKind>? = null

Indicates the kind of entity type.

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

The language of the following fields in entity_type: * EntityType.entities.value * EntityType.entities.synonyms * EntityType.excluded_phrases.value If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

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

The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: projects//locations//agents//entityTypes/.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val redact: Output<Boolean>? = null

Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.