GoogleCloudDialogflowV2Fulfillment class
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.
Constructors
Properties
- displayName ↔ String
-
Optional. The human-readable name of the fulfillment, unique within the
agent.
read / write
- enabled ↔ bool
-
Optional. Whether fulfillment is enabled.
read / write
-
features
↔ List<
GoogleCloudDialogflowV2FulfillmentFeature> -
Optional. The field defines whether the fulfillment is enabled for certain
features.
read / write
- genericWebService ↔ GoogleCloudDialogflowV2FulfillmentGenericWebService
-
Configuration for a generic web service.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- name ↔ String
-
Required. The unique identifier of the fulfillment. Format:
projects//agent/fulfillment
.read / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited