1.2.0 (latest) 1.1.0 1.0.0

    [BindServiceMethod(typeof(EntityService), "BindService")]
    public abstract class EntityService.EntityServiceBase

Reference documentation and code samples for the Chronicle v1 API class EntityService.EntityServiceBase.

Base class for server-side implementations of EntityService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> EntityService.EntityServiceBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Chronicle.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.md.txt)

## Assembly

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` | `CreateWatchlistRequest` The request received from the client. |
| `context` | `ServerCallContext` The 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` | `DeleteWatchlistRequest` The request received from the client. |
| `context` | `ServerCallContext` The 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` | `GetWatchlistRequest` The request received from the client. |
| `context` | `ServerCallContext` The 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` | `ListWatchlistsRequest` The request received from the client. |
| `context` | `ServerCallContext` The 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` | `UpdateWatchlistRequest` The request received from the client. |
| `context` | `ServerCallContext` The 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). |