Class Fulfillment

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 <https://cloud.google.com/dialogflow/docs/fulfillment-overview>__.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes
NameDescription
strname
Required. The unique identifier of the fulfillment. Supported formats: - ``projects/
strdisplay_name
The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
google.cloud.dialogflow_v2beta1.types.Fulfillment.GenericWebServicegeneric_web_service
Configuration for a generic web service. This field is a member of `oneof`_ ``fulfillment``.
boolenabled
Whether fulfillment is enabled.
Sequence[google.cloud.dialogflow_v2beta1.types.Fulfillment.Feature]features
The field defines whether the fulfillment is enabled for certain features.

Inheritance

builtins.object > proto.message.Message > Fulfillment

Classes

Feature

Feature(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Whether fulfillment is enabled for the specific feature.

GenericWebService

GenericWebService(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password.