Show / Hide Table of Contents

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.

Inheritance
System.Object
GoogleCloudDialogflowCxV3EventHandler
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowCxV3EventHandler : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Event__

Required. The name of the event to handle.

Declaration
[JsonProperty("event")]
public virtual string Event__ { get; set; }
Property Value
Type Description
System.String

Name

Output only. The unique identifier of this event handler.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.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
System.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
System.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

Implements

IDirectResponseSchema
In This Article
Back to top