Eventarc v1 API - Class Eventarc.EventarcBase (2.1.0)

Stay organized with collections Save and categorize content based on your preferences.
[BindServiceMethod(typeof(Eventarc), "BindService")]
public abstract class EventarcBase

Reference documentation and code samples for the Eventarc v1 API class Eventarc.EventarcBase.

Base class for server-side implementations of Eventarc

Inheritance

Object > Eventarc.EventarcBase

Namespace

Google.Cloud.Eventarc.V1

Assembly

Google.Cloud.Eventarc.V1.dll

Methods

CreateChannel(CreateChannelRequest, ServerCallContext)

public virtual Task<Operation> CreateChannel(CreateChannelRequest request, ServerCallContext context)

Create a new channel in a particular project and location.

Parameters
NameDescription
requestCreateChannelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateChannelConnection(CreateChannelConnectionRequest, ServerCallContext)

public virtual Task<Operation> CreateChannelConnection(CreateChannelConnectionRequest request, ServerCallContext context)

Create a new ChannelConnection in a particular project and location.

Parameters
NameDescription
requestCreateChannelConnectionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateTrigger(CreateTriggerRequest, ServerCallContext)

public virtual Task<Operation> CreateTrigger(CreateTriggerRequest request, ServerCallContext context)

Create a new trigger in a particular project and location.

Parameters
NameDescription
requestCreateTriggerRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteChannel(DeleteChannelRequest, ServerCallContext)

public virtual Task<Operation> DeleteChannel(DeleteChannelRequest request, ServerCallContext context)

Delete a single channel.

Parameters
NameDescription
requestDeleteChannelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteChannelConnection(DeleteChannelConnectionRequest, ServerCallContext)

public virtual Task<Operation> DeleteChannelConnection(DeleteChannelConnectionRequest request, ServerCallContext context)

Delete a single ChannelConnection.

Parameters
NameDescription
requestDeleteChannelConnectionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteTrigger(DeleteTriggerRequest, ServerCallContext)

public virtual Task<Operation> DeleteTrigger(DeleteTriggerRequest request, ServerCallContext context)

Delete a single trigger.

Parameters
NameDescription
requestDeleteTriggerRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetChannel(GetChannelRequest, ServerCallContext)

public virtual Task<Channel> GetChannel(GetChannelRequest request, ServerCallContext context)

Get a single Channel.

Parameters
NameDescription
requestGetChannelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Channel>

The response to send back to the client (wrapped by a task).

GetChannelConnection(GetChannelConnectionRequest, ServerCallContext)

public virtual Task<ChannelConnection> GetChannelConnection(GetChannelConnectionRequest request, ServerCallContext context)

Get a single ChannelConnection.

Parameters
NameDescription
requestGetChannelConnectionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ChannelConnection>

The response to send back to the client (wrapped by a task).

GetGoogleChannelConfig(GetGoogleChannelConfigRequest, ServerCallContext)

public virtual Task<GoogleChannelConfig> GetGoogleChannelConfig(GetGoogleChannelConfigRequest request, ServerCallContext context)

Get a GoogleChannelConfig

Parameters
NameDescription
requestGetGoogleChannelConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<GoogleChannelConfig>

The response to send back to the client (wrapped by a task).

GetProvider(GetProviderRequest, ServerCallContext)

public virtual Task<Provider> GetProvider(GetProviderRequest request, ServerCallContext context)

Get a single Provider.

Parameters
NameDescription
requestGetProviderRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Provider>

The response to send back to the client (wrapped by a task).

GetTrigger(GetTriggerRequest, ServerCallContext)

public virtual Task<Trigger> GetTrigger(GetTriggerRequest request, ServerCallContext context)

Get a single trigger.

Parameters
NameDescription
requestGetTriggerRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Trigger>

The response to send back to the client (wrapped by a task).

ListChannelConnections(ListChannelConnectionsRequest, ServerCallContext)

public virtual Task<ListChannelConnectionsResponse> ListChannelConnections(ListChannelConnectionsRequest request, ServerCallContext context)

List channel connections.

Parameters
NameDescription
requestListChannelConnectionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListChannelConnectionsResponse>

The response to send back to the client (wrapped by a task).

ListChannels(ListChannelsRequest, ServerCallContext)

public virtual Task<ListChannelsResponse> ListChannels(ListChannelsRequest request, ServerCallContext context)

List channels.

Parameters
NameDescription
requestListChannelsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListChannelsResponse>

The response to send back to the client (wrapped by a task).

ListProviders(ListProvidersRequest, ServerCallContext)

public virtual Task<ListProvidersResponse> ListProviders(ListProvidersRequest request, ServerCallContext context)

List providers.

Parameters
NameDescription
requestListProvidersRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListProvidersResponse>

The response to send back to the client (wrapped by a task).

ListTriggers(ListTriggersRequest, ServerCallContext)

public virtual Task<ListTriggersResponse> ListTriggers(ListTriggersRequest request, ServerCallContext context)

List triggers.

Parameters
NameDescription
requestListTriggersRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListTriggersResponse>

The response to send back to the client (wrapped by a task).

UpdateChannel(UpdateChannelRequest, ServerCallContext)

public virtual Task<Operation> UpdateChannel(UpdateChannelRequest request, ServerCallContext context)

Update a single channel.

Parameters
NameDescription
requestUpdateChannelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest, ServerCallContext)

public virtual Task<GoogleChannelConfig> UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request, ServerCallContext context)

Update a single GoogleChannelConfig

Parameters
NameDescription
requestUpdateGoogleChannelConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<GoogleChannelConfig>

The response to send back to the client (wrapped by a task).

UpdateTrigger(UpdateTriggerRequest, ServerCallContext)

public virtual Task<Operation> UpdateTrigger(UpdateTriggerRequest request, ServerCallContext context)

Update a single trigger.

Parameters
NameDescription
requestUpdateTriggerRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).