Dialogflow v3 API - Class Webhooks.WebhooksBase (2.8.0)

[BindServiceMethod(typeof(Webhooks), "BindService")]
public abstract class Webhooks.WebhooksBase

Reference documentation and code samples for the Dialogflow v3 API class Webhooks.WebhooksBase.

Base class for server-side implementations of Webhooks

Inheritance

object > Webhooks.WebhooksBase

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Methods

CreateWebhook(CreateWebhookRequest, ServerCallContext)

public virtual Task<Webhook> CreateWebhook(CreateWebhookRequest request, ServerCallContext context)

Creates a webhook in the specified agent.

Parameters
NameDescription
requestCreateWebhookRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskWebhook

The response to send back to the client (wrapped by a task).

DeleteWebhook(DeleteWebhookRequest, ServerCallContext)

public virtual Task<Empty> DeleteWebhook(DeleteWebhookRequest request, ServerCallContext context)

Deletes the specified webhook.

Parameters
NameDescription
requestDeleteWebhookRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEmpty

The response to send back to the client (wrapped by a task).

GetWebhook(GetWebhookRequest, ServerCallContext)

public virtual Task<Webhook> GetWebhook(GetWebhookRequest request, ServerCallContext context)

Retrieves the specified webhook.

Parameters
NameDescription
requestGetWebhookRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskWebhook

The response to send back to the client (wrapped by a task).

ListWebhooks(ListWebhooksRequest, ServerCallContext)

public virtual Task<ListWebhooksResponse> ListWebhooks(ListWebhooksRequest request, ServerCallContext context)

Returns the list of all webhooks in the specified agent.

Parameters
NameDescription
requestListWebhooksRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListWebhooksResponse

The response to send back to the client (wrapped by a task).

UpdateWebhook(UpdateWebhookRequest, ServerCallContext)

public virtual Task<Webhook> UpdateWebhook(UpdateWebhookRequest request, ServerCallContext context)

Updates the specified webhook.

Parameters
NameDescription
requestUpdateWebhookRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskWebhook

The response to send back to the client (wrapped by a task).