public sealed class Fulfillment : IMessage<Fulfillment>, IEquatable<Fulfillment>, IDeepCloneable<Fulfillment>, IBufferMessage, IMessage
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
IMessage<Fulfillment>, IEquatable<Fulfillment>, IDeepCloneable<Fulfillment>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
Fulfillment()
public Fulfillment()
Fulfillment(Fulfillment)
public Fulfillment(Fulfillment other)
Parameter | |
---|---|
Name | Description |
other | Fulfillment |
Properties
DisplayName
public string DisplayName { get; set; }
Optional. 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; }
Optional. Whether fulfillment is enabled.
Property Value | |
---|---|
Type | Description |
Boolean |
Features
public RepeatedField<Fulfillment.Types.Feature> Features { get; }
Optional. The field defines whether the fulfillment is enabled for certain features.
Property Value | |
---|---|
Type | Description |
RepeatedField<Fulfillment.Types.Feature> |
FulfillmentCase
public Fulfillment.FulfillmentOneofCase FulfillmentCase { get; }
Property Value | |
---|---|
Type | Description |
Fulfillment.FulfillmentOneofCase |
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 |
Fulfillment.Types.GenericWebService |
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 |