public static final class WebhooksGrpc.WebhooksStub extends io.grpc.stub.AbstractAsyncStub<WebhooksGrpc.WebhooksStub>
Service for managing [Webhooks][google.cloud.dialogflow.cx.v3.Webhook].
| Modifier and Type | Method and Description |
|---|---|
protected WebhooksGrpc.WebhooksStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createWebhook(CreateWebhookRequest request,
io.grpc.stub.StreamObserver<Webhook> responseObserver)
Creates a webhook in the specified agent.
|
void |
deleteWebhook(DeleteWebhookRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified webhook.
|
void |
getWebhook(GetWebhookRequest request,
io.grpc.stub.StreamObserver<Webhook> responseObserver)
Retrieves the specified webhook.
|
void |
listWebhooks(ListWebhooksRequest request,
io.grpc.stub.StreamObserver<ListWebhooksResponse> responseObserver)
Returns the list of all webhooks in the specified agent.
|
void |
updateWebhook(UpdateWebhookRequest request,
io.grpc.stub.StreamObserver<Webhook> responseObserver)
Updates the specified webhook.
|
protected WebhooksGrpc.WebhooksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<WebhooksGrpc.WebhooksStub>public void listWebhooks(ListWebhooksRequest request, io.grpc.stub.StreamObserver<ListWebhooksResponse> responseObserver)
Returns the list of all webhooks in the specified agent.
public void getWebhook(GetWebhookRequest request, io.grpc.stub.StreamObserver<Webhook> responseObserver)
Retrieves the specified webhook.
public void createWebhook(CreateWebhookRequest request, io.grpc.stub.StreamObserver<Webhook> responseObserver)
Creates a webhook in the specified agent.
public void updateWebhook(UpdateWebhookRequest request, io.grpc.stub.StreamObserver<Webhook> responseObserver)
Updates the specified webhook.
public void deleteWebhook(DeleteWebhookRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified webhook.
Copyright © 2023 Google LLC. All rights reserved.