Class Webhooks.WebhooksBase (1.6.0)

[BindServiceMethod(typeof(Webhooks), "BindService")]
public abstract class 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
Name Description
request CreateWebhookRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Webhook>

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
Name Description
request DeleteWebhookRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Empty>

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
Name Description
request GetWebhookRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Webhook>

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
Name Description
request ListWebhooksRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<ListWebhooksResponse>

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
Name Description
request UpdateWebhookRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Webhook>

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.