public sealed class WebhooksClientImpl : WebhooksClientReference documentation and code samples for the Dialogflow v3 API class WebhooksClientImpl.
Webhooks client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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 |
WebhooksWebhooksClientThe underlying gRPC client. |
settings |
WebhooksSettingsThe base WebhooksSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override Webhooks.WebhooksClient GrpcClient { get; }The underlying gRPC Webhooks client
| Property Value | |
|---|---|
| Type | Description |
WebhooksWebhooksClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CreateWebhook(CreateWebhookRequest, CallSettings)
public override Webhook CreateWebhook(CreateWebhookRequest request, CallSettings callSettings = null)Creates a webhook in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWebhookRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Webhook |
The RPC response. |
CreateWebhookAsync(CreateWebhookRequest, CallSettings)
public override Task<Webhook> CreateWebhookAsync(CreateWebhookRequest request, CallSettings callSettings = null)Creates a webhook in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWebhookRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWebhook |
A Task containing the RPC response. |
DeleteWebhook(DeleteWebhookRequest, CallSettings)
public override void DeleteWebhook(DeleteWebhookRequest request, CallSettings callSettings = null)Deletes the specified webhook.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWebhookRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteWebhookAsync(DeleteWebhookRequest, CallSettings)
public override Task DeleteWebhookAsync(DeleteWebhookRequest request, CallSettings callSettings = null)Deletes the specified webhook.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWebhookRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetWebhook(GetWebhookRequest, CallSettings)
public override Webhook GetWebhook(GetWebhookRequest request, CallSettings callSettings = null)Retrieves the specified webhook.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWebhookRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Webhook |
The RPC response. |
GetWebhookAsync(GetWebhookRequest, CallSettings)
public override Task<Webhook> GetWebhookAsync(GetWebhookRequest request, CallSettings callSettings = null)Retrieves the specified webhook.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWebhookRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWebhook |
A Task containing the RPC response. |
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 |
ListWebhooksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWebhooksResponseWebhook |
A pageable sequence of Webhook resources. |
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 |
ListWebhooksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWebhooksResponseWebhook |
A pageable asynchronous sequence of Webhook resources. |
UpdateWebhook(UpdateWebhookRequest, CallSettings)
public override Webhook UpdateWebhook(UpdateWebhookRequest request, CallSettings callSettings = null)Updates the specified webhook.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWebhookRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Webhook |
The RPC response. |
UpdateWebhookAsync(UpdateWebhookRequest, CallSettings)
public override Task<Webhook> UpdateWebhookAsync(UpdateWebhookRequest request, CallSettings callSettings = null)Updates the specified webhook.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWebhookRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWebhook |
A Task containing the RPC response. |