[BindServiceMethod(typeof(Fulfillments), "BindService")]
public abstract class Fulfillments.FulfillmentsBase
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Fulfillments.FulfillmentsBase.
Base class for server-side implementations of Fulfillments
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Methods
GetFulfillment(GetFulfillmentRequest, ServerCallContext)
public virtual Task<Fulfillment> GetFulfillment(GetFulfillmentRequest request, ServerCallContext context)
Retrieves the fulfillment.
Parameters | |
---|---|
Name | Description |
request | GetFulfillmentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskFulfillment | The response to send back to the client (wrapped by a task). |
UpdateFulfillment(UpdateFulfillmentRequest, ServerCallContext)
public virtual Task<Fulfillment> UpdateFulfillment(UpdateFulfillmentRequest request, ServerCallContext context)
Updates the fulfillment.
Parameters | |
---|---|
Name | Description |
request | UpdateFulfillmentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskFulfillment | The response to send back to the client (wrapped by a task). |