Class WebhooksGrpc.WebhooksBlockingStub (0.17.0)

public static final class WebhooksGrpc.WebhooksBlockingStub extends AbstractBlockingStub<WebhooksGrpc.WebhooksBlockingStub>

Service for managing Webhooks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > WebhooksGrpc.WebhooksBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected WebhooksGrpc.WebhooksBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
WebhooksGrpc.WebhooksBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createWebhook(CreateWebhookRequest request)

public Webhook createWebhook(CreateWebhookRequest request)

Creates a webhook in the specified agent.

Parameter
Name Description
request CreateWebhookRequest
Returns
Type Description
Webhook

deleteWebhook(DeleteWebhookRequest request)

public Empty deleteWebhook(DeleteWebhookRequest request)

Deletes the specified webhook.

Parameter
Name Description
request DeleteWebhookRequest
Returns
Type Description
Empty

getWebhook(GetWebhookRequest request)

public Webhook getWebhook(GetWebhookRequest request)

Retrieves the specified webhook.

Parameter
Name Description
request GetWebhookRequest
Returns
Type Description
Webhook

listWebhooks(ListWebhooksRequest request)

public ListWebhooksResponse listWebhooks(ListWebhooksRequest request)

Returns the list of all webhooks in the specified agent.

Parameter
Name Description
request ListWebhooksRequest
Returns
Type Description
ListWebhooksResponse

updateWebhook(UpdateWebhookRequest request)

public Webhook updateWebhook(UpdateWebhookRequest request)

Updates the specified webhook.

Parameter
Name Description
request UpdateWebhookRequest
Returns
Type Description
Webhook