Struct google_dialogflow3::api::GoogleCloudDialogflowCxV3Webhook[][src]

pub struct GoogleCloudDialogflowCxV3Webhook {
    pub disabled: Option<bool>,
    pub display_name: Option<String>,
    pub generic_web_service: Option<GoogleCloudDialogflowCxV3WebhookGenericWebService>,
    pub name: Option<String>,
    pub timeout: Option<String>,
}

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.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

disabled: Option<bool>

Indicates whether the webhook is disabled.

display_name: Option<String>

Required. The human-readable name of the webhook, unique within the agent.

generic_web_service: Option<GoogleCloudDialogflowCxV3WebhookGenericWebService>

Configuration for a generic web service.

name: Option<String>

The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.

timeout: Option<String>

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.

Trait Implementations

impl Clone for GoogleCloudDialogflowCxV3Webhook[src]

impl Debug for GoogleCloudDialogflowCxV3Webhook[src]

impl Default for GoogleCloudDialogflowCxV3Webhook[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3Webhook[src]

impl RequestValue for GoogleCloudDialogflowCxV3Webhook[src]

impl ResponseResult for GoogleCloudDialogflowCxV3Webhook[src]

impl Serialize for GoogleCloudDialogflowCxV3Webhook[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowCxV3Webhook[src]

impl Send for GoogleCloudDialogflowCxV3Webhook[src]

impl Sync for GoogleCloudDialogflowCxV3Webhook[src]

impl Unpin for GoogleCloudDialogflowCxV3Webhook[src]

impl UnwindSafe for GoogleCloudDialogflowCxV3Webhook[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.