public sealed class WebhooksClientImpl : WebhooksClient
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(Webhooks.WebhooksClient, WebhooksSettings)
public WebhooksClientImpl(Webhooks.WebhooksClient grpcClient, WebhooksSettings settings)
Constructs a client wrapper for the Webhooks service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | Webhooks.WebhooksClient The underlying gRPC client. |
settings | WebhooksSettings The base WebhooksSettings used within this client. |
Properties
GrpcClient
public override Webhooks.WebhooksClient GrpcClient { get; }
The underlying gRPC Webhooks client
Property Value | |
---|---|
Type | Description |
Webhooks.WebhooksClient |
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 | Google.Api.Gax.Grpc.CallSettings If 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 | CreateWebhookRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Webhook> | 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 | DeleteWebhookRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If 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 | DeleteWebhookRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.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 | GetWebhookRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If 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 | GetWebhookRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Webhook> | 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 | ListWebhooksRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedEnumerable<ListWebhooksResponse, Webhook> | 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 | ListWebhooksRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedAsyncEnumerable<ListWebhooksResponse, Webhook> | 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 | UpdateWebhookRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If 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 | UpdateWebhookRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Webhook> | A Task containing the RPC response. |