Google Cloud Dialogflow v2 API - Class WebhookRequest (4.6.0)

public sealed class WebhookRequest : IMessage<WebhookRequest>, IEquatable<WebhookRequest>, IDeepCloneable<WebhookRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class WebhookRequest.

The request message for a webhook call.

Inheritance

Object > WebhookRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

WebhookRequest()

public WebhookRequest()

WebhookRequest(WebhookRequest)

public WebhookRequest(WebhookRequest other)
Parameter
NameDescription
otherWebhookRequest

Properties

OriginalDetectIntentRequest

public OriginalDetectIntentRequest OriginalDetectIntentRequest { get; set; }

Optional. The contents of the original request that was passed to [Streaming]DetectIntent call.

Property Value
TypeDescription
OriginalDetectIntentRequest

QueryResult

public QueryResult QueryResult { get; set; }

The result of the conversational query or event processing. Contains the same value as [Streaming]DetectIntentResponse.query_result.

Property Value
TypeDescription
QueryResult

ResponseId

public string ResponseId { get; set; }

The unique identifier of the response. Contains the same value as [Streaming]DetectIntentResponse.response_id.

Property Value
TypeDescription
String

Session

public string Session { get; set; }

The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Format: projects/<Project ID>/agent/sessions/<Session ID>, or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>.

Property Value
TypeDescription
String