Eventarc v1 API - Class Eventarc.EventarcBase (2.7.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).

CreateEnrollment(CreateEnrollmentRequest, ServerCallContext)

public virtual Task<Operation> CreateEnrollment(CreateEnrollmentRequest request, ServerCallContext context)

Create a new Enrollment in a particular project and location.

Parameters
Name Description
request CreateEnrollmentRequest

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).

CreateGoogleApiSource(CreateGoogleApiSourceRequest, ServerCallContext)

public virtual Task<Operation> CreateGoogleApiSource(CreateGoogleApiSourceRequest request, ServerCallContext context)

Create a new GoogleApiSource in a particular project and location.

Parameters
Name Description
request CreateGoogleApiSourceRequest

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).

CreateMessageBus(CreateMessageBusRequest, ServerCallContext)

public virtual Task<Operation> CreateMessageBus(CreateMessageBusRequest request, ServerCallContext context)

Create a new MessageBus in a particular project and location.

Parameters
Name Description
request CreateMessageBusRequest

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).

CreatePipeline(CreatePipelineRequest, ServerCallContext)

public virtual Task<Operation> CreatePipeline(CreatePipelineRequest request, ServerCallContext context)

Create a new Pipeline in a particular project and location.

Parameters
Name Description
request CreatePipelineRequest

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).

DeleteEnrollment(DeleteEnrollmentRequest, ServerCallContext)

public virtual Task<Operation> DeleteEnrollment(DeleteEnrollmentRequest request, ServerCallContext context)

Delete a single Enrollment.

Parameters
Name Description
request DeleteEnrollmentRequest

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).

DeleteGoogleApiSource(DeleteGoogleApiSourceRequest, ServerCallContext)

public virtual Task<Operation> DeleteGoogleApiSource(DeleteGoogleApiSourceRequest request, ServerCallContext context)

Delete a single GoogleApiSource.

Parameters
Name Description
request DeleteGoogleApiSourceRequest

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).

DeleteMessageBus(DeleteMessageBusRequest, ServerCallContext)

public virtual Task<Operation> DeleteMessageBus(DeleteMessageBusRequest request, ServerCallContext context)

Delete a single message bus.

Parameters
Name Description
request DeleteMessageBusRequest

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).

DeletePipeline(DeletePipelineRequest, ServerCallContext)

public virtual Task<Operation> DeletePipeline(DeletePipelineRequest request, ServerCallContext context)

Delete a single pipeline.

Parameters
Name Description
request DeletePipelineRequest

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).

GetEnrollment(GetEnrollmentRequest, ServerCallContext)

public virtual Task<Enrollment> GetEnrollment(GetEnrollmentRequest request, ServerCallContext context)

Get a single Enrollment.

Parameters
Name Description
request GetEnrollmentRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEnrollment

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

GetGoogleApiSource(GetGoogleApiSourceRequest, ServerCallContext)

public virtual Task<GoogleApiSource> GetGoogleApiSource(GetGoogleApiSourceRequest request, ServerCallContext context)

Get a single GoogleApiSource.

Parameters
Name Description
request GetGoogleApiSourceRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGoogleApiSource

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. The name of the GoogleChannelConfig in the response is ALWAYS coded with projectID.

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).

GetMessageBus(GetMessageBusRequest, ServerCallContext)

public virtual Task<MessageBus> GetMessageBus(GetMessageBusRequest request, ServerCallContext context)

Get a single MessageBus.

Parameters
Name Description
request GetMessageBusRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskMessageBus

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

GetPipeline(GetPipelineRequest, ServerCallContext)

public virtual Task<Pipeline> GetPipeline(GetPipelineRequest request, ServerCallContext context)

Get a single Pipeline.

Parameters
Name Description
request GetPipelineRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskPipeline

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).

ListEnrollments(ListEnrollmentsRequest, ServerCallContext)

public virtual Task<ListEnrollmentsResponse> ListEnrollments(ListEnrollmentsRequest request, ServerCallContext context)

List Enrollments.

Parameters
Name Description
request ListEnrollmentsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListEnrollmentsResponse

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

ListGoogleApiSources(ListGoogleApiSourcesRequest, ServerCallContext)

public virtual Task<ListGoogleApiSourcesResponse> ListGoogleApiSources(ListGoogleApiSourcesRequest request, ServerCallContext context)

List GoogleApiSources.

Parameters
Name Description
request ListGoogleApiSourcesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListGoogleApiSourcesResponse

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

ListMessageBusEnrollments(ListMessageBusEnrollmentsRequest, ServerCallContext)

public virtual Task<ListMessageBusEnrollmentsResponse> ListMessageBusEnrollments(ListMessageBusEnrollmentsRequest request, ServerCallContext context)

List message bus enrollments.

Parameters
Name Description
request ListMessageBusEnrollmentsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListMessageBusEnrollmentsResponse

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

ListMessageBuses(ListMessageBusesRequest, ServerCallContext)

public virtual Task<ListMessageBusesResponse> ListMessageBuses(ListMessageBusesRequest request, ServerCallContext context)

List message buses.

Parameters
Name Description
request ListMessageBusesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListMessageBusesResponse

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

ListPipelines(ListPipelinesRequest, ServerCallContext)

public virtual Task<ListPipelinesResponse> ListPipelines(ListPipelinesRequest request, ServerCallContext context)

List pipelines.

Parameters
Name Description
request ListPipelinesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListPipelinesResponse

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).

UpdateEnrollment(UpdateEnrollmentRequest, ServerCallContext)

public virtual Task<Operation> UpdateEnrollment(UpdateEnrollmentRequest request, ServerCallContext context)

Update a single Enrollment.

Parameters
Name Description
request UpdateEnrollmentRequest

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).

UpdateGoogleApiSource(UpdateGoogleApiSourceRequest, ServerCallContext)

public virtual Task<Operation> UpdateGoogleApiSource(UpdateGoogleApiSourceRequest request, ServerCallContext context)

Update a single GoogleApiSource.

Parameters
Name Description
request UpdateGoogleApiSourceRequest

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).

UpdateMessageBus(UpdateMessageBusRequest, ServerCallContext)

public virtual Task<Operation> UpdateMessageBus(UpdateMessageBusRequest request, ServerCallContext context)

Update a single message bus.

Parameters
Name Description
request UpdateMessageBusRequest

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).

UpdatePipeline(UpdatePipelineRequest, ServerCallContext)

public virtual Task<Operation> UpdatePipeline(UpdatePipelineRequest request, ServerCallContext context)

Update a single pipeline.

Parameters
Name Description
request UpdatePipelineRequest

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).

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).