Dialogflow v3 API - Class WebhooksClientImpl (2.19.0)

public sealed class WebhooksClientImpl : WebhooksClient

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

Webhooks client wrapper implementation, for convenient use.

Inheritance

object > WebhooksClient > WebhooksClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [Webhooks][google.cloud.dialogflow.cx.v3.Webhook].

Constructors

WebhooksClientImpl(WebhooksClient, WebhooksSettings, ILogger)

public WebhooksClientImpl(Webhooks.WebhooksClient grpcClient, WebhooksSettings settings, ILogger logger)

Constructs a client wrapper for the Webhooks service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient WebhooksWebhooksClient

The underlying gRPC client.

settings WebhooksSettings

The base WebhooksSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Webhooks.WebhooksClient GrpcClient { get; }

The underlying gRPC Webhooks client

Property Value
Type Description
WebhooksWebhooksClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateWebhook(CreateWebhookRequest, CallSettings)

public override Webhook CreateWebhook(CreateWebhookRequest request, CallSettings callSettings = null)

Creates a webhook in the specified agent.

Parameters
Name Description
request CreateWebhookRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Webhook

The RPC response.

Overrides

CreateWebhookAsync(CreateWebhookRequest, CallSettings)

public override Task<Webhook> CreateWebhookAsync(CreateWebhookRequest request, CallSettings callSettings = null)

Creates a webhook in the specified agent.

Parameters
Name Description
request CreateWebhookRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWebhook

A Task containing the RPC response.

Overrides

DeleteWebhook(DeleteWebhookRequest, CallSettings)

public override void DeleteWebhook(DeleteWebhookRequest request, CallSettings callSettings = null)

Deletes the specified webhook.

Parameters
Name Description
request DeleteWebhookRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteWebhookAsync(DeleteWebhookRequest, CallSettings)

public override Task DeleteWebhookAsync(DeleteWebhookRequest request, CallSettings callSettings = null)

Deletes the specified webhook.

Parameters
Name Description
request DeleteWebhookRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetWebhook(GetWebhookRequest, CallSettings)

public override Webhook GetWebhook(GetWebhookRequest request, CallSettings callSettings = null)

Retrieves the specified webhook.

Parameters
Name Description
request GetWebhookRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Webhook

The RPC response.

Overrides

GetWebhookAsync(GetWebhookRequest, CallSettings)

public override Task<Webhook> GetWebhookAsync(GetWebhookRequest request, CallSettings callSettings = null)

Retrieves the specified webhook.

Parameters
Name Description
request GetWebhookRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWebhook

A Task containing the RPC response.

Overrides

ListWebhooks(ListWebhooksRequest, CallSettings)

public override PagedEnumerable<ListWebhooksResponse, Webhook> ListWebhooks(ListWebhooksRequest request, CallSettings callSettings = null)

Returns the list of all webhooks in the specified agent.

Parameters
Name Description
request ListWebhooksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWebhooksResponseWebhook

A pageable sequence of Webhook resources.

Overrides

ListWebhooksAsync(ListWebhooksRequest, CallSettings)

public override PagedAsyncEnumerable<ListWebhooksResponse, Webhook> ListWebhooksAsync(ListWebhooksRequest request, CallSettings callSettings = null)

Returns the list of all webhooks in the specified agent.

Parameters
Name Description
request ListWebhooksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWebhooksResponseWebhook

A pageable asynchronous sequence of Webhook resources.

Overrides

UpdateWebhook(UpdateWebhookRequest, CallSettings)

public override Webhook UpdateWebhook(UpdateWebhookRequest request, CallSettings callSettings = null)

Updates the specified webhook.

Parameters
Name Description
request UpdateWebhookRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Webhook

The RPC response.

Overrides

UpdateWebhookAsync(UpdateWebhookRequest, CallSettings)

public override Task<Webhook> UpdateWebhookAsync(UpdateWebhookRequest request, CallSettings callSettings = null)

Updates the specified webhook.

Parameters
Name Description
request UpdateWebhookRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWebhook

A Task containing the RPC response.

Overrides