[BindServiceMethod(typeof(EntityService), "BindService")]
public abstract class EntityService.EntityServiceBaseReference documentation and code samples for the Chronicle v1 API class EntityService.EntityServiceBase.
Base class for server-side implementations of EntityService
Namespace
Google.Cloud.Chronicle.V1Assembly
Google.Cloud.Chronicle.V1.dll
Methods
CreateWatchlist(CreateWatchlistRequest, ServerCallContext)
public virtual Task<Watchlist> CreateWatchlist(CreateWatchlistRequest request, ServerCallContext context)Creates a watchlist for the given instance. Note that there can be at most 200 watchlists per instance.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWatchlistRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskWatchlist |
The response to send back to the client (wrapped by a task). |
DeleteWatchlist(DeleteWatchlistRequest, ServerCallContext)
public virtual Task<Empty> DeleteWatchlist(DeleteWatchlistRequest request, ServerCallContext context)Deletes the watchlist for the given instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWatchlistRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetWatchlist(GetWatchlistRequest, ServerCallContext)
public virtual Task<Watchlist> GetWatchlist(GetWatchlistRequest request, ServerCallContext context)Gets watchlist details for the given watchlist ID.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWatchlistRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskWatchlist |
The response to send back to the client (wrapped by a task). |
ListWatchlists(ListWatchlistsRequest, ServerCallContext)
public virtual Task<ListWatchlistsResponse> ListWatchlists(ListWatchlistsRequest request, ServerCallContext context)Lists all watchlists for the given instance.
| Parameters | |
|---|---|
| Name | Description |
request |
ListWatchlistsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListWatchlistsResponse |
The response to send back to the client (wrapped by a task). |
UpdateWatchlist(UpdateWatchlistRequest, ServerCallContext)
public virtual Task<Watchlist> UpdateWatchlist(UpdateWatchlistRequest request, ServerCallContext context)Updates the watchlist for the given instance.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWatchlistRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskWatchlist |
The response to send back to the client (wrapped by a task). |