Class WebhooksGrpc.WebhooksBlockingStub (0.13.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateWebhookRequest
Returns
TypeDescription
Webhook

deleteWebhook(DeleteWebhookRequest request)

public Empty deleteWebhook(DeleteWebhookRequest request)

Deletes the specified webhook.

Parameter
NameDescription
requestDeleteWebhookRequest
Returns
TypeDescription
Empty

getWebhook(GetWebhookRequest request)

public Webhook getWebhook(GetWebhookRequest request)

Retrieves the specified webhook.

Parameter
NameDescription
requestGetWebhookRequest
Returns
TypeDescription
Webhook

listWebhooks(ListWebhooksRequest request)

public ListWebhooksResponse listWebhooks(ListWebhooksRequest request)

Returns the list of all webhooks in the specified agent.

Parameter
NameDescription
requestListWebhooksRequest
Returns
TypeDescription
ListWebhooksResponse

updateWebhook(UpdateWebhookRequest request)

public Webhook updateWebhook(UpdateWebhookRequest request)

Updates the specified webhook.

Parameter
NameDescription
requestUpdateWebhookRequest
Returns
TypeDescription
Webhook