Class GoogleCloudDialogflowCxV3Webhook
Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowCxV3Webhook : IDirectResponseSchema
Properties
Disabled
Indicates whether the webhook is disabled.
Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DisplayName
Required. The human-readable name of the webhook, unique within the agent.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GenericWebService
Configuration for a generic web service.
Declaration
[JsonProperty("genericWebService")]
public virtual GoogleCloudDialogflowCxV3WebhookGenericWebService GenericWebService { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3WebhookGenericWebService |
Name
The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook
populates the name automatically. Format: projects//locations//agents//webhooks/
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceDirectory
Configuration for a Service Directory service.
Declaration
[JsonProperty("serviceDirectory")]
public virtual GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig ServiceDirectory { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig |
Timeout
Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
Declaration
[JsonProperty("timeout")]
public virtual object Timeout { get; set; }
Property Value
Type | Description |
---|---|
object |