GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Fulfillment (google_api_dialogflow v0.46.0) View Source

By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday. For more information, see the fulfillment guide.

Attributes

  • displayName (type: String.t, default: nil) - Optional. The human-readable name of the fulfillment, unique within the agent.
  • enabled (type: boolean(), default: nil) - Optional. Whether fulfillment is enabled.
  • features (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentFeature.t), default: nil) - Optional. The field defines whether the fulfillment is enabled for certain features.
  • genericWebService (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentGenericWebService.t, default: nil) - Configuration for a generic web service.
  • name (type: String.t, default: nil) - Required. The unique identifier of the fulfillment. Format: projects//agent/fulfillment.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Fulfillment{
  displayName: String.t(),
  enabled: boolean(),
  features: [
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentFeature.t()
  ],
  genericWebService:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentGenericWebService.t(),
  name: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.