Eventarc v1 API - Class Eventarc.EventarcBase (2.5.0)

[BindServiceMethod(typeof(Eventarc), "BindService")]
public abstract class Eventarc.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
Name Description
request CreateChannelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request CreateChannelConnectionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request CreateTriggerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request DeleteChannelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request DeleteChannelConnectionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request DeleteTriggerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request GetChannelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskChannel

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
Name Description
request GetChannelConnectionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskChannelConnection

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
Name Description
request GetGoogleChannelConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGoogleChannelConfig

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
Name Description
request GetProviderRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskProvider

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
Name Description
request GetTriggerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTrigger

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
Name Description
request ListChannelConnectionsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListChannelConnectionsResponse

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
Name Description
request ListChannelsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListChannelsResponse

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
Name Description
request ListProvidersRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListProvidersResponse

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
Name Description
request ListTriggersRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListTriggersResponse

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
Name Description
request UpdateChannelRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request UpdateGoogleChannelConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGoogleChannelConfig

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
Name Description
request UpdateTriggerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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