Google Dialogflow Intent
This page shows how to write Terraform for Dialogflow Intent and write them securely.
google_dialogflow_intent (Terraform)
The Intent in Dialogflow can be configured in Terraform with the resource name google_dialogflow_intent. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
actionoptional computed - string
The name of the action associated with the intent. Note: The action name must not contain whitespaces.
-
default_response_platformsoptional - list of string
The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). Possible values: ["FACEBOOK", "SLACK", "TELEGRAM", "KIK", "SKYPE", "LINE", "VIBER", "ACTIONS_ON_GOOGLE", "GOOGLE_HANGOUTS"]
-
display_namerequired - string
The name of this intent to be displayed on the console.
-
eventsoptional - list of string
The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. See the events reference for more details.
-
followup_intent_infooptional computed - list of object
Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
-
followup_intent_name- string -
parent_followup_intent_name- string -
idoptional computed - string -
input_context_namesoptional - list of string
The list of context names required for this intent to be triggered. Format: projects/<Project ID>/agent/sessions/-/contexts/<Context ID>.
-
is_fallbackoptional computed - bool
Indicates whether this is a fallback intent.
-
ml_disabledoptional computed - bool
Indicates whether Machine Learning is disabled for the intent. Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML ONLY match mode. Also, auto-markup in the UI is turned off.
-
nameoptional computed - string
The unique identifier of this intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.
-
parent_followup_intent_nameoptional computed - string
The unique identifier of the parent intent in the chain of followup intents. Format: projects/<Project ID>/agent/intents/<Intent ID>.
-
priorityoptional computed - number
The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the Normal priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
-
projectoptional computed - string -
reset_contextsoptional computed - bool
Indicates whether to delete all contexts in the current session when this intent is matched.
-
root_followup_intent_nameoptional computed - string
The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.
-
webhook_stateoptional computed - string
Indicates whether webhooks are enabled for the intent. WEBHOOK_STATE_ENABLED: Webhook is enabled in the agent and in the intent. WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING: Webhook is enabled in the agent and in the intent. Also, each slot filling prompt is forwarded to the webhook. Possible values: ["WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING"]
Explanation in Terraform Registry
Represents a Dialogflow intent. Intents convert a number of user expressions or patterns into an action. An action is an extraction of a user command or sentence semantics. To get more information about Intent, see:
- API documentation
- How-to Guides