Class Fulfillment (3.6.0)

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.

Inheritance

Object > Fulfillment

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

Fulfillment()

public Fulfillment()

Fulfillment(Fulfillment)

public Fulfillment(Fulfillment other)
Parameter
NameDescription
otherFulfillment

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
TypeDescription
String

Enabled

public bool Enabled { get; set; }

Optional. Whether fulfillment is enabled.

Property Value
TypeDescription
Boolean

Features

public RepeatedField<Fulfillment.Types.Feature> Features { get; }

Optional. The field defines whether the fulfillment is enabled for certain features.

Property Value
TypeDescription
RepeatedField<Fulfillment.Types.Feature>

FulfillmentCase

public Fulfillment.FulfillmentOneofCase FulfillmentCase { get; }
Property Value
TypeDescription
Fulfillment.FulfillmentOneofCase

FulfillmentName

public FulfillmentName FulfillmentName { get; set; }

FulfillmentName-typed view over the Name resource name property.

Property Value
TypeDescription
FulfillmentName

GenericWebService

public Fulfillment.Types.GenericWebService GenericWebService { get; set; }

Configuration for a generic web service.

Property Value
TypeDescription
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
TypeDescription
String