Interface WebhooksGrpc.AsyncService (0.33.0)

public static interface WebhooksGrpc.AsyncService

Service for managing Webhooks.

Methods

createWebhook(CreateWebhookRequest request, StreamObserver<Webhook> responseObserver)

public default void createWebhook(CreateWebhookRequest request, StreamObserver<Webhook> responseObserver)

Creates a webhook in the specified agent.

Parameters
Name Description
request CreateWebhookRequest
responseObserver io.grpc.stub.StreamObserver<Webhook>

deleteWebhook(DeleteWebhookRequest request, StreamObserver<Empty> responseObserver)

public default void deleteWebhook(DeleteWebhookRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified webhook.

Parameters
Name Description
request DeleteWebhookRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getWebhook(GetWebhookRequest request, StreamObserver<Webhook> responseObserver)

public default void getWebhook(GetWebhookRequest request, StreamObserver<Webhook> responseObserver)

Retrieves the specified webhook.

Parameters
Name Description
request GetWebhookRequest
responseObserver io.grpc.stub.StreamObserver<Webhook>

listWebhooks(ListWebhooksRequest request, StreamObserver<ListWebhooksResponse> responseObserver)

public default void listWebhooks(ListWebhooksRequest request, StreamObserver<ListWebhooksResponse> responseObserver)

Returns the list of all webhooks in the specified agent.

Parameters
Name Description
request ListWebhooksRequest
responseObserver io.grpc.stub.StreamObserver<ListWebhooksResponse>

updateWebhook(UpdateWebhookRequest request, StreamObserver<Webhook> responseObserver)

public default void updateWebhook(UpdateWebhookRequest request, StreamObserver<Webhook> responseObserver)

Updates the specified webhook.

Parameters
Name Description
request UpdateWebhookRequest
responseObserver io.grpc.stub.StreamObserver<Webhook>