Class WebhookRequest (1.0.0)

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

The request message for a webhook call.

Inheritance

System.Object > WebhookRequest

Implements

Google.Protobuf.IMessage<WebhookRequest>, System.IEquatable<WebhookRequest>, Google.Protobuf.IDeepCloneable<WebhookRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

WebhookRequest()

public WebhookRequest()

WebhookRequest(WebhookRequest)

public WebhookRequest(WebhookRequest other)
Parameter
NameDescription
otherWebhookRequest

Properties

DetectIntentResponseId

public string DetectIntentResponseId { get; set; }

Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse] that will be returned to the API caller.

Property Value
TypeDescription
System.String

FulfillmentInfo

public WebhookRequest.Types.FulfillmentInfo FulfillmentInfo { get; set; }

Always present. Information about the fulfillment that triggered this webhook call.

Property Value
TypeDescription
WebhookRequest.Types.FulfillmentInfo

IntentInfo

public WebhookRequest.Types.IntentInfo IntentInfo { get; set; }

Information about the last matched intent.

Property Value
TypeDescription
WebhookRequest.Types.IntentInfo

Messages

public RepeatedField<ResponseMessage> Messages { get; }

The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response];

Property Value
TypeDescription
Google.Protobuf.Collections.RepeatedField<ResponseMessage>

PageInfo

public PageInfo PageInfo { get; set; }

Information about page status.

Property Value
TypeDescription
PageInfo

Payload

public Struct Payload { get; set; }

Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].

Property Value
TypeDescription
Google.Protobuf.WellKnownTypes.Struct

SessionInfo

public SessionInfo SessionInfo { get; set; }

Information about session status.

Property Value
TypeDescription
SessionInfo