Class GoogleCloudDialogflowCxV3EventHandler
An event handler specifies an event that can be handled during a session. When the specified event happens, the
following actions are taken in order: * If there is a trigger_fulfillment
associated with the event, it will
be called. * If there is a target_page
associated with the event, the session will transition into the
specified page. * If there is a target_flow
associated with the event, the session will transition into the
specified flow.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1.Data
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class GoogleCloudDialogflowCxV3EventHandler : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Event__
Required. The name of the event to handle.
Declaration
[JsonProperty("event")]
public virtual string Event__ { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. The unique identifier of this event handler.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetFlow
The target flow to transition to. Format: projects//locations//agents//flows/
.
Declaration
[JsonProperty("targetFlow")]
public virtual string TargetFlow { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetPage
The target page to transition to. Format: projects//locations//agents//flows//pages/
.
Declaration
[JsonProperty("targetPage")]
public virtual string TargetPage { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetPlaybook
The target playbook to transition to. Format: projects//locations//agents//playbooks/
.
Declaration
[JsonProperty("targetPlaybook")]
public virtual string TargetPlaybook { get; set; }
Property Value
Type | Description |
---|---|
string |
TriggerFulfillment
The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
Declaration
[JsonProperty("triggerFulfillment")]
public virtual GoogleCloudDialogflowCxV3Fulfillment TriggerFulfillment { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3Fulfillment |