Class Eventarc.EventarcBase (1.1.0)

[BindServiceMethod(typeof(Eventarc), "BindService")]
public abstract class EventarcBase

Base class for server-side implementations of Eventarc

Inheritance

System.Object > Eventarc.EventarcBase

Namespace

Google.Cloud.Eventarc.V1

Assembly

Google.Cloud.Eventarc.V1.dll

Methods

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

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

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

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

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