google_dialogflow_entity_type

Represents an entity type. Entity types serve as a tool for extracting parameter values from natural language queries.

To get more information about EntityType, see:

Example Usage - Dialogflow Entity Type Basic

resource "google_dialogflow_agent" "basic_agent" {
  display_name = "example_agent"
  default_language_code = "en"
  time_zone = "America/New_York"
}

resource "google_dialogflow_entity_type" "basic_entity_type" {
  depends_on = [google_dialogflow_agent.basic_agent]
  display_name = ""
  kind = "KIND_MAP"
  entities {
    value = "value1"
    synonyms = ["synonym1","synonym2"]
  }
  entities {
    value = "value2"
    synonyms = ["synonym3","synonym4"]
  }
}

Argument Reference

The following arguments are supported:


The entities block supports:

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

EntityType can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import EntityType using one of the formats above. For example:

import {
  id = "{{name}}"
  to = google_dialogflow_entity_type.default
}

When using the terraform import command, EntityType can be imported using one of the formats above. For example:

$ terraform import google_dialogflow_entity_type.default {{name}}

User Project Overrides

This resource supports User Project Overrides.