Chronicle v1 API - Class EntityServiceClientImpl (1.0.0-beta01)

public sealed class EntityServiceClientImpl : EntityServiceClient

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

EntityService client wrapper implementation, for convenient use.

Inheritance

object > EntityServiceClient > EntityServiceClientImpl

Namespace

Google.Cloud.Chronicle.V1

Assembly

Google.Cloud.Chronicle.V1.dll

Remarks

EntityService contains apis for finding entities.

Constructors

EntityServiceClientImpl(EntityServiceClient, EntityServiceSettings, ILogger)

public EntityServiceClientImpl(EntityService.EntityServiceClient grpcClient, EntityServiceSettings settings, ILogger logger)

Constructs a client wrapper for the EntityService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient EntityServiceEntityServiceClient

The underlying gRPC client.

settings EntityServiceSettings

The base EntityServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override EntityService.EntityServiceClient GrpcClient { get; }

The underlying gRPC EntityService client

Property Value
Type Description
EntityServiceEntityServiceClient
Overrides

Methods

CreateWatchlist(CreateWatchlistRequest, CallSettings)

public override Watchlist CreateWatchlist(CreateWatchlistRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Watchlist

The RPC response.

Overrides

CreateWatchlistAsync(CreateWatchlistRequest, CallSettings)

public override Task<Watchlist> CreateWatchlistAsync(CreateWatchlistRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWatchlist

A Task containing the RPC response.

Overrides

DeleteWatchlist(DeleteWatchlistRequest, CallSettings)

public override void DeleteWatchlist(DeleteWatchlistRequest request, CallSettings callSettings = null)

Deletes the watchlist for the given instance.

Parameters
Name Description
request DeleteWatchlistRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteWatchlistAsync(DeleteWatchlistRequest, CallSettings)

public override Task DeleteWatchlistAsync(DeleteWatchlistRequest request, CallSettings callSettings = null)

Deletes the watchlist for the given instance.

Parameters
Name Description
request DeleteWatchlistRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetWatchlist(GetWatchlistRequest, CallSettings)

public override Watchlist GetWatchlist(GetWatchlistRequest request, CallSettings callSettings = null)

Gets watchlist details for the given watchlist ID.

Parameters
Name Description
request GetWatchlistRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Watchlist

The RPC response.

Overrides

GetWatchlistAsync(GetWatchlistRequest, CallSettings)

public override Task<Watchlist> GetWatchlistAsync(GetWatchlistRequest request, CallSettings callSettings = null)

Gets watchlist details for the given watchlist ID.

Parameters
Name Description
request GetWatchlistRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWatchlist

A Task containing the RPC response.

Overrides

ListWatchlists(ListWatchlistsRequest, CallSettings)

public override PagedEnumerable<ListWatchlistsResponse, Watchlist> ListWatchlists(ListWatchlistsRequest request, CallSettings callSettings = null)

Lists all watchlists for the given instance.

Parameters
Name Description
request ListWatchlistsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWatchlistsResponseWatchlist

A pageable sequence of Watchlist resources.

Overrides

ListWatchlistsAsync(ListWatchlistsRequest, CallSettings)

public override PagedAsyncEnumerable<ListWatchlistsResponse, Watchlist> ListWatchlistsAsync(ListWatchlistsRequest request, CallSettings callSettings = null)

Lists all watchlists for the given instance.

Parameters
Name Description
request ListWatchlistsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWatchlistsResponseWatchlist

A pageable asynchronous sequence of Watchlist resources.

Overrides

UpdateWatchlist(UpdateWatchlistRequest, CallSettings)

public override Watchlist UpdateWatchlist(UpdateWatchlistRequest request, CallSettings callSettings = null)

Updates the watchlist for the given instance.

Parameters
Name Description
request UpdateWatchlistRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Watchlist

The RPC response.

Overrides

UpdateWatchlistAsync(UpdateWatchlistRequest, CallSettings)

public override Task<Watchlist> UpdateWatchlistAsync(UpdateWatchlistRequest request, CallSettings callSettings = null)

Updates the watchlist for the given instance.

Parameters
Name Description
request UpdateWatchlistRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWatchlist

A Task containing the RPC response.

Overrides