public sealed class Fulfillment : IMessage<Fulfillment>, IEquatable<Fulfillment>, IDeepCloneable<Fulfillment>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API 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.
Implements
IMessageFulfillment, IEquatableFulfillment, IDeepCloneableFulfillment, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
Fulfillment()
public Fulfillment()
Fulfillment(Fulfillment)
public Fulfillment(Fulfillment other)
Parameter | |
---|---|
Name | Description |
other | Fulfillment |
Properties
DisplayName
public string DisplayName { get; set; }
The human-readable name of the fulfillment, unique within the agent.
This field is not used for Fulfillment in an Environment.
Property Value | |
---|---|
Type | Description |
string |
Enabled
public bool Enabled { get; set; }
Whether fulfillment is enabled.
Property Value | |
---|---|
Type | Description |
bool |
Features
public RepeatedField<Fulfillment.Types.Feature> Features { get; }
The field defines whether the fulfillment is enabled for certain features.
Property Value | |
---|---|
Type | Description |
RepeatedFieldFulfillmentTypesFeature |
FulfillmentCase
public Fulfillment.FulfillmentOneofCase FulfillmentCase { get; }
Property Value | |
---|---|
Type | Description |
FulfillmentFulfillmentOneofCase |
FulfillmentName
public FulfillmentName FulfillmentName { get; set; }
FulfillmentName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
FulfillmentName |
GenericWebService
public Fulfillment.Types.GenericWebService GenericWebService { get; set; }
Configuration for a generic web service.
Property Value | |
---|---|
Type | Description |
FulfillmentTypesGenericWebService |
Name
public string Name { get; set; }
Required. The unique identifier of the fulfillment. Supported formats:
projects/<Project ID>/agent/fulfillment
projects/<Project ID>/locations/<Location ID>/agent/fulfillment
This field is not used for Fulfillment in an Environment.
Property Value | |
---|---|
Type | Description |
string |