Class EventarcGrpc.EventarcFutureStub (1.46.0)

public static final class EventarcGrpc.EventarcFutureStub extends AbstractFutureStub<EventarcGrpc.EventarcFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service Eventarc.

Eventarc allows users to subscribe to various events that are provided by Google Cloud services and forward them to supported destinations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EventarcGrpc.EventarcFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createChannel(CreateChannelRequest request)

public ListenableFuture<Operation> createChannel(CreateChannelRequest request)

Create a new channel in a particular project and location.

Parameter
Name Description
request CreateChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createChannelConnection(CreateChannelConnectionRequest request)

public ListenableFuture<Operation> createChannelConnection(CreateChannelConnectionRequest request)

Create a new ChannelConnection in a particular project and location.

Parameter
Name Description
request CreateChannelConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createTrigger(CreateTriggerRequest request)

public ListenableFuture<Operation> createTrigger(CreateTriggerRequest request)

Create a new trigger in a particular project and location.

Parameter
Name Description
request CreateTriggerRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteChannel(DeleteChannelRequest request)

public ListenableFuture<Operation> deleteChannel(DeleteChannelRequest request)

Delete a single channel.

Parameter
Name Description
request DeleteChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteChannelConnection(DeleteChannelConnectionRequest request)

public ListenableFuture<Operation> deleteChannelConnection(DeleteChannelConnectionRequest request)

Delete a single ChannelConnection.

Parameter
Name Description
request DeleteChannelConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTrigger(DeleteTriggerRequest request)

public ListenableFuture<Operation> deleteTrigger(DeleteTriggerRequest request)

Delete a single trigger.

Parameter
Name Description
request DeleteTriggerRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getChannel(GetChannelRequest request)

public ListenableFuture<Channel> getChannel(GetChannelRequest request)

Get a single Channel.

Parameter
Name Description
request GetChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Channel>

getChannelConnection(GetChannelConnectionRequest request)

public ListenableFuture<ChannelConnection> getChannelConnection(GetChannelConnectionRequest request)

Get a single ChannelConnection.

Parameter
Name Description
request GetChannelConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ChannelConnection>

getGoogleChannelConfig(GetGoogleChannelConfigRequest request)

public ListenableFuture<GoogleChannelConfig> getGoogleChannelConfig(GetGoogleChannelConfigRequest request)

Get a GoogleChannelConfig

Parameter
Name Description
request GetGoogleChannelConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GoogleChannelConfig>

getProvider(GetProviderRequest request)

public ListenableFuture<Provider> getProvider(GetProviderRequest request)

Get a single Provider.

Parameter
Name Description
request GetProviderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Provider>

getTrigger(GetTriggerRequest request)

public ListenableFuture<Trigger> getTrigger(GetTriggerRequest request)

Get a single trigger.

Parameter
Name Description
request GetTriggerRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Trigger>

listChannelConnections(ListChannelConnectionsRequest request)

public ListenableFuture<ListChannelConnectionsResponse> listChannelConnections(ListChannelConnectionsRequest request)

List channel connections.

Parameter
Name Description
request ListChannelConnectionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListChannelConnectionsResponse>

listChannels(ListChannelsRequest request)

public ListenableFuture<ListChannelsResponse> listChannels(ListChannelsRequest request)

List channels.

Parameter
Name Description
request ListChannelsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListChannelsResponse>

listProviders(ListProvidersRequest request)

public ListenableFuture<ListProvidersResponse> listProviders(ListProvidersRequest request)

List providers.

Parameter
Name Description
request ListProvidersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListProvidersResponse>

listTriggers(ListTriggersRequest request)

public ListenableFuture<ListTriggersResponse> listTriggers(ListTriggersRequest request)

List triggers.

Parameter
Name Description
request ListTriggersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTriggersResponse>

updateChannel(UpdateChannelRequest request)

public ListenableFuture<Operation> updateChannel(UpdateChannelRequest request)

Update a single channel.

Parameter
Name Description
request UpdateChannelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request)

public ListenableFuture<GoogleChannelConfig> updateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request)

Update a single GoogleChannelConfig

Parameter
Name Description
request UpdateGoogleChannelConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GoogleChannelConfig>

updateTrigger(UpdateTriggerRequest request)

public ListenableFuture<Operation> updateTrigger(UpdateTriggerRequest request)

Update a single trigger.

Parameter
Name Description
request UpdateTriggerRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>