View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Fulfillment (google_api_dialogflow v0.77.0)
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. This field is not used for Fulfillment in an Environment. -
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. Supported formats: -projects//agent/fulfillment
-projects//locations//agent/fulfillment
This field is not used for Fulfillment in an Environment.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Fulfillment{ displayName: String.t() | nil, enabled: boolean() | nil, features: [ GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentFeature.t() ] | nil, genericWebService: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentGenericWebService.t() | nil, name: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.