[BindServiceMethod(typeof(Eventarc), "BindService")]
public abstract class EventarcBase
Base class for server-side implementations of Eventarc
Namespace
Google.Cloud.Eventarc.V1Assembly
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 | |
---|---|
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
Task<Operation> | The response to send back to the client (wrapped by a task). |