Show / Hide Table of Contents

Class GoogleCloudDialogflowCxV3Fulfillment

A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.

Inheritance
object
GoogleCloudDialogflowCxV3Fulfillment
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v3beta1.Data
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class GoogleCloudDialogflowCxV3Fulfillment : IDirectResponseSchema

Properties

AdvancedSettings

Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level.

Declaration
[JsonProperty("advancedSettings")]
public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; }
Property Value
Type Description
GoogleCloudDialogflowCxV3AdvancedSettings

ConditionalCases

Conditional cases for this fulfillment.

Declaration
[JsonProperty("conditionalCases")]
public virtual IList<GoogleCloudDialogflowCxV3FulfillmentConditionalCases> ConditionalCases { get; set; }
Property Value
Type Description
IList<GoogleCloudDialogflowCxV3FulfillmentConditionalCases>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EnableGenerativeFallback

If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.

Declaration
[JsonProperty("enableGenerativeFallback")]
public virtual bool? EnableGenerativeFallback { get; set; }
Property Value
Type Description
bool?

Messages

The list of rich message responses to present to the user.

Declaration
[JsonProperty("messages")]
public virtual IList<GoogleCloudDialogflowCxV3ResponseMessage> Messages { get; set; }
Property Value
Type Description
IList<GoogleCloudDialogflowCxV3ResponseMessage>

ReturnPartialResponses

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

Declaration
[JsonProperty("returnPartialResponses")]
public virtual bool? ReturnPartialResponses { get; set; }
Property Value
Type Description
bool?

SetParameterActions

Set parameter values before executing the webhook.

Declaration
[JsonProperty("setParameterActions")]
public virtual IList<GoogleCloudDialogflowCxV3FulfillmentSetParameterAction> SetParameterActions { get; set; }
Property Value
Type Description
IList<GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>

Tag

The value of this field will be populated in the WebhookRequest fulfillmentInfo.tag field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes. This field is required if webhook is specified.

Declaration
[JsonProperty("tag")]
public virtual string Tag { get; set; }
Property Value
Type Description
string

Webhook

The webhook to call. Format: projects//locations//agents//webhooks/.

Declaration
[JsonProperty("webhook")]
public virtual string Webhook { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX