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
-
GoogleCloudDialogflowV2Fulfillment({String? displayName, bool? enabled, List<
GoogleCloudDialogflowV2FulfillmentFeature> ? features, GoogleCloudDialogflowV2FulfillmentGenericWebService? genericWebService, String? name}) - GoogleCloudDialogflowV2Fulfillment.fromJson(Map json_)
Properties
- displayName ↔ String?
-
The human-readable name of the fulfillment, unique within the agent.
getter/setter pair
- enabled ↔ bool?
-
Whether fulfillment is enabled.
getter/setter pair
-
features
↔ List<
GoogleCloudDialogflowV2FulfillmentFeature> ? -
The field defines whether the fulfillment is enabled for certain features.
getter/setter pair
- genericWebService ↔ GoogleCloudDialogflowV2FulfillmentGenericWebService?
-
Configuration for a generic web service.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The unique identifier of the fulfillment.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited