[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
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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). |
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 |
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 | |
---|---|
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 |
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). |
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 |
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 | |
---|---|
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 |
Task<ChannelConnection> | 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). |
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 |
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 | |
---|---|
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 |
Task<ListChannelsResponse> | 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). |
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 |
Task<Operation> | 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). |