Class IntentArgs
Inherited Members
Namespace: Pulumi.Gcp.Diagflow
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class IntentArgs : ResourceArgs
Constructors
View SourceIntentArgs()
Declaration
public IntentArgs()
Properties
View SourceAction
The name of the action associated with the intent. Note: The action name must not contain whitespaces.
Declaration
public Input<string> Action { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DefaultResponsePlatforms
The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
Declaration
public InputList<string> DefaultResponsePlatforms { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
DisplayName
The name of this intent to be displayed on the console.
Declaration
public Input<string> DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Events
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.
Declaration
public InputList<string> Events { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
InputContextNames
The list of context names required for this intent to be triggered. Format: projects/<Project ID>/agent/sessions/-/contexts/<Context ID>.
Declaration
public InputList<string> InputContextNames { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
IsFallback
Indicates whether this is a fallback intent.
Declaration
public Input<bool> IsFallback { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
MlDisabled
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.
Declaration
public Input<bool> MlDisabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ParentFollowupIntentName
The unique identifier of the parent intent in the chain of followup intents. Format: projects/<Project ID>/agent/intents/<Intent ID>.
Declaration
public Input<string> ParentFollowupIntentName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Priority
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.
Declaration
public Input<int> Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResetContexts
Indicates whether to delete all contexts in the current session when this intent is matched.
Declaration
public Input<bool> ResetContexts { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
WebhookState
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.
Declaration
public Input<string> WebhookState { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |