google_dialogflow_agent

A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system.

To get more information about Agent, see:

Open in Cloud Shell

Example Usage - Dialogflow Agent Full

resource "google_dialogflow_agent" "full_agent" {
  display_name = "dialogflow-agent"
  default_language_code = "en"
  supported_language_codes = ["fr","de","es"]
  time_zone = "America/New_York"
  description = "Example description."
  avatar_uri = "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"
  enable_logging = true
  match_mode = "MATCH_MODE_ML_ONLY"
  classification_threshold = 0.3
  api_version = "API_VERSION_V2_BETA_1"
  tier = "TIER_STANDARD"
}

Argument Reference

The following arguments are supported:


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

Agent can be imported using any of these accepted formats:

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

import {
  id = "{{project}}"
  to = google_dialogflow_agent.default
}

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

$ terraform import google_dialogflow_agent.default {{project}}

User Project Overrides

This resource supports User Project Overrides.